:root {
  --primary-color: #35a4b0;

  --primary-lighter: #3dbbc9;

  --primary-dark: #3175b0;

  --primary-darker: #2c65b0;

  --background: #fffdf7;

  --text-dark: #1a1a1a;

  --text-light: #4a4a4a;

  --card-bg: #ffffff;

  --shadow: 0 2px 8px #35a4b027;

  --shadow-color: #35a4b027;

  --border-radius: 12px;
}

* {
  margin: 0;

  padding: 0;

  box-sizing: border-box;
}

body {
  font-family: "Noto Sans", sans-serif;

  background-color: var(--background);

  color: var(--text-dark);

  line-height: 1.6;

  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Baskervville", serif;

  font-weight: 400;

  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;

  color: var(--primary-color);

  position: relative;

  padding-bottom: 0.5rem;

  text-align: center;

  margin-bottom: 2rem;

  font-weight: 700;
}

h2::after {
  content: "";

  position: absolute;

  bottom: 0;

  left: 50%;

  transform: translateX(-50%);

  width: 60px;

  height: 3px;

  background: var(--primary-lighter)
    /*linear-gradient(90deg, var(--primary-color), var(--primary-darker))*/;

  border-radius: 3px;
}

h3 {
  font-size: 1.5rem;

  color: var(--primary-color);

  position: relative;

  padding-top: 1.5rem;

  padding-bottom: 1rem;

  margin-bottom: 1.8rem;

  font-weight: 600;
}

h3::after {
  content: "";

  position: absolute;

  left: 0;

  bottom: 0;

  width: 3rem;

  height: 3px;

  background-color: var(--primary-color);
}

.h3-none::after {
  display: none;
}

p {
  margin-bottom: 1rem;

  text-align: left;
}

b {
  color: var(--primary-color);
}

.news-item b {
    color: var(--background);
}

u {
  text-decoration-color: var(--primary-color);
}

a {
  text-decoration: none;
}

.news-item a:link, 
.news-item a:visited{
    color: var(--background)
}

a:link {
  color: var(--primary-color);
}

a:visited {
  color: var(--primary-dark);
}

.container {
  width: 90%;

  max-width: 1200px;

  margin: 0 auto;

  padding: 0 1rem;
}

section {
  padding: 2.5rem 0;
}

/* Header & Navigation */

header {
  background-color: var(--card-bg);

  box-shadow: var(--shadow);

  position: fixed;

  width: 100%;

  top: 0;

  z-index: 1000;
}

.header-container {
  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 1rem 0;
}

.logo {
  display: flex;

  align-items: center;

  flex-direction: column;
}

.logo-text {
  font-family: "Baskervville", serif;

  font-size: 1.8rem;

  color: var(--primary-color);

  line-height: 1;
}

.logo-subtext {
  font-size: 0.9rem;

  color: var(--text-light);

  font-style: italic;
}

nav ul {
  display: flex;

  list-style: none;
}

nav li {
  margin-left: 1.5rem;
}

nav a {
  text-decoration: none;

  color: var(--text-dark);

  font-weight: 500;

  transition: color 0.3s;

  position: relative;
}

nav a::after {
  content: "";

  position: absolute;

  bottom: -5px;

  left: 0;

  width: 0;

  height: 2px;

  background-color: var(--primary-color);

  transition: width 0.3s;
}

nav a:hover {
  color: var(--primary-color);
}

nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;

  background: none;

  border: none;

  font-size: 1.5rem;

  cursor: pointer;

  color: var(--primary-color);
}

/* Back to Top BTN */

.back-to-top {
  position: fixed;

  bottom: 30px;

  right: 30px;

  width: 54px;

  height: 54px;

  border-radius: 50%;

  background-color: var(--card-bg);

  color: var(--card-bg);

  display: flex;

  align-items: center;

  justify-content: center;

  text-decoration: none;

  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);

  opacity: 0;

  visibility: hidden;

  transform: translateY(15px);

  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    background-color 0.3s ease;

  z-index: 1000;
}

.back-to-top.visible {
  opacity: 1;

  visibility: visible;

  transform: translateY(0);
}

