/* -------------------------------------------------- */
/* HEADER STYLES (site title, nav lines, social icons) */
/* -------------------------------------------------- */

/* Container for the site title */
.site-header {
    position: relative;
    padding-bottom: 0; /* space between title and first line */
}

/* Line under the site title and above the menu */
.site-header::after {
    content: "";
    display: block;
    width: 100%;
    height: 0.5px;
    background-color: #dcdcdc;
    position: absolute;
    bottom: 0;
    left: 0;
}

/* Position of main navigation */
.main-navigation {
    margin-top: 0;
    position: relative;
    padding-bottom: 0; /* space between menu and its line */
}

/* Line under the menu */
.main-navigation::after {
    content: "";
    display: block;
    width: 100%;
    height: 0.5px;
    background-color: #dcdcdc;
    position: absolute;
    bottom: 0;
    left: 0;
}

/* Header right-side widget with social icons */
.header-widget {
    position: absolute;
    right: 0;
    top: 10%;
    margin-top: 10px;
}

.simple-social-icons {
    display: flex;
    justify-content: flex-end;
}

.simple-social-icons ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.simple-social-icons li {
    margin-left: 10px;
}

.simple-social-icons a {
    text-decoration: none;
}

/* Hide the social icon row under the site title on phone + iPad portrait ONLY */
@media (max-width: 900px) {
    .site-header .header-widget {
        display: none !important;
    }
}

/* Show them again on iPad landscape / desktop */
@media (min-width: 901px) {
    .site-header .header-widget {
        display: block !important;
    }
}

/* Fluid site title sizing (desktop safe, mobile tidy) */
.site-branding .site-title,
.site-branding .site-title a,
.main-title,
.site-logo-text a {
    /* Desktop caps at ~44px, phones won't drop below 24px */
    font-size: clamp(24px, 5.2vw, 44px) !important;
    line-height: 1.15;
    letter-spacing: -0.01em; /* tiny optical tighten */
    margin: 10px 0 12px; /* subtle breathing room */
    text-decoration: none;
}

/* Optional: keep the wordmark centered on small screens */
@media (max-width: 900px) {
    .site-branding {
        text-align: center;
    }

    .site-branding .site-title {
        margin: 12px 0 10px;
    }
}

/* Optional micro-tweak for very small phones */
@media (max-width: 480px) {
    .site-branding .site-title {
        letter-spacing: -0.005em;
    }
}

/* Container size for sidebar search */
.tvp-search-box {
    max-width: 280px; /* make the whole widget narrower */
    width: 100%;
    margin: 0 auto 24px; /* center it inside the sidebar */
}

/* Form layout */
.tvp-search-box form {
    display: flex;
    align-items: center;
    width: 100%;
    border-radius: 12px; /* soft corners around the whole group */
}

/* Input field */
.tvp-search-box input[type="search"] {
    flex: 1;
    padding: 10px 14px; /* slightly smaller height */
    border: 1px solid #08283d;
    border-radius: 12px 0 0 12px;
    background-color: #ffffff;
    font-size: 14px; /* a bit smaller than before */
    outline: none;
}

/* Blue button */
.tvp-search-box button {
    padding: 0 28px; /* you can push this to 30–32px if you want it chunkier */
    background-color: #08283d;
    border: none;
    border-radius: 0 12px 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 43px; /* slightly taller */
}

