:root {
  --icec-navy: #10192f;
  --icec-navy-2: #1a2743;
  --icec-navy-3: #212f52;
  --icec-gold: #c9a468;
  --icec-gold-dark: #ad8752;
  --icec-cream: #faf6ef;
  font-family: "Inter", sans-serif;
}

html {
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
}

body {
  color: #2b2b2b;
}

.navbar-brand {
  max-width: 60vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: flex;
  align-items: center;
}
.navbar-logo {
  height: 42px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
@media (max-width: 575.98px) {
  .navbar-logo {
    height: 34px;
  }
}

h1, h2, h3, h4, .navbar-brand {
  font-family: "Poppins", sans-serif;
}

/* --- Botones tipo pill --- */
.btn {
  border-radius: 50rem;
  font-weight: 500;
}
.btn-lg {
  padding: .75rem 1.75rem;
}
.btn-primary {
  background-color: var(--icec-gold);
  border-color: var(--icec-gold);
  color: #221a0e;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.btn-primary:hover, .btn-primary:focus {
  background-color: var(--icec-gold-dark);
  border-color: var(--icec-gold-dark);
  color: #221a0e;
  transform: translateY(-2px);
  box-shadow: 0 .75rem 1.5rem rgba(173,135,82,.35);
}
.btn-outline-light {
  transition: transform .2s ease, color .2s ease, background-color .2s ease;
}
.btn-outline-light:hover {
  color: var(--icec-navy);
  transform: translateY(-2px);
}
.btn-outline-secondary {
  transition: transform .2s ease, color .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn-outline-secondary:hover {
  transform: translateY(-2px);
}
.btn-lg, .btn-sm {
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease;
}
.badge {
  border-radius: 50rem;
  font-weight: 500;
  letter-spacing: .02em;
}

/* --- Navbar --- */
.site-header {
  transition: box-shadow .25s ease, background-color .25s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 .5rem 1.5rem rgba(16,25,47,.12) !important;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  color: #fff;
  background-color: var(--icec-navy);
  overflow: hidden;
  padding: 7rem 0 3rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-color: var(--icec-navy);
  background-size: cover;
  background-position: center;
  z-index: 0;
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10,15,30,.85) 0%, rgba(10,15,30,.55) 45%, rgba(10,15,30,.96) 100%);
}
.hero video.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-bg-video-yt {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: 231.11vh;
  height: 73.13vw;
  min-width: 130%;
  min-height: 130%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: 0;
  opacity: 0;
  transition: opacity .6s ease;
}
.hero-bg-video-yt.is-playing {
  opacity: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
}
.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
}
.hero-content p.lead {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: rgba(255,255,255,.85);
}
.hero-eyebrow {
  color: var(--icec-gold) !important;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.hero-eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.75rem;
  height: 2px;
  background: var(--icec-gold);
}
.hero-content .hero-eyebrow,
.hero-content h1,
.hero-content p.lead,
.hero-content .hero-actions {
  opacity: 0;
  transform: translateY(24px);
  animation: heroFadeUp .8s ease forwards;
}
.hero-content .hero-eyebrow { animation-delay: .05s; }
.hero-content h1 { animation-delay: .2s; }
.hero-content p.lead { animation-delay: .38s; }
.hero-content .hero-actions { animation-delay: .55s; }
@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg { animation: none; }
  .hero-content .hero-eyebrow,
  .hero-content h1,
  .hero-content p.lead,
  .hero-content .hero-actions {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* --- Cards flotantes de vidrio sobre el hero --- */
.hero-float-cards {
  position: relative;
  z-index: 2;
}
.hero-float-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  border-radius: 1.1rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-decoration: none;
  color: #fff;
  opacity: 0;
  transform: translateY(24px);
  animation: heroFadeUp .7s ease forwards;
  transition: transform .25s ease, background-color .25s ease, border-color .25s ease;
}
.hero-float-card:nth-child(1) { animation-delay: .5s; }
.hero-float-card:nth-child(2) { animation-delay: .62s; }
.hero-float-card:nth-child(3) { animation-delay: .74s; }
.hero-float-card:nth-child(4) { animation-delay: .86s; }
.hero-float-card:nth-child(5) { animation-delay: .98s; }
.hero-float-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.12);
  border-color: rgba(201,164,104,.55);
}
.hero-float-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: .85rem;
  background: rgba(201,164,104,.18);
  color: var(--icec-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: transform .25s ease;
}
.hero-float-card:hover .hero-float-icon {
  transform: scale(1.08) rotate(-4deg);
}
.hero-float-card h6 {
  color: #fff;
  font-weight: 600;
  margin-bottom: .15rem;
}
.hero-float-card p {
  color: rgba(255,255,255,.65);
  font-size: .85rem;
  margin-bottom: .4rem;
}
.hero-float-link {
  text-transform: uppercase;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--icec-gold);
}
.hero-float-link i {
  transition: transform .2s ease;
  display: inline-block;
}
.hero-float-card:hover .hero-float-link i {
  transform: translateX(3px);
}

