/* SSC Hunt content presentation: archive cards, blog posts and standard editorial pages. */
:root {
    --ssc-hunt-green: #078b68;
    --ssc-hunt-green-dark: #06684f;
    --ssc-hunt-ink: #172b3a;
    --ssc-hunt-muted: #647686;
    --ssc-hunt-border: #e3ece8;
    --ssc-hunt-soft: #f6faf8;
}

.ssc-brand-logo { display:block; width:auto; max-width:190px; max-height:48px; height:auto; object-fit:contain; }
.ssc-portal-brand-logo { display:block; width:auto; max-width:205px; max-height:48px; height:auto; object-fit:contain; }
.custom-logo-link { display: inline-flex; align-items: center; max-width: 100%; }
.custom-logo-link .custom-logo {
    display: block;
    width: auto;
    max-width: min(220px, 48vw);
    max-height: 62px;
    height: auto;
    object-fit: contain;
}

body.blog:not(.elementor-page) #primary,
body.archive:not(.elementor-page) #primary,
body.search:not(.elementor-page) #primary,
body.blog:not(.elementor-page) .site-main,
body.archive:not(.elementor-page) .site-main,
body.search:not(.elementor-page) .site-main {
    box-sizing: border-box;
}

body.blog:not(.elementor-page) .site-main,
body.archive:not(.elementor-page) .site-main,
body.search:not(.elementor-page) .site-main {
    width: min(1160px, calc(100% - 40px));
    max-width: 1160px;
    margin: 0 auto;
    padding: clamp(30px, 5vw, 58px) 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 24px;
}

body.blog:not(.elementor-page) .site-main > header,
body.archive:not(.elementor-page) .site-main > header,
body.search:not(.elementor-page) .site-main > header,
body.blog:not(.elementor-page) .site-main > .page-header,
body.archive:not(.elementor-page) .site-main > .page-header,
body.blog:not(.elementor-page) .site-main > .archive-header,
body.archive:not(.elementor-page) .site-main > .archive-header,
body.blog:not(.elementor-page) .site-main > .navigation,
body.archive:not(.elementor-page) .site-main > .navigation,
body.blog:not(.elementor-page) .site-main > .pagination,
body.archive:not(.elementor-page) .site-main > .pagination,
body.blog:not(.elementor-page) .site-main > nav,
body.archive:not(.elementor-page) .site-main > nav,
body.blog:not(.elementor-page) .site-main > .wp-block-query,
body.archive:not(.elementor-page) .site-main > .wp-block-query,
body.search:not(.elementor-page) .site-main > .wp-block-query,
body.blog:not(.elementor-page) .site-main > .no-results,
body.archive:not(.elementor-page) .site-main > .no-results {
    grid-column: 1 / -1;
}

body.blog:not(.elementor-page) .page-title,
body.archive:not(.elementor-page) .page-title,
body.blog:not(.elementor-page) .archive-title,
body.archive:not(.elementor-page) .archive-title,
body.blog:not(.elementor-page) .page-header h1,
body.archive:not(.elementor-page) .page-header h1 {
    margin: 0 0 8px;
    color: var(--ssc-hunt-ink);
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.2;
}

