/* Calendario de feriados — página única (no molde de artículo).
   Referencia visual: argentina.gob.ar/feriados. Nav/footer del sitio. */
html:has(.feriados-cal) {
  scroll-padding-top: calc(4.75rem + env(safe-area-inset-top, 0px));
  background: #fff;
}

body.feriados-cal {
  --fc-navy: #232d4f;
  --fc-green: #2e7d33;
  --fc-purple: #6a1b99;
  --fc-gray: #c1c1c1;
  --fc-ink: #141414;
  --fc-muted: #5c5c5c;
  --fc-line: #e6e6e6;
  --header-offset: calc(4.75rem + env(safe-area-inset-top, 0px));
  background: #fff;
  color: var(--fc-ink);
}

.feriados-cal main a,
.feriados-cal .fc-hero p a {
  color: #9ec1ff;
}

.feriados-cal main a {
  color: #2455c6;
}

.fc-hero {
  padding: calc(var(--header-offset) + 1.4rem) 0 2rem;
  background: var(--fc-navy);
  color: #fff;
}

.fc-hero .container {
  max-width: 1100px;
}

.fc-crumb {
  margin: 0 0 .85rem;
  color: rgba(255, 255, 255, .72);
  font-size: .88rem;
}

.fc-crumb a {
  color: #fff;
  font-weight: 650;
  text-decoration: none;
}

.fc-crumb a:hover {
  text-decoration: underline;
}

.fc-hero h1 {
  margin: 0 0 .45rem;
  font: 700 clamp(1.85rem, 4.4vw, 2.75rem) / 1.15 'Space Grotesk', sans-serif;
  letter-spacing: -.03em;
  color: #fff;
  text-wrap: balance;
}

.fc-hero p {
  margin: 0;
  max-width: 40rem;
  color: rgba(255, 255, 255, .86);
  font-size: 1.05rem;
  line-height: 1.55;
}

.feriados-cal main a:hover,
.feriados-cal .fc-hero p a:hover {
  text-decoration: underline;
}

.fc-live {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .85rem 1.15rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.35rem 0 1.5rem;
}

.fc-live__count {
  min-width: 7.5rem;
}

.fc-live__kicker {
  margin: 0;
  color: var(--fc-muted);
  font-size: .85rem;
}

.fc-live__num {
  margin: 0;
  color: var(--fc-navy);
  font: 800 clamp(2.2rem, 6vw, 3.4rem) / 1 'Space Grotesk', sans-serif;
}

.fc-live__status {
  margin: 0 0 .2rem;
  color: var(--fc-ink);
  font: 700 1.15rem / 1.3 'Space Grotesk', sans-serif;
}

.fc-live__note {
  margin: 0;
  color: var(--fc-muted);
  font-size: .95rem;
  line-height: 1.5;
}

.fc-live[data-state='today'] .fc-live__num {
  color: var(--fc-purple);
}

.fc-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1.1rem;
  max-width: 1100px;
  margin: 0 auto 1.4rem;
  padding: 0;
  list-style: none;
}

.fc-legend button {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 42px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--fc-ink);
  font: 600 .92rem Inter, system-ui, sans-serif;
  cursor: pointer;
}

.fc-legend button:focus-visible {
  outline: 2px solid var(--fc-navy);
  outline-offset: 3px;
}

.fc-swatch {
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.fc-swatch.is-inamovible { background: var(--fc-navy); }
.fc-swatch.is-trasladable { background: var(--fc-green); }
.fc-swatch.is-nolaborable { background: var(--fc-gray); }
.fc-swatch.is-turistico { background: var(--fc-purple); }

.fc-legend button.is-off {
  opacity: .38;
}

.fc-years {
  max-width: 1100px;
  margin: 0 auto 1.5rem;
  color: var(--fc-muted);
  font-size: .9rem;
}

.fc-months {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem 1.4rem;
  max-width: 1100px;
  margin: 0 auto 2.2rem;
}

.fc-month {
  min-width: 0;
}

.fc-month h2 {
  margin: 0 0 .65rem;
  color: var(--fc-navy);
  font: 700 1.2rem / 1.2 'Space Grotesk', sans-serif;
}

.fc-weekdays,
.fc-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: .22rem;
}

.fc-weekdays span {
  color: var(--fc-muted);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-align: center;
  text-transform: uppercase;
}

.fc-day {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  min-height: 2rem;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--fc-ink);
  font: 600 .82rem Inter, system-ui, sans-serif;
}

button.fc-day {
  cursor: pointer;
}

button.fc-day:hover {
  box-shadow: 0 0 0 2px rgba(35, 45, 79, .2);
}

.fc-day.is-empty {
  visibility: hidden;
}

.fc-day.is-today:not([class*='is-inamovible']):not([class*='is-trasladable']):not([class*='is-turistico']):not([class*='is-nolaborable']) {
  box-shadow: inset 0 0 0 2px var(--fc-navy);
}

.fc-day.is-inamovible {
  background: var(--fc-navy);
  color: #fff;
}

.fc-day.is-trasladable {
  background: var(--fc-green);
  color: #fff;
}

.fc-day.is-turistico {
  background: var(--fc-purple);
  color: #fff;
}

.fc-day.is-nolaborable {
  background: var(--fc-gray);
  color: #111;
}

.fc-month.is-dim .fc-day[class*='is-'] {
  opacity: .22;
}

.fc-month.is-dim .fc-day.is-match {
  opacity: 1;
}

.fc-month-list {
  margin: .7rem 0 0;
  padding: 0;
  list-style: none;
}

.fc-month-list li {
  margin: 0 0 .35rem;
  color: var(--fc-muted);
  font-size: .82rem;
  line-height: 1.4;
}

