/*
Chill Country Report
Custom CSS Overrides
Author: Madison Wickham
*/

/* ------------------------------
BRAND TOKENS
------------------------------ */

:root {
    --cc-red:    #C23C32;
    --cc-navy:   #002639;
    --cc-peach:  #F3CFB2;
    --cc-brown:  #272c30;
    --cc-salmon: #f3816e;
    --cc-white:  #FFFFFF;
    --cc-max-width: 1200px;
}

/* ------------------------------
GLOBAL
------------------------------ */

/* Anti-FOUC: opacity restored here once this stylesheet is parsed */
html { opacity: 1; transition: opacity 0.15s ease; }

/* Prevent iOS Safari auto-zoom on input focus (requires font-size >= 16px) */
input, textarea, select {
    font-size: 16px;
}

body {
    font-family: "manop-variable", sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: var(--cc-brown);
    background-color: var(--cc-white);
    margin: 0;
}

.container {
    max-width: var(--cc-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* ------------------------------
TYPOGRAPHY
------------------------------ */

h1, h2, h3, h4, h5, h6 {
    font-family: "manop-variable", sans-serif;
    font-variation-settings: "wdth" 50, "wght" 800;
    color: #272c30;
    line-height: 1.2;
    margin-bottom: 0.6em;
}

.entry-header .entry-title,
.editor-post-title__input {
    font-size: 3em;
    line-height: 1.15em;
    color: #272c30;
}

p {
    font-family: "manop-variable", sans-serif;
    font-variation-settings: "wdth" 100, "wght" 400;
    margin-bottom: 1.2em;
}

strong, b {
    font-family: "manop-variable", sans-serif;
    font-variation-settings: "wdth" 100, "wght" 700;
}

a {
    color: var(--cc-red);
    text-decoration: none;
    border-bottom: none;
    box-shadow: none;
}

a:hover {
    text-decoration: none;
    border-bottom: none;
    box-shadow: none;
    color: #1a6bc7;
}

/* Override WP Global Styles inline block that injects link colors after our stylesheet */
body .entry-content a:not(.cc-link-btn):not(.cc-btn),
body .post-content a:not(.cc-link-btn):not(.cc-btn) {
    color: var(--cc-red) !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}
body .entry-content a:not(.cc-link-btn):not(.cc-btn):hover,
body .post-content a:not(.cc-link-btn):not(.cc-btn):hover {
    color: #1a6bc7 !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}
/* Block buttons must stay white — specificity (0,3,2) to beat the red link rule above */
body .entry-content .wp-block-button a.wp-block-button__link,
body .post-content .wp-block-button a.wp-block-button__link,
body .entry-content .wp-block-button a.wp-block-button__link:hover,
body .post-content .wp-block-button a.wp-block-button__link:hover {
    color: var(--cc-white) !important;
}

blockquote {
    border-left: 4px solid var(--cc-red);
    padding-left: 20px;
    color: var(--cc-navy);
    font-variation-settings: "wdth" 80, "wght" 600;
}

/* ------------------------------
SITE HEADER — Band 1: Navy logo bar
------------------------------ */

.site-header {
    background: transparent;
    border-bottom: none;
    padding: 0;
    box-shadow: none;
    width: 100%;
    display: block;
}

/* Hide the old top-navigation wrapper entirely */
.top-navigation {
    display: none !important;
}

/* Navy logo band — matches chillcountry.com header-wrapper */
.cc-header-band {
    background-color: var(--cc-navy);
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.149);
    width: 100%;
    display: block;
}

.cc-header-inner {
    max-width: var(--cc-max-width);
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

/* Left: search + mobile toggle */
.cc-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    justify-content: flex-start;
}

/* Center: main logo */
.cc-header-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
}

.cc-main-logo-link {
    display: block;
    padding: 25px 9px; /* exact Shopify values: 25px top/bottom, 9px left/right */
    line-height: 0;
    text-decoration: none;
}

.cc-main-logo {
    width: 250px;
    height: auto;
    display: block;
    transition: transform 0.2s ease;
}

.cc-main-logo-link:hover .cc-main-logo {
    transform: scale(1.08);
}

/* Right: account + cart */
.cc-header-right {
    display: flex;
    align-items: center;
    gap: 22px;
    flex: 1;
    justify-content: flex-end;
}

/* Icon buttons — white, same weight as Shopify */
.cc-icon-btn {
    color: var(--cc-white);
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.2s ease;
    line-height: 0;
}

.cc-icon-btn:hover {
    opacity: 0.75;
    text-decoration: none;
    color: var(--cc-white);
}

.cc-icon-btn svg {
    display: block;
}

.cc-search-btn {
    display: flex;
}

/* Mobile toggle */
.cc-mobile-toggle {
    display: none;
}
.site-header .menu-item-has-children > a::after, .site-header .page_item_has_children > a::after {
    padding: 0 5px;
}
.site-header .menu-item-has-children a, .site-header .page_item_has_children a{
    outline: none;
}
@media (max-width: 990px) {
    /* Header band */
    .cc-header-inner {
        min-height: 80px;
        padding: 0 16px;
    }
    .cc-header-user-link {
        right: 16px;
    }
    .cc-main-logo {
        width: 150px;
    }
    .cc-main-logo-link {
        padding: 14px 0;
    }

    /* Red nav — fit all items on screen */
    .cc-red-nav {
        display: block;
    }
    .cc-red-nav-list {
        padding: 6px 8px !important;
        gap: 0 !important;
        overflow-x: auto;
        justify-content: center !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        flex-wrap: nowrap !important;
    }
    .cc-red-nav-list::-webkit-scrollbar {
        display: none;
    }
    .cc-red-nav-list > li > a {
        font-size: 20px !important;
        padding: 5px 7px !important;
        white-space: nowrap;
        display: inline-block !important;
        line-height: 1.4 !important;
    }

    /* Content */
    body {
        font-size: 16px;
    }
    .blog .entry-title,
    .archive .entry-title,
    .entry-header .entry-title,
    .post-content h1.entry-title {
        font-size: 3em !important;
        line-height: 1 !important;
    }
    #primary {
        max-width: 100%;
    }
    .single .entry-content {
        font-size: 16px;
        max-width: 100%;
    }
    .container,
    #page.container,
    #primary {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* Mobile drawer toggle — use #masthead ID for specificity over block styles */
#masthead .cc-mobile-toggle button,
#masthead .cc-mobile-toggle button:hover,
#masthead .cc-mobile-toggle button:focus,
#masthead .cc-mobile-toggle button:active {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    color: var(--cc-white) !important;
    padding: 8px 12px !important;
    font-family: "manop-variable", sans-serif;
    font-variation-settings: "wdth" 100, "wght" 500;
    font-size: 14px;
    cursor: pointer;
    line-height: 1;
    border-radius: 0 !important;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Mobile drawer — full-width navy, Shopify-style */
.drawer-wrap {
    background: var(--cc-navy);
    border-top: 3px solid var(--cc-red);
    width: 100%;
    left: 0;
    right: 0;
}

.drawer {
    background: var(--cc-navy) !important;
    padding: 0;
}

.drawer-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.drawer-navigation a {
    color: rgba(255, 255, 255, 0.9);
    font-family: "manop-variable", sans-serif;
    font-variation-settings: "wdth" 50, "wght" 600;
    font-size: 20px;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: block;
    text-decoration: none;
}

.drawer-navigation a:hover {
    color: var(--cc-white);
    background-color: rgba(255, 255, 255, 0.07);
    text-decoration: none;
}

/* ------------------------------
SITE HEADER — Band 2: Red nav bar
Exact match to .custom-horizontal-menu on chillcountry.com
------------------------------ */

/* Hide dropdown arrows on nav items */
.cc-red-nav .menu-item-has-children > a::after,
.cc-red-nav .page_item_has_children > a::after {
    display: none !important;
}

.cc-red-nav {
    background-color: #C23C32;
    position: relative;
    z-index: 100;
    width: 100%;
    display: block;
}

/* nav wrapper — padding: 10px 0 matches Shopify exactly (nav renders at 57px tall) */
.cc-red-nav-list {
    max-width: var(--cc-max-width);
    margin: 0 auto;
    padding: 10px 0;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.cc-red-nav-list > li {
    position: relative;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* .menu-link equivalent — exact Shopify values */
.cc-red-nav-list > li > a {
    display: inline; /* matches Shopify — inline means padding/border don't affect line height */
    padding: 4px 8px;
    color: #FFFFFF;
    font-family: "manop-variable", sans-serif;
    font-variation-settings: 'wght' 600, 'wdth' 50;
    font-size: 24.96px; /* exact Shopify computed value (1.3em × 19.2px Shopify base) */
    line-height: 1.5; /* 37.44px — Shopify li height = 37.4375px; nav = 10+37.44+10 = 57.44px */
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 20px;
    transition: color 0.2s ease-in-out, text-decoration 0.2s ease-in-out;
    white-space: nowrap;
}

.cc-red-nav-list > li > a:hover {
    text-decoration: underline;
    color: #FFFFFF;
}

/* Active item (Blog) — underline only, matching Shopify .menu-link.active */
.cc-red-nav-list > li.cc-nav-active > a {
    text-decoration: underline;
    color: #FFFFFF;
}

/* "More" dropdown — red bg matching Shopify .subnav-panel */
.cc-red-nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 180px;
    background-color: #C23C32;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    border-top: 1px solid #df4d41;
    list-style: none;
    margin: 0;
    padding: 10px 0;
    z-index: 200;
}

.cc-nav-more:hover .cc-red-nav-dropdown,
.cc-nav-more:focus-within .cc-red-nav-dropdown {
    display: block;
}

.cc-red-nav-dropdown li {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

/* .subnav-item equivalent */
.cc-red-nav-dropdown li a {
    display: inline-block;
    padding: 8px 10px;
    color: #FFFFFF;
    font-family: "manop-variable", sans-serif;
    font-variation-settings: 'wght' 600, 'wdth' 50;
    font-size: 1em;
    text-decoration: none;
    border-radius: 100px;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    white-space: nowrap;
}

.cc-red-nav-dropdown li a:hover {
    background-color: #FFFFFF;
    color: #C23C32;
    text-decoration: none;
}


/* Keep old .main-navigation hidden since we replaced it */
.main-navigation {
    display: none !important;
}

/* -----------------------------------------------------------------------
   Sub-nav slide-down panel (click-triggered, matches Shopify behavior)
   JS moves .sub-menu out of the nav into a .cc-subnav-panel sibling div
   so it sits in normal document flow and pushes page content down.
----------------------------------------------------------------------- */

/* Hide sub-menus while still inside the nav (before JS moves them to panels).
   Prevents flash of unstyled dropdown content on page load. */
.cc-red-nav-list .sub-menu { display: none; }

/* Indicator arrow on parent items with children */
.cc-red-nav-list > li.menu-item-has-children > a::after {
    content: ' ▾';
    font-size: 0.75em;
    vertical-align: middle;
    display: inline-block;
    transition: transform 0.2s ease;
}

.cc-red-nav-list > li.menu-item-has-children.is-open > a::after {
    transform: rotate(180deg);
}

/* Panel div inserted after .cc-red-nav — in normal flow, pushes page down */
.cc-subnav-panel {
    background-color: #C23C32;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.cc-subnav-panel.is-open {
    max-height: 600px;
}

/* Sub-menu list inside the panel — vertical stack, centered */
.cc-subnav-panel > .sub-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 10px 16px;
}

.cc-subnav-panel > .sub-menu > li {
    list-style: none;
}

.cc-subnav-panel > .sub-menu > li > a {
    display: inline-block;
    padding: 6px 14px;
    color: #FFFFFF;
    font-family: "manop-variable", sans-serif;
    font-variation-settings: 'wght' 600, 'wdth' 50;
    font-size: 1em;
    text-decoration: none;
    border-radius: 100px;
    white-space: nowrap;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.cc-subnav-panel > .sub-menu > li > a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

/* ------------------------------
RED CTA BUTTON IN NAV
------------------------------ */

.main-navigation .menu-cta a,
a.cc-btn,
.cc-btn {
    background-color: var(--cc-red);
    color: var(--cc-white) !important;
    border-radius: 4px;
    padding: 8px 18px !important;
    font-variation-settings: "wdth" 100, "wght" 600;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.2s ease;
    display: inline-block;
    line-height: 1.4;
    margin: 0 !important;
}

.main-navigation .menu-cta a:hover,
a.cc-btn:hover,
.cc-btn:hover {
    background-color: var(--cc-navy);
    color: var(--cc-white) !important;
    text-decoration: none;
}

/* General WP buttons */
.wp-block-button__link,
.button,
.btn {
    background-color: var(--cc-red);
    color: var(--cc-white) !important;
    border-radius: 9999px !important;
    border: none !important;
    font-family: "manop-variable", sans-serif;
    font-variation-settings: "wdth" 100, "wght" 600;
    padding: 12px 24px !important;
    transition: filter 0.2s ease !important;
}

.wp-block-button__link:hover,
.button:hover,
.btn:hover {
    filter: brightness(0.85) !important;
    color: var(--cc-white) !important;
    text-decoration: none !important;
}

/* ------------------------------
MAIN CONTENT AREA
------------------------------ */

/* Override theme's default top padding on #page */
#page,
#page.site {
    padding-top: 0 !important;
    padding-left: 0;
    padding-right: 0;
}

/* Ensure site header sits outside and is full-width */
.site-header {
    width: 100%;
    position: relative;
    z-index: 100;
}

#content.site-content {
    padding-top: 48px;
    padding-bottom: 60px;
}

/* Blog index / archive */
.archive #content.site-content,
#content.site-content {
    padding-top: 20px;
}
.blog #content.site-content {
    padding-top: 0;
}

