@import "https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&display=swap";
@import "https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap";
@import "https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;700&display=swap";

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  outline: none;
  box-sizing: border-box;
  font-family: "Instrument Sans", sans-serif;
}

a {
  text-decoration: none;
  text-transform: none;
}

html,
body {
  overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

:where(p, h1, h2, h3, h4, h5, h6) {
  overflow-wrap: anywhere;
}

/* Utility container for main content */
.container {
  width: min(100% - 2rem, 1200px);
  margin-inline: auto;
}

/* Font size variables for responsive typography */
:root {
  --step--2: clamp(0.75rem, 0.7rem + 0.2vw, 0.85rem);
  --step--1: clamp(0.875rem, 0.83rem + 0.25vw, 1rem);
  --step-0: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  --step-1: clamp(1.25rem, 1.1rem + 0.8vw, 1.5rem);
  --step-2: clamp(1.5rem, 1.3rem + 1.2vw, 2rem);
  --step-3: clamp(2rem, 1.7rem + 2vw, 2.75rem);
  --step-4: clamp(2.5rem, 2.1rem + 2.8vw, 3.5rem);
}

/* Global body and heading styles */
body {
  font-family: "Roboto", sans-serif;
  font-size: var(--step-0);
  line-height: 1.6;
  color: #333;
  background-color: #f8f8f8;
}

h1 {
  font-size: var(--step-3);
  line-height: 1.1;
  color: #03495c;
  font-weight: 700;
}

h2 {
  font-size: var(--step-2);
  line-height: 1.2;
  color: #03495c;
  font-weight: 600;
}

h3 {
  font-size: var(--step-1);
  line-height: 1.3;
  color: #03495c;
  font-weight: 500;
}

h4,
h5,
h6 {
  font-size: var(--step-0);
  line-height: 1.4;
  color: #03495c;
  font-weight: 500;
}

p,
li {
  font-size: var(--step-0);
  line-height: 1.7;
}

/* Spacing utility */
.stack>*+* {
  margin-top: clamp(0.5rem, 0.25rem + 1vw, 1rem);
}

/* Section padding */
.section {
  padding: clamp(1rem, 2vw, 2rem);
}

/* Responsive button adjustment */
@media (max-width: 600px) {
  .button {
    font-size: 18px;
    padding: 10px 14px;
    min-width: 120px;
  }
}

/* Button styles - Full width within containers */
.button {
  width: 100%;
  min-width: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 20px;
  border-radius: 17px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.1s ease-in-out;
  text-decoration: none;
  border: none;
}

.button * {
  color: #fff;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.button.main {
  background: #ff9800;
  border: 2px solid rgba(255, 152, 0, 0.3);
}

.button.main:hover {
  background: rgba(255, 152, 0, 0.7);
  border: 2px solid #ff9800;
}

.button.second * {
  color: #00622c;
}

.button.rd {
  border: 2px solid #ff9800;
}

.down {
  user-select: none;
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  z-index: 999;
  top: 0;
  background: #fff;
}

.down #nav-toggle {
  display: none;
}

.down .hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 25px;
  cursor: pointer;
  gap: 5px;
  z-index: 100;
}

.down .hamburger span {
  width: 100%;
  height: 3px;
  background: #03495c;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.down #nav-toggle:checked+label.hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.down #nav-toggle:checked+label.hamburger span:nth-child(2) {
  opacity: 0;
}

.down #nav-toggle:checked+label.hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.down .logo {
  width: fit-content;
  height: 100px;
  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: center;
  position: relative;
  padding: 10px;
  left: 20px;
}

.down .logo img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.down .drop {
  width: auto;
  background: #fff;
  height: 100%;
  padding: 10px 20px 10px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

.down .drop .links {
  display: flex;
  gap: 20px;
}

.down .drop .links .button {
  width: auto;
  min-width: 120px;
  padding: 8px 12px;
  font-size: 16px;
  border-radius: 12px;
}

.down .drop .links .button.main {
  background: #ff9800;
  border: 2px solid rgba(255, 152, 0, 0.3);
}

.down .drop .links .button.main:hover {
  background: rgba(255, 152, 0, 0.7);
  border: 2px solid #ff9800;
}

.down .drop .links .link {
  min-width: 100px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: relative;
}

.down .drop .links .link a,
.down .drop .links .link .dropdown-toggle {
  color: #000;
  font-weight: 500;
  font-size: 15px;
  display: inline-block;
  text-transform: capitalize;
  cursor: pointer;
  padding: 10px;
  background: rgba(0, 0, 0, 0);
  border: none;
}

.down .drop .links .link a:hover,
.down .drop .links .link .dropdown-toggle:hover {
  color: #03495c;
}

.down .drop .links .link .dropdown {
  position: relative;
}

.down .drop .links .link .dropdown>.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  z-index: 1000;
}

.down .drop .links .link .dropdown:hover>.dropdown-menu,
.down .drop .links .link .dropdown:focus-within>.dropdown-menu {
  display: block;
}

.down .drop .links .link .dropdown .dropdown-item {
  padding: 10px;
}

.down .drop .links .link .dropdown .dropdown-item a {
  display: block;
  color: #000;
  text-transform: none;
}

.down .drop .links .link .dropdown .dropdown-item a:hover {
  background: #03495c;
  color: #fff;
}

