/* Indy with Kids theme
   1 tokens  2 base  3 layout  4 header  5 buttons and chips  6 cards
   7 home  8 article  9 archive  10 sidebar and widgets  11 footer
   12 prose and blocks  13 plugins  14 utilities */

/* 1. Tokens ----------------------------------------------------------- */
@font-face {
    font-family: "Figtree";
    src: url("../fonts/figtree.woff2") format("woff2");
    font-weight: 400 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Figtree";
    src: url("../fonts/figtree-italic.woff2") format("woff2");
    font-weight: 400 800;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "Bricolage Grotesque";
    src: url("../fonts/bricolage-grotesque.woff2") format("woff2");
    font-weight: 400 800;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Brand colors sampled from the logo: the blue lettering and the red oval. */
    --iwk-blue: #1b6db6;
    --iwk-blue-dark: #155a99;
    --iwk-navy: #15296b;
    --iwk-navy-deep: #0f1f52;
    --iwk-red: #c8321a;
    --iwk-red-dark: #a82711;

    --iwk-ink: #121a33;
    --iwk-text: #2a3350;
    --iwk-muted: #5a6582;
    --iwk-line: #dbe3ef;
    --iwk-sky: #eef5fc;
    --iwk-sky-deep: #dcebf9;
    --iwk-blush: #fdefeb;
    --iwk-white: #fff;

    --iwk-font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --iwk-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;

    --iwk-r-sm: 8px;
    --iwk-r: 14px;
    --iwk-r-lg: 22px;
    --iwk-shadow: 0 10px 30px -12px rgba(21, 41, 107, .28);
    --iwk-shadow-sm: 0 2px 10px -4px rgba(21, 41, 107, .22);

    --iwk-wrap: 1240px;
    --iwk-gutter: clamp(16px, 4vw, 32px);
    --iwk-gap: clamp(20px, 2.4vw, 32px);
    --iwk-section: clamp(40px, 6vw, 76px);

    --z-nav: 50;
    --z-drop: 60;
    --z-skip: 100;
}

/* 2. Base ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--iwk-white);
    color: var(--iwk-text);
    font-family: var(--iwk-font);
    font-size: 1.0625rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img, video, iframe, svg { max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4, h5, h6 {
    color: var(--iwk-ink);
    font-family: var(--iwk-display);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.015em;
    margin: 0 0 .5em;
    text-wrap: balance;
}

p { margin: 0 0 1.1em; }

a { color: var(--iwk-blue); text-decoration-thickness: 1.5px; text-underline-offset: .18em; }
a:hover { color: var(--iwk-navy); }

:focus-visible { outline: 3px solid var(--iwk-blue); outline-offset: 2px; border-radius: 4px; }
.iwk-brand :focus-visible, .iwk-utility :focus-visible, .iwk-footer :focus-visible, .iwk-newsletter :focus-visible, .iwk-cta-band :focus-visible { outline-color: #fff; }

button, input, select, textarea { font: inherit; color: inherit; }

input[type="text"], input[type="email"], input[type="search"], input[type="url"], input[type="tel"],
input[type="number"], input[type="password"], input[type="date"], select, textarea {
    width: 100%;
    padding: .7em .9em;
    background: var(--iwk-white);
    border: 1.5px solid #c3cee0;
    border-radius: var(--iwk-r-sm);
    transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { border-color: var(--iwk-blue); box-shadow: 0 0 0 3px rgba(27, 109, 182, .18); outline: 0; }

.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}
.skip-link:focus {
    position: fixed !important;
    top: 8px; left: 8px;
    z-index: var(--z-skip);
    width: auto; height: auto;
    clip: auto;
    padding: 10px 16px;
    background: var(--iwk-white);
    color: var(--iwk-navy);
    font-weight: 700;
    border-radius: var(--iwk-r-sm);
    box-shadow: var(--iwk-shadow);
}

.iwk-icon { flex: none; vertical-align: -.18em; }

/* 3. Layout ----------------------------------------------------------- */
.iwk-wrap {
    width: 100%;
    max-width: calc(var(--iwk-wrap) + var(--iwk-gutter) * 2);
    margin-inline: auto;
    padding-inline: var(--iwk-gutter);
}

.iwk-layout { padding-block: clamp(24px, 4vw, 48px) var(--iwk-section); }
.iwk-layout--page > .iwk-main { max-width: 820px; margin-inline: auto; }
.iwk-main { min-width: 0; }

@media (min-width: 1024px) {
    .iwk-layout--sidebar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: clamp(32px, 4vw, 56px);
        align-items: start;
    }
}

.iwk-section { padding-block: calc(var(--iwk-section) / 2); }
.iwk-section--tint, .iwk-section--weekend { background: var(--iwk-sky); padding-block: calc(var(--iwk-section) * .75); margin-block: calc(var(--iwk-section) / 2); }

.iwk-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: clamp(18px, 2.4vw, 28px);
}
.iwk-section__title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem); font-weight: 800; margin: 0; }
.iwk-eyebrow {
    margin: 0 0 6px;
    color: var(--iwk-red);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
h1.iwk-eyebrow { font-family: var(--iwk-font); line-height: 1.4; text-wrap: pretty; }
.iwk-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: none;
    padding-bottom: 4px;
    color: var(--iwk-navy);
    font-weight: 700;
    font-size: .95rem;
    text-decoration: none;
    white-space: nowrap;
}
.iwk-more .iwk-icon { transition: transform .2s; }
.iwk-more:hover .iwk-icon { transform: translateX(4px); }