/* Post list layout */
.post-inner-wrap {
    max-width: 840px;
    margin: 0 auto;
}

/* ------------------------------
BLOG INDEX / ARCHIVE — page background matches Shopify
------------------------------ */

.cc-feed-header {
    text-align: center;
    padding: 48px 0 32px;
}

.cc-feed-logo {
    max-width: 320px;
    width: 100%;
    height: auto;
    display: inline-block;
}

body.blog,
body.archive {
    background-color: var(--cc-white);
}

body.blog #page,
body.archive #page {
    background-color: transparent;
}

body.blog #content,
body.archive #content {
    background-color: transparent;
    padding-top: 40px;
    padding-bottom: 60px;
}

/* Constrain post list width like Shopify */
body.blog #post-wrap,
body.archive #post-wrap {
    max-width: 740px;
    margin: 0 auto;
}

/* ------------------------------
BLOG POST CARDS (archive/index)
------------------------------ */

.blog .hentry,
.archive .hentry {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 56px;
}

/* Featured image — rounded corners matching Shopify --card-corner-radius: 0.8rem */
/* Feed featured image — cropped to 740×460, zoom on hover */
.blog .featured-image,
.archive .featured-image {
    margin-bottom: 20px;
    border-radius: 0.8rem;
    overflow: hidden;
    aspect-ratio: 740 / 460;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.blog .featured-image img,
.archive .featured-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 0.8rem;
    transition: transform 0.4s ease;
}

.blog .featured-image:hover img,
.archive .featured-image:hover img {
    transform: scale(1.04);
}

/* Single post featured image (no crop, no hover effect) */
.single .featured-image {
    margin-bottom: 20px;
    border-radius: 0.8rem;
    overflow: hidden;
}

.single .featured-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.8rem;
}

/* Entry meta — avatar left, name + date stacked right */
.blog .entry-meta,
.archive .entry-meta,
.single .entry-meta {
    font-family: "manop-variable", sans-serif;
    font-size: 17px;
    letter-spacing: 0;
    color: var(--cc-navy);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Avatar — direct child of entry-meta */
.blog .entry-meta > .entry-avatar,
.archive .entry-meta > .entry-avatar,
.single .entry-meta > .entry-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
    border: none;
    outline: none;
}