.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,.75);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
}
.hero-scroll-cue i {
  display: block;
  font-size: 1.25rem;
  margin-top: .35rem;
  animation: heroBounce 1.8s ease-in-out infinite;
}
@keyframes heroBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* --- Secciones y scroll-reveal --- */
.section {
  padding: 5rem 0;
}
.section-title {
  font-weight: 700;
  color: var(--icec-navy);
}
.section-cream {
  background-color: var(--icec-cream);
}
.section-dark {
  background-color: var(--icec-navy);
  color: rgba(255,255,255,.85);
}
.section-dark .section-title {
  color: #fff;
}
.section-dark .text-muted {
  color: rgba(255,255,255,.6) !important;
}
.section-dark .btn-outline-secondary {
  color: #fff;
  border-color: rgba(255,255,255,.35);
}
.live-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #e5484d;
  box-shadow: 0 0 0 rgba(229, 72, 77, .6);
  animation: live-dot-pulse 1.8s infinite;
}
@keyframes live-dot-pulse {
  0% { box-shadow: 0 0 0 0 rgba(229, 72, 77, .6); }
  70% { box-shadow: 0 0 0 10px rgba(229, 72, 77, 0); }
  100% { box-shadow: 0 0 0 0 rgba(229, 72, 77, 0); }
}
.section-dark .btn-outline-secondary:hover {
  background-color: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.6);
  color: #fff;
}
.section-dark .card-page,
.section-dark .card-news {
  background-color: var(--icec-navy-2);
  color: rgba(255,255,255,.85);
}
.section-dark .card-page .card-title,
.section-dark .card-news .card-title {
  color: #fff;
}
.section-dark .card-page .card-text,
.section-dark .card-news .card-text {
  color: rgba(255,255,255,.6);
}
.section-dark .schedule-item {
  border-left-color: var(--icec-gold);
}
.section-dark .schedule-item h5 {
  color: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.is-visible > * {
  transition-delay: calc(var(--reveal-index, 0) * 90ms);
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-visible { opacity: 1; transform: none; transition: none; }
}

.card-page, .card-news {
  border: none;
  border-radius: 1.1rem;
  overflow: hidden;
  box-shadow: 0 .5rem 1.5rem rgba(16,25,47,.08);
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.card-page:hover, .card-news:hover {
  transform: translateY(-6px);
  box-shadow: 0 1.25rem 2.5rem rgba(16,25,47,.18);
}
.card-page .img-wrap, .card-news .img-wrap {
  overflow: hidden;
  height: 200px;
}
.card-page img, .card-news img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.card-page:hover img, .card-news:hover img {
  transform: scale(1.08);
}
/* Las noticias usan una proporción 16:9 estandarizada en vez de una altura fija */
.card-news img {
  height: auto;
  aspect-ratio: 16 / 9;
}

.schedule-item {
  border-left: 4px solid var(--icec-gold);
  padding-left: 1rem;
  transition: transform .25s ease;
}
.schedule-item:hover {
  transform: translateX(4px);
}

.video-thumb {
  aspect-ratio: 16/9;
  object-fit: cover;
  width: 100%;
  border-radius: .75rem .75rem 0 0;
}

.video-card {
  border: none;
  border-radius: 1.1rem;
  overflow: hidden;
  box-shadow: 0 .5rem 1.5rem rgba(16,25,47,.08);
  transition: transform .25s ease, box-shadow .25s ease;
  height: 100%;
}
.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 1.25rem 2.5rem rgba(16,25,47,.16);
}
.video-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  cursor: pointer;
  background-color: var(--icec-navy-3);
  overflow: hidden;
}
.video-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.video-thumb-wrap:hover img {
  transform: scale(1.05);
}
.video-thumb-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgba(16,25,47,.78);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  padding-left: .2rem;
  transition: background-color .2s ease, transform .2s ease;
}
.video-thumb-wrap:hover .video-play-btn {
  background-color: var(--icec-gold);
  color: #221a0e;
  transform: translate(-50%, -50%) scale(1.08);
}
.section-dark .video-card {
  background-color: var(--icec-navy-2);
}
.section-dark .video-card h6 {
  color: #fff;
}