.back-to-top:hover {
  background-color: color-mix(in srgb, var(--card-bg) 70%, #4fa8d8 30%);
}

/* Hero Section */

.hero {
  background-color: var(--primary-color);

  color: white;

  padding: 8rem 0 6rem;

  margin-top: 4rem;

  text-align: center;
}

.hero-content {
  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 2rem;
}

.hero-image-frame {
  width: 200px;

  height: 200px;

  border-radius: 50%;

  background-color: var(--background);

  display: flex;

  justify-content: center;

  align-items: center;

  padding: 20px;

  margin-bottom: 1rem;
}

.hero-logo {
  max-width: 160px;

  max-height: 160px;

  width: auto;

  height: auto;

  object-fit: contain;
}

.hero-text {
  max-width: 600px;
}

.hero-text p {
  text-align: center;
}

.hero h1 {
  font-size: 3rem;

  margin-bottom: 0.5rem;

  line-height: 1.2;

  color: white;

  font-family: "Baskervville", serif;
}

.hero p {
  font-size: 1.1rem;

  margin-bottom: 2rem;

  color: rgba(255, 255, 255, 0.85);

  line-height: 1.6;
}

.btn {
  display: inline-block;

  background-color: var(--background);

  color: var(--primary-color);

  padding: 0.8rem 2rem;

  border-radius: 50px;

  text-decoration: none;

  font-weight: 600;

  transition: all 0.3s;

  border: 2px solid transparent;

  font-size: 1rem;
}

.btn:hover {
  background-color: transparent;

  border-color: var(--background);

  color: var(--background);
}

/* Responsive Design per Hero */

@media (max-width: 768px) {
  .hero {
    padding: 6rem 0 4rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-image-frame {
    width: 180px;

    height: 180px;

    padding: 15px;
  }

  .hero-logo {
    max-width: 150px;

    max-height: 150px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-image-frame {
    width: 160px;

    height: 160px;

    padding: 12px;
  }

  .hero-logo {
    max-width: 140px;

    max-height: 140px;
  }
}

/* News Section */
.news-container {
    background-color: var(--primary-dark);
    color: white;
    padding: 0 1.5rem 1.25rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.news-list {
  width: 100%;
}

.news-item {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  column-gap: 2rem;
  align-items: center;
  margin: 0;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.news-item:last-child {
  border-bottom: none;
}

.news-date {
  font-size: 0.85rem;
  opacity: 0.85;
  margin: 0;
  display: flex;
  align-items: center;
  align-self: stretch;
  padding-right: 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.news-date-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.24rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  color: white;
  line-height: 1.15;
  text-transform: none;
  letter-spacing: normal;
}

.news-content {
  min-width: 0;
}

.news-content h3 {
  color: white;
  font-weight: 600;
  font-size: 1.35rem;
  padding: 0;
  margin: 0 0 0.15rem 0;
}

.news-content p {
  color: white;
  margin: 0;
  padding: 0;
  line-height: 1.4;
  font-size: 0.95rem;
  opacity: 0.9;
}

.news-item a {
  color: var(--primary-lighter);
}

/* Mostra inizialmente solo le prime 4 news */
.news-item:nth-child(n + 5) {
  display: none;
}

.news-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.news-toggle:checked ~ .news-list .news-item:nth-child(n + 5) {
  display: grid;
}

/* Pulsante Mostra altri */
.news-more {
    display: block;
    width: fit-content;

    margin: 1rem auto 0;
    padding: 0.5rem 1.3rem;

    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50px;

    color: white;
    font-size: 0.85rem;
    cursor: pointer;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.news-more:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.7);
}

.news-more-close {
  display: none;
}

.news-toggle:checked ~ .news-more .news-more-open {
  display: none;
}

.news-toggle:checked ~ .news-more .news-more-close {
  display: inline;
}

/* Nasconde il pulsante se ci sono meno di 5 news */
.news-list:not(:has(.news-item:nth-child(5))) ~ .news-more {
  display: none;
}

/* Quando sono mostrate solo le prime 4 news,
   elimina la linea prima del pulsante */
.news-list .news-item:nth-child(4) {
    border-bottom: none;
}

/* Quando clicchi "Mostra altri", ripristina la linea
   tra la quarta e la quinta news */
.news-toggle:checked ~ .news-list .news-item:nth-child(4) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Tablet */
@media (max-width: 768px) {
    .news-container {
        padding: 0 1.2rem 1.2rem;
    }

    .news-item {
        grid-template-columns: 130px minmax(0, 1fr);
        column-gap: 1.25rem;
        padding: 0.9rem 0;
    }

    .news-date {
        padding-right: 1rem;
        font-size: 0.8rem;
    }

    .news-content h3 {
        font-size: 1.2rem;
    }

    .news-content p {
        font-size: 0.9rem;
    }

    .news-more {
        display: block;
        width: fit-content;

        margin: 1.1rem auto 0;
        padding: 0.5rem 1.3rem;

        text-align: center;
    }
}


/* Smartphone */
@media (max-width: 480px) {
    .news-container {
        padding: 0 1rem 1rem;
    }

    .news-item {
        grid-template-columns: 1fr;
        gap: 0.25rem;
        padding: 0.9rem 0;
    }

    .news-date {
        border-right: none;
        padding-right: 0;
        align-self: auto;

        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.03em;
    }

    .news-content h3 {
        font-size: 1.15rem;
    }

    .news-content p {
        font-size: 0.9rem;
    }

    .news-more {
        display: block;
        width: fit-content;

        margin: 1rem auto 0;
        padding: 0.5rem 1.25rem;

        text-align: center;
    }
}

/* Cards */

.card-container {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

  gap: 2rem;

  margin-top: 2rem;

  margin-bottom: 2rem;
}

.card {
  background-color: var(--card-bg);

  border-radius: var(--border-radius);

  overflow: hidden;

  box-shadow: var(--shadow);

  transition:
    transform 0.3s,
    box-shadow 0.3s;

  margin-top: 1rem;

  margin-bottom: 1rem;
}

.transparent {
  background-color: var(--background);
}

.card:hover {
  transform: translateY(-5px);

  box-shadow: 0 10px 20px var(--shadow-color);
}

.card-img {
  width: 100%;

  height: 200px;

  object-fit: cover;
}

.card-content {
  padding: 2.5rem;
}

.card-content h3 {
  font-weight: bold;

  font-size: x-large;
}

.card h3 {
  color: var(--primary-color);

  margin-bottom: 0.5rem;
}

/* Teachers Section */

.teacher-card {
  text-align: center;
}

.teacher-img {
  width: 150px;

  height: 150px;

  border-radius: 50%;

  object-fit: cover;

  margin: 0 auto 1rem;

  border: 4px solid var(--primary-dark);
}

/*

.gallery-grid {

    display: grid;

    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));

    gap: 1rem;

}

.gallery-item {

    height: 200px;

    border-radius: var(--border-radius);

    overflow: hidden;

    position: relative;

}

.gallery-img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.5s;

}

.gallery-item:hover .gallery-img {

    transform: scale(1.1);

}*/

/* Gallery Carousel */

.gallery-carousel {
  position: relative;

  max-width: 800px;

  margin: 0 auto;

  overflow: hidden;

  border-radius: var(--border-radius);

  box-shadow: var(--shadow);

  background-color: aliceblue;
}

.carousel-container {
  display: flex;

  transition: transform 0.5s ease;
}

.carousel-slide {
  min-width: 100%;

  position: relative;
}

.carousel-img {
  width: 100%;

  height: 500px;

  object-fit: cover;

  display: block;
}

.carousel-controls {
  position: absolute;

  top: 50%;

  width: 100%;

  display: flex;

  justify-content: space-between;

  transform: translateY(-50%);

  padding: 0 1rem;
}

.carousel-btn {
  background: rgba(255, 255, 255, 0.7);

  border: none;

  border-radius: 50%;

  width: 40px;

  height: 40px;

  font-size: 1.5rem;

  cursor: pointer;

  display: flex;

  align-items: center;

  justify-content: center;

  transition: background 0.3s;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.9);
}

.carousel-dots {
  display: flex;

  justify-content: center;

  padding: 1rem;
}

.dot {
  width: 12px;

  height: 12px;

  border-radius: 50%;

  background: #ccc;

  margin: 0 5px;

  cursor: pointer;

  transition: background 0.3s;
}

.dot.active {
  background: var(--primary-color);
}

/* Modality Section */

.modality-tabs {
  display: flex;

  justify-content: center;

  margin-bottom: 2rem;

  flex-wrap: wrap;
}

.modality-tab {
  padding: 1rem 2rem;

  background-color: var(--card-bg);

  border-radius: var(--border-radius);

  margin: 0 0.5rem 1rem;

  cursor: pointer;

  transition: all 0.3s;

  border: 2px solid var(--primary-lighter);
}

.modality-tab.active {
  background-color: var(--primary-color);

  color: white;
}

.modality-content {
  display: none;

  margin: 0 15%;
}

.modality-content.active {
  display: block;
}

/* Courses Section 

.course-accordion {

    margin-top: 2rem;

}

.accordion-item {

    margin-bottom: 1rem;

    border-radius: var(--border-radius);

    overflow: hidden;

    box-shadow: var(--shadow);

}

.accordion-header {

    padding: 1.5rem;

    background-color: var(--card-bg);

    cursor: pointer;

    display: flex;

    justify-content: space-between;

    align-items: center;

    font-weight: 600;

}

.accordion-content {

    background-color: var(--card-bg);

    padding: 0;

    max-height: 0;

    overflow: hidden;

    transition: max-height 0.3s ease-out, padding 0.3s ease;

}

.accordion-content.active {

    padding: 1.5rem;

    max-height: 300px;

}*/

/* Courses Section - New Design */

.courses-grid {
  display: grid;

  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));

  gap: 2rem;

  margin-top: 2rem;
}

.course-card {
  background-color: var(--card-bg);

  border-radius: var(--border-radius);

  overflow: hidden;

  box-shadow: var(--shadow);

  transition: all 0.3s ease;

  height: 100%;

  display: flex;

  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-5px);

  box-shadow: 0 10px 30px var(--shadow-color);
}