/* White magnifying glass icon */
.tvp-search-box button::before {
    content: "";
    width: 18px;
    height: 18px;
    display: inline-block;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='6' stroke='%23FFFFFF' stroke-width='2' fill='none'/%3E%3Cline x1='15' y1='15' x2='20' y2='20' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* Hover state */
.tvp-search-box button:hover {
    background-color: #122945;
}



/* -------------------------------- */
/* HOMEPAGE INTRO   */
/* -------------------------------- */
.homepage-intro {
    text-align: left;
    font-size: 13px;
    color: #777;
    max-width: 1400px;
    margin: 10px auto 18px;
    padding: 0 20px 0 60px;
    line-height: 1.6;
    box-sizing: border-box;
}




/* -------------------------------- */
/* LATEST STORIES — CLEAN DIVIDER   */
/* -------------------------------- */

.latest-stories-heading {
    text-align: center;
    margin: 30px auto 35px; /* more space above & below */
    padding: 12px 0;
    border-top: 2px solid #446197;
    border-bottom: 2px solid #446197;
    max-width: 1400px;
}

.latest-stories-heading h2 {
    font-size: 20px;
    font-weight: 700;
    color: #dc143c;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0;
}

/* -------------------------------------------------- */
/* CONTENT AREA / BLOG LIST LAYOUT                    */
/* -------------------------------------------------- */

/* Right-hand divider line for content on desktop layouts */
@media (min-width: 901px) {
    .blog .site-main {
        border-right: 1px solid #e8e8e8;
        padding-right: 20px;
    }

    .right-sidebar .site-main {
        border-right: 1px solid #ddd;
        padding-right: 20px;
    }
}

/* Style the page title block (pages, not posts) */
.page-title {
    background-color: #ffffff;
    color: #373838;
    font-size: 33px;
    padding: 32px;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
    border-bottom: 20px solid #ffffff;
}

.page-header {
    margin-bottom: 0;
}

/* Meta styling under posts in the blog list */
.post-meta {
    margin-top: 50px;
    font-size: 10px;
}

.post-meta .post-date {
    color: #828282;
    font-size: 16px;
}

.post-meta .post-author {
    color: #828282;
    font-size: 16px;
}

.post-meta .post-category {
    color: #446197;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Smaller blog meta on iPad landscape + desktop */
@media (min-width: 901px) {
    .blog .post-meta {
        margin-top: 65px;
        font-size: 11px;
        line-height: 1.3;
    }

    .blog .post-meta .post-date,
    .blog .post-meta .post-author,
    .blog .post-meta .post-category {
        font-size: 13px;
        line-height: 1.3;
    }
}

/* Divider between posts in the main feed */
.blog .site-main .type-post {
    border-bottom: 1px solid #e8e8e8;
    padding-bottom: 0;
    margin-bottom: 30px;
}

.blog .site-main .type-post:last-child {
    border-bottom: none;
}

/* -------------------------------------------------- */
/* NEW HOMEPAGE HERO BLOCK                            */
/* (Latest big story on left, 3 recent stories on right) */
/* -------------------------------------------------- */

.hero-section {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 60px; /* more space between left column and right column */
    max-width: 1400px; /* stretch hero across more of the viewport */
    min-height: 700px; /* give the hero band real vertical presence */
    margin: 70px auto 0; /* push it down from the header and add bottom spacing */
    padding-left: 60px; /* align visually with site title/nav on the left */
    box-sizing: border-box;
}

.hero-meta p {
    margin: 1px 0; /* still breathable but compact */
}

.side-posts-container {
    display: flex;
    flex-direction: column;
    width: 600px; /* widened so text isn't squeezed */
    gap: 15px;
}

.side-post {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px;
    border: 1px solid #e8e8e8;
    background: #fff;
    padding: 10px 10px;
    box-sizing: border-box;
    width: 100%;
    transition: border-color 0.2s ease-in-out;
}

.side-post img {
    width: 300px;
    height: 169px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 2px;
    display: block;
}

.side-post-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    max-width: 100%;
}

.side-post-text h3 {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 6px;
}

.side-post-text h3 a {
    color: #373838;
    text-decoration: none;
}

.side-post-text h3 a:hover {
    color: #dc143c;
}

.side-post-text .post-category a {
    color: #446197;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-decoration: none;
}

.side-post-text .post-category a:hover {
    color: #dc143c;
}

.hero-left img {
    width: 704px;
    max-width: 100%;
    height: 396px;
    object-fit: cover;
    display: block;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* Keep hero title, excerpt, and meta within the same width as the image */
.hero-left-text {
    max-width: 704px;
}

.hero-left-text h2 {
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
    margin: 0 0 10px;
}

.hero-excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin: 0 0 15px;
}

.hero-meta {
    font-size: 13px;
    color: #828282;
}

/* Make MOVIES / SERIES / etc. all caps and bold in hero section */
.hero-cat a {
    color: #446197;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    text-decoration: none;
}

.hero-cat a:hover {
    color: #dc143c;
}

/* Force hero title link to match regular post titles */
.hero-left-text h2 a,
.hero-left-text h2 a:visited {
    color: #373838;
    text-decoration: none;
}

.hero-left-text h2 a:hover {
    color: #dc143c;
    text-decoration: none;
}

/* ---------------------------------------- */
/* HOMEPAGE PLATFORM STRIPS                 */
/* ---------------------------------------- */

.platform-strip {
    padding: 41px 20px 28px;
    margin: 0 0 40px 0;
}

.platform-strip-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.platform-strip-title {
    margin: 0 0 24px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
}

/* Netflix */
.platform-strip--netflix {
    background-color: #08283d;
    color: #fff;
}

.platform-strip--netflix .platform-strip-title,
.platform-strip--netflix .recent-post,
.platform-strip--netflix .recent-post h3 {
    color: #fff;
}

.platform-strip--netflix .recent-post .post-category a {
    color: #4295ae;
}

/* Apple */
.platform-strip--apple {
    background-color: #dfeaf1;
    color: #373838;
}

.platform-strip--apple .platform-strip-title,
.platform-strip--apple .recent-post,
.platform-strip--apple .recent-post h3 {
    color: #373838;
}

.platform-strip--apple .recent-post .post-category a {
    color: #446197;
}

/* Shared cards */
.recent-posts-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 24px;
    text-align: center;
    align-items: flex-start;
}