.iwk-grid { display: grid; gap: var(--iwk-gap); }
@media (min-width: 600px) { .iwk-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .iwk-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* 4. Header ----------------------------------------------------------- */
.iwk-utility { background: var(--iwk-navy-deep); color: #d5def5; font-size: .84rem; }
.iwk-utility__inner { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 16px; }
.iwk-utility__menu, .iwk-utility__menu ul, .iwk-social { list-style: none; margin: 0; padding: 0; }
.iwk-utility__menu { display: flex; gap: 22px; }
.iwk-utility__menu > li { position: relative; }
.iwk-utility a { color: inherit; text-decoration: none; display: inline-block; padding: 8px 0; }
.iwk-utility a:hover { color: #fff; text-decoration: underline; }
.iwk-utility__menu ul {
    position: absolute;
    top: 100%; left: -14px;
    z-index: var(--z-drop);
    min-width: 210px;
    padding: 8px 14px;
    background: var(--iwk-navy-deep);
    border-radius: 0 0 var(--iwk-r-sm) var(--iwk-r-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity .18s, transform .18s, visibility .18s;
}
.iwk-utility__menu li:hover > ul, .iwk-utility__menu li:focus-within > ul { opacity: 1; visibility: visible; transform: none; }

.iwk-social { display: flex; gap: 14px; align-items: center; }
.iwk-social a { display: inline-flex; padding: 6px 0; }

.iwk-brand {
    background:
        radial-gradient(120% 180% at 0% 0%, #2a86d3 0%, transparent 55%),
        linear-gradient(100deg, var(--iwk-blue) 0%, #1a5aa6 60%, var(--iwk-navy) 130%);
    color: #fff;
}
.iwk-brand__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 112px; padding-block: 10px; }
.iwk-logo { display: inline-flex; flex: none; }
.iwk-logo__img { display: block; width: auto; height: 80px; max-width: 100%; }
.iwk-brand__banner { flex: 0 1 728px; min-width: 0; }
.iwk-brand__banner img { display: block; width: 100%; height: auto; border-radius: 6px; }
.iwk-brand__tagline { margin: 0; max-width: 34ch; font-family: var(--iwk-display); font-size: 1.15rem; font-weight: 600; line-height: 1.3; text-align: right; color: #eaf3ff; }

.iwk-iconbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 10px;
    color: inherit;
    cursor: pointer;
    transition: background .2s;
}
.iwk-iconbtn:hover { background: rgba(255, 255, 255, .16); }
.iwk-brand .iwk-menu-toggle, .iwk-brand .iwk-search-toggle { display: none; }

.iwk-navbar { position: relative; background: var(--iwk-white); border-bottom: 1px solid var(--iwk-line); }
.iwk-header.is-sticky .iwk-navbar { position: sticky; top: 0; z-index: var(--z-nav); }
.iwk-header.is-sticky { display: contents; }
.admin-bar .iwk-header.is-sticky .iwk-navbar { top: 32px; }
.iwk-navbar.is-stuck { box-shadow: var(--iwk-shadow-sm); }
.iwk-navbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; }
.iwk-navbar__tools { display: flex; align-items: center; gap: 6px; flex: none; }
.iwk-navbar .iwk-iconbtn { color: var(--iwk-navy); }
.iwk-navbar .iwk-iconbtn:hover { background: var(--iwk-sky); }

.iwk-nav__menu, .iwk-nav__menu ul { list-style: none; margin: 0; padding: 0; }
.iwk-nav__menu { display: flex; flex-wrap: wrap; gap: 2px clamp(4px, 1.2vw, 18px); }
.iwk-nav__menu > li { position: relative; }
.iwk-nav__menu > li > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 17px 8px;
    color: var(--iwk-ink);
    font-weight: 700;
    font-size: .98rem;
    text-decoration: none;
    background-image: linear-gradient(var(--iwk-red), var(--iwk-red));
    background-repeat: no-repeat;
    background-position: 8px calc(100% - 10px);
    background-size: 0 3px;
    transition: background-size .22s, color .2s;
}
.iwk-nav__menu > li > a:hover,
.iwk-nav__menu > li.current-menu-item > a,
.iwk-nav__menu > li.current-menu-ancestor > a,
.iwk-nav__menu > li.current-cat > a { color: var(--iwk-blue-dark); background-size: calc(100% - 16px) 3px; }
.iwk-nav__menu > li.menu-item-has-children > a::after {
    content: "";
    width: 7px; height: 7px;
    margin-top: -4px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
}
.iwk-nav__menu ul {
    position: absolute;
    top: 100%; left: -8px;
    z-index: var(--z-drop);
    min-width: 250px;
    padding: 10px;
    background: var(--iwk-white);
    border: 1px solid var(--iwk-line);
    border-radius: 0 0 var(--iwk-r) var(--iwk-r);
    box-shadow: var(--iwk-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .18s, transform .18s, visibility .18s;
}
.iwk-nav__menu li:hover > ul, .iwk-nav__menu li:focus-within > ul { opacity: 1; visibility: visible; transform: none; }
.iwk-nav__menu ul a { display: block; padding: 9px 12px; color: var(--iwk-text); font-weight: 600; font-size: .95rem; text-decoration: none; border-radius: var(--iwk-r-sm); }
.iwk-nav__menu ul a:hover { background: var(--iwk-sky); color: var(--iwk-navy); }
.iwk-nav__utility, .iwk-subtoggle { display: none; }

.iwk-searchdrop { border-top: 1px solid var(--iwk-line); background: var(--iwk-sky); padding-block: 16px; }
.iwk-searchdrop[hidden] { display: none; }
/* The search panel reuses the intro layout: heading, search box, popular links. */
.iwk-searchdrop.iwk-intro { padding-block: clamp(16px, 2.4vw, 28px); box-shadow: 0 14px 24px -18px rgba(15, 31, 82, .45); max-height: calc(100vh - 120px); overflow-y: auto; }
.iwk-searchdrop .iwk-intro__title { color: var(--iwk-ink); font-family: var(--iwk-display); line-height: 1.15; text-wrap: balance; font-size: clamp(1.35rem, 1rem + 1.5vw, 2.1rem); }

.iwk-searchform, .iwk-intro__search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 6px 6px 44px;
    background: var(--iwk-white);
    border: 2px solid var(--iwk-navy);
    border-radius: var(--iwk-r);
}
.iwk-searchform > .iwk-icon, .iwk-intro__search > .iwk-icon { position: absolute; left: 14px; color: var(--iwk-muted); }
.iwk-searchform input[type="search"], .iwk-intro__search input[type="search"] { flex: 1; min-width: 0; padding: .55em 0; border: 0; box-shadow: none; background: transparent; }
.iwk-searchform:focus-within, .iwk-intro__search:focus-within { box-shadow: 0 0 0 4px rgba(27, 109, 182, .2); }

@media (max-width: 1023px) {
    .iwk-utility { display: none; }
    .iwk-header.is-sticky { display: block; position: sticky; top: 0; z-index: var(--z-nav); }
    .admin-bar .iwk-header.is-sticky { top: 32px; }
    .iwk-header.is-sticky .iwk-navbar { position: static; }
    .iwk-brand__inner { min-height: 60px; padding-block: 6px; gap: 8px; }
    .iwk-brand .iwk-menu-toggle, .iwk-brand .iwk-search-toggle { display: inline-flex; }
    .iwk-logo { margin-inline: auto; }
    .iwk-logo__img { height: 48px; }
    .iwk-brand__tagline { display: none; }
    .iwk-brand__banner { display: none; }
    .iwk-navbar { border-bottom: 0; }
    .iwk-navbar__inner { display: block; min-height: 0; }
    .iwk-navbar__tools { display: none; }
    .iwk-nav { display: none; max-height: calc(100dvh - 60px); overflow-y: auto; padding-block: 8px 20px; border-bottom: 1px solid var(--iwk-line); }
    .iwk-nav.is-open { display: block; }
    .iwk-nav__menu { display: block; }
    .iwk-nav__menu > li { border-bottom: 1px solid var(--iwk-line); display: grid; grid-template-columns: 1fr auto; align-items: center; }
    .iwk-nav__menu > li > a { padding: 14px 4px; background-image: none; font-size: 1.05rem; }
    .iwk-nav__menu > li.menu-item-has-children > a::after { display: none; }
    .iwk-subtoggle {
        display: inline-flex; align-items: center; justify-content: center;
        width: 44px; height: 44px;
        background: var(--iwk-sky);
        border: 0; border-radius: 10px;
        color: var(--iwk-navy);
        cursor: pointer;
    }
    .iwk-subtoggle .iwk-icon { transition: transform .2s; }
    .iwk-subtoggle[aria-expanded="true"] .iwk-icon { transform: rotate(180deg); }
    .iwk-nav__menu ul { position: static; grid-column: 1 / -1; display: none; min-width: 0; padding: 0 0 10px 8px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
    .iwk-nav__menu li.is-open > ul { display: block; }
    .iwk-nav__utility { display: block; margin-top: 14px; }
    .iwk-nav__menu--utility > li > a { font-weight: 600; font-size: .98rem; color: var(--iwk-muted); }
}
@media (max-width: 782px) { .admin-bar .iwk-header.is-sticky { top: 46px; } }
@media (max-width: 600px) { .admin-bar .iwk-header.is-sticky { top: 0; } }

/* Mobile: the header banner moves under the bar so the sponsor keeps its placement. */
.iwk-mbanner { display: none; }
@media (max-width: 1023px) {
    .iwk-mbanner { display: block; padding: 10px var(--iwk-gutter); background: var(--iwk-white); border-bottom: 1px solid var(--iwk-line); text-align: center; }
    .iwk-mbanner img { display: block; width: 100%; max-width: 728px; height: auto; margin-inline: auto; border-radius: 6px; }
}
.iwk-sponsors { padding-block: 14px; border-bottom: 1px solid var(--iwk-line); }
.iwk-sponsors .iwk-wrap { display: flex; align-items: center; gap: 18px; }
.iwk-sponsors__label { flex: none; color: var(--iwk-muted); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); }
.iwk-sponsors__list { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: clamp(10px, 2vw, 24px); flex: 1; }
.iwk-sponsors__list img { display: block; width: 100%; height: auto; max-height: 120px; object-fit: contain; border-radius: 6px; }
.iwk-sponsors--home { border: 0; padding-block: 8px 0; }
@media (max-width: 700px) {
    .iwk-sponsors .iwk-wrap { display: block; }
    .iwk-sponsors__label { display: block; writing-mode: initial; transform: none; margin-bottom: 8px; }
    .iwk-sponsors__list { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 5. Buttons and chips ------------------------------------------------ */
.iwk-btn, .wp-block-button__link, input[type="submit"], button[type="submit"]:not(.iwk-iconbtn):not(.iwk-share__btn) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: .72em 1.25em;
    background: var(--iwk-blue);
    border: 2px solid transparent;
    border-radius: 10px;
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s, transform .12s, box-shadow .2s, color .2s, border-color .2s;
}
.iwk-btn:hover, .wp-block-button__link:hover, input[type="submit"]:hover { background: var(--iwk-navy); color: #fff; box-shadow: var(--iwk-shadow-sm); }
.iwk-btn:active, .wp-block-button__link:active { transform: translateY(1px) scale(.99); }
.iwk-btn--accent { background: var(--iwk-red); }
.iwk-btn--accent:hover { background: var(--iwk-red-dark); }
.iwk-btn--ghost { background: transparent; border-color: var(--iwk-navy); color: var(--iwk-navy); }
.iwk-btn--ghost:hover { background: var(--iwk-navy); color: #fff; }
.iwk-btn--light { background: #fff; color: var(--iwk-navy); }
.iwk-btn--light:hover { background: var(--iwk-sky-deep); color: var(--iwk-navy); }
.iwk-btn--sm { padding: .5em .95em; font-size: .9rem; }

.iwk-chip {
    display: inline-flex;
    align-items: center;
    padding: .42em .95em;
    background: var(--iwk-white);
    border: 1.5px solid var(--iwk-navy);
    border-radius: 999px;
    color: var(--iwk-navy);
    font-size: .92rem;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    transition: background .18s, color .18s, transform .12s;
}
.iwk-chip:hover, .iwk-chip.is-current { background: var(--iwk-navy); color: #fff; }
.iwk-chip:active { transform: scale(.97); }
.iwk-chip--sm { font-size: .84rem; border-color: #b9c6dc; color: var(--iwk-text); }
.iwk-chips__list, .iwk-chips ul, .iwk-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }

.iwk-kicker {
    display: inline-block;
    margin-bottom: 6px;
    color: var(--iwk-red);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    text-decoration: none;
}
a.iwk-kicker:hover { color: var(--iwk-navy); text-decoration: underline; }

.iwk-date { display: block; color: var(--iwk-muted); font-size: .84rem; font-variant-numeric: tabular-nums; }

/* 6. Cards ------------------------------------------------------------ */
.iwk-card { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.iwk-card__media {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--iwk-sky-deep);
    border-radius: var(--iwk-r);
}
.iwk-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.iwk-card:hover .iwk-card__media img { transform: scale(1.035); }
.iwk-noimg {
    display: block; width: 100%; height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .7) 0 12%, transparent 13%),
        radial-gradient(circle at 78% 70%, rgba(200, 50, 26, .16) 0 18%, transparent 19%),
        linear-gradient(135deg, var(--iwk-sky-deep), #c3dcf5);
}
.iwk-card__title { margin: 0 0 6px; font-size: 1.16rem; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.iwk-card__title a { color: var(--iwk-ink); text-decoration: none; }
.iwk-card__title a:hover { color: var(--iwk-blue-dark); text-decoration: underline; text-decoration-thickness: 2px; }
.iwk-card__excerpt { margin: 0 0 8px; color: var(--iwk-text); font-size: .98rem; line-height: 1.5; }

.iwk-card--lead .iwk-card__media { border-radius: var(--iwk-r-lg); }
.iwk-card--lead .iwk-card__title { font-size: clamp(1.45rem, 1.1rem + 1.5vw, 2.1rem); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; }
.iwk-card--lead .iwk-card__excerpt { font-size: 1.05rem; }

.iwk-card--row { flex-direction: row; align-items: flex-start; gap: 14px; }
.iwk-card--row .iwk-card__media { flex: none; width: clamp(112px, 34%, 176px); border-radius: 10px; }
.iwk-card--row .iwk-card__title { font-size: 1.05rem; }
.iwk-card--row .iwk-card__body { min-width: 0; }

@media (min-width: 760px) {
    .iwk-card--wide { flex-direction: row; align-items: center; gap: clamp(20px, 3vw, 40px); }
    .iwk-card--wide .iwk-card__media { flex: 0 0 58%; }
}

/* 7. Home ------------------------------------------------------------- */
.iwk-intro { background: var(--iwk-sky); padding-block: clamp(22px, 3.4vw, 40px); }
.iwk-intro__inner { display: grid; gap: 18px; }
.iwk-intro__copy { display: grid; gap: 16px; align-items: end; }
.iwk-intro__title { margin: 0; font-size: clamp(1.7rem, 1.2rem + 2.3vw, 2.7rem); font-weight: 800; letter-spacing: -.025em; max-width: 18ch; }
@media (min-width: 900px) {
    .iwk-intro__copy { grid-template-columns: minmax(0, 1fr) minmax(360px, 460px); gap: 40px; }
}
.iwk-chips { display: flex; align-items: center; gap: 12px; min-width: 0; }
.iwk-chips__label { flex: none; color: var(--iwk-muted); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 899px) {
    .iwk-chips ul { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--iwk-gutter) * -1); padding: 2px var(--iwk-gutter) 6px; scrollbar-width: none; }
    .iwk-chips ul::-webkit-scrollbar { display: none; }
    .iwk-chips .iwk-chip { white-space: nowrap; }
    .iwk-chips { display: block; }
    .iwk-chips__label { display: block; margin-bottom: 8px; }
}

.iwk-home__sections { padding-top: calc(var(--iwk-section) / 2); padding-bottom: calc(var(--iwk-section) / 2); }
.iwk-home__widgets { padding-block: 12px; }

.iwk-leadgrid { display: grid; gap: var(--iwk-gap); }
.iwk-leadgrid__second { display: grid; gap: var(--iwk-gap); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) {
    .iwk-leadgrid { grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); }
    .iwk-leadgrid__second { grid-template-columns: 1fr; align-content: start; }
    .iwk-leadgrid__list { padding-left: var(--iwk-gap); border-left: 1px solid var(--iwk-line); }
}
@media (max-width: 480px) { .iwk-leadgrid__second { grid-template-columns: 1fr; } }

.iwk-listhead { margin: 0 0 6px; font-family: var(--iwk-font); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--iwk-muted); }
.iwk-headlines { list-style: none; margin: 0; padding: 0; }
.iwk-headlines li { padding: 13px 0; border-bottom: 1px solid var(--iwk-line); }
.iwk-headlines li:last-child { border-bottom: 0; }
.iwk-headlines a { display: block; margin-top: 3px; color: var(--iwk-ink); font-family: var(--iwk-display); font-size: 1.04rem; font-weight: 700; line-height: 1.25; text-decoration: none; }
.iwk-headlines a:hover { color: var(--iwk-blue-dark); text-decoration: underline; }

.iwk-weekend { display: grid; gap: var(--iwk-gap); }
@media (min-width: 900px) { .iwk-weekend:not(.iwk-weekend--single) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 56px); } }
.iwk-weekend__events { align-self: start; padding: clamp(18px, 2.4vw, 28px); background: var(--iwk-white); border-radius: var(--iwk-r-lg); box-shadow: var(--iwk-shadow-sm); }
.iwk-events { list-style: none; margin: 0 0 18px; padding: 0; }
.iwk-event { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--iwk-line); }
.iwk-event:last-child { border-bottom: 0; }
.iwk-event__date { flex: none; display: grid; place-items: center; width: 54px; padding: 6px 0 7px; background: var(--iwk-sky); border-radius: 10px; line-height: 1; }
.iwk-event__mon { color: var(--iwk-red); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.iwk-event__day { margin-top: 3px; color: var(--iwk-navy); font-family: var(--iwk-display); font-size: 1.45rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.iwk-event__body { min-width: 0; }
.iwk-event__title { display: block; color: var(--iwk-ink); font-weight: 700; line-height: 1.3; text-decoration: none; }
.iwk-event__title:hover { color: var(--iwk-blue-dark); text-decoration: underline; }
.iwk-event__meta { display: block; margin-top: 2px; color: var(--iwk-muted); font-size: .86rem; }

.iwk-mosaic { display: grid; gap: var(--iwk-gap); }
.iwk-mosaic__rest { display: grid; gap: var(--iwk-gap); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .iwk-mosaic { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 480px) { .iwk-mosaic__rest { grid-template-columns: 1fr; } }

.iwk-guides { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(12px, 1.6vw, 20px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .iwk-guides { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.iwk-guide {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: var(--iwk-sky);
    border-radius: var(--iwk-r);
    color: var(--iwk-navy);
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}
.iwk-guide--2, .iwk-guide--3 { background: var(--iwk-blush); }
.iwk-guide img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.iwk-guide__label { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding: 14px 16px; font-family: var(--iwk-display); font-size: 1.05rem; font-weight: 700; line-height: 1.2; }
.iwk-guide:not(:has(img)) .iwk-guide__label { padding-block: 26px; }
.iwk-guide:hover { transform: translateY(-3px); box-shadow: var(--iwk-shadow); color: var(--iwk-navy); }
.iwk-guide .iwk-icon { transition: transform .2s; }
.iwk-guide:hover .iwk-icon { transform: translateX(4px); }

.iwk-row { display: grid; gap: var(--iwk-gap); }
.iwk-row__list { display: grid; gap: 20px; align-content: start; }
@media (min-width: 900px) {
    .iwk-row { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 56px); }
    .iwk-row--flip .iwk-row__main { order: 2; }
}

.iwk-newsletter { margin-block: calc(var(--iwk-section) / 2); }
.iwk-newsletter__inner {
    display: grid;
    gap: 20px;
    align-items: center;
    max-width: var(--iwk-wrap);
    padding: clamp(24px, 4vw, 48px);
    background:
        radial-gradient(90% 140% at 100% 0%, #2a86d3 0%, transparent 60%),
        linear-gradient(110deg, var(--iwk-navy) 0%, var(--iwk-blue) 100%);
    border-radius: var(--iwk-r-lg);
    color: #eaf3ff;
}
.iwk-newsletter h2 { margin: 0 0 8px; color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); font-weight: 800; }
.iwk-newsletter p { margin: 0; max-width: 46ch; }
.iwk-newsletter--footer { margin-bottom: 0; }
.iwk-newsletter--footer .iwk-newsletter__inner { border-radius: var(--iwk-r-lg) var(--iwk-r-lg) 0 0; }
@media (min-width: 860px) { .iwk-newsletter__inner { grid-template-columns: minmax(0, 1fr) minmax(280px, 420px); gap: 40px; } }
@media (max-width: 1300px) { .iwk-newsletter__inner { margin-inline: var(--iwk-gutter); width: auto; } }

/* 8. Article ---------------------------------------------------------- */
.iwk-crumbs { margin-bottom: 14px; color: var(--iwk-muted); font-size: .86rem; }
.iwk-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.iwk-crumbs li + li::before { content: "/"; margin-right: 8px; color: #a9b4c9; }
.iwk-crumbs a { color: inherit; text-decoration: none; }
.iwk-crumbs a:hover { color: var(--iwk-navy); text-decoration: underline; }

.iwk-article__head { margin-bottom: clamp(18px, 2.4vw, 28px); }
.iwk-article__title { margin: 0 0 14px; font-size: clamp(1.9rem, 1.3rem + 2.5vw, 3rem); font-weight: 800; line-height: 1.08; letter-spacing: -.025em; }
.iwk-article__dek { margin: 0 0 18px; color: var(--iwk-text); font-size: 1.22rem; line-height: 1.45; max-width: 62ch; }
.iwk-article__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding-block: 14px; border-block: 1px solid var(--iwk-line); }
.iwk-article__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }

.iwk-byline { display: flex; align-items: center; gap: 12px; }
.iwk-byline__avatar, .iwk-author__avatar { border-radius: 30%; flex: none; }
.iwk-byline__text { display: grid; gap: 1px; font-size: .93rem; }
.iwk-byline__author { color: var(--iwk-ink); font-weight: 700; }
.iwk-byline__author a { color: inherit; }
.iwk-byline__dates { display: flex; flex-wrap: wrap; gap: 2px 14px; color: var(--iwk-muted); font-variant-numeric: tabular-nums; }
.iwk-byline__updated { color: var(--iwk-ink); font-weight: 600; }

.iwk-share { display: flex; align-items: center; gap: 6px; }
.iwk-share__label { margin-right: 4px; color: var(--iwk-muted); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.iwk-share__btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px;
    padding: 0;
    background: var(--iwk-sky);
    border: 0; border-radius: 10px;
    color: var(--iwk-navy);
    cursor: pointer;
    transition: background .18s, color .18s, transform .12s;
}
.iwk-share__btn:hover { background: var(--iwk-navy); color: #fff; }
.iwk-share__btn:active { transform: scale(.94); }
.iwk-share__btn.is-copied { background: #1f7a4d; color: #fff; }

.iwk-disclosure { margin: 0 0 22px; padding: 12px 16px; background: var(--iwk-blush); border-left: 4px solid var(--iwk-red); border-radius: 0 var(--iwk-r-sm) var(--iwk-r-sm) 0; font-size: .95rem; }

.iwk-article__figure { margin: 0 0 clamp(22px, 3vw, 34px); }
.iwk-article__figure img { display: block; width: 100%; height: auto; border-radius: var(--iwk-r-lg); }
.iwk-article__figure figcaption, .wp-caption-text, .wp-element-caption { margin-top: 8px; color: var(--iwk-muted); font-size: .86rem; }

.iwk-toc { margin: 0 0 1.6em; padding: 16px 20px; background: var(--iwk-sky); border-radius: var(--iwk-r); }
.iwk-toc summary { cursor: pointer; color: var(--iwk-navy); font-family: var(--iwk-display); font-weight: 700; }
.iwk-toc ol { margin: 10px 0 2px; padding-left: 1.2em; columns: 2 240px; column-gap: 32px; font-size: .97rem; }
.iwk-toc li { margin: 0 0 6px; break-inside: avoid; }
.iwk-toc a { color: var(--iwk-navy); text-decoration: none; }
.iwk-toc a:hover { text-decoration: underline; }

.iwk-article__foot { margin-top: clamp(28px, 4vw, 44px); display: grid; gap: 24px; }
.iwk-author { display: flex; gap: 18px; align-items: flex-start; padding: clamp(18px, 2.4vw, 26px); background: var(--iwk-sky); border-radius: var(--iwk-r-lg); }
.iwk-author__name { margin: 0 0 4px; font-family: var(--iwk-display); font-size: 1.2rem; font-weight: 700; }
.iwk-author__name a { color: var(--iwk-ink); text-decoration: none; }
.iwk-author__bio { margin: 0; font-size: .97rem; }

.iwk-related, .iwk-comments, .iwk-afterpost { margin-top: var(--iwk-section); }
.iwk-itinerary-slot:empty { display: none; }

.iwk-comments__list { list-style: none; margin: 0 0 24px; padding: 0; }
.iwk-comments__list .comment-body { padding: 16px 0; border-bottom: 1px solid var(--iwk-line); }
.iwk-comments__list .children { list-style: none; padding-left: 28px; }
.iwk-comments .avatar { border-radius: 30%; float: left; margin-right: 12px; }
.comment-metadata { font-size: .84rem; color: var(--iwk-muted); }
.comment-metadata a { color: inherit; }
.comment-form label { display: block; margin-bottom: 4px; font-weight: 600; font-size: .93rem; }
.comment-form-cookies-consent label { display: inline; font-weight: 400; }

/* 9. Archive ---------------------------------------------------------- */
.iwk-archivehead { background: var(--iwk-sky); padding-block: clamp(26px, 4vw, 52px); }
.iwk-archivehead__title { margin: 0; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); font-weight: 800; letter-spacing: -.025em; }
.iwk-archivehead__text { margin-top: 12px; max-width: 68ch; }
.iwk-archivehead__text p:last-child { margin-bottom: 0; }
.iwk-archivehead .iwk-chips__list, .iwk-archivehead__search { margin-top: 20px; }
.iwk-archivehead__search, .iwk-404__search { max-width: 560px; }
.iwk-archive__lead { margin-bottom: var(--iwk-section); padding-bottom: calc(var(--iwk-section) / 1.6); border-bottom: 1px solid var(--iwk-line); }
.iwk-archive__grid { row-gap: clamp(28px, 4vw, 44px); }
.iwk-layout--sidebar .iwk-archive__grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.iwk-results { display: grid; gap: 26px; max-width: 860px; }
.iwk-card--result .iwk-card__title { font-size: 1.25rem; }

.navigation.pagination { margin-top: var(--iwk-section); }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 44px; height: 44px;
    padding: 0 14px;
    border: 1.5px solid var(--iwk-line);
    border-radius: 10px;
    color: var(--iwk-navy);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    text-decoration: none;
    transition: background .18s, border-color .18s, color .18s;
}
a.page-numbers:hover { background: var(--iwk-sky); border-color: var(--iwk-blue); }
.page-numbers.current { background: var(--iwk-navy); border-color: var(--iwk-navy); color: #fff; }
.page-numbers.dots { border: 0; min-width: 0; padding: 0 4px; }

.iwk-empty { max-width: 560px; padding-block: 24px; }
.iwk-404__inner { padding-block: clamp(36px, 6vw, 80px) 12px; }
.iwk-404__text { max-width: 54ch; margin-block: 14px 22px; font-size: 1.1rem; }
.iwk-404 .iwk-chips__list { margin-top: 22px; }

.iwk-hero { background: var(--iwk-sky); padding-block: clamp(28px, 5vw, 64px); }
.iwk-hero__inner { display: grid; gap: clamp(22px, 4vw, 52px); align-items: center; }
@media (min-width: 900px) { .iwk-hero--media .iwk-hero__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.iwk-hero__title { margin: 0 0 14px; font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem); font-weight: 800; line-height: 1.04; letter-spacing: -.03em; }
.iwk-hero__text { max-width: 52ch; margin-bottom: 22px; font-size: 1.18rem; }
.iwk-hero__media { margin: 0; }
.iwk-hero__media img { display: block; width: 100%; height: auto; border-radius: var(--iwk-r-lg); box-shadow: var(--iwk-shadow); }

/* 10. Sidebar and widgets --------------------------------------------- */
.iwk-sidebar { display: grid; gap: 28px; align-content: start; min-width: 0; }
@media (max-width: 1023px) { .iwk-sidebar { margin-top: var(--iwk-section); } }
.widget { min-width: 0; }
.widget-title { margin: 0 0 12px; padding-bottom: 8px; border-bottom: 3px solid var(--iwk-navy); font-size: 1.15rem; font-weight: 800; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 8px 0; border-bottom: 1px solid var(--iwk-line); }
.widget li a { color: var(--iwk-ink); font-weight: 600; text-decoration: none; }
.widget li a:hover { color: var(--iwk-blue-dark); text-decoration: underline; }

/* 11. Footer ---------------------------------------------------------- */
.iwk-footer { background: var(--iwk-navy-deep); color: #c9d4f0; font-size: .97rem; }
.iwk-footer a { color: #fff; }
.iwk-footer__grid { display: grid; gap: clamp(28px, 4vw, 56px); padding-block: clamp(36px, 5vw, 64px); }
@media (min-width: 860px) { .iwk-footer__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.iwk-footer__about p { max-width: 44ch; }
.iwk-footer__about .iwk-logo { margin-bottom: 16px; }
.iwk-footer__about .iwk-logo__img { height: 62px; }
.iwk-footer .iwk-social { margin-top: 16px; gap: 10px; }
.iwk-footer .iwk-social a { width: 40px; height: 40px; align-items: center; justify-content: center; background: rgba(255, 255, 255, .1); border-radius: 10px; transition: background .2s; }
.iwk-footer .iwk-social a:hover { background: var(--iwk-blue); }
.iwk-footer__menu, .iwk-footer__menu ul, .iwk-footer__legal { list-style: none; margin: 0; padding: 0; }
.iwk-footer__menu { columns: 3 170px; column-gap: 32px; }
.iwk-footer__menu > li { break-inside: avoid; margin-bottom: 14px; }
.iwk-footer__menu > li > a { font-family: var(--iwk-display); font-weight: 700; text-decoration: none; }
.iwk-footer__menu ul { margin-top: 6px; }
.iwk-footer__menu ul a { display: inline-block; padding: 3px 0; color: #c9d4f0; font-size: .92rem; text-decoration: none; }
.iwk-footer__menu a:hover { color: #fff; text-decoration: underline; }
.iwk-footer .widget-title { color: #fff; border-color: rgba(255, 255, 255, .25); }
.iwk-footer .widget li { border-color: rgba(255, 255, 255, .14); }
.iwk-footer__base { border-top: 1px solid rgba(255, 255, 255, .14); font-size: .86rem; }
.iwk-footer__base-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 16px 22px; }
.iwk-footer__base p { margin: 0; }
.iwk-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.iwk-footer__legal a { color: #c9d4f0; }

/* 12. Prose and blocks ------------------------------------------------ */
.iwk-prose { font-size: 1.125rem; line-height: 1.72; overflow-wrap: break-word; }
.iwk-layout--sidebar .iwk-prose, .iwk-layout--page .iwk-prose { max-width: 760px; }
.iwk-prose > .elementor-widget-container > *:first-child, .iwk-prose > *:first-child { margin-top: 0; }
.iwk-prose h2 { margin: 1.7em 0 .55em; font-size: clamp(1.5rem, 1.25rem + 1vw, 1.95rem); font-weight: 800; scroll-margin-top: 90px; }
.iwk-prose h3 { margin: 1.5em 0 .5em; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); scroll-margin-top: 90px; }
.iwk-prose h4 { margin: 1.4em 0 .4em; font-size: 1.15rem; }
.iwk-prose ul, .iwk-prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.iwk-prose li { margin-bottom: .45em; }
.iwk-prose li::marker { color: var(--iwk-blue); font-weight: 700; }
.iwk-prose img { border-radius: var(--iwk-r); }
.iwk-prose a { font-weight: 600; }
.iwk-prose blockquote {
    margin: 1.6em 0;
    padding: 4px 0 4px 22px;
    border-left: 4px solid var(--iwk-red);
    color: var(--iwk-ink);
    font-family: var(--iwk-display);
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.35;
}
.iwk-prose blockquote p:last-child { margin-bottom: 0; }
.iwk-prose hr, .wp-block-separator { height: 1px; margin: 2em 0; background: var(--iwk-line); border: 0; }
.iwk-prose table { width: 100%; margin: 0 0 1.4em; border-collapse: collapse; font-size: .98rem; font-variant-numeric: tabular-nums; }
.iwk-prose th, .iwk-prose td { padding: 10px 12px; border-bottom: 1px solid var(--iwk-line); text-align: left; vertical-align: top; }
.iwk-prose thead th { background: var(--iwk-sky); color: var(--iwk-navy); font-weight: 700; }
.iwk-prose figure { margin: 1.6em 0; max-width: 100%; }
.iwk-prose iframe { max-width: 100%; }
.iwk-prose .alignleft { float: left; margin: .3em 1.4em 1em 0; max-width: 50%; }
.iwk-prose .alignright { float: right; margin: .3em 0 1em 1.4em; max-width: 50%; }
.iwk-prose .aligncenter { display: block; margin-inline: auto; }
.iwk-prose::after { content: ""; display: table; clear: both; }
.iwk-prose--wide, .iwk-layout--wide .iwk-prose { max-width: none; }
.iwk-layout--wide .iwk-prose > p, .iwk-layout--wide .iwk-prose > ul, .iwk-layout--wide .iwk-prose > ol,
.iwk-layout--wide .iwk-prose > h2, .iwk-layout--wide .iwk-prose > h3, .iwk-layout--wide .iwk-prose > blockquote { max-width: 760px; }
@media (max-width: 600px) { .iwk-prose .alignleft, .iwk-prose .alignright { float: none; margin: 1em 0; max-width: 100%; } }

.wp-block-button__link { border-radius: 10px; }
.is-style-outline > .wp-block-button__link { background: transparent; border-color: var(--iwk-navy); color: var(--iwk-navy); }
.is-style-outline > .wp-block-button__link:hover { background: var(--iwk-navy); color: #fff; }
.wp-block-image img, .wp-block-cover, .wp-block-media-text__media img { border-radius: var(--iwk-r); }
.wp-block-group.has-background, .wp-block-columns.has-background { padding: clamp(18px, 3vw, 32px); border-radius: var(--iwk-r-lg); }
.wp-block-details { margin-bottom: 10px; padding: 14px 18px; background: var(--iwk-sky); border-radius: var(--iwk-r); }
.wp-block-details summary { cursor: pointer; color: var(--iwk-navy); font-weight: 700; }
.wp-block-details[open] summary { margin-bottom: 8px; }

/* Pattern pieces */
.iwk-facts { padding: clamp(18px, 3vw, 28px); background: var(--iwk-sky); border-radius: var(--iwk-r-lg); }
.iwk-facts > h2, .iwk-facts > h3 { margin-top: 0 !important; }
.iwk-facts ul { list-style: none; padding: 0; margin: 0; }
.iwk-facts li { display: grid; grid-template-columns: minmax(96px, 28%) 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--iwk-sky-deep); margin: 0; }
.iwk-facts li:last-child { border-bottom: 0; }
.iwk-facts li strong { color: var(--iwk-navy); }
.iwk-cta-band { padding: clamp(24px, 4vw, 44px); background: linear-gradient(110deg, var(--iwk-navy), var(--iwk-blue)); border-radius: var(--iwk-r-lg); color: #eaf3ff; }
.iwk-cta-band h2, .iwk-cta-band h3 { margin-top: 0 !important; color: #fff; }
.iwk-cta-band .wp-block-button__link { background: #fff; color: var(--iwk-navy); }
.iwk-cta-band .wp-block-button__link:hover { background: var(--iwk-sky-deep); color: var(--iwk-navy); }
.iwk-steps { counter-reset: iwk-step; list-style: none; padding: 0 !important; }
.iwk-steps > li { counter-increment: iwk-step; position: relative; padding: 0 0 18px 56px; margin: 0; }
.iwk-steps > li::before {
    content: counter(iwk-step);
    position: absolute; left: 0; top: -2px;
    display: grid; place-items: center;
    width: 40px; height: 40px;
    background: var(--iwk-navy);
    border-radius: 12px;
    color: #fff;
    font-family: var(--iwk-display);
    font-weight: 800;
}
.iwk-tiles.wp-block-columns { gap: var(--iwk-gap); }
.iwk-tiles .wp-block-column { padding: 20px; background: var(--iwk-sky); border-radius: var(--iwk-r); }
.iwk-tiles .wp-block-column:nth-child(even) { background: var(--iwk-blush); }
.iwk-tiles h3 { margin-top: 0 !important; }

/* 13. Plugins ---------------------------------------------------------- */
/* Pages laid out in Elementor or Divi: no theme max-width on their sections. */
.iwk-builder-page .iwk-prose { font-size: inherit; line-height: inherit; max-width: none; }
.iwk-fullwidth .iwk-prose--bleed { max-width: none; }

/* Views printed by the IWK-Plugins plugin (guides, tours). */
.iwk-plugin-view { padding-block: clamp(20px, 3vw, 40px) var(--iwk-section); }
.iwk-plugin-view.iwk-wrap { max-width: calc(var(--iwk-wrap) + var(--iwk-gutter) * 2); }

/* Events Manager */
.em.pixelbones, .em-events-list, .em-item-single { font-family: var(--iwk-font); }
.em-item-single h2, .em-events-list h2 { font-family: var(--iwk-display); }
.em .em-item-title a, .em-event .em-item-title a { color: var(--iwk-ink); }
.em .button, .em .em-button { border-radius: 10px !important; }

/* Ad slots: keep them centered and out of the text flow. */
[class*="adthrive"] { clear: both; }
.iwk-prose [class*="adthrive-ad"] { margin-block: 1.6em; }

/* 14. Utilities -------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
    .iwk-header, .iwk-footer, .iwk-sidebar, .iwk-sponsors, .iwk-newsletter, .iwk-share, .iwk-related, .iwk-comments { display: none !important; }
    .iwk-layout--sidebar { display: block; }
    body { font-size: 11pt; }
}

/* ---------------------------------------------------------------------------
 * Home page built in Elementor from the IWK widgets.
 * The widgets carry their own width and spacing, so the Elementor wrappers
 * around them run edge to edge with no padding or gaps.
 * ------------------------------------------------------------------------- */
.iwk-home--elementor .elementor-section:has([class*="elementor-widget-iwk-home-"]) > .elementor-container { max-width: none; }
.iwk-home--elementor .elementor-column:has(> .elementor-widget-wrap > [class*="elementor-widget-iwk-home-"]) > .elementor-widget-wrap { padding: 0; }
.iwk-home--elementor .e-con:has([class*="elementor-widget-iwk-home-"]) {
    --content-width: 100%;
    --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px;
    --gap: 0px; --row-gap: 0px; --column-gap: 0px;
    max-width: none;
}
.iwk-home--elementor .e-con:has([class*="elementor-widget-iwk-home-"]) > .e-con-inner { max-width: none; padding: 0; gap: 0; }
.iwk-home--elementor .elementor-element[class*="elementor-widget-iwk-home-"] { width: 100%; margin: 0; }
.iwk-home--elementor .elementor-widget-wrap > .elementor-element[class*="elementor-widget-iwk-home-"]:not(:last-child) { margin-bottom: 0; margin-block-end: 0; }
/* Elementor resets every image inside its pages (.elementor img: height auto, no radius). Put the card rules back. */
.iwk-home--elementor .iwk-card__media img { height: 100%; }
.iwk-home--elementor .iwk-sponsors__list img, .iwk-home--elementor .iwk-brand__banner img { border-radius: 6px; }