.course-card-header {
  background: var(--primary-dark);

  color: white;

  padding: 1.5rem;

  position: relative;
}

.course-card-header h3 {
  color: white;

  margin-bottom: 0.5rem;

  font-size: 1.3rem;

  font-family: "Baskervville", serif;
}

.course-tag {
  display: inline-block;

  background-color: rgba(255, 255, 255, 0.2);

  padding: 0.2rem 0.8rem;

  border-radius: 20px;

  font-size: 0.8rem;

  font-weight: 500;
}

.course-card-body {
  padding: 1.5rem;

  flex-grow: 1;

  display: flex;

  flex-direction: column;
}

.course-card-body p {
  color: var(--text-light);

  line-height: 1.6;

  margin-bottom: 1.5rem;

  flex-grow: 1;
}

.course-details {
  display: flex;

  flex-wrap: wrap;

  gap: 1rem;

  margin-top: auto;
}

.course-detail {
  display: flex;

  align-items: center;

  gap: 0.5rem;

  background-color: rgba(53, 164, 176, 0.05);

  padding: 0.5rem 0.8rem;

  border-radius: 20px;

  font-size: 0.85rem;

  border: 1px solid rgba(53, 164, 176, 0.1);
}

.detail-icon {
  font-size: 1rem;

  color: var(--primary-color);
}