/* Stack: byline on top, date below */
.entry-meta-stack {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.blog .entry-meta .byline,
.archive .entry-meta .byline,
.single .entry-meta .byline {
    text-transform: none;
    letter-spacing: 0;
    font-variation-settings: "wdth" 100, "wght" 700;
    line-height: 1.2;
}

.blog .entry-meta .byline a,
.archive .entry-meta .byline a,
.single .entry-meta .byline a {
    color: var(--cc-navy) !important;
    text-decoration: none !important;
    font-variation-settings: "wdth" 100, "wght" 700;
}

.blog .entry-meta .byline a:hover,
.archive .entry-meta .byline a:hover,
.single .entry-meta .byline a:hover {
    color: #1a6bc7 !important;
    text-decoration: none !important;
}

.blog .entry-meta .byline a span,
.archive .entry-meta .byline a span,
.single .entry-meta .byline a span {
    border-bottom: none;
}

.blog .entry-meta .posted-on,
.archive .entry-meta .posted-on,
.single .entry-meta .posted-on {
    text-transform: none;
    font-variation-settings: "wdth" 100, "wght" 400;
    font-size: 13px;
    color: rgba(0, 38, 57, 0.6);
    letter-spacing: 0;
    line-height: 1.2;
}
.byline {
    margin-top: 0 !important;
    color: #272c30;
    font-size: 16px !important;
    line-height: 1 !important;
    vertical-align: middle;
}
.byline img {
    vertical-align: middle !important;
}
.byline a {
    padding-bottom: 0;
    border-bottom: none !important;
}
.byline a:hover {
    border-bottom: none !important;
}
.post .entry-header {
    margin-bottom: 0;
}
/* Author avatar in card meta — left of "By Name", same line as date */
.entry-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}

.blog .entry-meta .entry-meta-sep,
.archive .entry-meta .entry-meta-sep,
.single .entry-meta .entry-meta-sep {
    margin: 0 8px;
    font-variation-settings: "wdth" 100, "wght" 400;
}

/* Archive post title */
.blog .entry-title,
.archive .entry-title,
.entry-header .entry-title {
    font-family: "manop-variable", sans-serif;
    font-variation-settings: "wdth" 50, "wght" 800;
    font-size: 3em;
    line-height: 1.1;
    color: var(--cc-navy);
    margin-bottom: 0;
    margin-top: 0;
}

.blog .entry-title a,
.archive .entry-title a {
    color: var(--cc-navy);
    text-decoration: none;
}

.blog .entry-title a:hover,
.archive .entry-title a:hover {
    color: #1a6bc7;
    text-decoration: none;
}
.byline span {
    line-height: 1em;
}
/* Archive excerpt */
.blog .entry-content p,
.archive .entry-content p {
    font-variation-settings: "wdth" 100, "wght" 400;
    font-size: 17px;
    line-height: 1.65;
    color: var(--cc-brown);
    margin-bottom: 0;
}

/* Read more link */
.more-link,
.cc-read-more {
    display: inline-block;
    color: var(--cc-red);
    font-variation-settings: "wdth" 100, "wght" 600;
    font-size: 15px;
    text-decoration: none;
    border-bottom: 2px solid var(--cc-red);
    padding-bottom: 1px;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.more-link:hover,
.cc-read-more:hover {
    color: var(--cc-navy);
    border-bottom-color: var(--cc-navy);
    text-decoration: none;
}
.post-navigation .post-title {
    color: var(--cc-red);
}
nav.navigation.post-navigation {
    margin-top: 30px;
}
/* Post navigation */
.posts-navigation .nav-links a,
.post-navigation .nav-links a {
    color: var(--cc-navy);
    font-variation-settings: "wdth" 100, "wght" 600;
}

.posts-navigation .nav-links a:hover,
.post-navigation .nav-links a:hover {
    color: var(--cc-navy);
    text-decoration: none;
}

/* Prev/Next pagination buttons */
.button.page-numbers,
a.page-numbers {
    background: transparent !important;
    color: var(--cc-navy) !important;
    border: 1px solid rgba(0, 38, 57, 0.2) !important;
    font-variation-settings: "wdth" 100, "wght" 600;
    padding: 8px 16px !important;
    margin: 0 4px;
    border-radius: 4px;
}

a.page-numbers:hover {
    background: var(--cc-red) !important;
    color: var(--cc-white) !important;
    border-color: var(--cc-red) !important;
}

span.page-numbers.current {
    background: var(--cc-red);
    color: var(--cc-white);
    border-radius: 4px;
    padding: 8px 16px;
    font-variation-settings: "wdth" 100, "wght" 600;
    margin: 0 4px;
}
.blog .post:not(:last-of-type), .archive #post-wrap .post:not(:last-of-type), .search .post:not(:last-of-type) {
    margin-bottom: 8%;
    padding-bottom: 0%;
    border-bottom: none;
}

/* ------------------------------
AUTHOR PAGE — FACEBOOK-STYLE HEADER
------------------------------ */

.cc-author-page #primary {
    padding-top: 0;
}

.cc-author-header {
    margin-bottom: 40px;
}

/* Cover photo */
.cc-author-cover {
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: var(--cc-navy);
    border-radius: 10px;
}

.cc-author-cover__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 10px;
}

/* Profile bar — sits below the cover, avatar overlaps upward */
.cc-author-profile-bar {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 0 24px 20px;
    border-bottom: 1px solid rgba(0,38,57,0.1);
    margin-bottom: 32px;
    margin-top: 0;
}

/* Avatar pulls up into the cover photo */
.cc-author-avatar-wrap {
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    margin-top: -75px;
}

.cc-author-avatar-wrap img,
.cc-author-avatar-img {
    width: 150px !important;
    height: 150px !important;
    border-radius: 50% !important;
    border: 4px solid #fff;
    object-fit: cover;
    display: block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

/* Name + bio + links */
.cc-author-identity {
    flex: 1;
    padding-bottom: 4px;
}

.cc-author-name {
    font-size: 2.2m;
    font-variation-settings: "wdth" 100, "wght" 700;
    color: var(--cc-navy);
    margin: 0;
    line-height: 1.2;
}

.cc-author-bio p {
    font-size: 1.5rem;
    color: rgba(0,38,57,0.7);
    margin: 0;
}

/* Link pills */
.cc-author-identity .author-profile-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.author-profile-links a {
    background: transparent !important;
    color: var(--cc-navy) !important;
    border: 1.5px solid var(--cc-navy) !important;
    opacity: 1 !important;
    transition: background 0.15s, color 0.15s !important;
}

.author-profile-links a:hover {
    background: var(--cc-navy) !important;
    color: #ffffff !important;
    opacity: 1 !important;
}

/* Mobile */
@media (max-width: 640px) {
    .cc-author-cover {
        height: 160px;
    }

    .cc-author-profile-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 0 16px 20px;
    }

    .cc-author-avatar-wrap {
        margin-top: -40px;
    }

    .cc-author-avatar-wrap img,
    .cc-author-avatar-img {
        width: 100px !important;
        height: 100px !important;
    }

    .cc-author-identity .author-profile-links {
        justify-content: flex-start;
    }
}

/* ------------------------------
HAVE A CHILL DAY QUOTE BLOCK
------------------------------ */

.cc-chill-day-quote {
    border-top: 2px dashed var(--cc-navy);
    border-bottom: 2px dashed var(--cc-navy);
    padding: 36px 24px;
    margin: 40px 0;
    text-align: center;
}

.cc-chill-day-headline {
    font-family: "manop-variable", sans-serif;
    font-variation-settings: 'wght' 700, 'wdth' 100;
    font-size: 1.4em;
    color: var(--cc-brown);
    margin: 0 0 20px 0;
}

.cc-chill-day-blockquote {
    margin: 0;
    padding: 0;
    border: none;
}

