/* ===============================
   main.css — single lightweight stylesheet
   =============================== */

/* ---- Reset & base ---- */
* { box-sizing: border-box; }
html {
  line-height: 1.45;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  background: #ffdde7; /* soft rose */
  color: #1c0a12;
}
img { max-width: 100%; display: block; height: auto; }
a { color: #8f1232; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- Containers & layout ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 16px; }

/* Header / Brand */
.site-header { background: #b50400; color: #fff; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #fff;
  font-weight: 800;
  letter-spacing: .5px;
}
.flag { font-size: 1.35rem; }
.brand-text { font-size: 1.25rem; color: #ead10c; }


/* Page title */
.page-title {
  margin: 24px 0 16px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: #78001d;
}

/* ---- Grid for cards ---- */
.grid {
  display: grid;
  grid-template-columns: 1fr; /* mobile: 1 per row */
  gap: 20px;
}
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(2, 1fr); } /* tablet: 2 per row */
}
@media (min-width: 1024px) {
  .grid { grid-template-columns: repeat(4, 1fr); } /* desktop: 4 per row */
}

/* ---- Card ---- */
.card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

/* Image zoom/pan on hover */
.thumb { overflow: hidden; }
.thumb img {
  transition: transform .35s ease;
  transform-origin: center center;
}
.card:hover .thumb img {
  transform: scale(1.06);
}


/* Image thumb keeps aspect ratio (300x250) */
.thumb {
  display: block;
  background: #ffe9ef;
  aspect-ratio: 300 / 250;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body { padding: 14px 14px 16px; }
.card-title {
  margin: .25rem 0 .5rem;
  font-size: 1.05rem;
  line-height: 1.25;
}
.card-title a { color: #3d00c7; }
.card-desc { margin: 0; color: #5c1930; font-size: .95rem; line-height: 1.55; }

/* ---- Two-column info section (bottom blocks) ---- */
.content-duo { margin-top: 28px; }
.duo-grid {
  display: grid;
  grid-template-columns: 1fr; /* mobile stacked */
  gap: 20px;
}
@media (min-width: 1024px) {
  .duo-grid { grid-template-columns: 1fr 1fr; } /* 2 columns on desktop */
}
.duo-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  padding: 16px 18px;
  color: #3a0d21;
}
.duo-card h2 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #5c1930;
}
.duo-card p { margin: 0; line-height: 1.6; }

.intro-seo {
  background: #ffebf0;
  font-size: 0.85rem;
  font-weight: 400;
  color: #7d7d7d;
  line-height: 1.5;
  padding: 10px 14px;
  border-radius: 6px;
	text-align: center;
}


/* ---- Footer ---- */
.site-footer {
  margin-top: 24px;
  border-top: 1px solid #e7a2b5;
  background: #f8d6df;
}
.site-footer p {
  margin: 0;
  padding: 16px 0;
  color: #5c1930;
  font-size: .9rem;
}

/* ---- Progressive enhancement when JS is available ---- */
.js .card { will-change: transform; }

/* ---- Small helpers (optional) ---- */
.hidden { display: none !important; }
.visually-hidden {
  position: absolute !important;
  clip: rect(1px,1px,1px,1px);
  padding: 0 !important;
  border: 0 !important;
  height: 1px !important;
  width: 1px !important;
  overflow: hidden;
  white-space: nowrap;
}

/* Thin 14px highlight bar */
.highlight-bar{
  background:#fff;
  color:#78001d;
  height:32px;            /* fixed height */
  line-height:32px;       /* vertically center one text line */
  padding:0;              /* no vertical padding */
  text-align:center;
  font-size:15px;         /* small enough to fit */
  font-weight:600;
  border-bottom:1px solid #eee;
  box-sizing:border-box;  /* include border in 14px total */
  white-space:nowrap;     /* single line only */
  overflow:hidden;        /* clip overflow */
  text-overflow:ellipsis; /* show … if it’s too long */
}
.highlight-bar .container{ padding:0 24px; } /* horizontal breathing room only */

.site-footer .hub-link {
  margin-top: .5rem;
  font-size: .95rem;
}
.site-footer .hub-link a {
  font-weight: 600;
  text-decoration: underline;
}

.footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* keeps it responsive on small screens */
}

.footer-left p {
  margin: 0;
  font-size: 0.85rem;
}

.footer-right a {
  color: #fff; /* or your footer link color */
  text-decoration: none;
  font-weight: 500;
  color:#c81051;
}

.footer-right a:hover {
  text-decoration: underline;
}

/* FAQ */
.faq { margin-top: 24px; }
.faq-title {
  margin: 0 0 10px;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 800;
  color: #5c1930;
}
.faq-item {
  background: #fff;
  border-radius: 10px;
  padding: 12px 14px;
  margin: 10px 0;
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
}
.faq-item > summary {
  cursor: pointer;
  font-weight: 700;
  color: #480016;
  list-style: none;
}
.faq-item > summary::-webkit-details-marker { display:none; }
.faq-item > p { margin: 8px 0 0; color: #3a0d21; line-height: 1.55; }

/* Text link blocks (4 columns on desktop, stack on mobile) */
.link-blocks { margin-top: 24px; }
.link-grid {
  display: grid;
  grid-template-columns: 1fr;  /* mobile */
  gap: 20px;
}
@media (min-width: 768px) {
  .link-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .link-grid { grid-template-columns: repeat(4, 1fr); }
}
.link-col {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  padding: 16px 18px;
}
.link-col h2 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #5c1930;
}
.link-list {
  margin: 0;
  padding-left: 18px; /* simple bullets */
}
.link-list li { margin: 8px 0; }
.link-list a { color: #3d00c7; text-decoration: underline; }
.link-list a:hover { text-decoration: none; }