.recent-post {
    flex: 1 1 418px;
    max-width: 418px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 0;
    padding-bottom: 0;
}

.recent-post a {
    color: inherit;
    text-decoration: none;
}

.recent-post img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 4px;
    object-fit: cover;
    display: block;
    margin: 0 auto 16px auto;
}

.recent-post h3 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 8px 0;
}

.recent-post h3 a:hover,
.recent-post .post-category a:hover {
    color: #dc143c;
}

.recent-post .post-category a {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    display: inline-block;
    margin-top: 6px;
}

.header-separator {
    width: 100%;
    height: 1px;
    background: #dcdcdc;
    margin-top: 12px;
    margin-bottom: 40px;
}

/* Tablet */
@media (min-width: 901px) and (max-width: 1024px) {
    .recent-posts-container {
        align-items: flex-start;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .platform-strip {
        padding: 26px 16px 24px !important;
    }

    .platform-strip-title {
        font-size: 20px;
        margin-bottom: 18px;
        text-align: left;
    }

    .recent-posts-container {
        display: block !important;
        margin: 0 auto !important;
        padding: 0 !important;
        max-width: 100% !important;
    }

    .recent-post {
        display: block !important;
        flex: none !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 0 12px 0 !important;
        padding: 0 !important;
    }

    .recent-post:last-child {
        margin-bottom: 0 !important;
    }

    .recent-post img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
        object-fit: cover !important;
        margin: 0 0 8px 0 !important;
    }

    .recent-post h3 {
        font-size: 16px !important;
        line-height: 1.35 !important;
        margin: 0 0 4px 0 !important;
    }

    .recent-post .post-category a {
        font-size: 12px !important;
        margin-top: 2px !important;
    }
}

/* ---------------------------------------- */
/* EDITOR'S PICKS                           */
/* ---------------------------------------- */

.editors-picks {
    background: #ffffff;
    padding: 60px 20px 34px; /* slightly more bottom space */
}

.editors-picks-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.editors-picks-title {
    text-align: center;
    color: #dc143c;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.1em; /* slightly increased */
    text-transform: uppercase;
    margin: 0 0 36px; /* more breathing room */
}

.editors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px; /* slightly more balanced */
    align-items: start;
}

.pick {
    text-align: left;
}

.pick-image-link {
    display: block;
    margin-bottom: 16px; /* more space under image */
}

.pick-image-link img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.pick-title {
    font-size: 20px;
    line-height: 1.32; /* slightly improved readability */
    font-weight: 700;
    margin: 0;
}

.pick-title a {
    color: #373838;
    text-decoration: none;
    transition: color 0.2s ease;
}

.pick-title a:hover {
    color: #dc143c;
}

@media (max-width: 1024px) {
    .editors-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .pick-title {
        font-size: 16px;
        line-height: 1.28;
    }

    .pick-image-link {
        margin-bottom: 12px;
    }
}

@media (max-width: 768px) {
    .editors-picks {
        padding: 36px 16px 22px; /* slightly more top space */
    }

    .editors-picks-title {
        font-size: 16px;
        margin-bottom: 24px;
    }

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

    .pick-image-link {
        margin-bottom: 14px;
    }

    .pick-title {
        font-size: 17px;
        line-height: 1.3;
    }
}

/* -------------------------------------------------- */
/* SINGLE POST META / TAG SECTION                     */
/* -------------------------------------------------- */

/* Style the date, author, and category under the single post title */
/* TOP meta under title */
.single .entry-meta {
    border-bottom: 3px solid #dc143c;
    padding-bottom: 15px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #828282;
    font-weight: bold;
}

.single .entry-meta .posted-on,
.single .entry-meta .byline,
.single .entry-meta .cat-links {
    display: block;
}

/* Separator line above tag section */
.post-separator {
    margin-top: 20px;
    border-top: 3px solid #dc143c;
    width: 100%;
}

/* Tag section block under posts */
.tags-section {
    margin-top: 20px;
    padding: 0;
    background-color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 5px;
}

.tags-section h3 {
    font-size: 14px;
    margin-bottom: 6px;
    color: #333;
    font-weight: 600;
}

.post-tags {
    list-style: none;
    padding: 0;
    margin: 0;
}

