/*
Theme Name: WiseUpKids Live
Theme URI: https://wiseupkids.co.uk
Author: Third Option Group Ltd
Description: Safe development rebuild theme for WiseUpKids.
Version: 1.0
Text Domain: wiseupkids-live
*/

/*=========================================
   GET CURIOUS PAGE
===========================================*/

.article-item a {
    text-decoration: underline;
}

.article-item a:hover {
    color: #FFC72C;
}

.live-article {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
}

.live-article a {
    display: block;
    background: #fff7d6;
    border: 2px solid #ffc72c;
    border-radius: 14px;
    padding: 14px 16px;
    color: #061b33;
    text-decoration: none;
    box-shadow: 0 4px 0 rgba(0,0,0,0.08);
}

.live-article a:hover,
.live-article a:focus {
    background: #ffc72c;
    color: #061b33;
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

.article-status {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: #061b33;
    color: #ffc72c;
    padding: 4px 8px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.article-title {
    display: block;
    font-weight: 800;
    line-height: 1.35;
}

.article-cta {
    display: block;
    margin-top: 8px;
    font-weight: 800;
    text-decoration: underline;
}

.wpforms-field-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: #061b33;
    color: #ffc72c;
    padding: 4px 8px;
    border-radius: 999px;
    margin-bottom: 8px;
}

/* ==========================================
   WISEUPKIDS ARTICLE STYLING
========================================== */

.wuk-post {
    max-width: 1250px;
    margin: 0 auto;
    padding: 56px 40px 90px;
}

.wuk-post h1 {
    max-width: 980px;
    font-size: clamp(2.1rem, 3.6vw, 3.35rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin: 0 0 22px;
    color: #ffffff;
}

.wuk-title-yellow {
    color: #FFC72C;
}

.wuk-text-highlights {
    font-weight: 600;
}

.wuk-post-meta {
    color: rgba(255,255,255,0.76);
    font-size: 1rem;
    margin-bottom: 34px;
}

.wuk-article {
    max-width: 1120px;
}

/* Hero */

.wuk-article-hero {
    max-width: 1120px;
    position: relative;
    margin-bottom: 38px;
}

.wuk-hero-image {
    max-width: 1120px;
    position: relative;
    margin: 0;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 18px 45px rgba(0,0,0,0.24);
    background: rgba(255,255,255,0.04);
}

.wuk-hero-image img {
    display: block;
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.wuk-floating-news-card {
    position: absolute;
    top: 28px;
    left: 28px;
    z-index: 5;
    max-width: 390px;
    background: rgba(6,27,54,0.95);
    border: 1px solid rgba(255,199,44,0.45);
    border-radius: 18px;
    padding: 20px 22px;
    box-shadow: 0 14px 34px rgba(0,0,0,0.36);
}

.wuk-news-pill {
    display: inline-block;
    background: #FFC72C;
    color: #061b36;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.76rem;
    padding: 7px 14px;
    border-radius: 999px;
    margin-bottom: 13px;
}

.wuk-hero-kicker {
    max-width: 340px;
    color: #ffffff;
    font-size: 0.92rem;
    line-height: 1.7;
    font-weight: 500;
    margin: 0;
}

.wuk-image-caption {
    max-width: 900px;
    text-align: center;
    color: rgba(255,255,255,0.78);
    font-size: 0.9rem;
    line-height: 1.55;
    font-style: italic;
    margin: 16px auto 0;
}

/* Article paper */

.wuk-article-paper {
    max-width: 1120px;
    background: #ffffff;
    color: #061b36;
    border-radius: 26px;
    padding: 0;
    margin: 44px 0 0;
    overflow: hidden;
    box-shadow: 0 22px 60px rgba(0,0,0,0.24);
    border: 1px solid rgba(255,255,255,0.2);
}

.wuk-editorial-section {
    padding: 18px 56px;
}

.wuk-opening-section {
    padding-top: 52px;
}

.wuk-soft-section {
    background: #f5f8fc;
    border-top: 1px solid #e0e9f3;
    border-bottom: 1px solid #e0e9f3;
}

/* Prose */

.wuk-prose {
    max-width: 1000px;
}

.wuk-prose p,
.wuk-article-paper p {
    color: #061b36;
    font-size: 1.06rem;
    line-height: 1.72;
    margin: 0 0 20px;
    text-align: left;
}

.wuk-prose-columns {
    column-count: 2;
    column-gap: 46px;
    max-width: 1000px;
}

.wuk-prose-columns p {
    break-inside: avoid;
}

.wuk-article-intro {
    max-width: 960px;
    font-size: clamp(1.24rem, 2vw, 1.48rem) !important;
    line-height: 1.48 !important;
    color: #061b36 !important;
    font-weight: 550;
    margin-bottom: 26px !important;
    text-align: center;
}

/* Question callout */

.wuk-question-stack {
    max-width: 1000px;
    margin: 36px 0 0;
    padding: 8px 0 8px 24px;
    border-left: 6px solid #FFC72C;
}

.wuk-question-stack p {
    max-width: 920px;
    color: #061b36;
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    line-height: 1.32;
    font-weight: 600;
    margin: 0 0 18px;
}

.wuk-question-stack p:last-child {
    margin-bottom: 0;
}

/* Two column cards */

.wuk-two-column {
    max-width: 1000px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin: 0 0 36px;
}

.wuk-two-column > div {
    background: #061b36;
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 12px 28px rgba(6,27,54,0.16);
}

.wuk-two-column h2 {
    color: #FFC72C;
    font-size: 1.45rem;
    line-height: 1.2;
    margin: 0 0 12px;
}

.wuk-two-column p {
    color: #ffffff;
    max-width: none;
    margin-bottom: 0;
}

/* Highlight section */

.wuk-highlight {
    background: #061b36;
    border-left: 8px solid #FFC72C;
    color: #ffffff;
    padding: 32px 56px;
    font-size: 1.15rem;
    line-height: 1.58;
    font-weight: 650;
}

.wuk-highlight p {
    color: #ffffff;
}

/* Article headings */

.wuk-article-paper h2 {
    max-width: 1000px;
    color: #FFC72C;
    font-size: clamp(1.65rem, 2.8vw, 2.15rem);
    line-height: 1.18;
    margin: 0 0 26px;
    letter-spacing: -0.02em;
}

.wuk-questions-section h2 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Magazine question cards */

.wuk-question-card-grid {
    max-width: 1000px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.wuk-question-card {
    background: #061b36;
    border: 1px solid rgba(255,199,44,0.28);
    border-radius: 16px;
    padding: 22px 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    box-shadow: 0 10px 24px rgba(6,27,54,0.16);
}

.wuk-question-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #FFC72C;
    color: #061b36;
    font-weight: 900;
    font-size: 0.95rem;
}

.wuk-question-card p {
    color: #ffffff;
    font-size: 1.08rem;
    line-height: 1.38;
    font-weight: 600;
    margin: 6px 0 0;
}

.wuk-question-card-wide {
    grid-column: 1 / -1;
}

/* Closing box */

.wuk-closing-box {
    margin: 8px 56px 56px;
    padding: 32px 34px;
    border-radius: 20px;
    background: #FFC72C;
    color: #061b36;
    text-align: center;
    box-shadow: 0 14px 34px rgba(6,27,54,0.18);
}

.wuk-closing-box p {
    max-width: 860px;
    color: #061b36;
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
    line-height: 1.32;
    font-weight: 900;
    margin: 0 auto 10px;
    text-align: center;
}

.wuk-closing-box p:last-child {
    margin-bottom: 0;
}

/* ==========================================
   ARTICLE RESOURCE CARDS
========================================== */

.wuk-related-resources {
    max-width: 1000px;
    margin: 50px auto 0;
}

.wuk-related-resources-head {
    margin-bottom: 20px;
}

.wuk-section-tag {
    display: inline-block;
    background: #061b36;
    color: #ffc72c;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 8px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.wuk-related-resources h2 {
    color: #ffffff;
    font-size: 2rem;
    line-height: 1.2;
    margin: 12px 0 0;
}

.wuk-resource-mini-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.wuk-resource-mini-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform .2s ease;
}

.wuk-resource-mini-card:hover {
    transform: translateY(-4px);
}

.wuk-resource-mini-card img {
    width: 100%;
    height: 155px;
    object-fit: cover;
    border-radius: 18px;
    display: block;
    margin-bottom: 12px;
    box-shadow: 0 10px 24px rgba(0,0,0,.25);
}

.wuk-mini-tag {
    display: inline-block;
    background: #ffc72c;
    color: #061b36;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 5px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.wuk-resource-mini-card h3 {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.35;
    margin: 0;
    font-weight: 700;
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 900px) {
    .wuk-resource-mini-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .wuk-post {
        padding: 36px 18px 72px;
    }

    .wuk-post h1 {
        font-size: 2.05rem;
        line-height: 1.14;
    }

    .wuk-post-meta {
        margin-bottom: 26px;
    }

    .wuk-article-hero {
        margin-bottom: 34px;
    }

    .wuk-hero-image {
        border-radius: 18px;
    }

    .wuk-hero-image img {
        height: 320px;
    }

    .wuk-floating-news-card {
        position: absolute;
        top: 18px;
        left: 18px;
        right: 18px;
        max-width: none;
        padding: 18px;
        border-radius: 16px;
    }

    .wuk-hero-kicker {
        max-width: none;
        font-size: 0.98rem;
        line-height: 1.5;
    }

    .wuk-image-caption {
        font-size: 0.88rem;
        margin-top: 16px;
    }

    .wuk-article-paper {
        border-radius: 20px;
        margin-top: 34px;
    }

    .wuk-editorial-section {
        padding: 30px 22px;
    }

    .wuk-opening-section {
        padding-top: 34px;
    }

    .wuk-prose,
    .wuk-prose-columns {
        max-width: none;
        column-count: 1;
    }

    .wuk-prose p,
    .wuk-article-paper p {
        font-size: 1rem;
        line-height: 1.68;
    }

    .wuk-article-intro {
        font-size: 1.22rem !important;
        line-height: 1.48 !important;
    }

    .wuk-question-stack {
        padding-left: 18px;
        margin: 30px 0 0;
    }

    .wuk-question-stack p {
        font-size: 1.18rem;
    }

    .wuk-two-column {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .wuk-two-column > div {
        padding: 22px;
    }

    .wuk-highlight {
        padding: 24px 22px;
        font-size: 1.05rem;
    }

    .wuk-article-paper h2 {
        font-size: 1.65rem;
    }

    .wuk-question-card-grid {
        grid-template-columns: 1fr;
    }

    .wuk-question-card-wide {
        grid-column: auto;
    }

    .wuk-question-card {
        padding: 18px;
    }

    .wuk-closing-box {
        margin: 6px 22px 34px;
        padding: 26px 20px;
    }
}

@media (max-width: 600px) {
    .wuk-resource-mini-grid {
        grid-template-columns: 1fr;
    }

    .wuk-resource-mini-card img {
        height: 220px;
    }

    .wuk-related-resources h2 {
        font-size: 1.6rem;
    }
}/* ==========================================
   ARTICLE RESOURCE IMAGE CAROUSEL
========================================== */

.wuk-resource-carousel {
    max-width: 1120px;
    margin: 48px auto 20px;
}

.wuk-resource-carousel h2 {
    color: #ffffff;
    font-size: 1.55rem;
    margin: 0 0 22px;
}

.wuk-resource-scroll {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 8px 4px 22px;
    scrollbar-width: thin;
    scrollbar-color: #ffc72c #061b36;
}

.wuk-resource-scroll::-webkit-scrollbar {
    height: 10px;
}

.wuk-resource-scroll::-webkit-scrollbar-track {
    background: #061b36;
    border-radius: 999px;
}

.wuk-resource-scroll::-webkit-scrollbar-thumb {
    background: #ffc72c;
    border-radius: 999px;
}

.wuk-resource-image-card {
    position: relative;
    flex: 0 0 calc((100% - 44px) / 3);
    min-width: 280px;
    aspect-ratio: 4 / 3;
    border: 2px solid #ffc72c;
    border-radius: 20px;
    overflow: visible;
    background: #ffffff;
    text-decoration: none;
    scroll-snap-align: start;
    box-shadow: 0 14px 34px rgba(0,0,0,0.26);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wuk-resource-image-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 42px rgba(0,0,0,0.34);
}

.wuk-resource-image-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 18px;
}

.wuk-resource-label {
    position: absolute;
    top: -16px;
    right: 18px;
    z-index: 4;
    display: inline-block;
    background: #ffc72c;
    color: #004b9b;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 7px 18px;
    border-radius: 999px;
    transform: rotate(-4deg);
    box-shadow: 0 5px 12px rgba(0,0,0,0.22);
}

/* Tablet */

@media (max-width: 900px) {
    .wuk-resource-image-card {
        flex-basis: calc((100% - 22px) / 2);
    }
}

/* Mobile */

@media (max-width: 600px) {
    .wuk-resource-carousel {
        margin-top: 38px;
    }

    .wuk-resource-image-card {
        flex-basis: 82%;
        min-width: 260px;
    }

    .wuk-resource-carousel h2 {
        font-size: 1.35rem;
    }
}