.cc-chill-day-blockquote p {
    font-family: "manop-variable", sans-serif;
    font-variation-settings: 'wght' 500, 'wdth' 100;
    font-size: 1.1em;
    color: var(--cc-navy);
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.cc-chill-day-blockquote cite {
    font-family: "manop-variable", sans-serif;
    font-variation-settings: 'wght' 400, 'wdth' 100;
    font-size: 1em;
    color: var(--cc-navy);
    font-style: normal;
}

/* ------------------------------
SINGLE POST
------------------------------ */

/* Responsive video embeds */
.single .entry-content .wp-block-embed {
        margin: 0 0 1em 0px;
}

.single .entry-content .wp-block-embed__wrapper iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
}

.single .entry-header {
    margin-bottom: 15px;
}

.single .entry-content {
    font-size: 18px;
    line-height: 1.5;
    max-width: 720px;
}

.single .entry-content h2,
.single .entry-content h3 {
    margin-top: 0;
}

.single .entry-content img {
    border-radius: 8px;
}

/* Peach "kicker" bar above article title */
.entry-header .entry-meta {
    margin-bottom: 12px;
    padding-top: 12px;
}

/* Single post author card — fix mobile layout */
.single .author-profile .author-profile-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media (max-width: 600px) {
    .single .author-profile {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 6% 4%;
    }

    .single .author-profile .author-profile-avatar {
        position: static;
        margin-bottom: 16px;
    }

    .single .author-profile .author-profile-avatar img {
        width: 120px !important;
        height: 120px !important;
    }

    .single .author-profile .author-profile-info {
        padding: 0 !important;
        width: 100%;
    }

    .single .author-profile .author-profile-links {
        justify-content: center;
        margin-top: 10px;
    }
}

/* Author bio */
.author-info {
    background: var(--cc-peach);
    border-radius: 8px;
    padding: 28px;
    margin-top: 48px;
}

.author-info .author-description h2 {
    font-size: 1em;
    color: var(--cc-brown);
    margin-bottom: 6px;
}

/* ── Author Bio Card (bottom of single posts) ── */
.cc-author-bio-card {
    margin-top: 30px;
}
.cc-author-bio-heading {
    font-family: 'Cowboy', serif;
    font-size: 3.6rem;
    font-weight: normal;
    color: var(--cc-navy);
    margin: 0 0 14px;
    letter-spacing: 0.02em;
    line-height: 1;
}
.cc-author-bio-hero {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0, 38, 57, 0.1);
    box-shadow: 0 2px 12px rgba(0, 38, 57, 0.07);
}
.cc-author-bio-hero .cc-account-cover {
    border-radius: 0;
}
.cc-author-bio-hero .cc-account-profile-bar {
    background: #fff;
}
.cc-author-bio-avatar-link {
    display: block;
    border-radius: 50%;
}
.cc-author-bio-avatar-link:hover { opacity: 0.85; }
.cc-author-bio-name-link {
    color: inherit;
    text-decoration: none;
}
.cc-author-bio-name-link:hover { color: #1a6bc7; }
.cc-author-bio-all-posts {
    display: inline-block;
    margin-top: 12px;
    font-size: 1.5rem;
    font-variation-settings: "wdth" 100, "wght" 600;
    color: var(--cc-red);
    text-decoration: none;
    letter-spacing: 0.02em;
}
.cc-author-bio-all-posts:hover { text-decoration: underline; }

@media (max-width: 640px) {
    .cc-author-bio-heading { font-size: 2.8rem; }
}
#primary {
    max-width: 700px;
}
.post-content h1.entry-title {
    font-size: 4.5em;
    line-height: 1em;
    margin-bottom: 15px;
}
.cc-header-center img {
    padding: 35px;
}
/* ------------------------------
SIDEBAR / META PANEL
------------------------------ */

.content-meta {
    font-size: 14px;
}

.content-meta .widget-title {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(50, 41, 35, 0.5);
    font-variation-settings: "wdth" 100, "wght" 700;
    margin-bottom: 8px;
}

/* ------------------------------
SITE FOOTER
------------------------------ */

.site-footer {
    background-color: var(--cc-navy);
    color: rgba(255, 255, 255, 0.75);
    padding: 0;
    font-size: 15px;
    line-height: 1.6;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    box-sizing: border-box;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: var(--cc-peach);
    text-decoration: none;
}

/* -----------------------------------------------------------------------
   Three-panel footer illustration
   Endcaps and gate are all flex items in a row. justify-content: center
   keeps the gate centered. When the viewport is narrower than the gate,
   flex overflow clips symmetrically from both sides per the CSS spec.
   On mobile only the center image shows, full-width.
----------------------------------------------------------------------- */

/* Scene: flex row, gate centered */
.cc-footer-scene {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    overflow: hidden;
    background: var(--cc-peach);
    padding-top: 50px;
}

@media (min-width: 768px) {
    .cc-footer-scene {
        min-height: 599px;
    }
}

/* Endcap divs: flex-grow to fill sides, tiling background */
.cc-footer-endcap {
    display: none;
    flex: 1 1 0%;
    min-width: 0;
    background-image: url('../../uploads/2026/03/CCFA-Footer-Illustration-endcap-navy.png');
    background-repeat: repeat-x;
    background-size: auto 100%;
    background-position: right bottom;
}

@media (min-width: 768px) {
    .cc-footer-endcap {
        display: block;
        min-height: 599px;
    }
}

/* Right endcap mirrors left */
.cc-footer-endcap--right {
    transform: scaleX(-1);
}

/* Gate: full viewport width on mobile, natural size on desktop */
.cc-footer-gate {
    display: flex;
    align-items: flex-end;
    flex: 0 0 100%;
    width: 100%;
    min-height: 0;
}

@media (min-width: 768px) {
    .cc-footer-gate {
        flex: 0 0 auto;
        width: auto;
        min-height: 599px;
    }
}

/* Gate images: full height, natural width (desktop default) */
.cc-footer-gate img {
    display: block;
    height: 100%;
    width: auto;
}

/* Side panels inside gate: hidden on mobile — higher specificity beats .cc-footer-gate img */
.cc-footer-gate .cc-footer-gate-left,
.cc-footer-gate .cc-footer-gate-right {
    display: none;
}

@media (min-width: 768px) {
    .cc-footer-gate .cc-footer-gate-left,
    .cc-footer-gate .cc-footer-gate-right {
        display: block;
    }
}

/* Right panel inside gate is mirrored */
.cc-footer-gate .cc-footer-gate-right {
    transform: scaleX(-1);
}

/* Mobile: center image fills full width — higher specificity beats .cc-footer-gate img */
.cc-footer-gate .cc-footer-gate-center {
    width: 100%;
    height: auto;
}

@media (min-width: 768px) {
    .cc-footer-gate .cc-footer-gate-center {
        width: auto;
        height: 100%;
    }
}

/* -----------------------------------------------------------------------
   Email signup bar
----------------------------------------------------------------------- */

@font-face {
    font-family: 'Cowboy';
    src: url('inc/fonts/webfonts/COWBOY.otf') format('opentype'),
         url('inc/fonts/webfonts/COWBOY.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.cc-email-signup {
    background-color: var(--cc-peach);
    padding: 50px 20px 0 20px;
    text-align: center;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    box-sizing: border-box;
}

.cc-email-signup__inner {
    max-width: 900px;
    margin: 0 auto;
}

.cc-email-signup__heading {
    font-family: 'Cowboy', serif;
    font-size: clamp(3rem, 9vw, 5.5rem);
    font-weight: normal;
    text-transform: uppercase;
    color: var(--cc-navy);
    margin: 0 0 12px;
    line-height: 1.0;
    letter-spacing: 0.02em;
}

.cc-email-signup__highlight {
    color: var(--cc-red);
}

.cc-email-signup__subtext {
    font-size: 2.5rem;
    color: var(--cc-navy);
    margin: 0 0 32px;
    opacity: 0.85;
    line-height: 1.2;
}

/* Unified pill: input + button look like one element */
.cc-email-signup__field-wrap {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 400px;
    margin: 0 auto;
    background: #fff;
    border-radius: 50px;
    border: 2px solid var(--cc-navy);
    padding: 0;
    overflow: hidden;
}

.cc-email-signup__input {
    flex: 1 1 auto;
    border: none;
    background: transparent;
    font-size: 1rem;
    color: var(--cc-navy);
    outline: none;
    min-width: 0;
    padding: 14px 8px 14px 22px;
    font-family: inherit;
}

.cc-email-signup__input::placeholder {
    color: #999;
}

.cc-email-signup__submit {
    flex: 0 0 auto;
    border-radius: 0 50px 50px 0;
    width: 60px;
    height: 100%;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.2s;
    margin: 0;
    background: var(--cc-red);
    border-left: solid 2px var(--cc-navy);
    color: #fff;
    padding: 20px 20px 10px 12px !important;
}
input#cc-klaviyo-email {
    border: none;
    outline: none;
    padding-left: 30px;
}