.site-footer a.link-light {
  transition: color .2s ease, padding-left .2s ease;
}
.site-footer a.link-light:hover {
  color: var(--icec-gold) !important;
  padding-left: 4px;
}
.site-footer .fs-4 a {
  display: inline-flex;
  transition: transform .2s ease, color .2s ease;
}
.site-footer .fs-4 a:hover {
  transform: translateY(-3px);
  color: var(--icec-gold) !important;
}

/* --- Acordeón "Lo destacado de la semana" --- */
.feature-accordion {
  display: flex;
  gap: .75rem;
  height: 300px;
}
.feature-item {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  flex: 1 1 0;
  min-width: 0;
  cursor: pointer;
  transition: flex-grow .6s cubic-bezier(.4, 0, .2, 1);
  text-decoration: none;
  display: block;
}
.feature-item.is-active {
  flex-grow: 6;
}
.feature-item-inner {
  position: absolute;
  inset: 0;
  display: flex;
  width: 100%;
  height: 100%;
}
.feature-item-image {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  background-color: var(--icec-navy-3);
  background-size: cover;
  background-position: center;
  transition: transform .6s ease;
}
.feature-item.is-active .feature-item-image {
  transform: scale(1.02);
}
.feature-item-panel {
  width: 0;
  flex-shrink: 0;
  height: 100%;
  overflow: hidden;
  background: var(--icec-cream);
  color: #221d15;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transition: width .55s cubic-bezier(.4, 0, .2, 1), opacity .3s ease;
}
.feature-item.is-active .feature-item-panel {
  width: 320px;
  padding: 1.75rem 1.75rem;
  opacity: 1;
  transition: width .55s cubic-bezier(.4, 0, .2, 1), opacity .4s ease .15s;
}
.feature-item-tag {
  display: inline-block;
  align-self: flex-start;
  text-transform: uppercase;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--icec-gold-dark);
  background: rgba(201,164,104,.15);
  padding: .28rem .7rem;
  border-radius: 50rem;
  margin-bottom: .65rem;
  white-space: nowrap;
}
.feature-item-panel h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1408;
  margin-bottom: .5rem;
  white-space: normal;
}
.feature-item-panel p {
  font-size: .85rem;
  color: #4a4437;
  margin-bottom: .85rem;
  white-space: normal;
}
.feature-item-link {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-weight: 600;
  font-size: .85rem;
  color: #1a1408;
  white-space: nowrap;
}
.feature-item-link .feature-item-arrow {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  border: 1px solid rgba(26,20,8,.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color .2s ease, transform .2s ease, border-color .2s ease;
}
.feature-item.is-active:hover .feature-item-arrow {
  background-color: var(--icec-gold);
  border-color: var(--icec-gold);
  transform: translateX(3px);
}

@media (max-width: 767.98px) {
  .feature-accordion {
    flex-direction: column;
    height: auto;
  }
  .feature-item {
    flex: none !important;
    width: 100%;
    height: auto;
  }
  .feature-item-inner {
    position: static;
    width: 100%;
    flex-direction: column;
  }
  .feature-item-image {
    width: 100%;
    height: 200px;
  }
  .feature-item-panel {
    width: 100%;
    height: auto;
    opacity: 1;
    padding: 1.5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .feature-item, .feature-item-image, .feature-item-panel, .feature-item-arrow {
    transition: none;
  }
}

/* --- Banner de frase institucional (fondo fijo, blanco y negro) --- */
.mission-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 6rem 0;
}
.mission-banner-bar {
  position: absolute;
  inset: 0 0 auto 0;
  height: 10px;
  background-color: var(--icec-gold);
  z-index: 3;
}
.mission-banner-bg {
  position: absolute;
  inset: 0;
  background-color: var(--icec-navy);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: grayscale(1) contrast(1.05);
  z-index: 0;
}
.mission-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 25, 47, .2), rgba(16, 25, 47, .55));
  z-index: 1;
}
.mission-banner-text {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}
.mission-banner-text p {
  margin-bottom: 0;
  font-size: clamp(1.5rem, 3vw, 2.75rem);
  font-weight: 700;
  line-height: 1.35;
}
.mission-banner-text strong {
  color: var(--icec-gold);
}

