/*
Theme Name: IJsclub Albergen (GeneratePress child)
Description: Maatwerkontwerp voor IJsclub Albergen op basis van GeneratePress. De ijsclub-instellingen komen uit de aparte IJsclub Beheer-plugin.
Author: IJsclub Albergen
Version: 0.4.0
Template: generatepress
Text Domain: ijsclub-albergen
*/
:root {
  --ijs-navy:#0e2e4f;
  --ijs-blue:#096bb7;
  --ijs-blue-dark:#075593;
  --ijs-ink:#163451;
  --ijs-muted:#587188;
  --ijs-border:#dce6ee;
  --ijs-pale:#f2f6f9;
}
/* All other pages remain styled through the maintained GeneratePress parent. */
body {color:var(--ijs-ink)}
body:not(.ijs-home) .site-info {background:var(--ijs-navy);color:#fff}
body:not(.ijs-home) .site-info a {color:#fff}

/* Full-width custom home, isolated from GeneratePress' default sidebar and header. */
body.ijs-home {margin:0;overflow-x:hidden;background:#fff;color:var(--ijs-ink)}
body.ijs-home *,body.ijs-home *::before,body.ijs-home *::after {box-sizing:border-box}
body.ijs-home .ijs-wrap {width:min(1120px,calc(100% - 44px));margin-inline:auto}
body.ijs-home a {transition:background-color .16s ease,color .16s ease,border-color .16s ease}
body.ijs-home a:focus-visible,body.ijs-home button:focus-visible {outline:3px solid #73b7ef;outline-offset:3px}

/* Header */
body.ijs-home .ijs-header {position:relative;z-index:10;background:#fff;border-bottom:1px solid #e8eef3}
body.ijs-home .ijs-header-inner {min-height:70px;display:flex;justify-content:space-between;align-items:center;gap:24px}
body.ijs-home .ijs-brand {color:var(--ijs-navy);text-decoration:none;flex-shrink:0;font-size:21px;text-transform:uppercase;line-height:1.03;letter-spacing:-.035em}
body.ijs-home .ijs-brand strong {font-weight:800}
body.ijs-home .ijs-brand span {display:block;margin-top:3px;font-size:12px;letter-spacing:.23em;color:var(--ijs-blue)}
body.ijs-home .ijs-brand-logo {display:block;max-width:190px;max-height:60px;width:auto;height:auto}
body.ijs-home .ijs-main-menu {display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:8px 17px}
body.ijs-home .ijs-main-menu a {font-size:13px;font-weight:600;color:var(--ijs-navy);text-decoration:none}
body.ijs-home .ijs-main-menu a:hover {color:var(--ijs-blue)}
body.ijs-home .ijs-menu-toggle {display:none;border:1px solid var(--ijs-border);border-radius:4px;padding:8px 12px;background:#fff;color:var(--ijs-navy);font-weight:700}

/* Hero: shorter and less dark; focus slightly low to retain the entrance to the rink. */
body.ijs-home .ijs-hero {
  min-height:390px;
  display:flex;align-items:center;
  padding:53px 0;
  color:#fff;
  background:linear-gradient(115deg,#0b2e50,#23577b);
  background-position:center 72%;
  background-size:cover;
  background-repeat:no-repeat;
}
body.ijs-home .ijs-hero-inner {display:grid;grid-template-columns:minmax(0,1.6fr) minmax(270px,.7fr);align-items:center;gap:55px}
body.ijs-home .ijs-hero-copy {min-width:0}
body.ijs-home .ijs-eyebrow {margin:0 0 10px;text-transform:uppercase;letter-spacing:.17em;font-size:11px;line-height:1.4;font-weight:750;color:#2d77ac}
body.ijs-home .ijs-hero .ijs-eyebrow {color:#e3f2ff}
body.ijs-home .ijs-hero h1 {color:#fff;font-size:clamp(42px,4.7vw,64px);font-weight:800;letter-spacing:-.045em;line-height:1.09;max-width:760px;margin:17px 0 16px}
body.ijs-home .ijs-hero .ijs-lead {color:#fff;font-size:17px;line-height:1.55;margin:0}
body.ijs-home .ijs-actions {display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
body.ijs-home .ijs-btn {display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 19px;margin:0;border:1px solid var(--ijs-blue);border-radius:4px;background:var(--ijs-blue);font-size:14px;line-height:1.3;font-weight:700;text-decoration:none;color:#fff!important}
body.ijs-home .ijs-btn:hover {background:var(--ijs-blue-dark);border-color:var(--ijs-blue-dark)}
body.ijs-home .ijs-btn-outline {border-color:#fff;background:rgba(6,24,42,.15)}
body.ijs-home .ijs-btn-outline:hover {background:rgba(255,255,255,.16);border-color:#fff}

/* Compact, three-state rink status */
body.ijs-home .ijs-status {justify-self:end;width:100%;max-width:305px;padding:20px 22px 19px;border-radius:5px;background:#fff;color:var(--ijs-navy);box-shadow:0 8px 26px rgba(0,22,45,.12);border-left:4px solid #8394a6}
body.ijs-home .ijs-chip {display:inline-flex;align-items:center;gap:7px;margin:0 0 8px;padding:3px 8px;border-radius:3px;background:#edf2f6;color:#42596d;font-size:11px;font-weight:700}
body.ijs-home .ijs-status-dot {width:7px;height:7px;border-radius:50%;background:#8394a6}
body.ijs-home .ijs-status--freeze {border-left-color:#bd8227}
body.ijs-home .ijs-status--freeze .ijs-chip {background:#fff3e4;color:#80521a}
body.ijs-home .ijs-status--freeze .ijs-status-dot {background:#bd8227}
body.ijs-home .ijs-status--open {border-left-color:#21845d}
body.ijs-home .ijs-status--open .ijs-chip {background:#e7f7ee;color:#1d704e}
body.ijs-home .ijs-status--open .ijs-status-dot {background:#21845d}
body.ijs-home .ijs-status strong {display:block;font-size:19px;line-height:1.25;color:var(--ijs-navy);font-weight:750}
body.ijs-home .ijs-status p {font-size:13px;line-height:1.5;color:#415c74;margin:9px 0 10px}
body.ijs-home .ijs-status>a {font-size:13px;color:var(--ijs-blue);font-weight:700;text-decoration:none}
body.ijs-home .ijs-status>a:hover {text-decoration:underline}

/* Four visible quick links, with lightweight SVG icons instead of icon-font dependencies. */
body.ijs-home .ijs-links {background:#fff;border-bottom:1px solid var(--ijs-border)}
body.ijs-home .ijs-links-inner {display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
body.ijs-home .ijs-links a {display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:138px;padding:18px 21px;text-decoration:none;color:var(--ijs-navy);border-right:1px solid var(--ijs-border)}
body.ijs-home .ijs-links a:first-child {border-left:1px solid var(--ijs-border)}
body.ijs-home .ijs-links a:hover {background:#f6faff}
body.ijs-home .ijs-link-icon-wrap {display:grid;place-items:center;width:37px;height:37px;margin-bottom:10px;border-radius:7px;background:#eaf4fc;color:var(--ijs-blue)}
body.ijs-home .ijs-link-icon {display:block;width:23px;height:23px}
body.ijs-home .ijs-links strong {font-size:15px;line-height:1.35;color:var(--ijs-navy);font-weight:750}
body.ijs-home .ijs-link-subtitle {margin-top:3px;font-size:12px;line-height:1.4;color:var(--ijs-muted)}

/* Content sections */
body.ijs-home .ijs-section {padding:49px 0}
body.ijs-home .ijs-section-soft {background:var(--ijs-pale)}
body.ijs-home .ijs-section h2 {margin:0 0 14px;font-size:clamp(30px,3.2vw,38px);font-weight:750;line-height:1.16;letter-spacing:-.027em;color:var(--ijs-navy)}
body.ijs-home .ijs-section p {font-size:15px;line-height:1.67}
body.ijs-home .ijs-rental {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:55px;align-items:center}
body.ijs-home .ijs-rental-copy>p:not(.ijs-eyebrow) {max-width:480px;color:#425e75;margin:0 0 18px}
body.ijs-home .ijs-rental-media {align-self:center;overflow:hidden;border-radius:4px}
body.ijs-home .ijs-rental-image {display:block;width:100%;height:240px;object-fit:cover;object-position:center}
body.ijs-home .ijs-photo-placeholder {min-height:240px;display:flex;align-items:center;justify-content:center;padding:22px;text-align:center;background:#e3edf5;color:#49647b;font-size:14px}

/* News: real photo where available; otherwise a complete text-only card. */
body.ijs-home .ijs-section-heading {display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}
body.ijs-home .ijs-section-heading h2 {margin:0}
body.ijs-home .ijs-all-news {color:var(--ijs-blue);font-weight:700;font-size:14px;text-decoration:none;white-space:nowrap}
body.ijs-home .ijs-all-news:hover {text-decoration:underline}
body.ijs-home .ijs-news {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
body.ijs-home .ijs-news-card {display:flex;flex-direction:column;overflow:hidden;min-width:0;border:1px solid var(--ijs-border);border-radius:5px;background:#fff;box-shadow:0 2px 7px rgba(12,42,70,.03)}
body.ijs-home .ijs-news-card--text {border-top:3px solid #b7d5e9}
body.ijs-home .ijs-news-image-link {display:block;line-height:0;overflow:hidden}
body.ijs-home .ijs-news-image {display:block;width:100%;height:156px;object-fit:cover}
body.ijs-home .ijs-news-body {display:flex;flex:1;flex-direction:column;align-items:flex-start;padding:20px}
body.ijs-home .ijs-news-card--text .ijs-news-body {padding:26px 21px 21px}
body.ijs-home .ijs-news-body time {display:block;margin-bottom:10px;font-size:12px;color:#5e798e}
body.ijs-home .ijs-news-body h3 {margin:0 0 10px;font-weight:750;font-size:19px;line-height:1.33;letter-spacing:-.017em}
body.ijs-home .ijs-news-body h3 a {color:var(--ijs-navy);text-decoration:none}
body.ijs-home .ijs-news-body h3 a:hover {color:var(--ijs-blue)}
body.ijs-home .ijs-news-body p {margin:0 0 20px;color:#415a70;font-size:14px;line-height:1.6}
body.ijs-home .ijs-read-more {margin-top:auto;text-decoration:none;color:var(--ijs-blue);font-weight:700;font-size:13px}
body.ijs-home .ijs-read-more:hover {text-decoration:underline}

/* Practical information */
body.ijs-home .ijs-practical {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
body.ijs-home .ijs-practical article {padding:23px;background:#fff;border:1px solid var(--ijs-border);border-radius:5px}
body.ijs-home .ijs-practical article h2 {font-size:23px;margin-bottom:9px}
body.ijs-home .ijs-practical article p {margin:0;white-space:pre-line;color:#425e75}

/* Footer stays deliberately short. */
body.ijs-home .ijs-footer {background:var(--ijs-navy);color:#fff;padding:18px 0}
body.ijs-home .ijs-footer-inner {display:flex;justify-content:space-between;align-items:center;gap:18px}
body.ijs-home .ijs-footer strong {font-size:15px;font-weight:750}
body.ijs-home .ijs-footer nav {display:flex;gap:20px;flex-wrap:wrap}
body.ijs-home .ijs-footer a {color:#fff;font-size:13px;text-decoration:none}
body.ijs-home .ijs-footer a:hover {text-decoration:underline}

@media(max-width:1120px) {
  body.ijs-home .ijs-header-inner {width:calc(100% - 32px)}
  body.ijs-home .ijs-main-menu {gap:8px 11px}
  body.ijs-home .ijs-main-menu a {font-size:12px}
}
@media(max-width:880px) {
  body.ijs-home .ijs-menu-toggle {display:inline-block}
  body.ijs-home .ijs-main-menu {display:none;position:absolute;top:100%;left:0;right:0;z-index:15;padding:13px 22px 20px;background:#fff;box-shadow:0 12px 22px rgba(0,20,40,.13);flex-direction:column;align-items:stretch;gap:0}
  body.ijs-home .ijs-main-menu.is-open {display:flex}
  body.ijs-home .ijs-main-menu a {padding:10px 0;font-size:15px;border-bottom:1px solid #ebf0f5}
  body.ijs-home .ijs-hero {min-height:0;padding:49px 0;background-position:55% 78%}
  body.ijs-home .ijs-hero-inner {grid-template-columns:1fr;gap:27px}
  body.ijs-home .ijs-status {max-width:450px;justify-self:start}
  body.ijs-home .ijs-rental {gap:24px}
  body.ijs-home .ijs-links a {padding:15px 12px}
}
@media(max-width:650px) {
  body.ijs-home .ijs-wrap {width:calc(100% - 32px)}
  body.ijs-home .ijs-header-inner {min-height:64px}
  body.ijs-home .ijs-hero {padding:42px 0;background-position:57% 75%}
  body.ijs-home .ijs-hero h1 {font-size:clamp(38px,9vw,52px)}
  body.ijs-home .ijs-hero .ijs-lead {font-size:15px}
  body.ijs-home .ijs-actions {gap:8px}
  body.ijs-home .ijs-btn {min-height:42px;padding:10px 14px;font-size:13px}
  body.ijs-home .ijs-status {max-width:none}
  body.ijs-home .ijs-links-inner {grid-template-columns:repeat(2,minmax(0,1fr))}
  body.ijs-home .ijs-links a {min-height:118px;border-bottom:1px solid var(--ijs-border)}
  body.ijs-home .ijs-section {padding:38px 0}
  body.ijs-home .ijs-rental,body.ijs-home .ijs-practical,body.ijs-home .ijs-news {grid-template-columns:1fr}
  body.ijs-home .ijs-rental {gap:22px}
  body.ijs-home .ijs-rental-media {order:-1}
  body.ijs-home .ijs-rental-image {height:205px}
  body.ijs-home .ijs-news-image {height:190px}
  body.ijs-home .ijs-section-heading {align-items:flex-start;flex-direction:column;gap:8px}
  body.ijs-home .ijs-footer-inner {align-items:flex-start;flex-direction:column;gap:12px}
}