.cc-email-signup__submit svg {
    width: 28px;
    height: 28px;
}

.cc-email-signup__submit:hover {
    color: var(--cc-red);
}

.cc-email-signup__message {
    margin: 14px 0 0;
    font-size: 2.5rem;
    min-height: 1.2em;
    color: var(--cc-navy);
    line-height: 1.2;
}

.cc-email-signup__message--error {
    color: var(--cc-red);
}

/* Main footer columns */
.footer-widgets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 60px 0 40px;
    margin-bottom: 0;
    width: 100%;
}

.footer-widgets .footer-column {
    width: auto;
    float: none;
    padding-top: 0;
    margin-right: 0;
}

.site-footer .widget-title {
    color: var(--cc-white);
    font-family: "manop-variable", sans-serif;
    font-variation-settings: "wdth" 50, "wght" 800;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-widgets ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-widgets ul li {
    padding: 0 0 10px 0;
    border-bottom: none;
}

.footer-widgets ul li:last-child {
    padding-bottom: 0;
}

/* Hardcoded footer nav columns */
.cc-footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 48px 0 40px;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.cc-footer-col h4 {
    color: #f3816e;
    font-family: "manop-variable", sans-serif;
    font-variation-settings: "wdth" 50, "wght" 800;
    font-size: 18px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.cc-footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cc-footer-col ul li {
    margin-bottom: 10px;
}

.cc-footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    font-variation-settings: "wdth" 100, "wght" 400;
    transition: color 0.2s ease;
}

.cc-footer-col ul li a:hover {
    color: var(--cc-peach);
    text-decoration: none;
}

/* Social icons */
.cc-footer-social {
    display: flex;
    gap: 14px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.cc-footer-social a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-variation-settings: "wdth" 100, "wght" 500;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cc-footer-social a:hover {
    color: var(--cc-white);
    border-color: var(--cc-peach);
    background-color: rgba(243, 207, 178, 0.1);
    text-decoration: none;
}

/* Footer bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.footer-tagline {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.45);
}

.footer-tagline a {
    color: rgba(255, 255, 255, 0.45);
}

.footer-tagline a:hover {
    color: var(--cc-peach);
}

.footer-navigation {
    font-size: 15px;
}

.footer-navigation ul {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-navigation ul li {
    padding: 0;
}

.footer-navigation ul li a {
    color: rgba(255, 255, 255, 0.45);
    font-variation-settings: "wdth" 100, "wght" 400;
}

.footer-navigation ul li a:hover {
    color: var(--cc-peach);
}

/* Footer logo */
.cc-footer-logo {
    display: block;
    margin-bottom: 20px;
}

.cc-footer-logo img {
    max-height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

/* ------------------------------
MOBILE NAVIGATION
------------------------------ */

.mobile-navigation .menu-toggle {
    background: transparent;
    border: 1px solid rgba(0, 38, 57, 0.2);
    color: var(--cc-navy);
    border-radius: 4px;
    padding: 8px 14px;
    font-family: "manop-variable", sans-serif;
    font-variation-settings: "wdth" 100, "wght" 600;
    font-size: 14px;
    cursor: pointer;
}

.mobile-navigation .menu-toggle:hover {
    border-color: var(--cc-red);
    color: var(--cc-red);
}

.drawer-wrap {
    background: var(--cc-white);
    border-top: 3px solid var(--cc-red);
}

.drawer-navigation a {
    color: var(--cc-navy);
    font-variation-settings: "wdth" 100, "wght" 600;
    font-size: 16px;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(0, 38, 57, 0.08);
    display: block;
}

.drawer-navigation a:hover {
    color: var(--cc-red);
    background-color: rgba(194, 60, 50, 0.04);
    text-decoration: none;
}

.drawer-navigation .sub-menu {
    background: rgba(0, 38, 57, 0.03);
}

.drawer-navigation .sub-menu a {
    padding-left: 40px;
    font-size: 15px;
    font-variation-settings: "wdth" 100, "wght" 500;
}

/* ------------------------------
RESPONSIVE
------------------------------ */

@media (max-width: 1000px) {
    .cc-footer-columns {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        padding: 40px 0 30px;
    }

    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
        padding: 40px 0 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
    }

    .entry-header .entry-title,
    .editor-post-title__input {
        font-size: 2.2em;
    }
}

@media (max-width: 600px) {
    .cc-footer-columns {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 32px 0 24px;
    }

    .footer-widgets {
        grid-template-columns: 1fr;
    }

    .cc-topbar {
        font-size: 12px;
        padding: 7px 16px;
    }

    .entry-header .entry-title,
    .editor-post-title__input {
        font-size: 1.8em;
    }

    body {
        font-size: 16px;
    }
}

/* -----------------------------------------------------------------------
   Comments
----------------------------------------------------------------------- */
.comments-area {
    max-width: 740px;
    margin: 28px auto 0;
    padding: 0;
}

/* Section heading */
.comments-title {
    font-family: inherit;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--cc-navy);
    margin: 0 0 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--cc-peach);
    line-height: 1.4;
}

.comments-title__count {
    color: #999;
    display: block;
    font-variation-settings: "wdth" 50, "wght" 500;
}
/* Comment list */
.comment-list,
.comment-list .children {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment-list .children { padding-left: 44px; }

/* Each comment row — no dividers, tight spacing */
.comment-block { padding: 7px 0; }

.comment-wrap {
    display: grid;
    grid-template-columns: 34px 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    align-items: start;
}

/* Avatar */
.comment-wrap > img.avatar {
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: start;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50%;
    display: block;
}

/* Meta row — username + timestamp inline */
.comment-info {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: row;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0 5px;
    margin-bottom: 2px;
    padding-top: 0;
}

/* Moderation notice — must be in column 2 or it collapses into the 34px avatar column */
.comment-awaiting-moderation {
    grid-column: 2;
    grid-row: 3;
    display: block;
    font-size: 1.3rem;
    font-style: italic;
    color: rgba(0, 38, 57, 0.5);
    margin-top: 6px;
}

/* Content row */
.comment-content {
    grid-column: 2;
    grid-row: 2;
    font-size: 1.4rem;
    line-height: 1.45;
    color: var(--cc-navy);
    margin-top: 15px;
}
a.comment-edit-link {
    letter-spacing: 0;
    font-size: 1.1rem;
    color: rgba(0, 38, 57, 0.35);
    text-decoration: none;
}
a.comment-edit-link:hover { color: var(--cc-red); }

/* ── Small button variant ─────────────────────────── */
.cc-btn--sm {
    padding: 7px 16px;
    font-size: 1.1rem;
}

/* ── In-place comment edit form ──────────────────── */
.cc-comment-edit-form {
    padding: 2px 0 0;
}
.cc-comment-edit-textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1.5px solid rgba(0, 38, 57, 0.2);
    border-radius: 8px;
    padding: 10px 12px;
    font-family: inherit;
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--cc-navy);
    background: #fafaf8;
    resize: none;
    outline: none;
    min-height: 56px;
    display: block;
}
.cc-comment-edit-textarea:focus {
    border-color: var(--cc-navy);
    background: #fff;
}
.cc-comment-edit-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.cc-edit-status {
    font-size: 1.2rem;
    color: rgba(0, 38, 57, 0.5);
    margin-left: 4px;
}
.cc-edit-delete {
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: rgba(200, 50, 50, 0.7);
    padding: 0;
    line-height: 1;
    transition: color 0.15s;
}
.cc-edit-delete:hover { color: #c83232; }

.cc-comment-edited {
    font-size: 1.2rem;
    color: rgba(0, 38, 57, 0.45);
    font-style: italic;
    margin-left: 6px;
}

/* ── Inline reply form (form moved inside comment) ── */
li.comment .comments-wrap #respond,
li.comment .comment-block #respond {
    width: 80%;
    margin-left: 20%;
}
.comments-wrap #respond,
.comment-block #respond {
    display: block;
    width: 100%;
    margin-left: 0;
    margin-top: 16px;
    background: #f2f1ef;
    border: 1.5px solid rgba(0, 38, 57, 0.15);
    border-radius: 10px;
    padding: 20px 20px 16px;
}
.comments-wrap #respond #reply-title,
.comment-block #respond #reply-title { display: none; }
.cc-inline-reply-banner {
    display: none;
    align-items: center;
    gap: 8px;
    font-size: 1.3rem;
    color: rgba(0, 38, 57, 0.65);
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 38, 57, 0.1);
}
.cc-inline-reply-banner strong {
    color: var(--cc-navy);
}
.cc-reply-cancel-btn {
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: rgba(0, 38, 57, 0.5);
    padding: 2px 0;
    line-height: 1;
}
.cc-reply-cancel-btn:hover { color: var(--cc-red); }
.comment-content p { margin: 0; font-size: 1.4rem; line-height: 1.45; }
.comment-content p + p { margin-top: 3px; }