.post-tags li {
    display: inline-block;
    margin: 3px 4px 3px 0;
    padding: 3px 8px;
    background-color: #eee;
    border-radius: 4px;
    font-size: 13px;
}

.post-tags a {
    text-decoration: none;
    color: #0073aa;
}

.post-tags a:hover {
    color: #dc143c;
}

/* -------------------------------- */
/* BLOCKQUOTE — CLEAN EDITORIAL     */
/* -------------------------------- */

blockquote,
.wp-block-quote,
.wp-block-quote blockquote {
    position: relative;
    margin: 1.5rem 0;
    padding: 1.2rem 1.4rem;
    background: #f1f2f4;
    border-left: 4px solid #446197;
    border-radius: 4px;
}

/* Paragraph text inside quote */
blockquote p,
.wp-block-quote p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.5;
    font-weight: 450;
    color: #222;
}

/* Optional: citation / source */
blockquote cite,
.wp-block-quote cite {
    display: block;
    margin-top: 0.6rem;
    font-size: 0.9rem;
    color: #666;
    font-style: normal;
}

/* -------------------------------------------------- */
/* RESPONSIVE LAYOUT (TABLET / MOBILE)                */
/* -------------------------------------------------- */

/* Shared tablet header layout */
@media (min-width: 768px) and (max-width: 1024px) {
    .site-header {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .site-header .site-branding {
        order: 1;
        width: 100%;
        text-align: center;
    }

    .site-header .header-widget {
        order: 2;
        width: 100%;
        text-align: center;
        margin-top: 10px;
        position: static;
    }

    .simple-social-icons {
        justify-content: center;
    }

    .simple-social-icons li {
        margin-left: 5px;
    }

    .simple-social-icons a {
        font-size: 14px;
    }

    .main-navigation {
        order: 3;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 1024px) {
    .hero-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 36px;
        max-width: 700px;
        min-height: auto;
        margin: 40px auto 30px;
        padding-left: 0;
        padding-right: 0;
    }

    .hero-left,
    .side-posts-container {
        width: 100%;
        max-width: 100%;
    }

    .hero-left img {
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        margin-bottom: 16px;
    }

    .hero-left-text {
        max-width: 100%;
    }

    .hero-left-text h2 {
        font-size: 20px;
        line-height: 1.3;
    }

    .hero-excerpt {
        font-size: 15px;
        line-height: 1.55;
    }

    .side-posts-container {
        gap: 22px;
    }

    .side-post {
        width: 100%;
        gap: 18px;
        padding: 12px;
        flex-direction: row;
        align-items: flex-start;
        box-sizing: border-box;
    }

    .side-post img {
        width: 205px;
        height: auto;
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }

    .side-post-text h3 {
        font-size: 16px;
        line-height: 1.34;
    }
}

@media (max-width: 600px) {
    .hero-section {
        margin: 30px 15px 30px;
        gap: 28px;
        max-width: none;
    }

    .hero-left-text h2 {
        font-size: 18px;
    }

    .hero-excerpt {
        font-size: 14px;
        line-height: 1.5;
    }

    .side-post {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 12px;
        padding: 12px;
        box-sizing: border-box;
    }

    .side-post img {
        width: 100%;
        height: auto;
    }

    .side-post-text {
        width: 100%;
        max-width: 100%;
        text-align: left;
    }
}

/* Mobile sidebar widget rounding */
@media (max-width: 768px) {
    .inside-right-sidebar .widget {
        margin-bottom: 20px;
    }

    .inside-right-sidebar .widget img,
    .inside-right-sidebar .widget .textwidget,
    .inside-right-sidebar .widget .widget-title {
        border-radius: 15px;
    }
}

/* iPad LANDSCAPE (≈1024 wide in landscape) */
@media (min-width: 901px) and (max-width: 1024px) {
    .main-navigation ul {
        flex-wrap: nowrap;
        justify-content: center;
        column-gap: 20px;
    }

    .site-content {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        flex-wrap: nowrap;
        gap: 24px;
        width: 100%;
        max-width: 1400px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .content-area {
        width: calc(68% - 12px);
        padding: 10px 0;
        margin: 0;
        box-sizing: border-box;
    }

    .sidebar,
    .inside-right-sidebar {
        width: calc(32% - 12px);
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }

    .sidebar .widget,
    .inside-right-sidebar .widget {
        width: 100%;
        max-width: 100%;
        margin-bottom: 20px;
        box-sizing: border-box;
    }

    .sidebar .widget-title,
    .inside-right-sidebar .widget-title {
        font-size: 18px;
    }

    .sidebar .widget ul,
    .inside-right-sidebar .widget ul {
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .sidebar .widget li,
    .inside-right-sidebar .widget li {
        margin-bottom: 20px;
    }

    .sidebar .widget a,
    .inside-right-sidebar .widget a {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    html,
    body,
    #page,
    .site,
    .site-content {
        overflow-x: hidden;
    }
}

/* iPad PORTRAIT (≈768–900px): header stacked, content centered, sidebar under and not huge */
@media (min-width: 768px) and (max-width: 900px) {
    .site-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .content-area {
        width: 100%;
        max-width: 700px;
        padding: 0 16px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .site-main {
        width: 100%;
        max-width: 100%;
    }

    .sidebar,
    .inside-right-sidebar,
    .right-sidebar .inside-right-sidebar {
        width: 100%;
        max-width: 700px;
        padding: 20px 0 0;
        margin: 0 auto;
        box-sizing: border-box;
        display: block;
        float: none !important;
        clear: both;
    }

    .sidebar .widget,
    .inside-right-sidebar .widget,
    .right-sidebar .inside-right-sidebar .widget {
        width: 100%;
        max-width: 420px;
        margin: 0 auto 20px !important;
        box-sizing: border-box;
        overflow: hidden;
    }

    .sidebar .widget > *,
    .inside-right-sidebar .widget > *,
    .right-sidebar .inside-right-sidebar .widget > * {
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .sidebar .widget img,
    .inside-right-sidebar .widget img,
    .right-sidebar .inside-right-sidebar .widget img,
    .sidebar .textwidget img,
    .inside-right-sidebar .textwidget img,
    .widget_media_image img,
    .widget .wp-post-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .widget_media_image,
    .widget_media_image figure,
    .widget_media_image a {
        display: block;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .tvp-search-box {
        width: 100%;
        max-width: 280px;
        margin: 0 auto 24px;
        box-sizing: border-box;
    }

    .tvp-search-box form {
        width: 100%;
        max-width: 100%;
    }

    .tvp-latest-widget,
    .tvp-popular-widget {
        width: 100%;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }
}

@media (max-width: 1024px) {
    .main-navigation .main-nav > ul,
    .main-navigation .menu > ul,
    .main-navigation ul.menu {
        display: none !important;
    }

    .main-navigation .menu-toggle,
    .main-navigation .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: flex-start;
        margin: 10px auto 10px 20px;
        font-size: 14px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.03em;
        border: 1px solid #dcdcdc;
        padding: 8px 14px;
        border-radius: 4px;
        color: #373838;
        background: #fff;
        cursor: pointer;
    }

    .main-navigation {
        display: block !important;
    }

    .main-navigation.toggled ul {
        display: block !important;
        text-align: center;
        background: #fff;
        padding: 10px 0;
    }

    .main-navigation.toggled ul li {
        display: block;
        padding: 8px 0;
    }

    .main-navigation.toggled ul li a {
        color: #373838;
        text-decoration: none;
    }
}

@media (min-width: 1025px) {
    .main-navigation .menu-toggle,
    .main-navigation .mobile-menu-toggle {
        display: none !important;
    }

    .main-navigation {
        text-align: center;
    }

    .main-navigation .inside-navigation {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .main-navigation .main-nav {
        float: none !important;
        display: flex;
        justify-content: center;
        margin: 0 auto;
    }

    .main-navigation .main-nav > ul,
    .main-navigation .menu > ul,
    .main-navigation ul.menu {
        display: flex !important;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
    }
}

/* -------------------------------------------------- */
/* HERO + SIDEBAR IMAGE RULES                         */
/* -------------------------------------------------- */

/* iPad landscape: make hero fluid */
@media (min-width: 901px) and (max-width: 1023px) {
    .hero-left img {
        width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
        display: block;
    }

    .hero-left-text,
    .hero-excerpt,
    .hero-meta {
        max-width: 100% !important;
    }
}

/* Widget and blog list images */
.sidebar .widget img,
.inside-right-sidebar .widget img,
.widget_media_image img,
.widget .wp-post-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
    object-fit: cover;
}

/* Desktop: keep blog-list thumbnails at native width */
@media (min-width: 901px) {
    .blog .post-image {
        width: 366px;
    }

    .blog .post-image img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 4px;
    }
}

.archive .post-image img {
    width: 100% !important;
    height: auto !important;
    display: block;
    border-radius: 4px !important;
}

/* Latest scroller box */
.tvp-latest-title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #dc143c;
}

.tvp-latest-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.tvp-latest-thumb {
    flex: 0 0 113px; /* thumbnail rail */
    width: 113px;
    height: 80px;
    display: block;
    overflow: hidden;
    border-radius: 2px;
}

.tvp-latest-thumb img,
.tvp-thumb-fallback {
    width: 113px !important;
    height: 80px !important;
    object-fit: cover !important;
    display: block !important;
}

.tvp-thumb-fallback {
    background: #f2f2f2;
}

.tvp-latest-text {
    min-width: 0; /* allow text wrap */
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.tvp-latest-link {
    font-size: 14px;
    line-height: 1.3;
    color: #08283d;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* clamp to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tvp-latest-link:hover {
    color: #dc143c;
}

.tvp-latest-date {
    font-size: 12px;
    color: #828282;
}

/* Wrapper: no scrolling here */
.tvp-latest-widget {
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 12px 12px 6px;
    overflow: visible;
    max-height: none;
}

/* Scroll lives on the list */
.tvp-latest-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 420px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
}

/* Force on small screens in case another rule overrides it */
@media (max-width: 600px) {
    .tvp-latest-list {
        max-height: 360px !important;
        overflow-y: auto !important;
    }
}

/* MOST READ (Jetpack) scroller */
.tvp-popular-widget {
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 12px 12px 6px;
    overflow: visible;
    max-height: none;
    margin-top: 20px;
}

.tvp-popular-title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #dc143c;
}

.tvp-popular-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 420px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
}

.tvp-popular-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.tvp-popular-thumb {
    flex: 0 0 113px;
    width: 113px;
    height: 80px;
    display: block;
    overflow: hidden;
    border-radius: 2px;
}

.tvp-popular-thumb img,
.tvp-thumb-fallback {
    width: 113px !important;
    height: 80px !important;
    object-fit: cover !important;
    display: block !important;
}

.tvp-popular-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.tvp-popular-link {
    font-size: 14px;
    line-height: 1.3;
    color: #08283d;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tvp-popular-link:hover {
    color: #dc143c;
}

.tvp-popular-date {
    font-size: 12px;
    color: #828282;
}

/* Keep scroll on phones too */
@media (max-width: 600px) {
    .tvp-popular-list {
        max-height: 360px !important;
        overflow-y: auto !important;
    }
}

/* ================================
   BLOG LIST: iPad portrait (768–900)
   Stacked like phone, keep excerpt
   ================================ */
@media (min-width: 768px) and (max-width: 900px) {
    /* Each post: divider + rhythm */
    .blog .site-main .type-post {
        border-bottom: 1px solid #e6e6e6 !important;
        padding-bottom: 12px !important;
        margin-bottom: 20px !important;
    }

    /* Remove any previous grid and tighten spacing */
    .blog .inside-article {
        display: block !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
        margin: 0 0 12px !important;
    }

    /* Title: slightly smaller and more breathing above the image */
    .blog .inside-article .entry-title {
        font-size: 19.5px !important;
        line-height: 1.28 !important;
        margin: 6px 0 14px !important; /* more space before thumbnail */
    }

    /* Thumbnail wrapper: more space above and below */
    .blog .inside-article .post-image {
        margin: 6px 0 16px !important; /* space between image and excerpt */
        float: none !important;
    }

    /* Thumbnail: moderate height, soft edges */
    .blog .inside-article .post-image img {
        width: 100% !important;
        height: 150px !important;
        object-fit: cover !important;
        display: block !important;
        border-radius: 6px !important;
    }

    /* Excerpt: visible, tidy, and balanced */
    .blog .inside-article .entry-summary,
    .blog .inside-article .entry-content {
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        font-size: 14px !important;
        line-height: 1.5 !important;
        margin: 0 0 10px !important; /* extra breathing under the excerpt */
    }

    /* Meta line (category, date, author): smaller and lighter */
    .blog .inside-article .post-meta {
        font-size: 11px !important;
        line-height: 1.2 !important;
        margin-top: 4px !important;
        opacity: 0.85;
    }

    .blog .inside-article .post-meta .post-category,
    .blog .inside-article .post-meta .post-date,
    .blog .inside-article .post-meta .post-author {
        font-size: 11px !important;
    }

    /* Guard against inline width/height */
    .blog .inside-article .post-image img[width],
    .blog .inside-article .post-image img[height] {
        width: auto !important;
        height: auto !important;
    }
}

/* ================================
   BLOG LIST: Phones (≤600)
   Layout: stacked, compact, consistent spacing
   ================================ */
@media (max-width: 600px) {
    /* Each post: clean divider + rhythm */
    .blog .site-main .type-post {
        border-bottom: 1px solid #dcdcdc !important;
        padding-bottom: 8px !important;
        margin-bottom: 14px !important;
    }

    /* Inside wrapper: minimal padding, compact flow */
    .blog .site-main .inside-article {
        display: block;
        padding-top: 6px !important;
        padding-bottom: 6px !important;
        margin: 0 0 6px !important;
    }

    /* Title: clear hierarchy, slightly larger, readable on small screens */
    .blog .site-main .inside-article .entry-title {
        font-size: 18px !important;
        line-height: 1.3 !important;
        margin: 6px 0 18px !important;
    }

    /* Title hover/tap feedback */
    .blog .site-main .inside-article .entry-title a:hover,
    .blog .site-main .inside-article .entry-title a:active {
        text-decoration: underline;
    }

    .blog .site-main .inside-article a {
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.08);
    }

    /* Thumbnail wrapper: smaller vertical gaps */
    .blog .site-main .inside-article .post-image {
        margin: 4px 0 16px !important;
        float: none !important;
    }

    /* Thumbnail itself: smaller height to fit more stories per screen */
    .blog .site-main .inside-article .post-image img {
        width: 100% !important;
        height: 120px !important;
        object-fit: cover !important;
        display: block !important;
        border-radius: 4px !important;
    }

    /* Remove excerpts completely */
    .blog .site-main .inside-article .entry-summary,
    .blog .site-main .inside-article .entry-content {
        display: none !important;
    }

    /* Meta line (category/date/author): smaller, tighter, lighter */
    .blog .site-main .inside-article .post-meta {
        font-size: 10px !important;
        line-height: 1.2 !important;
        margin-top: 2px !important;
        opacity: 0.8;
    }

    .blog .site-main .inside-article .post-meta .post-category,
    .blog .site-main .inside-article .post-meta .post-date,
    .blog .site-main .inside-article .post-meta .post-author {
        font-size: 10px !important;
    }

    /* Divider fix: last post has no border */
    .blog .site-main .type-post:last-child {
        border-bottom: none !important;
        margin-bottom: 0 !important;
    }

    /* Prevent inline attributes from overriding */
    .blog .inside-article .post-image img[width],
    .blog .inside-article .post-image img[height] {
        width: auto !important;
        height: auto !important;
    }
}

/* iPad Safari: footer not showing on page 1 (repaint + safety) */
@media (min-width: 768px) and (max-width: 1024px) {
    .site-footer,
    .footer-widgets,
    .footer-bar {
        display: block !important;
        visibility: visible !important;
        clear: both !important;
    }

    .site-footer {
        min-height: 10px; /* prevent collapse */
        position: relative;
        transform: translateZ(0); /* force repaint in Safari */
        will-change: transform;
        z-index: 1;
    }

    /* Give the pagination a little room so it won't “trap” the footer */
    .paging-navigation,
    .nav-links {
        margin-bottom: 20px !important;
    }

    .footer-widgets {
        padding-top: 1px; /* tiny nudge = new paint layer */
    }
}

/* iPad landscape: lock hero to old 652×367 and keep text aligned */
@media screen and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) and (min-width: 1024px) and (max-width: 1366px) {
    .hero-section .hero-left img {
        width: 652px !important;
        height: auto !important;
        aspect-ratio: 652 / 367 !important;
        object-fit: cover !important;
        display: block;
    }

    .hero-section .hero-left-text,
    .hero-section .hero-excerpt,
    .hero-section .hero-meta {
        max-width: 652px !important;
    }

    /* Keep the two columns behaving */
    .hero-section {
        align-items: flex-start !important;
        gap: 60px !important;
    }
}