.down .drop .links .link .dropdown .dropdown .dropdown-menu {
  top: 0;
  left: 100%;
}

@media (max-width: 1340px) {
  .down {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    position: relative;
  }

  .down .hamburger {
    display: flex;
    position: absolute;
    top: 35px;
    right: 20px;
  }

  .down .drop {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding-left: 20px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    background: #fff;
  }

  .down .drop .links {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding: 20px 0;
  }

  .down .drop .links .link {
    width: 100%;
  }

  .down .drop .links .link .dropdown-toggle {
    width: 100%;
    display: block;
    text-align: left;
  }

  .down .drop .links .link .dropdown .dropdown-menu {
    position: static;
    box-shadow: none;
    background: #fff;
    padding-left: 20px;
  }

  .down .drop .links .link .dropdown .dropdown-menu.show {
    display: block;
  }

  .down .drop .links .link .dropdown .dropdown-menu .dropdown-item .dropdown .dropdown-menu {
    padding-left: 40px;
  }
}

.down #nav-toggle:checked~.drop {
  max-height: 800px;
  opacity: 1;
}

@media (max-width: 760px) {
  .down .logo {
    padding: 0;
    gap: 10px;
  }

  .down .logo img {
    height: clamp(36px, 9vw, 56px);
    width: auto;
  }
}

.header {
  width: 100%;
  min-height: calc(100lvh - 100px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.header .row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: row-reverse;
  height: 100%;
  width: 100%;
  gap: clamp(20px, 5vw, 50px);
}

.header .row .left {
  width: 100%;
  max-width: 500px;
  position: relative;
}

.header .row .left img {
  width: 100%;
  height: clamp(280px, 50vw, 500px);
  object-fit: cover;
  border-radius: 15px;
}

.header .row .right {
  width: 100%;
  max-width: 700px;
  height: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  z-index: 1;
}

.header .row .right h2 {
  font-size: clamp(16px, 2.2vw, 20px);
  color: #03495c;
  font-weight: 600;
  margin: 0 0 10px clamp(10px, 2vw, 20px);
}

.header .row .right h1 {
  font-size: clamp(28px, 6vw, 50px);
  font-weight: 800;
  margin-bottom: 20px;
  color: #03495c;
}

.header .row .right p {
  font-size: clamp(14px, 3.2vw, 18px);
  text-indent: 20px;
  font-weight: 500;
}

.header .row .right .button {
  margin-top: clamp(16px, 4vw, 30px);
  margin-left: 0;
}

.events {
  width: 100%;
  min-height: 65lvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background: url("../assets/images/Frame 4.png"), #00622c;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  padding: clamp(16px, 3vw, 30px);
}

.events h2 {
  font-size: clamp(16px, 2.2vw, 20px);
  color: #ff9800;
  font-weight: 600;
  margin: 0 0 10px clamp(10px, 2vw, 20px);
}

.events .row {
  width: 100%;
  padding: 20px 0;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: flex-start;
  flex-wrap: wrap;
}

.events .row h1 {
  font-size: clamp(24px, 5vw, 40px);
  color: #fff;
  width: 100%;
  margin-bottom: 20px;
  max-width: 500px;
}

.events .row .txt {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  width: 100%;
  max-width: 500px;
}

.events .row .txt p {
  font-size: clamp(14px, 3.2vw, 18px);
  color: #fff;
  margin-bottom: 20px;
}

.events .row .txt .button {
  width: auto;
}

.events .row .slider-container {
  width: 100%;
  max-width: 100%;
}

.events .row .slider-container .slider-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 860px) {
  .events .row .slider-container .slider-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .events .row .slider-container .slider-track {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

.custom,
.anunt {
  overflow: hidden;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  background-position: left;
  background-repeat: no-repeat;
  background-size: cover;
  overflow-y: hidden;
  padding: clamp(16px, 3vw, 30px);
  background: #fff;
  border-radius: 15px;
  position: relative;
}

.custom h1,
.anunt h1 {
  font-size: clamp(18px, 3.8vw, 22px) !important;
  font-weight: 700;
  color: #03495c !important;
  margin: 0;
}

.custom .line,
.anunt .line {
  width: 100%;
  height: 2px;
  background: #00622c;
  margin: 10px 0;
  border-radius: 10px;
}

.custom p,
.anunt p {
  font-size: clamp(13px, 3.4vw, 14px);
  font-weight: 300;
  color: #000;
  margin-bottom: 10px;
}

.carousel {
  width: 100%;
  min-height: 80vh;
  position: relative;
}

.carousel>.slider-container {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.carousel .slider-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel .slider-track .full {
  flex: 0 0 auto;
  width: 100%;
}

.carousel #hero-1:checked~.carousel .slider-track {
  transform: translateX(0%);
}

.carousel #hero-2:checked~.carousel .slider-track {
  transform: translateX(-100%);
}

.carousel #hero-3:checked~.carousel .slider-track {
  transform: translateX(-200%);
}

.carousel .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(28px, 5vw, 40px);
  color: #fff;
  background: rgba(0, 0, 0, 0.3);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  user-select: none;
}

.carousel .prev {
  left: 20px;
}

.carousel .next {
  right: 20px;
}

.carousel .full {
  width: 100%;
  min-height: 80vh;
  height: 100%;
  position: relative;
  z-index: 2;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(16px, 3vw, 30px);
}