@media (max-width: 767.98px) {
  .mission-banner {
    min-height: 45vh;
    padding: 4rem 0;
  }
  .mission-banner-bg {
    /* background-attachment: fixed no es confiable en mobile Safari */
    background-attachment: scroll;
  }
}

/* --- Widget de chat del asistente --- */
.chat-widget {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1080;
}
.chat-widget-toggle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  background: var(--icec-navy);
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .25);
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-widget-toggle:hover {
  background: var(--icec-navy-2);
}
.chat-widget-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + .75rem);
  width: min(360px, calc(100vw - 2.5rem));
  height: min(500px, 70vh);
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, .25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.chat-widget-header {
  background: var(--icec-navy);
  color: #fff;
  padding: .9rem 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chat-widget-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  background: #f7f5f0;
}
.chat-widget-message {
  max-width: 85%;
  padding: .55rem .85rem;
  border-radius: 1rem;
  font-size: .9rem;
  line-height: 1.4;
  white-space: pre-wrap;
}
.chat-widget-message-user {
  align-self: flex-end;
  background: var(--icec-gold);
  color: #10192f;
  border-bottom-right-radius: .25rem;
}
.chat-widget-message-assistant {
  align-self: flex-start;
  background: #fff;
  border: 1px solid #e5e1d8;
  border-bottom-left-radius: .25rem;
}
.chat-widget-message-assistant.pending {
  color: #888;
  font-style: italic;
}
.chat-widget-message-assistant.error {
  border-color: #dc3545;
  color: #dc3545;
}
.chat-widget-form {
  display: flex;
  gap: .5rem;
  padding: .75rem;
  border-top: 1px solid #eee;
}
.chat-widget-form .form-control {
  border-radius: 50rem;
}
.chat-widget-form .btn {
  border-radius: 50%;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
@media (max-width: 575.98px) {
  .chat-widget {
    right: .75rem;
    bottom: .75rem;
  }
}

/* --- Detalle de noticia --- */
.news-breadcrumb {
  margin-bottom: 1.75rem;
}
.news-breadcrumb .breadcrumb {
  --bs-breadcrumb-divider: '›';
  font-size: .9rem;
}
.news-breadcrumb .breadcrumb-item a {
  color: var(--icec-gold-dark);
  text-decoration: none;
  font-weight: 500;
}
.news-breadcrumb .breadcrumb-item a:hover {
  text-decoration: underline;
}
.news-breadcrumb .breadcrumb-item.active {
  color: #8a8a8a;
}

.news-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  color: #777;
  font-size: .9rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}