.detail-text {
  color: var(--text-light);

  font-weight: 500;
}

/* Contact & Map */

.contact-container {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 2rem;
}

.map-container {
  height: 300px;

  border-radius: var(--border-radius);

  overflow: hidden;
}

.map-container iframe {
  width: 100%;

  height: 100%;

  border: none;
}

.contact-info {
  display: flex;

  flex-direction: column;

  justify-content: center;
}

.contact-item {
  display: flex;

  align-items: center;

  margin-bottom: 1rem;
}

.contact-icon {
  margin-right: 1rem;

  color: var(--primary-color);

  font-size: 1.2rem;

  width: 24px;

  text-align: center;
}

/* Form */

.form-container {
  margin-top: 3rem;

  background-color: var(--card-bg);

  padding: 2rem;

  border-radius: var(--border-radius);

  box-shadow: var(--shadow);
}

.form-intro {
  margin-bottom: 2rem;

  max-width: 700px;

  line-height: 1.7;
}

.google-form-container {
  width: 100%;

  overflow: hidden;

  border-radius: 0;

  background: transparent;

  box-shadow: none;
}

.google-form-container iframe {
  display: block;

  width: 100%;

  height: 2844px;

  border: 0;
}

@media (max-width: 768px) {
  .form-container {
    padding: 1.25rem;

    margin-top: 2rem;
  }

  .google-form-container iframe {
    width: 100%;
  }
}

