/* ZODDIAK Foundation – CMS Plugins Styles
   Global styles for all CMS plugins used across events, programs, publications, etc.
   All plugin classes follow the cms-{plugin-name} naming convention.
*/

/* ---------------------------------------------
   Gallery Plugin (cms-gallery)
--------------------------------------------- */
.cms-gallery-grid {
  display: block;
  margin-top: 32px;
}

.cms-gallery-grid-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  padding: 0 50px;
}

@media (max-width: 991px) {
  .cms-gallery-grid-full {
    grid-template-columns: 1fr;
  }
}

.cms-gallery-grid-stacked {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.cms-gallery-row {
  display: grid;
  gap: 20px;
  width: 100%;
}

.cms-gallery-row--2 {
  grid-template-columns: repeat(2, 1fr);
  padding: 0 50px;
}

.cms-gallery-row--3 {
  grid-template-columns: repeat(3, 1fr);
  padding: 0 50px;
}

@media (max-width: 991px) {
  .cms-gallery-row--2,
  .cms-gallery-row--3 {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
}

.cms-gallery-thumb {
  position: relative;
  border: none;
  padding: 0;
  background: transparent;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
}

.cms-gallery-thumb-full {
  position: relative;
  border: none;
  padding: 0;
  background: transparent;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16 / 10;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.cms-gallery-thumb-full:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.cms-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--dur) var(--ease);
}

.cms-gallery-thumb-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cms-gallery-thumb:hover img,
.cms-gallery-thumb:focus img {
  transform: scale(1.04);
}

.cms-gallery-item {
  text-align: center;
}

.cms-gallery-meta {
  margin-top: 18px;
}

.cms-gallery-title {
  font-family: var(--font-secondary);
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.cms-gallery-subtitle {
  margin-top: 12px;
  font-family: var(--font-secondary);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d9d9d9;
}

.cms-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: auto;
}

.cms-gallery-lightbox[hidden] {
  display: none !important;
  pointer-events: none;
}

.cms-gallery-lightbox:not([hidden]) {
  display: block !important;
}

.cms-gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
  cursor: pointer;
}

.cms-gallery-lightbox__dialog {
  position: relative;
  z-index: 2;
  max-width: min(1080px, 90vw);
  margin: 0 auto;
  height: 100%;
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  pointer-events: none;
}

.cms-gallery-lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
}

.cms-gallery-lightbox__viewport {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cms-gallery-lightbox__slide {
  position: absolute;
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
  text-align: center;
}

.cms-gallery-lightbox__slide img {
  max-height: 70vh;
  width: auto;
  max-width: 100%;
  border-radius: 0;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
}

.cms-gallery-lightbox__slide figcaption {
  margin-top: 16px;
  text-align: center;
}

.cms-gallery-lightbox__title {
  color: var(--gold-500);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 8px;
}

.cms-gallery-lightbox__subtitle {
  color: #f5f5f5;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cms-gallery-lightbox__slide.is-active {
  position: relative;
  opacity: 1;
}

.cms-gallery-lightbox__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.cms-gallery-lightbox__nav {
  width: 52px;
  height: 52px;
  border-radius: 0;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cms-gallery-lightbox__nav:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--gold-500);
  color: var(--gold-500);
}

.cms-gallery-lightbox__indicator {
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--gold-500);
}

body.gallery-open {
  overflow: hidden;
}

/* Gallery Swiper */
.cms-gallery-swiper {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-bottom: 3rem;
}

.cms-gallery-swiper--full-width {
  max-width: 1440px;
  margin: 0 auto;
}

.cms-gallery--full-width {
  padding: 60px 0 !important;
}

.cms-gallery-swiper .swiper-wrapper {
  align-items: center;
}

.cms-gallery-swiper .swiper-slide {
  display: flex;
  justify-content: center;
}

.cms-gallery-swiper .cms-gallery-item {
  width: 100%;
}

.cms-gallery-swiper .cms-gallery-thumb-full {
  width: 100%;
  height: 350px;
}

.cms-gallery-swiper--full-width .cms-gallery-thumb-full {
  height: auto;
}

.cms-gallery-swiper .cms-gallery-thumb-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cms-gallery-swiper--full-width .cms-gallery-thumb-full img {
  height: auto;
}

.cms-gallery-swiper .cms-gallery-meta {
  margin-top: 24px;
}

.cms-gallery-swiper .swiper-pagination-bullets {
  bottom: 0;
}

.cms-gallery-swiper .swiper-pagination-bullet {
  background: rgba(203, 162, 92, 0.4);
  opacity: 1;
}

.cms-gallery-swiper .swiper-pagination-bullet-active {
  background: var(--gold-500);
}