.news-meta-bar i {
  color: var(--icec-gold-dark);
  margin-right: .35rem;
}
.news-font-controls {
  margin-left: auto;
  display: flex;
  gap: .35rem;
}
.btn-font-size {
  border: 1px solid #ddd;
  background: #fff;
  border-radius: .5rem;
  width: 34px;
  height: 34px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--icec-navy);
  line-height: 1;
}
.btn-font-size:hover {
  background: var(--icec-cream);
  border-color: var(--icec-gold);
}

.news-share {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.news-share-label {
  font-weight: 600;
  color: var(--icec-navy);
}
.btn-share {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem 1.1rem;
  border-radius: 50rem;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
}
.btn-share-whatsapp {
  background: #25D366;
  color: #fff;
}
.btn-share-whatsapp:hover {
  background: #1ebc59;
  color: #fff;
}
.btn-share-sm {
  padding: .35rem .85rem;
  font-size: .8rem;
}

.news-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  font-size: .78rem;
  color: #888;
  padding-top: .5rem;
  border-top: 1px solid #f0f0f0;
}
.news-card-meta i {
  color: var(--icec-gold-dark);
  margin-right: .25rem;
}

.news-sidebar-card {
  background: var(--icec-cream);
  border-radius: 1.25rem;
  padding: 1.5rem;
  position: sticky;
  top: 1.5rem;
}
.news-sidebar-list {
  list-style: none;
  margin: 0 0 .5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .9rem;
}
.news-sidebar-list a {
  display: flex;
  gap: .75rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.news-sidebar-thumb {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: .75rem;
  background-size: cover;
  background-position: center;
  background-color: #e8e1d3;
}
.news-sidebar-thumb-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--icec-gold-dark);
  font-size: 1.25rem;
}
.news-sidebar-title {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--icec-navy);
  line-height: 1.3;
}
.news-sidebar-list a:hover .news-sidebar-title {
  color: var(--icec-gold-dark);
}
.news-sidebar-date {
  display: block;
  font-size: .75rem;
  color: #888;
  margin-top: .15rem;
}

#newsArticleContent {
  font-size: calc(1rem * var(--news-font-scale, 1));
}

.news-hero-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 1.25rem;
}
.news-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 991.98px) {
  .news-sidebar-card {
    position: static;
  }
  .news-font-controls {
    margin-left: 0;
    width: 100%;
    justify-content: flex-start;
  }
}

/* --- Menú "Nosotros" del navbar --- */
.navbar .dropdown-menu {
  border: none;
  border-radius: .9rem;
  box-shadow: 0 1rem 2.5rem rgba(16, 25, 47, .18);
  padding: .5rem;
  margin-top: .5rem;
}
.navbar .dropdown-item {
  border-radius: .6rem;
  padding: .55rem .9rem;
  font-weight: 500;
}
.navbar .dropdown-item:hover, .navbar .dropdown-item:focus {
  background-color: var(--icec-cream);
  color: var(--icec-gold-dark);
}
.navbar .dropdown-toggle::after {
  vertical-align: .1em;
}

/* Honeypot anti-spam: oculto para personas (fuera de pantalla, no display:none
   para que siga siendo "visible" a bots simples que chequean ese estilo) */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Tarjeta blanca para formularios públicos (contacto, registro de miembros) */
.panel-card {
  background: #fff;
  border-radius: .75rem;
  border: 1px solid #e5e9f0;
  padding: 1.5rem;
}

/* Card pastel para los adjuntos de una lección del campus virtual */
.attachments-card {
  background: #faf1de;
  border: 1px solid #f0e0bc;
  border-radius: 1.25rem;
  padding: 1.5rem;
  margin: 2rem 0;
}
.attachments-card h5 {
  color: var(--icec-navy);
}
.attachments-card .attachment-link {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--icec-gold-dark);
  font-weight: 500;
  text-decoration: none;
}
.attachments-card .attachment-link:hover {
  text-decoration: underline;
}
.attachments-card .attachment-link i {
  font-size: 1.1rem;
}