/* Footer */

footer {
  background-color: var(--primary-color);

  color: white;

  padding: 3rem 0 1rem;
}

.footer-container {
  display: grid;

  grid-template-columns: 2fr 1fr;

  gap: 2rem;
}

.footer-logo {
  font-family: "Baskervville", serif;

  font-size: 1.8rem;

  margin-bottom: 1rem;
}

.footer-links h3 {
  margin-bottom: 1rem;

  color: white;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);

  text-decoration: none;

  transition: color 0.3s;
}

.footer-links a:hover {
  color: white;
}

.social-links {
  display: flex;

  gap: 1rem;

  margin-top: 1rem;
}

.social-icon {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  width: 40px;

  height: 40px;

  background-color: rgba(255, 255, 255, 0.1);

  border-radius: 50%;

  color: white;

  text-decoration: none;

  transition: background-color 0.3s;
}

.social-icon:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.copyright {
  margin-top: 3rem;

  padding-top: 1rem;

  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
  width: fit-content;

  margin: auto;
}

.footer-info {
  font-size: small;
}

/*RESPONSIVE*/

@media (max-width: 768px) {
  .card-container {
    grid-template-columns: repeat(auto-fit, minmax(1fr, 1fr));
  }

  .card-content {
    padding: 2rem;
  }

  .modality-content {
    margin: 0 7%;
  }

  .menu-toggle {
    display: block;
  }

  nav ul {
    position: fixed;

    top: 70px;

    left: -100%;

    flex-direction: column;

    background-color: var(--card-bg);

    width: 100%;

    height: calc(100vh - 70px);

    transition: left 0.3s;

    box-shadow: var(--shadow);

    padding: 2rem;
  }

  nav ul.active {
    left: 0;
  }

  nav li {
    margin: 1rem 0;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  .modality-tabs {
    flex-direction: column;
  }

  .modality-tab {
    margin: 0 0 1rem 0;
  }

  .courses-nav {
    flex-direction: column;

    align-items: center;
  }

  .course-nav-btn {
    width: 100%;

    max-width: 250px;

    text-align: center;
  }

  .courses-grid {
    grid-template-columns: 1fr;
  }
}


/* Announcement popup */
.announcement-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.announcement-modal.is-hidden {
  display: none;
}

.announcement-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 31, 45, 0.68);
  backdrop-filter: blur(4px);
}

.announcement-card {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: min(88vh, 820px);
  overflow-y: auto;
  background: var(--background);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  padding: 2rem;
}

.announcement-close {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(53, 164, 176, 0.1);
  color: var(--primary-dark);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.announcement-kicker {
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.announcement-card > h2 {
  max-width: 620px;
  margin: 0 auto 0.85rem;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.08;
}

.announcement-card > h2::after {
  display: none;
}

.announcement-lead {
  text-align: center;
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 1.4rem;
}

.announcement-courses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.announcement-course {
  background: #ffffff;
  border: 1px solid rgba(53, 164, 176, 0.18);
  border-radius: 12px;
  padding: 1rem;
}

.announcement-course h3 {
  padding: 0;
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.announcement-course p,
.announcement-promo p,
.announcement-contact p {
  margin: 0;
}

.announcement-promo {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: rgba(49, 117, 176, 0.08);
}

.announcement-promo strong {
  display: block;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
}

.announcement-contact {
  margin-top: 1rem;
  display: grid;
  gap: 0.35rem;
  font-size: 0.95rem;
}

.announcement-contact a {
  font-weight: 700;
}

.announcement-final {
  margin-top: 0.35rem !important;
  font-weight: 700;
}


@media (max-width: 768px) {
  .announcement-card {
    padding: 1.5rem 1.15rem;
  }

  .announcement-courses {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .announcement-modal {
    padding: 0.65rem;
  }

  .announcement-card {
    max-height: 94vh;
    border-radius: 14px;
    padding: 1.3rem 1rem;
  }

  .announcement-card > h2 {
    padding-right: 2.2rem;
    font-size: 1.65rem;
  }

  .announcement-close {
    top: 0.65rem;
    right: 0.65rem;
  }
}