/* Name */
.comment-cite {
    font-style: normal;
    font-size: 1.35rem;
    font-variation-settings: "wdth" 100, "wght" 700;
    font-weight: 700;
    color: var(--cc-navy);
    line-height: 1.3;
}
.comment-list .avatar { margin-top: 0; }
.comment-cite a { color: inherit; text-decoration: none; }

/* Date */
.comment-time {
    font-size: 1.2rem;
    font-variation-settings: "wdth" 75, "wght" 400;
    color: var(--cc-navy);
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
}
.comment-time:hover {
    color: #1a6bc7;
}

.reply { margin: 5px 0 0; }

.comment-reply-link {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(0, 38, 57, 0.4);
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
    transition: color 0.15s;
}

.comment-reply-link:hover { color: var(--cc-red); }
.comment-reply-disabled {
    color: rgba(0, 38, 57, 0.2);
    cursor: default;
}

/* Replying-to banner */
.cc-comment-reply-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--cc-peach);
    color: var(--cc-navy);
    font-size: 1rem;
    padding: 10px 14px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.cc-reply-cancel {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--cc-navy);
    font-size: 1rem;
    line-height: 1;
    margin-left: auto;
    opacity: 0.5;
    padding: 0;
}

.cc-reply-cancel:hover { opacity: 1; }

/* Comment form */
.comment-reply-title {
    display: none;
    font-size: 1rem;
    font-weight: 700;
    color: var(--cc-navy);
    margin: 32px 0 16px;
}

#cancel-comment-reply-link {
    font-size: 0.95rem;
    color: #aaa;
    text-decoration: none;
    margin-left: 10px;
    font-weight: normal;
}

#commentform { display: grid; gap: 10px; }
#commentform p { margin: 10px 0 0 0; }

/* Name + email side by side */
.comment-form-author-email {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

#commentform label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #888;
    margin-bottom: 4px;
}

#commentform input[type="text"],
#commentform input[type="email"],
#commentform textarea {
    width: 100%;
    padding: 10px 13px;
    border: 1.5px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    color: var(--cc-navy);
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s;
    resize: none;
}

#commentform input[type="text"]:focus,
#commentform input[type="email"]:focus,
#commentform textarea:focus {
    outline: none;
    border-color: var(--cc-navy);
}

#commentform textarea {
    min-height: 90px;
    overflow: hidden;
}

.cc-field-error { border-color: var(--cc-red) !important; }

.cc-comment-logged-in {
    font-size: 1.3rem;
    color: #999;
    margin: 8px 0 0;
}

.cc-comment-logged-in a {
    color: var(--cc-navy);
    text-decoration: none;
}

.cc-comment-logged-in a:hover { text-decoration: underline; }

#commentform .comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    color: #999;
}

#commentform .submit {
    background: var(--cc-navy);
    color: #fff;
    border: none;
    padding: 11px 26px;
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
    justify-self: start;
}

#commentform .submit:hover { background: var(--cc-red); }

/* Logged-in note */
.comment-notes,
.logged-in-as {
    font-size: 1rem;
    color: #999;
    margin: 0;
}

.logged-in-as a { color: var(--cc-navy); }

@media (max-width: 600px) {
    .comment-list .children { padding-left: 24px; }
    .comment-form-author-email { grid-template-columns: 1fr; }
    li.comment .comments-wrap #respond,
    li.comment .comment-block #respond {
        width: 100%;
        margin-left: 0;
    }
}
.single .entry-content h3.comments-title {
    margin-top: 20px;
    border: none;
    margin-bottom: 0;
    font-size: 1.2em;
}

/* -----------------------------------------------------------------------
   Feed headline
----------------------------------------------------------------------- */
.cc-feed-headline {
    font-family: 'Cowboy', serif;
    font-weight: normal;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    text-transform: uppercase;
    color: var(--cc-navy);
    text-align: center;
    margin: 50px 0;
    letter-spacing: 0.03em;
    line-height: 1.1;
    font-size: 2em;
}
    @media (max-width: 600px) {
    .cc-feed-headline {
        font-size: 1.4em;
        margin: 35px 0;
    }
    }
/* -----------------------------------------------------------------------
   Recent posts section (single post page)
----------------------------------------------------------------------- */
.cc-recent-posts {
    background: #f9f4ef;
    padding: 60px 20px;
    margin-top: 60px;
}

.cc-recent-posts__inner {
    max-width: var(--cc-max-width);
    margin: 0 auto;
}

.cc-recent-posts__heading {
    font-family: 'Cowboy', serif;
    font-weight: normal;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    text-transform: uppercase;
    color: var(--cc-navy);
    margin: 0 0 15px;
    letter-spacing: 0.03em;
}

.cc-recent-posts__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.cc-recent-posts__thumb-link {
    display: block;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 16px;
}

.cc-recent-posts__thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.cc-recent-posts__thumb-link:hover .cc-recent-posts__thumb {
    transform: scale(1.04);
}

.cc-recent-posts__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--cc-navy);
    margin: 0 0 8px;
    line-height: 1.1;
}

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

.cc-recent-posts__title a:hover {
    color: #1a6bc7;
}

.cc-recent-posts__byline {
    font-size: 1.4rem;
    color: #666;
    margin: 0;
}

.cc-recent-posts__byline a {
    color: var(--cc-navy);
    text-decoration: none;
}

.cc-recent-posts__date {
    font-size: 1.3rem;
    color: #999;
    margin: 4px 0 0;
}
.cc-recent-posts {
    background: none;
    padding: 0 0;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .cc-recent-posts__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}


/* ==============================
   SHARED BUTTONS & FORM ELEMENTS
   ============================== */

.cc-btn {
    display: inline-block;
    padding: 13px 26px;
    border-radius: 30px;
    font-size: 1.2rem;
    font-variation-settings: "wdth" 100, "wght" 600;
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    line-height: 1.3;
}
.cc-btn--primary {
    background: var(--cc-navy);
    color: #fff;
    border-color: var(--cc-navy);
}
.cc-btn--primary:hover {
    background: var(--cc-red);
    border-color: var(--cc-red);
    color: #fff;
}
.cc-btn--secondary {
    background: var(--cc-navy);
    color: #fff;
    border-color: var(--cc-navy);
    width: auto;
}
.cc-btn--secondary:hover {
    background: var(--cc-red);
    color: #fff;
    border-color: var(--cc-red);
}
.cc-btn--full {
    display: block;
    width: 100%;
    text-align: center;
}