@media (max-width: 767.98px) {
  .cms-gallery-swiper .cms-gallery-thumb-full {
    height: 250px;
  }

  .cms-gallery-swiper--full-width .cms-gallery-thumb-full {
    height: auto;
  }

  .cms-gallery-swiper--full-width .cms-gallery-thumb-full img {
    height: auto;
  }
}

/* ---------------------------------------------
   Full Width Image Plugin (cms-full-width-image)
--------------------------------------------- */
.cms-full-width-image {
  overflow: hidden;
  width: 100%;
}

.cms-full-width-image img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 767.98px) {
  .cms-full-width-image {
    width: 100%;
    overflow: hidden;
    position: relative;
  }

  .cms-full-width-image img {
    width: 1440px;
    max-width: 1440px;
    height: 300px;
    object-fit: cover;
    object-position: center;
    margin-left: 50%;
    transform: translateX(-50%);
  }
}

/* ---------------------------------------------
   Two Column Text Plugin (cms-two-column-text)
--------------------------------------------- */
.cms-two-column-text {
  padding: 60px 0 !important;
}

.cms-two-column-text__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.cms-two-column-text__left {
  color: var(--gold-500);
  text-align: left;
}

.cms-two-column-text__left-content {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  line-height: 1.4;
  letter-spacing: 0.02em;
  font-family: var(--font-secondary);
}

.cms-two-column-text__right {
  color: var(--gold-500);
  text-align: left;
}

.cms-two-column-text__right-content {
  font-size: 400 16px/1.6 var(--font-primary);
  line-height: 1.8;
  letter-spacing: 0.02em;
  text-transform: none;
  font-family: var(--font-primary);
}

.cms-two-column-text__left-content p,
.cms-two-column-text__right-content p {
  margin-bottom: 1em;
}

.cms-two-column-text__left-content p:last-child,
.cms-two-column-text__right-content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 991.98px) {
  .cms-two-column-text {
    padding: 50px 0;
  }

  .cms-two-column-text__wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cms-two-column-text__left-content {
    font-size: clamp(1rem, 4vw, 1.4rem);
  }

  .cms-two-column-text__right-content {
    font-size: clamp(0.85rem, 3vw, 0.95rem);
  }
}

/* ---------------------------------------------
   One Column Text Plugin (cms-one-column-text)
--------------------------------------------- */
.cms-one-column-text {
  padding: 60px 0 !important;
}

.cms-one-column-text__content {
  color: var(--gold-500);
  text-align: left;
  text-transform: none;
  font-size: 400 16px/1.6 var(--font-primary);
  line-height: 1.8;
  letter-spacing: 0.02em;
  font-family: var(--font-primary);
  max-width: 860px;
  margin: 0 auto;
}

.cms-one-column-text__content p {
  margin-bottom: 1em;
}

.cms-one-column-text__content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 991.98px) {
  .cms-one-column-text {
    padding: 50px 0;
  }

  .cms-one-column-text__content {
    font-size: clamp(0.85rem, 3vw, 0.95rem);
  }
}

/* ---------------------------------------------
   Text Block Plugin (cms-text-block)
--------------------------------------------- */
.cms-text-block__inner {
  max-width: 860px;
  margin: 0 auto;
}

.cms-text-block--center .cms-text-block__inner {
  text-align: center;
}

.cms-text-block__eyebrow {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: inline-block;
}

.cms-text-block__body {
  color: var(--gold-500);
  margin-top: 16px;
}

.cms-text-block__cta {
  margin-top: 32px;
}

/* ---------------------------------------------
   Instagram Plugin (cms-instagram)
--------------------------------------------- */
.cms-instagram__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.cms-instagram__handle {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.cms-instagram__handle a {
  color: var(--gold-500);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.cms-instagram__handle a:hover {
  opacity: 0.7;
}

.cms-instagram__reels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

@media (min-width: 768px) {
  .cms-instagram__reels {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .cms-instagram__reels {
    grid-template-columns: repeat(4, 1fr);
  }
}

.cms-instagram__reel {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.cms-instagram__reel .instagram-media {
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 280px !important;
}

.cms-instagram__widget iframe,
.cms-instagram__widget .lightwidget-widget,
.cms-instagram__widget .snapwidget-widget,
.cms-instagram__widget .elfsight-app {
  width: 100%;
  min-height: 420px;
  border: none;
}

/* ---------------------------------------------
   Join Banner Plugin (cms-join-banner)
--------------------------------------------- */
.cms-join-banner .join-banner-content {
  text-align: center;
}

.cms-join-banner .body-text {
  color: #fff;
  margin-top: 16px;
}

/* ---------------------------------------------
   Featured Projects Plugin (cms-featured-projects)
--------------------------------------------- */
.cms-featured-projects,
#featured-projects {
  padding: 100px 0;
}

.cms-featured-projects .section-header,
#featured-projects .section-header {
  margin-bottom: 48px;
}

.cms-featured-projects .section-title,
#featured-projects .section-title {
  text-align: center;
  color: var(--gold-500);
  font-family: var(--font-secondary);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

@media (max-width: 991.98px) {
  .cms-featured-projects,
  #featured-projects {
    padding: 60px 0;
  }
  
  .cms-featured-projects .section-header,
  #featured-projects .section-header {
    margin-bottom: 32px;
  }
}