/* -------------------------------- */
/* ARCHIVE / SEARCH / AUTHOR GRIDS  */
/* -------------------------------- */

:is(.category, .search, .search-results, .author) .sidebar {
    display: none !important;
}

:is(.category, .search, .search-results, .author) #primary,
:is(.category, .search, .search-results, .author) .content-area {
    width: 100%;
    max-width: 100%;
}

:is(.category, .search, .search-results, .author) .site-main {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 22px;
    align-items: start;
    border-right: none;
    padding-right: 0;
}

:is(.category, .search, .search-results, .author) .site-main > .page-header,
:is(.category, .search, .search-results, .author) .paging-navigation,
:is(.category, .search, .search-results, .author) .navigation.pagination,
:is(.category, .search, .search-results, .author) .nav-links {
    grid-column: 1 / -1;
    width: 100%;
}

:is(.category, .search, .search-results, .author) .page-header {
    margin-bottom: 10px;
}

:is(.category, .search, .search-results, .author) .page-header .page-title {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 0;
    font-size: 28px;
    line-height: 1.2;
}

:is(.category, .search, .search-results, .author) .page-header .page-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background-color: #446197;
}

:is(.category, .search, .search-results, .author) article,
:is(.category, .search, .search-results, .author) .type-post,
:is(.category, .search, .search-results, .author) .inside-article {
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
}