.cc-form-group {
    margin-bottom: 20px;
}
.cc-form-group label {
    display: block;
    font-size: 1.3rem;
    font-variation-settings: "wdth" 100, "wght" 600;
    margin-bottom: 8px;
    color: var(--cc-navy);
}
.cc-form-group input[type="text"],
.cc-form-group input[type="email"],
.cc-form-group input[type="password"],
.cc-form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid rgba(0,38,57,0.25);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    color: var(--cc-navy);
    background: #fff;
    transition: border-color 0.15s;
}
.cc-form-group input:focus,
.cc-form-group textarea:focus {
    outline: none;
    border-color: var(--cc-navy);
}
.cc-form-check {
    margin-bottom: 20px;
    font-size: 1.3rem;
}
.cc-form-hint {
    display: block;
    font-size: 1.15rem;
    color: rgba(0,38,57,0.55);
    margin-top: 6px;
}
.cc-form-meta {
    text-align: center;
    margin-top: 18px;
    font-size: 1.2rem;
}
.cc-form-meta a {
    color: var(--cc-navy);
    opacity: 0.65;
}
.cc-form-meta a:hover { opacity: 1; }

.cc-form-notice {
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 1.2rem;
    margin-bottom: 24px;
}
.cc-form-notice--success {
    background: #e6f4ea;
    color: #1e6b3a;
    border: 1px solid #a8d5b5;
}
.cc-form-notice--error {
    background: #fdecea;
    color: #9b2335;
    border: 1px solid #f5b4bb;
}

/* Full-width notice bar above the hero */
.cc-account-notice-bar {
    padding: 0;
    margin: 10px 0;
    border-radius: 10px;
    overflow: hidden;
}
.cc-account-notice-bar .cc-form-notice {
    margin: 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
    padding: 14px 24px;
}
@media ( max-width: 600px ) {
    .cc-account-notice-bar .cc-form-notice {
        padding: 12px 16px;
    }
}

.cc-form-section {
    margin-bottom: 40px;
}
.cc-form-section-title {
    font-size: 1.6rem;
    font-variation-settings: "wdth" 100, "wght" 700;
    color: var(--cc-navy);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0,38,57,0.1);
}
.cc-form-actions {
    padding-top: 8px;
}

/* Hidden file input + styled label */
.cc-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}
.cc-form-file-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.cc-file-chosen {
    font-size: 1.15rem;
    color: rgba(0,38,57,0.55);
}

.cc-remove-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.15rem;
    color: rgba(0,38,57,0.65);
    cursor: pointer;
    margin-bottom: 8px;
}

/* Image previews */
.cc-form-image-preview {
    margin-bottom: 12px;
    overflow: hidden;
}
.cc-form-image-preview--circle img,
.cc-form-image-preview--circle .avatar {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}
.cc-form-image-preview--header img {
    width: 100%;
    max-height: 140px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}


/* ==============================
   HEADER USER ICON
   ============================== */

/* Logo stays flex-centered; user link absolutely pinned to the right */
.cc-header-inner {
    position: relative;
}
.cc-header-user-link {
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.15s;
}
.cc-header-user-link:hover { opacity: 0.75; }
.cc-header-user-label {
    font-size: 0.85rem;
    font-variation-settings: "wdth" 100, "wght" 600;
    letter-spacing: 0.03em;
    line-height: 1;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
}
.cc-header-user-icon {
    width: 26px;
    height: 26px;
}
.cc-header-user-avatar {
    width: 30px !important;
    height: 30px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.6);
    display: block;
}


/* ==============================
   LOGIN PAGE
   ============================== */

.cc-login-wrap {
    display: flex;
    justify-content: center;
    padding: 60px 20px;
}
.cc-login-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,38,57,0.1);
    padding: 40px;
    width: 100%;
    max-width: 440px;
}
.cc-login-heading {
    font-size: 2rem;
    font-variation-settings: "wdth" 100, "wght" 700;
    color: var(--cc-navy);
    margin-bottom: 32px;
    text-align: center;
}
.cc-login-tabs {
    display: flex;
    border-bottom: 2px solid rgba(0,38,57,0.1);
    margin-bottom: 32px;
}
.cc-login-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 16px;
    font-size: 1.4rem;
    font-variation-settings: "wdth" 100, "wght" 600;
    color: rgba(0,38,57,0.45);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.15s, border-color 0.15s;
}
.cc-login-tab.is-active {
    color: var(--cc-navy);
    border-bottom-color: var(--cc-red);
}
.cc-login-panel { display: none; }
.cc-login-panel.is-active { display: block; }
.cc-auth-form { margin-top: 4px; }


/* ==============================
   ACCOUNT PAGE
   ============================== */

.cc-account-page #primary {
    padding-top: 0;
}

/* Hero — same structure as author page */
.cc-account-hero {
    margin-bottom: 0;
}
.cc-account-cover {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: var(--cc-navy);
    position: relative;
    border-radius: 10px;
}
.cc-account-cover__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Tap-to-upload: cover label */
.cc-account-cover-label {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
}
.cc-img-edit-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.38);
    color: #fff;
    font-size: 1.05rem;
    font-variation-settings: "wdth" 100, "wght" 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.18s;
    pointer-events: none;
}
.cc-account-cover-label:hover .cc-img-edit-overlay { opacity: 1; }
.cc-account-avatar-label:hover .cc-img-edit-overlay { opacity: 1; }
@media (hover: none) { .cc-img-edit-overlay { opacity: 0.65; } }
.cc-img-edit-overlay--circle { border-radius: 50%; }

/* Tap-to-upload: avatar label */
.cc-account-avatar-label {
    display: block;
    position: relative;
    cursor: pointer;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
}
.cc-account-avatar-label .cc-account-avatar-img {
    border-radius: 50% !important;
}

/* Contenteditable name / bio */
.cc-ce-field[contenteditable] {
    cursor: text;
    border-bottom: 2px solid transparent;
    border-radius: 2px 2px 0 0;
    padding: 1px 3px;
    margin-left: -3px;
    transition: border-color 0.15s, background 0.15s;
    display: block;
}
.cc-ce-field[contenteditable]:hover {
    border-bottom-color: rgba(0, 38, 57, 0.22);
}
.cc-ce-field[contenteditable]:focus {
    outline: none;
    border-bottom-color: var(--cc-red);
    background: rgba(255, 255, 255, 0.55);
}
.cc-ce-field[contenteditable]:empty::before {
    content: attr(data-placeholder);
    color: rgba(0, 38, 57, 0.35);
    font-style: italic;
    pointer-events: none;
}
.cc-account-save-btn {
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 10;
    background: var(--cc-red);
    border: solid 2px #fff;
}
.cc-account-save-btn:hover {
    background: var(--cc-navy);
    border: solid 2px #fff;
}

.cc-account-save-btn:disabled {
    background: #ccc;
    color: #fff !important;
    cursor: not-allowed;
    pointer-events: none;
}

/* Link buttons */
.cc-account-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.cc-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1.5px solid transparent;
    font-size: 1rem;
    font-variation-settings: "wdth" 100, "wght" 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, opacity 0.15s;
    background: rgba(0, 38, 57, 0.1);
    color: rgba(0, 38, 57, 0.4);
    line-height: 1;
}
.cc-link-btn.is-set {
    background: transparent !important;
    color: var(--cc-navy) !important;
    border: 1px solid var(--cc-navy) !important;
}
.cc-link-btn:hover { opacity: 1; }
.cc-link-btn.is-set:hover {
    background: var(--cc-navy) !important;
    color: #fff !important;
    opacity: 1;
}

/* Link modal */
.cc-link-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cc-link-modal[hidden] { display: none; }
.cc-link-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}
.cc-link-modal__card {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 14px;
    padding: 28px 24px 24px;
    width: 100%;
    max-width: 380px;
    margin: 16px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
}
.cc-link-modal__close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    color: rgba(0, 38, 57, 0.4);
    padding: 0;
}
.cc-link-modal__close:hover { color: var(--cc-navy); }
.cc-link-modal__title {
    font-size: 1.6rem;
    font-variation-settings: "wdth" 100, "wght" 700;
    color: var(--cc-navy);
    margin: 0 0 18px;
}
.cc-link-modal__input {
    width: 100%;
    font-size: 1.2rem;
    padding: 10px 14px;
    border: 1.5px solid rgba(0, 38, 57, 0.2);
    border-radius: 8px;
    color: var(--cc-navy);
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}
.cc-link-modal__input:focus {
    outline: none;
    border-color: var(--cc-red);
}
.cc-link-modal__actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