.carousel .full h1 {
  font-size: clamp(28px, 6vw, 50px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  text-align: center;
}

.carousel .full p {
  width: 100%;
  text-align: center;
  max-width: 800px;
  color: #fff;
  margin-bottom: 10px;
  font-size: clamp(14px, 3.2vw, 18px);
}

.carousel .full .buttons {
  width: 100%;
  max-width: 150px;
  display: flex;
  margin-top: 60px;
  justify-content: space-between;
  align-items: center;
}

.carousel .full .buttons .button {
  width: auto;
  min-width: 0;
}

.carousel .full::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

.carousel .full img {
  position: absolute;
  z-index: -2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logos {
  width: 100%;
  height: clamp(120px, 20vw, 200px);
  display: flex;
  overflow: hidden;
  background: #fff;
  padding: 20px 0;
}

.logos .logo-track {
  display: flex;
  width: 4000px;
  animation: scroll 20s linear infinite;
}

.logos .logo {
  width: clamp(120px, 20vw, 200px);
  flex-shrink: 0;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logos .logo img {
  max-height: clamp(60px, 12vw, 120px);
  object-fit: contain;
  transition: filter 0.3s ease;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 1050px) {
  .header .row .right .button {
    margin: 20px 0;
  }
}

@media (max-width: 590px) {
  .header .row {
    padding: 20px;
  }

  .carousel .full {
    padding: 19px;
  }

  .carousel .full h1 {
    font-size: 40px;
  }

  .carousel .full p {
    font-size: 14px;
  }
}

footer {
  width: 100%;
  background: linear-gradient(135deg, #03495c 0%, #00622c 100%);
  color: #fff;
  padding: 80px 0 40px 0;
  position: relative;
  margin-top: auto;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

footer .footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: start;
}





footer .link-group h3,
footer .footer-section h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
}

footer .link-group h3::after,
footer .footer-section h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: #ff9800;
  border-radius: 2px;
}

footer .link-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

footer .link-group a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease, transform 0.2s ease;
  position: relative;
  padding-left: 20px;
}

footer .link-group a::before {
  content: '›';
  position: absolute;
  left: 0;
  color: #ff9800;
  font-weight: bold;
  transition: transform 0.2s ease;
}

footer .link-group a:hover {
  color: #fff;
  transform: translateX(8px);
}

footer .link-group a:hover::before {
  transform: translateX(5px);
}

footer .footer-section.contact {
  text-align: left;
}

footer .footer-section.contact .contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

footer .footer-section.contact .contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-start;
}

footer .footer-section.contact .contact-item .icon {
  width: 24px;
  height: 24px;
  opacity: 0.8;
}

footer .footer-section.contact .contact-item .text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

footer .footer-bottom {
  max-width: 1200px;
  margin: 50px auto 0 auto;
  padding: 25px 20px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

footer .footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin: 0;
}

@media (max-width: 900px) {
  footer .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  footer .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }



}