:is(.category, .search, .search-results, .author) .inside-article {
    display: flex;
    flex-direction: column;
}

:is(.category, .search, .search-results, .author) .post-image {
    order: 1;
    width: 100%;
    margin: 0 0 10px;
}

:is(.category, .search, .search-results, .author) .entry-header {
    order: 2;
    width: 100%;
    margin: 0;
    padding: 0;
    min-width: 0;
}

:is(.category, .search, .search-results, .author) .post-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
}

:is(.category, .search, .search-results, .author) .entry-title,
:is(.category, .search, .search-results, .author) .entry-title a {
    display: block;
    margin: 0;
    font-size: 20px;
    line-height: 1.25;
    overflow-wrap: anywhere;
    text-decoration: none;
}

/* Hide extra text on grid layouts */
.category .post-category,
.category .post-date,
.category .post-author,
.category .post-meta,
.category .entry-meta,
.category .entry-summary,
.category .entry-content,
.search .entry-summary,
.search-results .entry-summary,
.search .entry-content,
.search-results .entry-content,
.search .post-category,
.search-results .post-category,
.search .post-author,
.search-results .post-author,
.search .archive-description,
.search-results .archive-description,
.author .author-info,
.author .author-description,
.author .archive-description,
.author .page-header p,
.author .post-category,
.author .post-author,
.author .entry-summary,
.author .entry-content,
.author .post-meta {
    display: none !important;
}