.cms-featured-projects-swiper {
  position: relative;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.cms-featured-projects-swiper .swiper-button-prev,
.cms-featured-projects-swiper .swiper-button-next {
  color: var(--gold-500);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(203, 162, 92, 0.6);
  background: radial-gradient(circle at center, rgba(203, 162, 92, 0.08), transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  top: 50%;
  transform: translateY(-50%);
}

.cms-featured-projects-swiper .swiper-button-prev::after,
.cms-featured-projects-swiper .swiper-button-next::after {
  font-size: 18px;
}

@media (min-width: 992px) {
  .cms-featured-projects-swiper .swiper-button-prev {
    left: -48px;
  }
  .cms-featured-projects-swiper .swiper-button-next {
    right: -48px;
  }
}

@media (max-width: 991.98px) {
  .cms-featured-projects-swiper .swiper-button-prev {
    left: 0;
  }
  .cms-featured-projects-swiper .swiper-button-next {
    right: 0;
  }
}

.cms-featured-projects-swiper .swiper-button-prev:hover,
.cms-featured-projects-swiper .swiper-button-next:hover {
  border-color: var(--gold-500);
  background: rgba(203, 162, 92, 0.15);
}

.cms-featured-projects-swiper .swiper-pagination-bullets {
  bottom: 0;
}

.cms-featured-projects-swiper .swiper-pagination-bullet {
  background: rgba(203, 162, 92, 0.4);
  opacity: 1;
}

.cms-featured-projects-swiper .swiper-pagination-bullet-active {
  background: var(--gold-500);
}

.cms-featured-projects-swiper--few .swiper-wrapper {
  justify-content: center;
}

.cms-featured-projects-swiper .project-image {
  height: 250px;
}

/* ---------------------------------------------
   Partnership Models Plugin (cms-partnership-models)
   Note: Styles are overridden in partnership.css for the combined layout
--------------------------------------------- */
.cms-partnership-models {
  background-color: #0f0f0f;
  padding: 5rem 0;
}

.cms-partnership-models .section-title {
  font-family: 'Rock Star Narrow', serif;
  color: #CBA25C;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.15em;
  margin-bottom: 4rem;
  text-transform: uppercase;
  font-size: 36px;
}

.cms-partnership-models__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.cms-partnership-models__grid > :nth-child(1),
.cms-partnership-models__grid > :nth-child(2),
.cms-partnership-models__grid > :nth-child(3) {
  grid-column: span 2;
}

.cms-partnership-models__grid > :nth-child(4) {
  grid-column: 2 / span 2;
}

.cms-partnership-models__grid > :nth-child(5) {
  grid-column: 4 / span 2;
}

.cms-partnership-models__card {
  background: transparent;
  border: 0px solid rgba(203, 162, 92, 0.2);
  border-radius: 0;
  padding: 3rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.cms-partnership-models__card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 1px;
  background: rgba(203, 162, 92, 0.3);
}

.cms-partnership-models__icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
}

.cms-partnership-models__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cms-partnership-models__title,
.cms-partnership-models__title h3 {
  font-family: 'Rock Star Narrow', serif;
  color: #CBA25C;
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-weight: 400;
  line-height: 1.3;
}

.cms-partnership-models__subtitle,
.cms-partnership-models__subtitle p {
  font-family: 'Source Serif 4', serif;
  color: #CBA25C;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  letter-spacing: 0.15em;
  margin-bottom: 0;
  text-transform: uppercase;
  opacity: 0.75;
  font-weight: 400;
  line-height: 1.5;
  max-width: 90%;
}

.cms-partnership-models__description,
.cms-partnership-models__description p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 1rem;
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .cms-partnership-models__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 0 1.5rem;
  }
  
  .cms-partnership-models__grid > :nth-child(1),
  .cms-partnership-models__grid > :nth-child(2),
  .cms-partnership-models__grid > :nth-child(3),
  .cms-partnership-models__grid > :nth-child(4),
  .cms-partnership-models__grid > :nth-child(5) {
    grid-column: span 1;
  }
  
  .cms-partnership-models__grid > :nth-child(5) {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .cms-partnership-models__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }
  
  .cms-partnership-models__grid > :nth-child(1),
  .cms-partnership-models__grid > :nth-child(2),
  .cms-partnership-models__grid > :nth-child(3),
  .cms-partnership-models__grid > :nth-child(4),
  .cms-partnership-models__grid > :nth-child(5) {
    grid-column: 1;
    max-width: 100%;
    margin: 0;
  }
  
  .cms-partnership-models__card {
    padding: 2.5rem 1.5rem;
    min-height: 180px;
  }
  
  .cms-partnership-models {
    padding: 3rem 0;
  }
  
  .cms-partnership-models .section-title {
    margin-bottom: 2.5rem;
    font-size: 20px;
  }
}