.banner {
  width: 100%;
  min-height: clamp(220px, 30vw, 300px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: clamp(16px, 3vw, 30px);
  background: url(../assets/images/banner.svg);
  background-position: top left;
  background-repeat: no-repeat;
  background-size: cover;
}

.banner h1 {
  color: #fff;
  font-size: clamp(28px, 6vw, 40px);
  margin-bottom: 15px;
  font-weight: 700;
}

.banner h3 {
  color: #fff;
  font-weight: 600;
  font-size: clamp(18px, 4vw, 25px);
}

.licenta {
  width: 100lvw;
  min-height: 80vh;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  gap: 30px;
}

.licenta .right,
.licenta .left {
  min-width: 600px;
}

.licenta .right {
  width: calc(50% - 45px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  padding: 0 30px;
}

.licenta .right img {
  object-fit: cover;
}

.licenta .right .img1 {
  width: 100%;
}

.licenta .right .img2,
.licenta .right .img3 {
  margin-top: -150px;
  position: relative;
  border: 20px solid #fff;
}

.licenta .right .img3 {
  border-right: none;
  width: 64%;
}

.licenta .right .img2 {
  width: 36%;
  height: 300px;
  border-left: none;
  display: flex;
  flex-direction: column;
  background: #00622c;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
  gap: 10px;
}

.licenta .right .img2 h1 {
  color: #ff9800;
  font-size: 80px;
  font-weight: bolder;
}

.licenta .right .img2 h2 {
  color: #f8f8f8;
  font-size: 30px;
}

.licenta .left {
  width: calc(50% - 45px);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  padding: 10px;
}

.licenta .left h2 {
  font-size: 25px;
  font-weight: 600;
  position: relative;
  margin-bottom: 40px;
  left: -20px;
}

.licenta .left h1 {
  font-size: 60px;
  font-weight: bold;
}

.licenta .left .icons {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}

.licenta .left .icons .icon {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  width: calc(50% - 10px);
}

.licenta .left .icons .icon svg {
  width: 50%;
  height: auto;
}

.licenta .left .icons .icon h3 {
  text-align: left;
}

.licenta .left p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  text-indent: 20px;
  margin: 10px 0;
}

.intrb {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 450px;
  flex-wrap: wrap;
  gap: 40px;
  position: relative;
  padding: 20px 0;
}

.intrb .card {
  position: relative;
  width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 30px;
  background: url("../assets/images/Artboard 2.png"),
    linear-gradient(to right top, #03495c, #00622c);
  color: #f8f8f8;
  gap: 20px;
  background-blend-mode: lighten;
  min-height: 400px;
  border-radius: 5px;
}

.intrb .card h2 {
  color: #f8f8f8;
  font-size: 30px;
}

.intrb .card p {
  font-size: 16px;
  text-indent: 20px;
  color: #f8f8f8;
  line-height: 1.5;
}

.intrb .card.color {
  border: none;
  background: url("../assets/images/Artboard 2.png"),
    linear-gradient(to left bottom, #03495c, #00622c);
}

.intrb .card::after {
  content: "";
  width: calc(100% + 10px);
  min-height: calc(100% + 10px);
  position: absolute;
  top: -5px;
  left: -5px;
  z-index: -1;
  border-radius: 10px;
  background-color: #ff9800;
}

.p {
  font-size: 18px;
  text-indent: 20px;
  line-height: 1.5;
  padding: 20px;
}

@media (max-width: 1200px) {

  .licenta .left,
  .licenta .right {
    min-width: 0px;
  }

  .licenta .right {
    width: 80%;
  }

  .licenta .right .img2 h1 {
    font-size: 60px;
  }

  .licenta .right .img2 h2 {
    font-size: 30px;
  }

  .licenta .left {
    width: 90%;
  }

  .licenta .left .icons .icon {
    width: 100%;
    max-width: 300px;
  }

  .licenta .left .icons .icon svg {
    width: 100%;
    max-width: 150px;
  }

  .licenta .left .icons .icon h3 {
    text-align: left;
  }

  .licenta .left p {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    text-indent: 20px;
    margin: 10px 0;
  }
}

@media (max-width: 780px) {
  .licenta .left .icons .icon svg {
    width: 100%;
    max-width: 80px;
  }

  .licenta .right .img2 {
    gap: 10px;
  }

  .licenta .right .img2 h1 {
    font-size: 50px;
  }

  .licenta .right .img2 h2 {
    font-size: 17px;
  }
}

@media (max-width: 660px) {
  .intrb {
    flex-direction: column;
    align-items: center;
  }

  .intrb .card {
    width: 95%;
  }

  .licenta .right {
    width: 90%;
    flex-direction: column;
  }

  .licenta .right .img {
    width: 100%;
    margin: 0;
    border-left: none;
    border-right: none;
  }

  .licenta .right .img.img2 {
    height: 180px;
    text-align: center;
  }

  .licenta .left {
    padding: 0;
  }

  .licenta .left h1 {
    font-size: 50px;
  }

  .licenta .left .icons .icon {
    gap: 5px;
  }

  .licenta .left .icons .icon h3 {
    font-size: 15px;
  }
}

@media (max-width: 430px) {
  .licenta .left h1 {
    font-size: 40px;
  }

  .licenta .left p {
    font-size: 15px;
  }

  .licenta .left .button {
    width: 100%;
  }

  .licenta .right {
    width: 100%;
  }
}

.doctorat {
  width: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: relative;
}

.doctorat .infos {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  flex-wrap: wrap;
}

.doctorat .infos .left {
  width: 100%;
  max-width: 300px;
  position: relative;
}

.doctorat .infos .left img {
  width: 100%;
  object-fit: contain;
}

.doctorat .infos .right {
  width: 100%;
  max-width: calc(100% - 500px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.doctorat .infos .right h1 {
  font-size: clamp(22px, 4.5vw, 40px);
  font-weight: 600;
  line-height: 1.3;
}

.doctorat .infos .right p {
  font-size: clamp(14px, 3.2vw, 18px);
  color: #03495c;
  margin-bottom: 20px;
}

.doctorat .infos .right .details {
  list-style-image: url(../assets/images/list.svg);
  padding: 10px;
}

.doctorat .infos .right .details li {
  margin-bottom: 5px;
}

.doctorat .infos .right .details li .d {
  margin-top: 10px;
  margin-left: 20px;
}

.doctorat .infos .right .details li a {
  color: #03495c;
}

.doctorat .teze {
  width: 100%;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  margin: 20px 0;
}

.doctorat .teze .but {
  user-select: none;
  width: 100%;
  max-width: 500px;
  margin: 10px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  background: #00622c;
  cursor: pointer;
  position: relative;
  border-radius: 10px;
}

.doctorat .teze .but h2 {
  font-size: clamp(18px, 4vw, 25px);
  font-weight: 600;
  display: flex;
  width: 100%;
  gap: 10px;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.doctorat .teze .table_wrapper {
  width: 100%;
  overflow-y: hidden;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.doctorat .teze table {
  border-collapse: collapse;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.doctorat .teze thead {
  user-select: none;
  background: #03495c;
  color: #fff;
}

.doctorat .teze th,
.doctorat .teze td {
  padding: clamp(10px, 1.5vw, 15px);
  text-align: left;
  border-bottom: 1px solid #ddd;
  font-size: clamp(12px, 2.8vw, 16px);
  white-space: nowrap;
}

.doctorat .teze th {
  background-color: #007bff;
  color: #fff;
  font-weight: bold;
}

.doctorat .teze tr:nth-child(even) {
  background-color: #f8f9fa;
}

.doctorat .teze tr:not(thead tr):hover {
  background-color: #e9ecef;
}

.doctorat .title_graf {
  text-align: center;
  font-size: clamp(20px, 5vw, 30px);
  color: #03495c;
  margin-top: 15px;
  width: 100%;
  max-width: 500px;
  font-weight: 600;
}

@media (max-width: 600px) {
  .table_wrapper {
    overflow-x: scroll;
    width: 100%;
  }
}

@media (max-width: 850px) {
  .doctorat .infos {
    flex-direction: column;
    align-items: center;
  }

  .doctorat .infos .right {
    max-width: 95%;
  }
}

.bar-chart {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 10px;
}

.bar-chart .bar {
  display: grid;
  grid-template-columns: 80px 1fr 40px;
  gap: 10px;
  align-items: center;
}

.bar-chart .bar .label {
  color: #03495c;
  font-weight: 600;
  font-size: clamp(12px, 2.8vw, 16px);
}

.bar-chart .bar .track {
  background: rgba(3, 73, 92, 0.1);
  height: 14px;
  border-radius: 999px;
  overflow: hidden;
}

.bar-chart .bar .track .fill {
  height: 100%;
  background: linear-gradient(90deg, #00622c, #03495c);
}

.bar-chart .bar .value {
  color: #03495c;
  font-weight: 600;
  text-align: right;
}

@media (max-width: 500px) {
  .bar-chart .bar {
    grid-template-columns: 60px 1fr 30px;
  }
}

.pie-chart {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  gap: 20px;
  align-items: center;
}

.pie-chart .pie {
  width: min(60vw, 260px);
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: conic-gradient(#00622c 0 25%, #03495c 25% 60%, #ff9800 60% 100%);
}

.pie-chart .legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: center;
}

.pie-chart .legend-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(12px, 2.8vw, 16px);
  color: #03495c;
  border-left: 1px solid #03495c;
  padding-left: 12px;
}

.pie-chart .legend-row:first-child {
  border-left: none;
  padding-left: 0;
}

.pie-chart .swatch {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}

@media (max-width: 700px) {
  .pie-chart {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .pie-chart .legend {
    justify-items: start;
  }
}

.doctoranzi-stats,
.teze-stats {
  display: grid;
  justify-items: center;
}

.bar-chart {
  width: min(900px, 100%);
  margin-inline: auto;
}

.pie-chart {
  width: min(900px, 100%);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.dotari {
  width: 100%;
  padding: clamp(16px, 3vw, 20px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: relative;
}

.dotari .dotare {
  position: relative;
  width: 100%;
  margin: 20px 0;
}

.dotari .dotare h1 {
  font-size: clamp(22px, 4.5vw, 30px);
  color: #03495c;
  margin-bottom: 20px;
}

.dotari .dotare .slider-container {
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
}

.dotari .dotare .slider-container .slider-track {
  display: flex;
  gap: 20px;
}

.dotari .dotare .slider-container .custom-slide {
  width: 100%;
  position: relative;
  display: flex !important;
  justify-content: center;
  align-items: center;
  scroll-snap-align: start;
}

.dotari .dotare .slider-container .custom-slide .sli {
  width: min(90vw, 350px);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dotari .dotare .slider-container .custom-slide .sli p {
  position: absolute;
  z-index: 1;
  background: rgba(3, 73, 92, 0.4);
  color: #fff;
  width: 100%;
  left: 0;
  bottom: 0;
  font-size: clamp(12px, 3vw, 15px);
  padding: 14px;
  font-weight: 500;
  line-height: 1.2;
}

.dotari .dotare .slider-container .custom-slide .sli img {
  width: 100%;
  z-index: 0;
  position: relative;
  border: 15px;
  object-fit: cover;
  aspect-ratio: 4/3;
  border-radius: 8px;
}

.anunturi {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
  flex-wrap: wrap;
  gap: 20px;
}

.anunturi .anunt {
  width: 100%;
  max-width: 450px;
  border: 1px solid #03495c;
}

.anunturi .anunt .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 20px 0 0px 0;
}

.anunturi .anunt .tags span {
  font-size: 12px;
  color: #03495c;
  background: rgba(3, 73, 92, 0.06);
  border: 1px solid rgba(3, 73, 92, 0.2);
  padding: 4px 8px;
  border-radius: 999px;
}

.scss {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.scss .blog-card {
  display: flex;
  flex-direction: column;
  margin: 1rem auto;
  box-shadow: 0 3px 7px -1px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.6%;
  background: #f8f8f8;
  line-height: 1.4;
  font-family: sans-serif;
  border-radius: 5px;
  overflow: hidden;
  z-index: 0;
}

.scss .blog-card a {
  color: inherit;
}

.scss .blog-card a:hover {
  color: red;
}

.scss .blog-card:hover .photo {
  transform: scale(1.3) rotate(3deg);
}

.scss .blog-card .meta {
  position: relative;
  z-index: 0;
  height: 250px;
}

.scss .blog-card .photo {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  object-fit: cover;
  object-position: left;
  transition: transform 0.2s;
}

.scss .blog-card .description {
  padding: 1rem;
  background: #f8f8f8;
  position: relative;
  z-index: 1;
}

.scss .blog-card .description h1,
.scss .blog-card .description h2 {
  font-family: Poppins, sans-serif;
}

.scss .blog-card .description h1 {
  line-height: 1;
  margin: 0;
  font-size: 1.7rem;
}

.scss .blog-card .description h2 {
  font-size: 1rem;
  font-weight: 300;
  text-transform: uppercase;
  color: #a2a2a2;
  margin-top: 5px;
}

.scss .blog-card p {
  position: relative;
  margin: 1rem 0 0;
}

.scss .blog-card p:first-of-type {
  margin-top: 1.25rem;
}

.scss .blog-card p:first-of-type:before {
  content: "";
  position: absolute;
  height: 5px;
  background: #ff9800;
  width: 35px;
  top: -0.75rem;
  border-radius: 3px;
}

@media (min-width: 640px) {
  .scss .blog-card {
    flex-direction: row;
    width: 100%;
  }

  .scss .blog-card .meta {
    flex-basis: 40%;
    height: auto;
    min-height: 300px;
  }

  .scss .blog-card .description {
    flex-basis: 60%;
  }

  .scss .blog-card .description:before {
    transform: skewX(-3deg);
    content: "";
    background: #f8f8f8;
    width: 30px;
    position: absolute;
    left: -10px;
    top: 0;
    bottom: 0;
    z-index: -1;
  }

  .scss .blog-card.alt {
    flex-direction: row-reverse;
  }

  .scss .blog-card.alt .description:before {
    left: inherit;
    right: -10px;
    transform: skew(3deg);
  }
}

.ccma {
  width: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1200px;
  margin-inline: auto;
}

.ccma.ccma--conducere .tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  border-bottom: 2px solid rgba(3, 73, 92, 0.08);
  padding-bottom: 10px;
}

.ccma.ccma--conducere .tabs a.tab {
  padding: 8px 14px;
  border-radius: 8px;
  background: rgba(3, 73, 92, 0.06);
  color: #03495c;
  font-weight: 600;
  font-size: 14px;
}

.ccma.ccma--conducere .tabs a.tab:hover {
  background: rgba(3, 73, 92, 0.12);
}

.ccma .ccma-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(180deg,
      rgba(3, 73, 92, 0.03),
      rgba(0, 98, 44, 0.02));
  border: 1px solid rgba(3, 73, 92, 0.08);
}

.ccma .ccma-section h2 {
  color: #03495c;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.ccma .ccma-section .cards {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 1024px) {
  .ccma .ccma-section .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ccma .ccma-section .cards {
    grid-template-columns: 1fr;
  }
}

.ccma .ccma-section .person-card {
  position: relative;
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid rgba(3, 73, 92, 0.12);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  overflow: hidden;
}

.ccma .ccma-section .person-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.ccma .ccma-section .person-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  background: linear-gradient(90deg, #03495c, #00622c);
}

.ccma .ccma-section .person-card header {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: center;
}

.ccma .ccma-section .person-card header .avatar {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, #00622c, #03495c);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  border: 1px solid rgba(3, 73, 92, 0.12);
}

.ccma .ccma-section .person-card header .meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ccma .ccma-section .person-card header .meta h3 {
  color: #03495c;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.ccma .ccma-section .person-card header .meta a {
  color: #03495c;
  font-size: 14px;
  text-decoration: underline;
}

.ccma .ccma-section .person-card .desc {
  color: #000;
  opacity: 0.9;
  font-size: 14px;
  line-height: 1.6;
}

.ccma .ccma-section .person-card .courses {
  padding-left: 18px;
  margin-top: 2px;
  display: grid;
  gap: 4px;
}

.ccma .ccma-section .person-card .courses li {
  font-size: 13px;
  color: #03495c;
}

.ccma .ccma-section .person-card .actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ccma .ccma-section .person-card .actions .button {
  min-width: auto;
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0);
  border: 1px solid rgba(3, 73, 92, 0.35);
  color: #03495c;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background-color 0.15s ease, border-color 0.15s ease,
    transform 0.05s ease;
  position: relative;
  text-decoration: none;
}

.ccma .ccma-section .person-card .actions .button::after {
  content: "↗";
  font-size: 12px;
  line-height: 1;
  transform: translateY(-1px);
}

.ccma .ccma-section .person-card .actions .button * {
  color: #03495c !important;
}

.ccma .ccma-section .person-card .actions .button:hover {
  background: rgba(3, 73, 92, 0.08);
  border-color: rgba(3, 73, 92, 0.6);
}

.ccma .ccma-section .person-card .actions .button:active {
  transform: scale(0.98);
}

.ccma .ccma-section .person-card .actions .button:focus-visible {
  outline: 2px solid rgba(3, 73, 92, 0.4);
  outline-offset: 2px;
}

.ccma .ccma-section .person-card .actions .button.rd {
  background: rgba(0, 0, 0, 0);
  border-color: #ff9800;
  color: #ff9800;
}

.ccma .ccma-section .person-card .actions .button.rd * {
  color: #ff9800 !important;
}

.ccma .ccma-section .person-card .actions .button.rd:hover {
  background: rgba(255, 152, 0, 0.12);
  border-color: #ff9800;
}

.main {
  background-color: #03495c;
  color: #fff;
}

.main:hover {
  background-color: #00622c;
}

.second {
  border: 1px solid #03495c;
  color: #03495c;
}

.second:hover {
  background-color: #03495c;
}

.second:hover a {
  color: #fff !important;
}

.rd {
  background-color: #f44336;
  color: #fff;
}

.rd:hover {
  background-color: #d32f2f;
}

/* --- Announcement Content Styling --- */
/* Main container for the announcement content, providing a clean base */
.announcement-main-container {
  width: 100%;
  /* Set to 100% of viewport width */
  background-color: #ffffff;
  /* White background for the entire content block */
  border-radius: 12px;
  /* Slightly larger border-radius for a modern feel */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  /* More pronounced shadow */
  margin-top: 30px;
  /* Increased top margin */
  margin-bottom: 30px;
  /* Increased bottom margin */
  overflow: hidden;
  /* Ensures child elements respect border-radius */
}

/* Header meta section for title, date, and tags */
.announcement-info-bar {
  padding: 1.5em clamp(1rem, 5vw, 4em);
  /* Responsive left/right padding */
  background-color: #e0f2f7;
  /* Light blue background for metadata */
  border-bottom: 1px solid rgba(3, 73, 92, 0.15);
  /* Clearer separator */
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  /* Space out date and tags */
  align-items: center;
  gap: 1em;
}

.announcement-info-bar .date {
  font-size: var(--step--1);
  color: #495057;
  font-weight: 500;
}

.announcement-info-bar .anunt-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.announcement-info-bar .anunt-tags span {
  background-color: #cce7ee;
  text-indent: 0px !important;
  color: #03495c;
  padding: 6px 12px;
  /* Slightly larger tags */
  border-radius: 15px;
  /* More rounded pill-shaped tags */
  font-size: var(--step--2);
  border: 1px solid rgba(3, 73, 92, 0.25);
  /* Clearer border */
  font-weight: 600;
}

@media (max-width: 600px) {
  .announcement-info-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 1em clamp(1rem, 5vw, 4em);
    /* Adjust padding for small screens */
  }

  .announcement-info-bar .anunt-tags {
    margin-top: 0.5em;
  }
}

/* Core styling for the rich text content */
.announcement-content-styled {
  line-height: 1.8;
  color: #343a40;
  /* Slightly darker body text for better contrast */
  font-family: "Roboto", sans-serif;
  font-size: var(--step-0);
  padding: 2.5em clamp(1rem, 5vw, 4em);
  /* Responsive left/right padding */
}

.announcement-content-styled h1,
.announcement-content-styled h2,
.announcement-content-styled h3,
.announcement-content-styled h4,
.announcement-content-styled h5,
.announcement-content-styled h6 {
  color: #03495c;
  /* Primary heading color */
  margin-top: 3em;
  /* More space above headings */
  margin-bottom: 1em;
  line-height: 1.2;
  font-weight: 700;
  padding-bottom: 0.5em;
  /* Increased padding below headings */
  border-bottom: 2px solid rgba(3, 73, 92, 0.3);
  /* Stronger, more visible underline */
}

.announcement-content-styled h1 {
  font-size: var(--step-4);
  /* Larger H1 */
  border-bottom: 3px solid #00622c;
  /* Very prominent H1 underline */
  padding-bottom: 0.8em;
  color: #00622c;
  /* H1 specific color */
}

.announcement-content-styled h2 {
  font-size: var(--step-3);
  /* Larger H2 */
  color: #03495c;
  /* H2 specific color */
  margin-top: 1em;
  /* Reduced spacing */
  margin-bottom: 0.8em;
  /* Reduced spacing */
}

.announcement-content-styled h3 {
  font-size: var(--step-2);
  /* Larger H3 */
  color: #ff9800;
  /* Accent color for H3 */
  border-bottom: 1px dotted rgba(255, 152, 0, 0.5);
  /* Dotted underline for H3 */
}

.announcement-content-styled h4 {
  font-size: var(--step-1);
  font-weight: 600;
  color: #03495c;
}

.announcement-content-styled h5 {
  font-size: var(--step-0);
  font-weight: 600;
  color: #03495c;
}

.announcement-content-styled h6 {
  font-size: var(--step--1);
  font-weight: 600;
  color: #03495c;
}

.announcement-content-styled p {
  margin-bottom: 1.8em;
  /* Even more spacing for paragraphs */
  text-align: justify;
  line-height: 1.9;
}

.announcement-content-styled strong {
  font-weight: 900;
  /* Extra bold */
  color: #004d1f;
  /* Strong, dark green */
}

.announcement-content-styled em {
  font-style: italic;
  color: #033a4a;
  /* Strong, dark blue */
  background-color: #e6f7ff;
  /* Light background for emphasis */
  padding: 0.1em 0.3em;
  border-radius: 4px;
}

.announcement-content-styled ul,
.announcement-content-styled ol {
  margin-bottom: 2em;
  /* More spacing for lists */
  padding-left: 3em;
  /* Increased indentation */
}

.announcement-content-styled li {
  margin-bottom: 1em;
  /* More spacing for list items */
  list-style-type: disc;
  /* Default to disc for ul */
  color: #343a40;
}

.announcement-content-styled ol li {
  list-style-type: decimal;
  /* Default to decimal for ol */
}

.announcement-content-styled a {
  color: #00622c;
  /* Green link color */
  text-decoration: underline;
  font-weight: 700;
  /* Bolder links */
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.announcement-content-styled a:hover {
  color: #ff9800;
  /* Orange on hover */
  text-decoration: none;
}

.announcement-content-styled img,
.announcement-content-styled video {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 2em auto;
  /* More vertical space for media */
  border-radius: 10px;
  /* Larger border-radius */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  /* Stronger shadow */
  border: 1px solid #e9ecef;
  /* Subtle border for images */
}

/* Ensure CKEditor image alignment is respected */
.announcement-content-styled .image-style-align-left {
  float: left;
  margin-right: 2.5em;
  /* More margin */
  margin-left: 0;
  max-width: 45%;
  /* Slightly smaller floated image width for better text wrap */
}

.announcement-content-styled .image-style-align-right {
  float: right;
  margin-left: 2.5em;
  /* More margin */
  margin-right: 0;
  max-width: 45%;
  /* Slightly smaller floated image width */
}

.announcement-content-styled .image-style-full {
  width: 100%;
  float: none;
  margin-left: auto;
  margin-right: auto;
}

.announcement-content-styled figure {
  margin: 2.2em auto;
  /* Increased margin for figures */
  max-width: 100%;
}

.announcement-content-styled figcaption {
  font-size: var(--step--1);
  color: #6c757d;
  text-align: center;
  margin-top: 0.8em;
  /* More space below image */
  font-style: italic;
}

.announcement-content-styled table {
  width: 100%;
  border-collapse: collapse;
  margin: 2.5em 0;
  /* More vertical space for tables */
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
  /* Stronger shadow for tables */
  border-radius: 12px;
  /* Larger border-radius */
  overflow: hidden;
}

.announcement-content-styled th,
.announcement-content-styled td {
  padding: 18px 25px;
  /* More padding in table cells */
  border: 1px solid #dee2e6;
  /* Clearer border */
  text-align: left;
  vertical-align: middle;
  /* Center content vertically */
  font-size: var(--step--0);
  /* Consistent font size */
}

.announcement-content-styled th {
  background-color: #03495c;
  /* Dark blue header */
  color: #fff;
  font-weight: 800;
  /* Extra bold header text */
  text-transform: uppercase;
  font-size: var(--step--1);
  letter-spacing: 0.5px;
}

.announcement-content-styled tr:nth-child(even) {
  background-color: #f8f9fa;
  /* Light grey for even rows */
}

.announcement-content-styled tr:hover {
  background-color: #e9f5f8;
  /* Lighter blue on hover */
}

.announcement-content-styled blockquote {
  border-left: 8px solid #ff9800;
  /* Thicker, more prominent orange border */
  padding: 2em 2.5em;
  /* Increased padding */
  margin: 2.5em 0;
  /* Increased margins */
  color: #495057;
  font-style: italic;
  background-color: #fffaf0;
  /* Softer, warmer background */
  border-radius: 0 12px 12px 0;
  /* Larger border-radius */
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.08);
  /* More noticeable shadow */
  line-height: 1.7;
}

.announcement-content-styled pre {
  background-color: #2e3440;
  /* Nord theme dark blue for code blocks */
  color: #eceff4;
  /* Light text color for code */
  padding: 2em 2.5em;
  /* Increased padding */
  border-radius: 12px;
  /* Larger border-radius */
  overflow-x: auto;
  margin-bottom: 2.5em;
  /* More vertical space */
  font-family: "Fira Code", monospace;
  font-size: 1em;
  /* Slightly larger code font */
  line-height: 1.7;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.announcement-content-styled code {
  font-family: "Fira Code", monospace;
  background-color: #f1f1f1;
  /* Lighter background for inline code */
  padding: 0.4em 0.7em;
  /* More padding */
  border-radius: 6px;
  /* Larger border-radius */
  color: #c7254e;
  /* Distinct color for inline code */
  font-size: 0.95em;
  border: 1px solid #dcdcdc;
}

/* Responsive adjustments for content styling */
@media (max-width: 768px) {
  .announcement-content-styled {
    padding: 1.5em clamp(1rem, 5vw, 2em);
    /* Adjust padding for smaller screens */
  }

  .announcement-content-styled h1 {
    font-size: var(--step-3);
    padding-bottom: 0.5em;
  }

  .announcement-content-styled h2 {
    font-size: var(--step-2);
    padding-bottom: 0.4em;
  }

  .announcement-content-styled h3 {
    font-size: var(--step-1);
    padding-bottom: 0.3em;
  }

  .announcement-content-styled .image-style-align-left,
  .announcement-content-styled .image-style-align-right {
    float: none;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }

  .announcement-content-styled table,
  .announcement-content-styled th,
  .announcement-content-styled td {
    display: block;
    width: 100%;
  }

  .announcement-content-styled thead {
    display: none;
  }

  .announcement-content-styled tr {
    margin-bottom: 1em;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
  }

  .announcement-content-styled td {
    text-align: right;
    position: relative;
    padding-left: 50%;
  }

  .announcement-content-styled td::before {
    content: attr(data-label);
    position: absolute;
    left: 15px;
    width: calc(50% - 30px);
    padding-right: 10px;
    white-space: nowrap;
    text-align: left;
    font-weight: bold;
    color: #03495c;
  }
}

@media (max-width: 600px) {
  .announcement-main-container {
    padding: 0;
    margin-top: 15px;
    margin-bottom: 15px;
    border-radius: 0;
    box-shadow: none;
  }
}

/* Remove old .announcement-header-meta as it's replaced by .announcement-info-bar */
.announcement-header-meta {
  display: none;
}