/* Search keeps date only */
.search .post-meta,
.search-results .post-meta {
    display: block !important;
    order: 3;
    margin: 6px 0 0;
    font-size: 12px;
    line-height: 1.25;
    color: #828282;
}

.search .post-meta .post-category,
.search-results .post-meta .post-category,
.search .post-meta .post-author,
.search-results .post-meta .post-author {
    display: none !important;
}

.search .post-meta .post-date,
.search-results .post-meta .post-date {
    display: inline !important;
    font-size: 12px;
    color: #828282;
}

@media (min-width: 768px) and (max-width: 900px) {
    :is(.category, .search, .search-results, .author) #primary,
    :is(.category, .search, .search-results, .author) .content-area {
        max-width: 700px;
        margin: 0 auto;
        padding: 0;
        box-sizing: border-box;
    }

    :is(.category, .search, .search-results, .author) .site-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 22px;
    }

    :is(.category, .search, .search-results, .author) .post-image {
        margin: 0 0 8px;
    }

    :is(.category, .search, .search-results, .author) .entry-title,
    :is(.category, .search, .search-results, .author) .entry-title a {
        font-size: 17px;
        line-height: 1.26;
    }

    :is(.category, .search, .search-results, .author) .page-header .page-title {
        font-size: 28px;
    }

    .search .post-meta,
