/*
Theme Name: Pulsi24
Theme URI: https://pulsi24.com/
Author: Pulsi24
Description: Clean, editorial health publication theme for Pulsi24.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: pulsi24
*/
:root{
    --ink:#121615;--muted:#5f6767;--paper:#fff;--warm:#f4f6f6;--line:#e1e6e6;
    /* Brand teal: soft background, bright accent, and a deep shade that is readable as text */
    --teal-soft:#e4f6f7;--teal:#44c1c5;--teal-ink:#17777b;--teal-deep:#0f5559;
    /* Old names kept so existing rules pick up the new palette */
    --green:var(--teal-ink);--green-dark:var(--teal-deep);
    --serif:'DM Serif Display',Georgia,serif;--sans:Geist,Arial,sans-serif
}

/* ==================================
   Pulsi24 - Self-hosted Fonts
================================== */

/* Geist Variable: 400–700 */
@font-face {
    font-family: 'Geist';
    src: url('assets/fonts/geist/geist-variable.woff2') format('woff2');
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
}

/* DM Serif Display: Regular 400 */
@font-face {
    font-family: 'DM Serif Display';
    src: url('assets/fonts/dm-serif-display/dm-serif-display-regular.woff2') format('woff2');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

/* ==================================
   Base + Header
================================== */

*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:400 16px/1.55 var(--sans);-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}a:hover{color:var(--green)}img{display:block;max-width:100%;height:auto}button,input{font:inherit}button{cursor:pointer}.container{max-width:1330px;padding-inline:30px;margin-inline:auto}.screen-reader-text{position:absolute;overflow:hidden;clip-path:inset(50%);width:1px;height:1px;white-space:nowrap}.screen-reader-text:focus,.skip-link:focus{clip-path:none;width:auto;height:auto;top:10px;left:10px;padding:10px;background:white;z-index:1000}.skip-link{position:absolute;top:-100px}.site-header{background:#fff;border-bottom:1px solid var(--line);position:relative;z-index:10}.site-header__inner{display:flex;align-items:center;gap:42px;min-height:89px}.brand{display:block;flex:0 0 174px;line-height:0}
.brand svg{width:174px;height:auto;overflow:visible;color:#000}
.primary-nav{margin-left:auto;margin-right:10px}
.nav-list{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:27px}.nav-list a{font-size:14px;font-weight:600;white-space:nowrap;text-transform:uppercase}.header-search{font-size:38px;line-height:1;border-left:1px solid var(--line);padding-left:24px;color:#222}

/* =========================================
   PULSI24 - ANIMATED MOBILE MENU
========================================= */

.menu-toggle {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    background: transparent;
}

/* Hamburger lines */
.menu-toggle__line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.2s ease;
    transform-origin: center;
}

/* Animate into X */
.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Keyboard accessibility */
.menu-toggle:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 3px;
}

/* ==================================
   Homepage / Listings
================================== */

.eyebrow,.kicker{font-family:var(--sans);font-size:11px;font-weight:700;letter-spacing:.11em;text-transform:uppercase;color:var(--green)}.lead{display:grid;grid-template-columns:1fr 1.08fr;gap:52px;padding-top:44px;padding-bottom:50px;border-bottom:1px solid var(--line)}.lead__intro{padding-top:28px}.lead__intro .eyebrow{border-left:3px solid var(--green);padding-left:12px;margin:0 0 23px}.lead h1{font-family:var(--serif);font-weight:400;font-size:clamp(49px,5.1vw,79px);line-height:1.05;letter-spacing:-.036em;margin:0 0 24px}.lead h1 em{font-style:normal;color:var(--green)}.lead__description{font-size:19px;line-height:1.57;max-width:460px;margin:0 0 30px}
.search-form{display:flex;min-height:52px;max-width:490px;border:1px solid #cfd3cf}
.search-form input{width:100%;min-width:0;border:0;background:#fff;padding:0 17px;outline-offset:-3px;font-size:14px}
.search-form button{border:0;background:var(--green);color:#fff;padding:0 28px;font-size:14px;font-weight:600}
.search-form button:hover{background:#123e2b}
.listing-page .search-form{align-items:center}
.lead__feature{min-height:380px}.feature-link{height:100%;min-height:380px;display:block;position:relative;background:#e5e9e2;color:#fff;overflow:hidden}.feature-link>img{width:100%;height:100%;max-height:510px;min-height:380px;object-fit:cover}.feature-link::after{content:'';position:absolute;inset:30% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.76));pointer-events:none}.feature-overlay{position:absolute;z-index:1;bottom:27px;left:33px;right:33px;display:flex;align-items:flex-start;flex-direction:column;gap:12px}.feature-overlay strong{font:400 clamp(25px,2.4vw,38px)/1.13 var(--serif);max-width:510px}.feature-overlay>span:last-child{font-size:13px}.kicker--light{color:#d9e5df}.feature-placeholder{height:100%;min-height:380px;background:linear-gradient(140deg,#d9e3dc,#4c7c64);display:grid;place-items:center;font:500 54px var(--sans);color:#fff}.feature-empty{min-height:380px;background:var(--warm);padding:44px;display:flex;flex-direction:column;justify-content:center}.feature-empty h2{font:400 42px/1.1 var(--serif);margin:20px 0}.feature-empty p{color:var(--muted);max-width:430px}.news-section,.topics-section{padding-top:49px;padding-bottom:65px}.section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px;border-bottom:2px solid var(--ink);padding-bottom:13px;margin-bottom:23px}.section-heading h2,.section-heading h1{font:400 clamp(30px,3vw,43px)/1.15 var(--serif);margin:0}.section-heading>a{font-size:13px;font-weight:600;color:var(--green);white-space:nowrap}.section-heading>a span{padding-left:7px}.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:28px;row-gap:34px}.story{min-width:0;border-right:1px solid var(--line);padding-right:25px}.story:nth-child(3n){border-right:0;padding-right:0}.story__image{display:block;overflow:hidden;background:var(--warm);aspect-ratio:1.65}.story__image img{height:100%;width:100%;object-fit:cover;transition:transform .25s}.story__image:hover img{transform:scale(1.025)}.image-placeholder{height:100%;display:grid;place-items:center;background:#e5e9e2;color:#638271;font:600 44px var(--sans)}.story__body{padding-top:18px}.story h3{font:400 clamp(21px,2vw,27px)/1.23 var(--serif);letter-spacing:-.015em;margin:9px 0}.story__summary{font:400 14px/1.62 var(--sans);color:var(--muted);margin:0 0 14px}.story time{font-size:12px;color:#7a7d78}.empty-message{grid-column:1/-1;color:var(--muted);padding:26px 0}.development{background:#f3f3ef;padding:58px 0 62px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.development .section-heading{margin-bottom:13px}.development .section-heading h2{font-size:clamp(35px,3.5vw,50px)}.development .eyebrow{margin:0 0 9px}.development__intro{max-width:710px;color:#525a55;font-size:17px;margin:0 0 28px}.age-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-top:1px solid #c8ccc5;border-bottom:1px solid #c8ccc5}.age-item{position:relative;display:block;min-height:190px;padding:20px 19px;border-right:1px solid #c8ccc5}.age-item:first-child{border-left:1px solid #c8ccc5}.age-item:hover{background:#e5ebe5}.age-number{font-size:12px;color:#65816e;letter-spacing:.11em}.age-item h3{font:400 29px/1.1 var(--serif);margin:18px 0 10px}.age-item p{font-size:13px;line-height:1.5;color:#58635a;margin:0;max-width:180px}.age-arrow{position:absolute;right:15px;top:17px;color:var(--green)}.section-note{font-size:12px;color:#777e77;margin:15px 0 0}.topics-section{padding-bottom:90px}.topics-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-bottom:1px solid var(--line)}.topics-grid a{padding:21px 14px;border-right:1px solid var(--line);font-weight:600;font-size:15px;display:flex;justify-content:space-between;gap:10px}.topics-grid a:last-child{border-right:0}.topics-grid a span{color:var(--green)}.site-footer{border-top:1px solid var(--line);background:#fff}.footer-inner{display:flex;justify-content:space-between;gap:25px;align-items:center;padding-top:29px;padding-bottom:32px}.footer-brand{font:500 27px var(--sans);letter-spacing:-.08em}.footer-inner p{color:var(--muted);font-size:13px;margin:5px 0 0}.footer-right{text-align:right}.footer-right small{color:var(--muted);font-size:12px}.footer-links{display:flex;justify-content:flex-end;gap:16px;list-style:none;margin:0 0 10px;padding:0;font-size:13px}.listing-page{padding-top:60px;padding-bottom:90px;min-height:65vh}.listing-page .section-heading{margin-bottom:30px}.pagination{margin-top:35px}.pagination .nav-links{display:flex;gap:16px}.article-page{padding-top:55px;padding-bottom:90px}.article-detail{max-width:980px;margin:auto}.article-top{max-width:800px;margin:auto;text-align:center}.article-top h1{font:400 clamp(43px,5vw,70px)/1.12 var(--serif);margin:15px 0}.article-meta{color:var(--muted);font-size:13px}.article-image{margin:35px 0}.article-image img{width:100%;height:auto}.article-content{max-width:760px;margin:35px auto;font-size:19px;line-height:1.85}.article-content h2,.article-content h3{font-family:var(--serif);line-height:1.2}.article-content a{color:var(--green);text-decoration:underline}.article-content blockquote{border-left:3px solid var(--green);padding-left:22px;margin-left:0;color:#485449}

@media(max-width:1080px){.site-header__inner{gap:22px}.nav-list{gap:15px}.nav-list a{font-size:13px}.brand,.brand svg{width:145px}.lead{gap:28px}.lead h1{font-size:60px}.age-item{padding:18px 13px}.age-item h3{font-size:24px}}

@media(max-width:800px){
    .container{padding-inline:22px}.site-header__inner{min-height:75px}.brand,.brand svg{width:155px}.header-search{font-size:33px;padding-left:14px}

    .menu-toggle {
        display: flex;
        margin-left: auto;
    }

    .primary-nav {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        padding: 15px 22px;
        /* Closed state */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-15px);
        pointer-events: none;
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    }

    /* Open state */
    .primary-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-list{display:flex;flex-direction:column;align-items:stretch;gap:0}
    .nav-list li{border-bottom:1px solid var(--line)}.nav-list a{display:block;padding:11px 0;font-size:15px}.lead{grid-template-columns:1fr;padding-top:27px;padding-bottom:38px}.lead__intro{padding-top:5px}.lead h1{font-size:clamp(48px,8vw,72px)}.lead__feature,.feature-link,.feature-placeholder,.feature-empty{min-height:330px}.news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.story,.story:nth-child(3n){border-right:1px solid var(--line);padding-right:17px}.story:nth-child(2n){border-right:0;padding-right:0}.age-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.age-item:nth-child(4){border-left:1px solid #c8ccc5}.age-item:nth-child(n+4){border-top:1px solid #c8ccc5}.topics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.topics-grid a{border-top:1px solid var(--line)}.topics-grid a:nth-child(2n){border-right:0}
}

@media(max-width:520px){.container{padding-inline:18px}.site-header__inner{min-height:69px}.brand,.brand svg{width:135px}.lead h1{font-size:48px}.lead__description{font-size:17px}.lead__feature,.feature-link,.feature-placeholder,.feature-empty{min-height:280px}.feature-overlay{left:21px;bottom:21px;right:21px}.feature-overlay strong{font-size:27px}.news-grid{grid-template-columns:1fr;gap:28px}.story,.story:nth-child(3n),.story:nth-child(2n){border-right:0;border-bottom:1px solid var(--line);padding:0 0 26px}.story__image{aspect-ratio:1.8}.section-heading h2{font-size:32px}.section-heading>a{font-size:12px}.development{padding:40px 0}.age-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.age-item{min-height:170px}.age-item:nth-child(odd){border-left:1px solid #c8ccc5}.age-item:nth-child(n+3){border-top:1px solid #c8ccc5}.age-item h3{font-size:25px}.footer-inner{align-items:flex-start;flex-direction:column}.footer-right{text-align:left}.footer-links{justify-content:flex-start;flex-wrap:wrap}}

/* =========================================
   PULSI24 - SINGLE ARTICLE
========================================= */

.p24-single {
    padding-top: 48px;
    padding-bottom: 80px;
}

.p24-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    column-gap: 48px;
    row-gap: 0;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.p24-article-main {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
}

.p24-article-sidebar {
    grid-column: 2;
    grid-row: 1 / 3;
    min-width: 0;
}

.p24-related {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
    margin-top: 60px;
    padding-top: 35px;
    border-top: 1px solid #e7ece7;
}

/* ARTICLE HEADER */

.p24-article-header {
    margin-bottom: 28px;
}

.p24-article-category {
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #287253;
}

.p24-article-category a {
    color: inherit;
}

.p24-article-title {
    margin: 0 0 18px;
    font-family: var(--serif);
    font-size: clamp(32px, 3.5vw, 48px);
    font-weight: 400;
    line-height: 1.17;
    letter-spacing: -0.6px;
    overflow-wrap: break-word;
}

.p24-article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: #788078;
    font-size: 13px;
}

.p24-article-meta a {
    color: #365c49;
}

/* FEATURED IMAGE */

.p24-article-image {
    margin: 0 0 32px;
}

.p24-featured-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 440px;
    object-fit: cover;
    border-radius: 12px;
}

.p24-article-image figcaption {
    margin-top: 10px;
    color: #818781;
    font-size: 12px;
    line-height: 1.5;
}

/* ARTICLE CONTENT */

.p24-article-content {
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.9;
    color: #303830;
    overflow-wrap: break-word;
}

.p24-article-content p {
    margin: 0 0 24px;
}

.p24-article-content h2,
.p24-article-content h3 {
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.3;
    margin: 38px 0 16px;
    color: #213f30;
}

.p24-article-content h2 {
    font-size: 30px;
}

.p24-article-content h3 {
    font-size: 24px;
}

.p24-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.p24-article-content a {
    color: #176a48;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.p24-article-content ul,
.p24-article-content ol {
    padding-left: 25px;
    margin-bottom: 24px;
}

.p24-article-content li {
    margin-bottom: 10px;
}

.p24-article-content blockquote {
    border-left: 4px solid #287253;
    padding: 15px 24px;
    margin: 32px 0;
    background: #f4f8f4;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.p24-page-links {
    margin-top: 30px;
}

/* =========================================
   SIDEBAR
========================================= */

.p24-sidebar-inner {
    position: sticky;
    top: 30px;
}

/* SHARE BOX */

.p24-share-box {
    border-bottom: 1px solid #e7ece6;
    padding: 22px;
    margin-bottom: 28px;
}

.p24-share-box h2 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 18px;
    color: #243d2f;
}

.p24-share-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.p24-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: #fff;
    transition: transform .2s ease, opacity .2s ease;
}

.p24-share-btn:hover {
    background: #eef5ee;
    transform: translateY(-3px);
    opacity: .85;
}

.p24-share-btn img {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* ADVERTISING */

.p24-advertising {
    margin-top: 24px;
}

.p24-ad-widget {
    margin-bottom: 24px;
}

.p24-ad-widget img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.p24-ad-widget a {
    display: block;
}

.p24-ad-placeholder {
    min-height: 250px;
    padding: 24px;
    background: #f3f5f2;
    border: 1px dashed #d6ded5;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.p24-ad-placeholder span {
    font-size: 10px;
    letter-spacing: 2px;
    color: #9aa59a;
}

.p24-ad-placeholder p {
    margin: 12px 0 6px;
    font-size: 15px;
    color: #647365;
}

.p24-ad-placeholder small {
    color: #a0aaa0;
}

/* =========================================
   RELATED POSTS
========================================= */

.p24-section-heading {
    margin-bottom: 24px;
}

.p24-section-heading h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: 29px;
    font-weight: 400;
    color: #244431;
}

.p24-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.p24-related-card {
    min-width: 0;
}

.p24-related-image {
    display: block;
    aspect-ratio: 1.5;
    overflow: hidden;
    border-radius: 9px;
    background: #eaf0ea;
}

.p24-related-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.p24-related-image:hover img {
    transform: scale(1.04);
}

.p24-image-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    font-size: 24px;
    color: #7f9a83;
}

.p24-related-body {
    padding-top: 12px;
}

.p24-related-category {
    font-size: 10px;
    text-transform: uppercase;
    color: #287253;
    letter-spacing: .7px;
    font-weight: 700;
}

.p24-related-body h3 {
    margin: 7px 0 9px;
    font-family: var(--serif);
    font-size: 19px;
    line-height: 1.3;
    font-weight: 400;
}

.p24-related-body h3 a {
    color: #263b2d;
}

.p24-related-body h3 a:hover {
    color: #287253;
}

.p24-related-body time {
    font-size: 11px;
    color: #8c948c;
}

/* =========================================
   RESPONSIVE - SINGLE ARTICLE
========================================= */

@media (max-width: 1024px) {
    .p24-article-layout {
        grid-template-columns: minmax(0, 1fr) 260px;
        gap: 28px;
    }

    .p24-share-box {
        padding: 16px;
    }
}

@media (max-width: 768px) {
    .p24-single {
        padding-top: 26px;
        padding-bottom: 50px;
    }

    .p24-article-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .p24-article-sidebar {
        grid-column: 1;
        grid-row: 2;
        margin-top: 28px;
    }

    .p24-sidebar-inner {
        position: static;
    }

    .p24-related {
        grid-column: 1;
        grid-row: 3;
        margin-top: 36px;
    }

    .p24-featured-img {
        max-height: 360px;
    }

    .p24-article-title {
        font-size: 34px;
    }

    .p24-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .p24-article-title {
        font-size: 30px;
    }

    .p24-article-content {
        font-size: 16px;
        line-height: 1.8;
    }

    .p24-featured-img {
        max-height: 280px;
    }

    .p24-related-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .p24-related-image {
        aspect-ratio: 1.8;
    }
}

/* =========================================
   ACCESSIBILITY - REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {
    .menu-toggle__line,
    .primary-nav {
        transition: none;
    }
}

/* Hide header/footer/top ad on page 8 */
body.page-id-8 .site-header,
body.page-id-8 .site-footer,
body.page-id-8 .p24-top-ad {
    display: none !important;
}

.feature-link:hover {
    color: #fff;
}

.feature-link:hover strong,
h3 a:hover,
.p24-kids__text h3:hover {
    text-decoration: underline !important;
}

/* =========================================
   PULSI24 - HOMEPAGE V2
========================================= */

.p24-editorial { padding-top:32px; padding-bottom:35px; }
.p24-editorial__grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:23px; }
.p24-editorial__column { min-width:0; }
.p24-editorial__column + .p24-editorial__column { border-left:1px solid #e4e4e0; padding-left:23px; }
.p24-editorial__heading, .p24-latest__heading { display:flex; align-items:baseline; justify-content:space-between; gap:12px; border-bottom:1px solid #d9ded8; padding-bottom:12px; margin-bottom:18px; }
.p24-editorial__heading h2, .p24-latest__heading h2 { margin:0; font-family:Georgia,'Times New Roman',serif; font-size:clamp(22px,2vw,29px); line-height:1.1; letter-spacing:-.04em; }
.p24-editorial__heading a, .p24-latest__heading a { flex-shrink:0; color:#245642; font-size:12px; }
.p24-editorial__story { display:grid; grid-template-columns:45% minmax(0,1fr); gap:15px; }
.p24-editorial__image, .p24-latest__image { display:block; overflow:hidden; background:#e5e7e2; aspect-ratio:1.15; }
.p24-editorial__image img, .p24-latest__image img, .p24-kids__photo img { width:100%; height:100%; object-fit:cover; display:block; }
.p24-editorial__copy, .p24-latest__copy { min-width:0; display:flex; flex-direction:column; align-items:flex-start; }
.p24-label { color:#235542; text-transform:uppercase; font-size:10px; font-weight:700; letter-spacing:.06em; }
.p24-editorial__copy h3, .p24-latest__copy h3 { font-family:Georgia,'Times New Roman',serif; font-size:clamp(16px,1.25vw,19px); line-height:1.22; margin:7px 0; letter-spacing:-.015em; }
.p24-latest__copy h3 { font-size:16px; }
.p24-editorial__copy h3 a, .p24-latest__copy h3 a { color:inherit; }
.p24-editorial__copy h3 a:hover, .p24-latest__copy h3 a:hover { color:#245642; }
.p24-editorial__copy p { font-size:12px; line-height:1.45; color:#62645e; margin:0 0 10px; }
.p24-editorial__copy time, .p24-latest__copy time { margin-top:auto; color:#7a7b76; font-size:11px; }
.p24-image-fallback { display:grid; width:100%; height:100%; min-height:90px; place-items:center; color:#4e665b; font-size:12px; letter-spacing:.1em; background:#e1e9e2; }
.p24-empty { color:#686c66; font-size:14px; }

.p24-kids { background:#f3f4f1; padding:32px 0; border-top:1px solid #e1e3df; border-bottom:1px solid #e1e3df; }
.p24-kids__layout { display:grid; grid-template-columns:minmax(170px,1.1fr) minmax(0,5fr); gap:24px; align-items:stretch; }
.p24-kids__intro h2 { font-family:Georgia,'Times New Roman',serif; font-size:clamp(28px,2.5vw,37px); letter-spacing:-.04em; line-height:1.05; margin:0 0 12px; }
.p24-kids__intro p { color:#555c56; font-size:13px; line-height:1.5; margin:0 0 13px; }
.p24-kids__all { display:inline-block; background:#194c3b; color:#fff; padding:10px 14px; font-size:12px; }
.p24-kids__all:hover { color:#fff; text-decoration:underline; }
.p24-kids__grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:13px; }
.p24-kids__item { background:#fff; color:inherit; min-width:0; }
.p24-kids__photo { aspect-ratio:1.65; overflow:hidden; background:#dce4de; }
.p24-kids__text { padding:12px 11px 16px; }
.p24-kids__text h3 { font-family:Georgia,'Times New Roman',serif; font-size:17px; margin:0 0 6px; }
.p24-kids__text p { color:#636860; line-height:1.4; font-size:12px; margin:0; }

.p24-latest { padding-top:34px; padding-bottom:46px; }
.p24-latest__grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:22px; }
.p24-latest__article { display:grid; grid-template-columns:42% minmax(0,1fr); gap:12px; min-width:0; }

@media (max-width:1150px) {
    .p24-editorial__story { grid-template-columns:1fr; }
    .p24-editorial__image { aspect-ratio:1.8; }
    .p24-kids__layout { grid-template-columns:1fr; }
    .p24-kids__intro h2 br { display:none; }
    .p24-latest__grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width:720px) {
    .p24-editorial__grid { grid-template-columns:1fr; gap:25px; }
    .p24-editorial__column + .p24-editorial__column { border-left:0; border-top:1px solid #e4e4e0; padding-left:0; padding-top:22px; }
    .p24-editorial__story { grid-template-columns:40% minmax(0,1fr); }
    .p24-editorial__image { aspect-ratio:1; }
    .p24-kids__grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .p24-latest__grid { grid-template-columns:1fr; gap:22px; }
    .p24-latest__article { grid-template-columns:35% minmax(0,1fr); }
}

/* =========================================
   PULSI24 - ADVERTISING BANNERS
========================================= */

.p24-top-ad {
    width: 100%;
    padding: 18px 0;
    background: #f7f8f5;
    border-bottom: 1px solid #edf0eb;
    text-align: center;
}

.p24-home-ad {
    margin-top: 36px;
    margin-bottom: 36px;
    text-align: center;
}

.p24-ad-label {
    margin-bottom: 10px;
    color: #929b94;
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.p24-banner-widget {
    width: 100%;
    text-align: center;
}

.p24-banner-widget + .p24-banner-widget {
    margin-top: 20px;
}

.p24-banner-widget a {
    display: inline-block;
    max-width: 100%;
    line-height: 0;
}

.p24-banner-widget figure,
.p24-banner-widget .wp-block-image {
    margin: 0;
}

/* !important overrides inline sizes WordPress adds to image blocks */
.p24-banner-widget img {
    display: block;
    width: 100% !important;
    height: 150px !important;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .p24-top-ad {
        padding: 12px 0;
    }

    .p24-home-ad {
        margin-top: 26px;
        margin-bottom: 26px;
    }
}

/* =========================================
   PULSI24 - 404 PAGE
========================================= */

.p24-error-page {
    min-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    padding-bottom: 100px;
}

.p24-error-content {
    width: 100%;
    max-width: 600px;
    text-align: center;
}

.p24-error-code {
    display: block;
    font-size: clamp(100px, 15vw, 180px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -8px;
    color: #e4e9e6;
    margin-bottom: 20px;
}

.p24-error-content h1 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 18px;
}

.p24-error-content > p {
    font-size: 17px;
    line-height: 1.8;
    color: #6b7280;
    margin-bottom: 32px;
}

.p24-error-actions {
    display: flex;
    justify-content: center;
}

.p24-error-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 26px;
    background: #192e27;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    transition: background .2s ease, transform .2s ease;
}

.p24-error-button:hover {
    background: #315443;
    color: #fff;
    transform: translateY(-2px);
}

.p24-error-search {
    margin-top: 55px;
    padding-top: 35px;
    border-top: 1px solid #e5e7eb;
}

.p24-error-search h2 {
    font-size: 18px;
    margin-bottom: 20px;
}

/* 404 search - same design as homepage */
.p24-error-search .search-form {
    margin: 0 auto;
}