/* ---------------------------------------------
   Upcoming Events Plugin (cms-upcoming-events)
--------------------------------------------- */
.cms-upcoming-events__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 32px;
}

.cms-upcoming-events__card {
  text-decoration: none;
  color: inherit;
  background: var(--neutral-bg-deep);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cms-upcoming-events__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  color: inherit;
}

.cms-upcoming-events__image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: var(--neutral-bg-deep);
}

.cms-upcoming-events__content {
  padding: 24px;
}

.cms-upcoming-events__date {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 16px;
}

.cms-upcoming-events__day {
  font-size: 32px;
  font-weight: bold;
  color: var(--gold-500);
  line-height: 1;
}

.cms-upcoming-events__month {
  font-size: 14px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.cms-upcoming-events__title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--gold-500);
}

.cms-upcoming-events__description {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.6;
}

.cms-upcoming-events__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--text-muted);
}

.cms-upcoming-events__location,
.cms-upcoming-events__time {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cms-upcoming-events__location i,
.cms-upcoming-events__time i {
  color: var(--gold-500);
}

@media (max-width: 991.98px) {
  .cms-upcoming-events__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 767.98px) {
  .cms-upcoming-events__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ---------------------------------------------
   Directions Grid Plugin (cms-directions-grid)
--------------------------------------------- */
.cms-directions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 64px 48px;
  margin-top: 64px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 32px;
}

.cms-directions-grid__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all var(--dur) var(--ease);
  padding: 16px 0px;
  width: 100%;
}

.cms-directions-grid__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all var(--dur) var(--ease);
}

.cms-directions-grid__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: all var(--dur) var(--ease);
}

.cms-directions-grid__title {
  font-family: "Rock Star Narrow";
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0;
  transition: all var(--dur) var(--ease);
  text-align: center;
  width: 100%;
}

.cms-directions-grid__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  width: 100%;
}

.cms-directions-grid__link:hover {
  text-decoration: none;
}

.cms-directions-grid__item:hover {
  transform: translateY(-4px);
}

.cms-directions-grid__item:hover .cms-directions-grid__icon {
  transform: scale(1.05);
}

.cms-directions-grid--mobile {
  display: none;
}

@media (max-width: 991.98px) {
  .cms-directions-grid--desktop {
    display: none;
  }
  
  .cms-directions-grid--mobile {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
    margin-top: 32px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 16px;
  }
  
  .cms-directions-grid__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
  }
  
  .cms-directions-grid__title {
    font-size: 12px;
  }
}

@media (max-width: 575.98px) {
  .cms-directions-grid__icon {
    width: 36px;
    height: 36px;
    margin-bottom: 10px;
  }
  
  .cms-directions-grid__title {
    font-size: 10px;
    letter-spacing: 0.12em;
  }
}

/* ---------------------------------------------
   Publications List Plugin (cms-publications-list)
--------------------------------------------- */
.cms-publications-list__item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(203, 162, 92, 0.2);
}

.cms-publications-list__item:last-child {
  border-bottom: none;
}

.cms-publications-list__image {
  margin-bottom: 1rem;
}

.cms-publications-list__image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.cms-publications-list__content {
  padding: 0;
}

.cms-publications-list__title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--gold-500);
}

.cms-publications-list__title a {
  color: var(--gold-500);
  text-decoration: none;
  transition: color 0.3s ease;
}

.cms-publications-list__title a:hover {
  color: var(--gold-400);
}

.cms-publications-list__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text-muted);
}

.cms-publications-list__date,
.cms-publications-list__category,
.cms-publications-list__direction {
  display: inline-block;
}

.cms-publications-list__excerpt {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

@media (max-width: 767.98px) {
  .cms-publications-list__title {
    font-size: 20px;
  }
  
  .cms-publications-list__meta {
    font-size: 12px;
    gap: 12px;
  }
}