/* Avatar crop modal */
.cc-avatar-crop-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cc-avatar-crop-modal[hidden] { display: none; }
.cc-avatar-crop__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}
.cc-avatar-crop__card {
    position: relative;
    background: #fff;
    border-radius: 14px;
    padding: 28px 24px 24px;
    width: min(340px, 94vw);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.25);
}
.cc-avatar-crop__title {
    font-family: var(--cc-font-cowboy, serif);
    font-size: 1.6rem;
    font-weight: normal;
    color: var(--cc-navy);
    margin: 0;
    align-self: flex-start;
}
.cc-avatar-crop__viewport {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    cursor: grab;
    background: #e8e4df;
    border: 3px solid var(--cc-navy);
    flex-shrink: 0;
    user-select: none;
    touch-action: none;
}
.cc-avatar-crop__viewport:active { cursor: grabbing; }
.cc-avatar-crop__img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform-origin: center center;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    max-width: none;
}
.cc-avatar-crop__zoom-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
}
.cc-avatar-crop__zoom-icon {
    flex-shrink: 0;
    color: var(--cc-navy);
    opacity: 0.45;
}
.cc-avatar-crop__zoom-slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    border-radius: 2px;
    background: rgba(0,38,57,0.25);
    cursor: pointer;
    outline: none;
}
.cc-avatar-crop__zoom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--cc-navy);
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.cc-avatar-crop__zoom-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--cc-navy);
    border: none;
    cursor: pointer;
}
.cc-avatar-crop__hint {
    margin: -8px 0 0;
    font-size: 12px;
    color: rgba(0,38,57,0.45);
    text-align: center;
}
.cc-avatar-crop__actions {
    display: flex;
    gap: 10px;
    width: 100%;
    justify-content: flex-end;
}

.cc-account-profile-bar {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 12px 24px 20px;
}
a.cc-link-btn { text-decoration: none; }
.cc-account-avatar-wrap {
    flex-shrink: 0;
    margin-top: -50px;
    position: relative;
    z-index: 2;
}
.cc-account-avatar-wrap img,
.cc-account-avatar-img {
    width: 110px !important;
    height: 110px !important;
    border-radius: 50% !important;
    border: 4px solid #fff;
    object-fit: cover;
    display: block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.cc-account-name-wrap {
    flex: 1;
    padding-bottom: 6px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}
.cc-account-name {
    font-size: 2.2rem;
    font-variation-settings: "wdth" 100, "wght" 700;
    color: var(--cc-navy);
    margin: 0;
    line-height: 1.2;
}
.cc-account-logout {
    font-size: 1.2rem;
    text-decoration: none;
    white-space: nowrap;
}
.cc-account-logout:hover { color: var(--cc-red); }
.cc-account-tab-link.cc-account-tab-signout,
.cc-account-tab-link.cc-account-tab-signout:hover { color: var(--cc-red); }

.cc-account-bio-text {
    font-size: 1.3rem;
    font-variation-settings: "wdth" 100, "wght" 400;
    color: rgba(0, 38, 57, 0.7);
    line-height: 1.5;
    margin: 0;
}

/* Tabs */
.cc-account-tab-nav {
    display: flex;
    border-bottom: 2px solid rgba(0,38,57,0.1);
    padding: 0 24px;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.cc-account-tab-link {
    padding: 8px 10px;
    font-size: 1.3rem;
    font-variation-settings: "wdth" 100, "wght" 600;
    color: rgba(0,38,57,0.5);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: color 0.15s, border-color 0.15s;
}
.cc-account-tab-link:hover { color: var(--cc-navy); }
.cc-account-tab-link.is-active {
    color: var(--cc-navy);
    border-bottom-color: var(--cc-red);
}

/* Content area */
.cc-account-content {
    max-width: 680px;
    margin: 0 auto;
    padding: 32px 24px 60px;
}
.cc-account-section-title {
    font-size: 1.9rem;
    font-variation-settings: "wdth" 100, "wght" 700;
    color: var(--cc-navy);
    margin-bottom: 20px;
}
.cc-account-form--narrow {
    max-width: 420px;
}

/* Posts / Comments lists */
.cc-account-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.cc-account-list__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0,38,57,0.08);
}
.cc-account-list__title {
    font-size: 1.4rem;
    font-variation-settings: "wdth" 100, "wght" 600;
    color: var(--cc-navy);
    text-decoration: none;
}
.cc-account-list__title:hover { color: var(--cc-red); }
.cc-account-list__meta {
    font-size: 1.2rem;
    color: rgba(0,38,57,0.55);
}
.cc-account-list__meta a {
    color: rgba(0,38,57,0.7);
    text-decoration: none;
}
.cc-account-list__meta a:hover { color: var(--cc-red); }
.cc-post-status {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 1.1rem;
    font-variation-settings: "wdth" 100, "wght" 600;
}
.cc-post-status--publish { background: #e6f4ea; color: #1e6b3a; }
.cc-post-status--draft   { background: #f5f5f5; color: #666; }
.cc-post-status--pending { background: #fff8e6; color: #856404; }

.cc-account-empty {
    color: rgba(0,38,57,0.5);
    font-size: 1.3rem;
    padding: 20px 0;
}

/* Mobile */
@media (max-width: 640px) {
    .cc-account-cover { height: 150px; }
    .cc-account-profile-bar {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 16px 16px;
        gap: 10px;
    }
    .cc-account-avatar-wrap { margin-top: -40px; }
    .cc-account-avatar-wrap img,
    .cc-account-avatar-img {
        width: 84px !important;
        height: 84px !important;
    }
    .cc-account-avatar-label {
        width: 84px;
        height: 84px;
    }
    .cc-account-tab-nav { padding: 0 12px; }
    .cc-account-content { padding: 24px 16px 48px; }
    .cc-login-card { padding: 28px 20px; }
}


/* ==============================
   COMMENTS LOGIN GATE
   ============================== */

.cc-comments-gate {
    background: #f2f1ef;
    border: 1.5px solid rgba(0, 38, 57, 0.15);
    border-radius: 10px;
    padding: 28px 24px;
    text-align: center;
    margin-top: 16px;
}
.cc-comments-gate__message {
    font-size: 1.4rem;
    color: var(--cc-navy);
    margin-bottom: 18px;
}
.cc-comments-gate__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.cc-comments-gate .cc-btn {
    background-color: var(--cc-navy) !important;
    color: #fff !important;
    border: none !important;
}
.cc-comments-gate .cc-btn:hover {
    background-color: var(--cc-red) !important;
    color: #fff !important;
}

/* ── Headline & author name links: navy default, blue hover ──
   Specificity must match/beat body .post-content a:not()… (0,3,2)
   Since these rules appear later in the file, equal specificity wins. ── */
body .post-content .entry-header .entry-title a,
body .post-content .entry-meta .byline a,
body .entry-content .post-navigation .nav-links a,
body .entry-content .cc-author-bio-hero a.cc-author-bio-name-link,
body .entry-content .cc-account-name-wrap a.cc-author-bio-all-posts,
body .entry-content .comment-list .comment-cite a,
body .entry-content .comment-list a.comment-time,
.cc-recent-posts__title a,
.cc-recent-posts__byline a {
    color: var(--cc-navy) !important;
    text-decoration: none !important;
}
body .post-content .entry-header .entry-title a:hover,
body .post-content .entry-meta .byline a:hover,
body .entry-content .post-navigation .nav-links a:hover,
body .entry-content .cc-author-bio-hero a.cc-author-bio-name-link:hover,
body .entry-content .cc-account-name-wrap a.cc-author-bio-all-posts:hover,
body .entry-content .comment-list .comment-cite a:hover,
body .entry-content .comment-list a.comment-time:hover,
.cc-recent-posts__title a:hover,
.cc-recent-posts__byline a:hover {
    color: #1a6bc7 !important;
    text-decoration: none !important;
}