body.blog:not(.elementor-page) .site-main article.type-post,
body.archive:not(.elementor-page) .site-main article.type-post,
body.blog:not(.elementor-page) .site-main article.post,
body.archive:not(.elementor-page) .site-main article.post {
    min-width: 0;
    overflow: hidden;
    margin: 0;
    padding: 0 0 22px;
    border: 1px solid var(--ssc-hunt-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(20, 56, 46, .045);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

body.blog:not(.elementor-page) .site-main article.type-post:hover,
body.archive:not(.elementor-page) .site-main article.type-post:hover,
body.blog:not(.elementor-page) .site-main article.post:hover,
body.archive:not(.elementor-page) .site-main article.post:hover {
    transform: translateY(-3px);
    border-color: #c8e6d9;
    box-shadow: 0 16px 36px rgba(20, 56, 46, .09);
}

body.blog:not(.elementor-page) .site-main article .post-thumbnail,
body.archive:not(.elementor-page) .site-main article .post-thumbnail,
body.blog:not(.elementor-page) .site-main article .wp-block-post-featured-image,
body.archive:not(.elementor-page) .site-main article .wp-block-post-featured-image {
    display: block;
    overflow: hidden;
    margin: 0 0 18px;
    background: #edf5f1;
    aspect-ratio: 16 / 9;
}

body.blog:not(.elementor-page) .site-main article .post-thumbnail img,
body.archive:not(.elementor-page) .site-main article .post-thumbnail img,
body.blog:not(.elementor-page) .site-main article .wp-post-image,
body.archive:not(.elementor-page) .site-main article .wp-post-image,
body.blog:not(.elementor-page) .site-main article .wp-block-post-featured-image img,
body.archive:not(.elementor-page) .site-main article .wp-block-post-featured-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
    transition: transform .35s ease;
}

body.blog:not(.elementor-page) .site-main article:hover .post-thumbnail img,
body.archive:not(.elementor-page) .site-main article:hover .post-thumbnail img,
body.blog:not(.elementor-page) .site-main article:hover .wp-post-image,
body.archive:not(.elementor-page) .site-main article:hover .wp-post-image {
    transform: scale(1.025);
}

body.blog:not(.elementor-page) .site-main article .entry-header,
body.archive:not(.elementor-page) .site-main article .entry-header,
body.blog:not(.elementor-page) .site-main article .entry-summary,
body.archive:not(.elementor-page) .site-main article .entry-summary,
body.blog:not(.elementor-page) .site-main article .entry-footer,
body.archive:not(.elementor-page) .site-main article .entry-footer {
    margin-left: 22px;
    margin-right: 22px;
}

body.blog:not(.elementor-page) .site-main article .entry-title,
body.archive:not(.elementor-page) .site-main article .entry-title,
body.blog:not(.elementor-page) .site-main article .wp-block-post-title,
body.archive:not(.elementor-page) .site-main article .wp-block-post-title {
    margin: 0 0 10px;
    color: var(--ssc-hunt-ink);
    font-size: clamp(19px, 2vw, 23px);
    font-weight: 800;
    line-height: 1.42;
}

body.blog:not(.elementor-page) .site-main article .entry-title a,
body.archive:not(.elementor-page) .site-main article .entry-title a,
body.blog:not(.elementor-page) .site-main article .wp-block-post-title a,
body.archive:not(.elementor-page) .site-main article .wp-block-post-title a {
    color: inherit;
    text-decoration: none;
    text-underline-offset: 4px;
}

body.blog:not(.elementor-page) .site-main article .entry-title a:hover,
body.archive:not(.elementor-page) .site-main article .entry-title a:hover,
body.blog:not(.elementor-page) .site-main article .wp-block-post-title a:hover,
body.archive:not(.elementor-page) .site-main article .wp-block-post-title a:hover {
    color: var(--ssc-hunt-green);
}

body.blog:not(.elementor-page) .site-main article .entry-meta,
body.archive:not(.elementor-page) .site-main article .entry-meta,
body.blog:not(.elementor-page) .site-main article .post-meta,
body.archive:not(.elementor-page) .site-main article .post-meta,
body.blog:not(.elementor-page) .site-main article .wp-block-post-date,
body.archive:not(.elementor-page) .site-main article .wp-block-post-date {
    color: #82918e;
    font-size: 12px;
    line-height: 1.6;
}

body.blog:not(.elementor-page) .site-main article .entry-summary,
body.archive:not(.elementor-page) .site-main article .entry-summary,
body.blog:not(.elementor-page) .site-main article .wp-block-post-excerpt,
body.archive:not(.elementor-page) .site-main article .wp-block-post-excerpt {
    color: var(--ssc-hunt-muted);
    font-size: 15px;
    line-height: 1.8;
}

body.blog:not(.elementor-page) .site-main article .entry-summary a.more-link,
body.archive:not(.elementor-page) .site-main article .entry-summary a.more-link,
body.blog:not(.elementor-page) .site-main article .wp-block-post-excerpt__more-link,
body.archive:not(.elementor-page) .site-main article .wp-block-post-excerpt__more-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 8px;
    color: var(--ssc-hunt-green-dark);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

body.single-post:not(.elementor-page) .site-main {
    width: min(860px, calc(100% - 40px));
    max-width: 860px;
    margin: 0 auto;
    padding: clamp(28px, 5vw, 60px) 0 76px;
}

body.single-post:not(.elementor-page) article.type-post,
body.single-post:not(.elementor-page) article.post {
    margin: 0;
    padding: clamp(20px, 4vw, 42px);
    border: 1px solid var(--ssc-hunt-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 36px rgba(20, 56, 46, .055);
}

body.single-post:not(.elementor-page) .entry-header {
    margin: 0 0 24px;
}

body.single-post:not(.elementor-page) .entry-title {
    margin: 0 0 14px;
    color: var(--ssc-hunt-ink);
    font-size: clamp(29px, 4.6vw, 42px);
    font-weight: 800;
    line-height: 1.28;
    letter-spacing: -.025em;
}

body.single-post:not(.elementor-page) .entry-meta,
body.single-post:not(.elementor-page) .wp-block-post-date,
body.single-post:not(.elementor-page) .wp-block-post-author,
body.single-post:not(.elementor-page) .wp-block-post-terms {
    color: #82918e;
    font-size: 13px;
    line-height: 1.7;
}
body.single-post:not(.elementor-page) .entry-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid var(--ssc-hunt-border);
    color: #82918e;
    font-size: 13px;
}
body.single-post:not(.elementor-page) .entry-footer a,
body.single-post:not(.elementor-page) .wp-block-post-terms a {
    color: var(--ssc-hunt-green-dark);
    text-decoration: none;
    font-weight: 700;
}
body.single-post:not(.elementor-page) .entry-footer a:hover,
body.single-post:not(.elementor-page) .wp-block-post-terms a:hover { text-decoration: underline; text-underline-offset: 3px; }

body.single-post:not(.elementor-page) .post-thumbnail,
body.single-post:not(.elementor-page) .wp-block-post-featured-image {
    margin: 0 0 28px;
    overflow: hidden;
    border-radius: 16px;
    background: #edf5f1;
}

body.single-post:not(.elementor-page) .post-thumbnail img,
body.single-post:not(.elementor-page) .wp-block-post-featured-image img {
    display: block;
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

body.single-post:not(.elementor-page) .entry-content {
    color: #344a56;
    font-size: 17px;
    line-height: 1.95;
    overflow-wrap: anywhere;
}

body.single-post:not(.elementor-page) .entry-content p {
    margin: 0 0 1.25em;
}

body.single-post:not(.elementor-page) .entry-content h2,
body.single-post:not(.elementor-page) .entry-content h3,
body.single-post:not(.elementor-page) .entry-content h4 {
    margin: 1.65em 0 .65em;
    color: var(--ssc-hunt-ink);
    font-weight: 800;
    line-height: 1.4;
}

body.single-post:not(.elementor-page) .entry-content h2 {
    padding-left: 14px;
    border-left: 4px solid var(--ssc-hunt-green);
    font-size: clamp(23px, 3.1vw, 29px);
}

body.single-post:not(.elementor-page) .entry-content h3 { font-size: clamp(20px, 2.6vw, 24px); }
body.single-post:not(.elementor-page) .entry-content h4 { font-size: 19px; }
body.single-post:not(.elementor-page) .entry-content a { color: var(--ssc-hunt-green-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
body.single-post:not(.elementor-page) .entry-content img { max-width: 100%; height: auto; border-radius: 12px; }
body.single-post:not(.elementor-page) .entry-content figure { margin: 1.5em 0; }
body.single-post:not(.elementor-page) .entry-content figcaption { color: #82918e; font-size: 13px; text-align: center; }
body.single-post:not(.elementor-page) .entry-content ul,
body.single-post:not(.elementor-page) .entry-content ol { padding-left: 1.5em; margin: 0 0 1.3em; }
body.single-post:not(.elementor-page) .entry-content li { margin: .35em 0; padding-left: .15em; }
body.single-post:not(.elementor-page) .entry-content blockquote { margin: 1.6em 0; padding: 18px 22px; border-left: 4px solid var(--ssc-hunt-green); border-radius: 0 12px 12px 0; background: var(--ssc-hunt-soft); color: #40575e; }
body.single-post:not(.elementor-page) .entry-content table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
body.single-post:not(.elementor-page) .entry-content th,
body.single-post:not(.elementor-page) .entry-content td { padding: 10px 12px; border: 1px solid #dce8e2; text-align: left; }
body.single-post:not(.elementor-page) .entry-content th { background: #edf8f2; color: #1f4c3e; font-weight: 800; }
body.single-post:not(.elementor-page) .entry-content pre { max-width: 100%; overflow-x: auto; padding: 16px; border-radius: 12px; background: #f4f7f6; }
body.single-post:not(.elementor-page) .entry-content hr { margin: 2em 0; border: 0; border-top: 1px solid var(--ssc-hunt-border); }

body.page:not(.ssc-core-portal-standalone):not(.elementor-page) .entry-content {
    color: #344a56;
    font-size: 16px;
    line-height: 1.9;
}
body.page:not(.ssc-core-portal-standalone):not(.elementor-page) .entry-content h1,
body.page:not(.ssc-core-portal-standalone):not(.elementor-page) .entry-content h2,
body.page:not(.ssc-core-portal-standalone):not(.elementor-page) .entry-content h3 {
    color: var(--ssc-hunt-ink);
    font-weight: 800;
    line-height: 1.4;
}
body.page:not(.ssc-core-portal-standalone):not(.elementor-page) .entry-content h2 {
    margin-top: 1.5em;
    padding-left: 13px;
    border-left: 4px solid var(--ssc-hunt-green);
}
body.page:not(.ssc-core-portal-standalone):not(.elementor-page) .entry-content a { color: var(--ssc-hunt-green-dark); text-underline-offset: 3px; }
body.page:not(.ssc-core-portal-standalone):not(.elementor-page) .entry-content img { max-width: 100%; height: auto; border-radius: 12px; }
body.page:not(.ssc-core-portal-standalone):not(.elementor-page) .entry-content blockquote { padding: 18px 22px; border-left: 4px solid var(--ssc-hunt-green); background: var(--ssc-hunt-soft); border-radius: 0 12px 12px 0; }

body.blog .pagination .page-numbers,
body.archive .pagination .page-numbers,
body.blog .nav-links .page-numbers,
body.archive .nav-links .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    margin: 3px;
    padding: 5px 11px;
    border: 1px solid var(--ssc-hunt-border);
    border-radius: 10px;
    background: #fff;
    color: var(--ssc-hunt-green-dark);
    text-decoration: none;
}
body.blog .pagination .page-numbers.current,
body.archive .pagination .page-numbers.current,
body.blog .nav-links .page-numbers.current,
body.archive .nav-links .page-numbers.current { border-color: var(--ssc-hunt-green); background: var(--ssc-hunt-green); color: #fff; }


/* WordPress block-theme post loops and single-post content. */
body.blog:not(.elementor-page) .wp-block-post-template,
body.archive:not(.elementor-page) .wp-block-post-template {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-block: 24px;
}
body.blog:not(.elementor-page) .wp-block-post-template > li,
body.archive:not(.elementor-page) .wp-block-post-template > li {
    min-width: 0;
    overflow: hidden;
    padding: 0 0 20px;
    border: 1px solid var(--ssc-hunt-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(20, 56, 46, .045);
}
body.blog:not(.elementor-page) .wp-block-post-template > li > :not(.wp-block-post-featured-image),
body.archive:not(.elementor-page) .wp-block-post-template > li > :not(.wp-block-post-featured-image) {
    margin-left: 20px;
    margin-right: 20px;
}
body.blog:not(.elementor-page) .wp-block-post-template .wp-block-post-featured-image,
body.archive:not(.elementor-page) .wp-block-post-template .wp-block-post-featured-image {
    margin: 0 0 16px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
body.blog:not(.elementor-page) .wp-block-post-template .wp-block-post-featured-image img,
body.archive:not(.elementor-page) .wp-block-post-template .wp-block-post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
body.blog:not(.elementor-page) .wp-block-post-template .wp-block-post-title,
body.archive:not(.elementor-page) .wp-block-post-template .wp-block-post-title {
    margin-top: 0;
    color: var(--ssc-hunt-ink);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.4;
}
body.blog:not(.elementor-page) .wp-block-post-template .wp-block-post-title a,
body.archive:not(.elementor-page) .wp-block-post-template .wp-block-post-title a {
    color: inherit;
    text-decoration: none;
}
body.blog:not(.elementor-page) .wp-block-post-template .wp-block-post-title a:hover,
body.archive:not(.elementor-page) .wp-block-post-template .wp-block-post-title a:hover {
    color: var(--ssc-hunt-green);
}
body.single-post:not(.elementor-page) .wp-block-post-content {
    color: #344a56;
    font-size: 17px;
    line-height: 1.95;
    overflow-wrap: anywhere;
}
body.single-post:not(.elementor-page) .wp-block-post-content h2 {
    margin: 1.65em 0 .65em;
    padding-left: 14px;
    border-left: 4px solid var(--ssc-hunt-green);
    color: var(--ssc-hunt-ink);
    font-size: clamp(23px, 3.1vw, 29px);
    font-weight: 800;
    line-height: 1.4;
}
body.single-post:not(.elementor-page) .wp-block-post-content h3,
body.single-post:not(.elementor-page) .wp-block-post-content h4 {
    margin: 1.5em 0 .6em;
    color: var(--ssc-hunt-ink);
    font-weight: 800;
    line-height: 1.4;
}
body.single-post:not(.elementor-page) .wp-block-post-content p { margin-bottom: 1.2em; }
body.single-post:not(.elementor-page) .wp-block-post-content img { max-width: 100%; height: auto; border-radius: 12px; }
body.single-post:not(.elementor-page) .wp-block-post-content blockquote { padding: 18px 22px; border-left: 4px solid var(--ssc-hunt-green); border-radius: 0 12px 12px 0; background: var(--ssc-hunt-soft); }
body.single-post:not(.elementor-page) .wp-block-post-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
body.single-post:not(.elementor-page) .wp-block-post-content th,
body.single-post:not(.elementor-page) .wp-block-post-content td { padding: 10px 12px; border: 1px solid #dce8e2; }
body.single-post:not(.elementor-page) .wp-block-post-content th { background: #edf8f2; color: #1f4c3e; }

@media (max-width: 720px) {
    body.blog:not(.elementor-page) .site-main,
    body.archive:not(.elementor-page) .site-main,
    body.search:not(.elementor-page) .site-main {
        width: min(100% - 28px, 560px);
        grid-template-columns: minmax(0, 1fr);
        gap: 17px;
    }
    body.single-post:not(.elementor-page) .site-main {
        width: min(100% - 24px, 620px);
        padding-top: 22px;
    }
    body.single-post:not(.elementor-page) article.type-post,
    body.single-post:not(.elementor-page) article.post { padding: 20px 17px; border-radius: 16px; }
    body.single-post:not(.elementor-page) .entry-content,
    body.single-post:not(.elementor-page) .wp-block-post-content { font-size: 16px; line-height: 1.85; }
    body.blog:not(.elementor-page) .wp-block-post-template,
    body.archive:not(.elementor-page) .wp-block-post-template { grid-template-columns: minmax(0, 1fr); gap: 17px; }
}

body.search:not(.elementor-page) .site-main article.type-post,
body.search:not(.elementor-page) .site-main article.post {
    overflow: hidden;
    margin: 0;
    padding: 0 0 22px;
    border: 1px solid var(--ssc-hunt-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(20, 56, 46, .045);
}
body.search:not(.elementor-page) .site-main article .entry-header,
body.search:not(.elementor-page) .site-main article .entry-summary,
body.search:not(.elementor-page) .site-main article .entry-footer { margin-left: 22px; margin-right: 22px; }