.fc-month-list strong {
  color: var(--fc-ink);
  font-weight: 700;
}

.fc-detail {
  max-width: 1100px;
  margin: 0 auto 2rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--fc-line);
  border-radius: 8px;
  background: #fafafa;
}

.fc-detail[hidden] {
  display: none;
}

.fc-detail h3 {
  margin: 0 0 .3rem;
  font: 700 1.1rem / 1.3 'Space Grotesk', sans-serif;
}

.fc-detail p {
  margin: 0;
  color: var(--fc-muted);
  font-size: .92rem;
  line-height: 1.5;
}

.fc-block {
  max-width: 1100px;
  margin: 0 auto 2.2rem;
}

.fc-block h2 {
  margin: 0 0 .7rem;
  color: var(--fc-navy);
  font: 700 1.35rem / 1.2 'Space Grotesk', sans-serif;
}

.fc-block > p {
  margin: 0 0 1rem;
  color: var(--fc-muted);
  line-height: 1.6;
}

.fc-weekends {
  display: grid;
  gap: .45rem;
}

.fc-weekends article {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: .7rem;
  padding: .55rem 0;
  border-bottom: 1px solid var(--fc-line);
}

.fc-weekends span {
  color: var(--fc-navy);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.fc-weekends strong {
  display: block;
  font-size: .98rem;
}

.fc-weekends p {
  margin: .15rem 0 0;
  color: var(--fc-muted);
  font-size: .88rem;
}

.fc-banks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .6rem;
}

.fc-banks a {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: .7rem .8rem;
  border: 1px solid var(--fc-line);
  border-radius: 8px;
  color: var(--fc-ink);
  text-decoration: none;
  background: #fff;
}

.fc-banks a:hover {
  border-color: var(--fc-navy);
  text-decoration: none;
}

.fc-banks span {
  color: var(--fc-muted);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.fc-banks strong {
  font-size: .92rem;
}

.fc-faq details {
  border-bottom: 1px solid var(--fc-line);
}

.fc-faq summary {
  min-height: 44px;
  padding: .75rem 0;
  cursor: pointer;
  font-weight: 700;
}

.fc-faq p {
  margin: 0 0 .85rem;
  color: var(--fc-muted);
  line-height: 1.6;
}

.fc-dl {
  display: grid;
  gap: .65rem;
}

.fc-dl dt {
  color: var(--fc-navy);
  font-size: .82rem;
  font-weight: 800;
}

.fc-dl dd {
  margin: 0;
  color: var(--fc-muted);
  line-height: 1.55;
}

.fc-dl {
  margin-bottom: 2.4rem;
}

.feriados-cal .footer {
  margin-top: 0;
}

.fc-answer {
  max-width: 1100px;
  margin: 1.35rem auto 1.1rem;
  padding: .95rem 1.05rem;
  border: 1px solid #dbe3f4;
  border-radius: 12px;
  background: #f4f7fb;
  color: #1e293b;
  font-size: .98rem;
  line-height: 1.6;
}

.fc-answer strong { color: var(--fc-navy); }

.fc-jump {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .55rem;
  max-width: 1100px;
  margin: 0 auto 1.1rem;
}

.fc-jump a {
  padding: .32rem .62rem;
  border: 1px solid var(--fc-line);
  border-radius: 999px;
  color: var(--fc-navy) !important;
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
}

.fc-jump a:hover { background: #f4f7fb; }

.fc-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--fc-line);
  border-radius: 12px;
}

.fc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}

.fc-table caption {
  padding: .75rem 1rem;
  text-align: left;
  font-weight: 800;
  color: var(--fc-navy);
}

.fc-table th,
.fc-table td {
  padding: .65rem .85rem;
  border-top: 1px solid var(--fc-line);
  text-align: left;
  vertical-align: top;
}

.fc-table th {
  background: #f7f8fb;
  color: var(--fc-navy);
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.fc-related {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .15rem 1.2rem;
}

.fc-related a {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: .75rem;
  align-items: center;
  padding: .7rem 0;
  border-top: 1px solid #eee;
  color: var(--fc-ink) !important;
  text-decoration: none;
}

.fc-related a:first-child,
.fc-related a:nth-child(2) { border-top: 0; }

.fc-related img {
  width: 86px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  background: #eee;
}

.fc-related span {
  display: block;
  color: #9a3412;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.fc-related strong {
  display: block;
  margin: .12rem 0 .1rem;
  color: var(--fc-ink);
  font-size: .95rem;
}

.fc-related small {
  color: var(--fc-muted);
  font-size: .82rem;
  line-height: 1.4;
}

.feriados-cal .public-seo-hub {
  background: #f7f4ef;
}

.feriados-cal .nota-foot a { color: #a8a29e; }
.feriados-cal .nota-foot a:hover { color: #fed7aa; }
.feriados-cal .nota-foot .nota-btn--primary,
.feriados-cal .nota-btn--primary { color: #24140d; }
.feriados-cal .nota-foot .nota-btn--primary:hover { color: #24140d; }

@media (max-width: 900px) {
  .fc-months {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fc-banks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fc-related { grid-template-columns: 1fr; }
  .fc-related a:nth-child(2) { border-top: 1px solid #eee; }
}

@media (max-width: 560px) {
  .fc-live {
    grid-template-columns: 1fr;
    padding: 1.1rem 0 1.2rem;
  }

  .fc-months,
  .fc-banks {
    grid-template-columns: 1fr;
  }

  .fc-weekends article {
    grid-template-columns: 1fr;
  }

  .fc-hero {
    padding-top: calc(var(--header-offset) + .9rem);
  }
}

@media (max-width: 380px) {
  .fc-day {
    font-size: .74rem;
    min-height: 1.75rem;
  }
}