.search-results .post-meta {
    order: 3;
    margin: 4px 0 0;
    font-size: 11px;
    line-height: 1.2;
}
}

@media (max-width: 768px) {
    :is(.category, .search, .search-results, .author) .page-header {
        margin-bottom: 24px;
    }

    :is(.category, .search, .search-results, .author) .page-header .page-title {
        font-size: 24px;
        line-height: 1.2;
        padding-bottom: 12px;
    }

    :is(.category, .search, .search-results, .author) .page-header .page-title::after {
        width: 100%;
    }

    :is(.category, .search, .search-results, .author) .site-main {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    :is(.category, .search, .search-results, .author) .post-image {
        margin-bottom: 12px;
    }

    :is(.category, .search, .search-results, .author) .entry-title,
    :is(.category, .search, .search-results, .author) .entry-title a {
        font-size: 17px;
        line-height: 1.3;
    }
}



/* -------------------------------- */
/* SHARED IMAGE HOVER               */
/* -------------------------------- */

.home article img,
.hero-left img,
.recent-post img,
.side-post img,
.category .site-main .post-image img,
.search .site-main .post-image img,
.search-results .site-main .post-image img,
.author .site-main .post-image img,
.pick img {
    transition: transform 0.25s ease;
}

.home article:hover img,
.hero-left:hover img,
.recent-post:hover img,
.side-post:hover img,
.category .site-main article:hover .post-image img,
.search .site-main article:hover .post-image img,
.search-results .site-main article:hover .post-image img,
.author .site-main article:hover .post-image img,
.pick:hover img {
    transform: scale(1.02);
}



/* -------------------------------- */
/* SINGLE POST TEMPLATE BOUNCE FIX  */
/* -------------------------------- */

@supports selector(html:has(body)) {
    html:has(body.single) {
        overflow-x: hidden;
    }
}

body.single,
body.single #page,
body.single .site,
body.single .site-content {
    overflow-x: hidden;
}