/* ===============================
   main.css — Nordic redesign
   =============================== */

/* ---- Reset & base ---- */
* { box-sizing: border-box; }
html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #a5b8d0;
  color: #1a2340;
}
img { max-width: 100%; display: block; height: auto; }
a { color: #006AA7; text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ==============================
   Header / Brand
   ============================== */
.site-header {
  background: linear-gradient(135deg, #003F6B 0%, #006AA7 100%);
  color: #fff;
  box-shadow: 0 2px 12px rgba(0,63,107,.25);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: #fff;
  font-weight: 800;
  letter-spacing: .4px;
  padding: 6px 0;
}
.flag { font-size: 1.35rem; }
.brand-text {
  font-size: 1.05rem;
  color: #FECC02;
  font-weight: 800;
  letter-spacing: .5px;
  text-shadow: 0 1px 3px rgba(0,0,0,.2);
}

.flag img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(254,204,2,.5);
}

/* ==============================
   Highlight bar
   ============================== */
.highlight-bar {
  background: #FECC02;
  color: #003F6B;
  height: 34px;
  line-height: 34px;
  padding: 0;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .3px;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.highlight-bar .container { padding: 0 24px; }

/* ==============================
   Page title
   ============================== */
.page-title {
  margin: 28px 0 18px;
  text-align: center;
  font-size: 1.35rem;
  font-weight: 800;
  color: #003F6B;
  letter-spacing: -.2px;
}

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

/* ==============================
   Card
   ============================== */
.card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,63,107,.09);
  transition: transform .18s ease, box-shadow .18s ease;
  border: 1px solid rgba(0,106,167,.08);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,63,107,.16);
}

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

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

.card-body { padding: 14px 14px 16px; }

.card-title {
  margin: .2rem 0 .5rem;
  font-size: 1.0rem;
  line-height: 1.25;
  font-weight: 700;
}
.card-title a { color: #003F6B; }
.card-title a:hover { color: #006AA7; }

.card-desc {
  margin: 0;
  color: #4a5878;
  font-size: .9rem;
  line-height: 1.55;
}

/* ==============================
   Intro SEO block
   ============================== */
.intro-seo {
  background: #fff;
  border: 1px solid rgba(0,106,167,.15);
  font-size: 0.85rem;
  font-weight: 400;
  color: #5a6a8a;
  line-height: 1.55;
  padding: 12px 18px;
  border-radius: 10px;
  text-align: center;
}

/* ==============================
   Two-column info section
   ============================== */
.content-duo { margin-top: 28px; }
.duo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 1024px) {
  .duo-grid { grid-template-columns: 1fr 1fr; }
}
.duo-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,63,107,.07);
  padding: 18px 20px;
  color: #1a2340;
  border: 1px solid rgba(0,106,167,.08);
}
.duo-card h2 {
  margin: 0 0 10px;
  font-size: 1.0rem;
  font-weight: 800;
  color: #006AA7;
  letter-spacing: .2px;
}
.duo-card p { margin: 0; line-height: 1.65; color: #3a4a6a; }

/* ==============================
   FAQ
   ============================== */
.faq { margin-top: 28px; }
.faq-title {
  margin: 0 0 12px;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 800;
  color: #003F6B;
}
.faq-item {
  background: #fff;
  border-radius: 12px;
  padding: 13px 16px;
  margin: 10px 0;
  box-shadow: 0 2px 10px rgba(0,63,107,.07);
  border: 1px solid rgba(0,106,167,.08);
}
.faq-item > summary {
  cursor: pointer;
  font-weight: 700;
  color: #003F6B;
  list-style: none;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item[open] > summary { color: #006AA7; }
.faq-item > p {
  margin: 10px 0 0;
  color: #3a4a6a;
  line-height: 1.6;
  font-size: .95rem;
}

/* ==============================
   Link blocks
   ============================== */
.link-blocks { margin-top: 28px; }
.link-grid {
  display: grid;
  grid-template-columns: 1fr;
  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: 14px;
  box-shadow: 0 2px 12px rgba(0,63,107,.07);
  padding: 16px 18px;
  border: 1px solid rgba(0,106,167,.08);
}
.link-col h2 {
  margin: 0 0 10px;
  font-size: 1.0rem;
  font-weight: 800;
  color: #006AA7;
}
.link-list {
  margin: 0;
  padding-left: 18px;
}
.link-list li { margin: 8px 0; }
.link-list a {
  color: #003F6B;
  text-decoration: underline;
  font-weight: 500;
}
.link-list a:hover {
  color: #006AA7;
  text-decoration: none;
}

/* ==============================
   Footer
   ============================== */
.site-footer {
  margin-top: 32px;
  border-top: 2px solid #FECC02;
  background: linear-gradient(135deg, #003F6B 0%, #006AA7 100%);
}
.site-footer p {
  margin: 0;
  padding: 16px 0;
  color: rgba(255,255,255,.7);
  font-size: .85rem;
}

.footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-left p {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,.65);
}
.footer-right a {
  text-decoration: none;
  font-weight: 600;
  color: #FECC02;
  font-size: .85rem;
}
.footer-right a:hover {
  text-decoration: underline;
  color: #fff;
}

/* ==============================
   Progressive enhancement
   ============================== */
.js .card { will-change: transform; }

/* ==============================
   Helpers
   ============================== */
.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;
}

/* ==============================
   Hub link (footer)
   ============================== */
.site-footer .hub-link {
  margin-top: .5rem;
  font-size: .9rem;
}
.site-footer .hub-link a {
  font-weight: 600;
  text-decoration: underline;
  color: #FECC02;
}