/* ==========================================================================
   Screen Styles
   ========================================================================== */

/* Table of Contents
/* ------------------------------------------------------------
1.  Global Styles
2.  Layout
3.  Site Header
4.  Site Navigation
5.  Post Feed
6.  Single Post
7.  Site Footer
8.  Dark Mode (optional)
9.  Responsive Design
*/

/* 1. Global Styles
/* ---------------------------------------------------------- */

:root {
    /* Colours */
    --color-green: #a4d037;
    --color-yellow: #fecd35;
    --color-red: #f05230;
    --color-darkgrey: #15171A;
    --color-midgrey: #738a94;
    --color-lightgrey: #f1f1f1;
    --color-secondary-text: #979797;
    --color-border: #e1e1e1;
    --color-wash: #e5eff5;

    /* Fonts */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    --font-serif: Georgia, Times, serif;

    /* Framework Content Theme Variables */
    --color-primary: #3498db;
    --color-secondary: #2c3e50;
    --color-text: #333;
    --color-background: #fff;
    --color-link: #3498db;
    --color-link-hover: #2980b9;
    --color-border: #eee;
    --color-accent: #f8f9fa;
    --color-muted: #6c757d;
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    --font-heading: var(--font-body);
    --font-size-body: 16px;
    --font-size-heading: 24px;

    /* Header/Footer specific */
    --header-height: 80px;
    --header-bg: var(--color-background);
    --footer-bg: var(--color-accent);
    --cta-color: var(--color-primary);
    --cta-hover: var(--color-link-hover);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --border-radius: 6px;
    --transition: all 0.2s ease;
    --container-width: 1400px;
}

/* 2. Layout - Page building blocks
/* ---------------------------------------------------------- */

.viewport {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-content {
    flex-grow: 1;
}

/* Full width page blocks */
.outer {
    position: relative;
    padding: 0 max(4vmin, 20px);
}

/* Main content area spacing */
main {
    padding: 4rem 0;
}

/* Centered content container blocks */
.inner {
    margin: 0 auto;
    max-width: var(--container-width);
    width: 100%;
}

/* 3. Site Header
/* ---------------------------------------------------------- */

.site-header {
    position: relative;
    color: #fff;
    background: var(--color-primary);
}

.site-header-cover {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-header-content {
    position: relative;
    z-index: 100;
    display: flex;
    align-items: center;
    padding-top: calc(10vmin + 20px);
    padding-bottom: 10vmin;
    text-align: center;
    color: var(--color-darkgrey);
}

.has-cover .site-header-content {
    min-height: 560px;
    background-color: var(--color-primary);
    color: #fff;
}

.site-header-content.left-aligned {
    padding-bottom: 0;
    text-align: left;
}

.has-cover .site-header-content.left-aligned {
    align-items: flex-end;
    padding-bottom: max(4vmin, 32px);
}

.site-header-content.no-content {
    padding-top: 0;
    padding-bottom: 2vmin;
}

.site-header-inner {
    position: relative;
}

.site-header-content.left-aligned .site-header-inner {
    align-items: flex-start;
}

.site-logo {
    flex-shrink: 0;
    margin: 0 auto;
    max-height: 120px;
}

.site-header-content.left-aligned .site-logo {
    margin-right: auto;
    margin-left: 0;
    max-height: 96px;
}

.site-title {
    z-index: 10;
    margin: 0;
    padding: 0;
    font-size: 5rem;
    font-weight: 800;
}

.has-cover .site-title {
    font-size: 6rem;
}

.site-header-content.left-aligned .site-title {
    font-size: 4.4rem;
}

.has-cover .site-header-content.left-aligned .site-title {
    font-size: 4.6rem;
}

.site-description {
    display: inline-block;
    z-index: 10;
    max-width: 960px;
    font-size: 2.4rem;
    font-weight: 400;
    line-height: 1.4;
}

.site-description:first-child {
    font-family: var(--font-sans);
}

.has-cover .site-description {
    letter-spacing: -0.005em;
    color: #fff;
}

.has-cover :is(.site-logo, .site-title) + .site-description {
    font-size: 2.4rem;
}

.has-cover .site-header-content.left-aligned :is(.site-logo, .site-title) + .site-description {
    font-size: 2.2rem;
}

/* 4. Site Navigation
/* ---------------------------------------------------------- */

.gh-head {
    height: 80px;
    font-size: 1.6rem;
    line-height: 1.3em;
    background-color: #fff;
    z-index: 1000;
    position: sticky;
    top: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.has-cover:not(.home-template) .gh-head {
    background-color: var(--color-primary);
    color: #fff;
}

.home-template.has-cover .gh-head {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 2000;
    background-color: transparent;
    color: #fff;
}

.gh-head a {
    text-decoration: none;
}

.gh-head-inner {
    display: grid;
    column-gap: 40px;
    grid-template-columns: auto 1fr auto;
    grid-auto-flow: row dense;
    align-items: center;
    height: 100%;
}

/* Header CTA Button Styles */
.gh-head-actions .cta-button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1.5rem;
    font-weight: 500;
    color: #fff;
    background: var(--color-primary);
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.gh-head-actions .cta-button:hover {
    /* background: var(--color-link-hover); */
    transform: translateY(-1px);
    text-decoration: none;
    color: #fff;
}

/* Header styles */
.is-head-left-logo .gh-head-inner {
    grid-template-columns: auto 1fr auto;
}

.is-head-left-logo.home-template .gh-head:not(.is-header-hidden) .gh-head-logo {
    display: none;
}

.is-head-left-logo.home-template .gh-head:not(.is-header-hidden) .gh-head-menu {
    margin-left: -40px;
}

.is-head-middle-logo .gh-head-inner {
    grid-template-columns: 1fr auto auto 1fr;
}

.is-head-middle-logo .gh-head-brand {
    grid-column-start: 2;
}

.is-head-stacked .gh-head {
    height: auto;
}

.is-head-stacked .gh-head-inner {
    grid-template-columns: 1fr auto auto 1fr;
}

.is-head-stacked .gh-head-brand {
    grid-row-start: 1;
    grid-column-start: 2;
}

.gh-head-brand {
    display: flex;
    align-items: center;
    height: 40px;
    word-break: break-all;
}

.gh-head-logo {
    display: block;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.6rem;
    letter-spacing: -0.02em;
    color: inherit;
    white-space: nowrap;
}

.gh-head-logo.no-image {
    margin-top: -5px;
}

.has-cover .gh-head-logo {
    color: #fff;
}

.gh-head-logo img {
    max-height: 40px;
}

/* Primary Navigation */
.gh-head-menu {
    display: flex;
    align-items: center;
    margin-top: 1px;
    font-weight: 500;
    justify-self: end;
}

.gh-head-menu .nav {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.gh-head-menu .nav li {
    margin: 0;
    padding: 0;
}

.gh-head-menu .nav a {
    display: inline-block;
    line-height: 1.7;
    color: inherit;
}

.gh-head-menu .nav a:hover {
    opacity: 0.9;
}

/* 5. Post Feed
/* ---------------------------------------------------------- */

.post-feed {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 992px) {
    .post-feed {
        grid-template-columns: repeat(3, 1fr);
        gap: 4rem;
    }
}

/* Post Card */
.post-card {
    position: relative;
    grid-column: span 1;
    display: flex;
    flex-direction: column;
    background-size: cover;
    word-break: break-word;
}

.post-card-image-link {
    position: relative;
    overflow: hidden;
    display: block;
    margin-bottom: 32px;
}

.post-card-image-link::after {
    content: "";
    display: block;
    padding-bottom: 55%;
}

.post-card-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: var(--color-lightgrey) no-repeat center center;
    object-fit: cover;
}

.post-card-content-link {
    position: relative;
    display: block;
    color: var(--color-darkgrey);
}

.post-card-content-link:hover {
    text-decoration: none;
}

.no-image .post-card-content-link {
    padding: 0;
}

.no-image .post-card-header {
    margin-top: 0;
}

.post-card-tags {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 10px;
    color: var(--color-secondary-text);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.005em;
    line-height: 1;
}

.post-card-title {
    margin: 0;
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.2;
}

.post-card-content-link:hover .post-card-title {
    opacity: 0.9;
}

.no-image .post-card-title {
    margin-top: 0;
}

.post-card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-card-excerpt {
    display: -webkit-box;
    overflow-y: hidden;
    margin-top: 12px;
    max-width: 1000px;
    font-size: 1.6rem;
    line-height: 1.5;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    word-break: break-word;
    color: var(--color-text);
}

.post-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 0;
    font-size: 1.3rem;
    color: var(--color-secondary-text);
}

.post-card-meta > * {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-card-meta > * + *:not(script)::before {
    width: 2px;
    height: 2px;
    content: "";
    background-color: var(--color-secondary-text);
    border-radius: 50%;
}

.post-card-meta .sep {
    margin: 0 4px;
}

@media (min-width: 768px) {
    .post-card-large {
        grid-column: span 6;
        display: grid;
        grid-gap: 4vmin;
        grid-template-columns: repeat(3, 1fr);
        border-top: 0;
    }

    .post-card-large:not(.no-image) .post-card-header {
        margin-top: 0;
    }

    .post-card-large .post-card-image-link {
        position: relative;
        grid-column: span 2;
        margin-bottom: 0;
    }

    .post-card-large .post-card-content {
        grid-column: span 1;
    }

    .post-card-large.no-image .post-card-content {
        grid-column: span 2;
    }

    .post-card-large .post-card-image {
        position: absolute;
        width: 100%;
        height: 100%;
    }

    .post-card-large .post-card-tags {
        margin-bottom: 12px;
    }

    .post-card-large .post-card-title {
        margin-top: 0;
        font-size: 4.4rem;
        line-height: 1.05;
    }

    .post-card-large .post-card-excerpt {
        margin-top: 16px;
    }
}

/* 5.5 Pagination
/* ---------------------------------------------------------- */

.pagination {
    margin: 4rem 0;
    text-align: center;
}

.pagination-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    background-color: var(--color-background);
    color: var(--color-link);
    text-decoration: none;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    font-size: 1.4rem;
    font-weight: 500;
    transition: var(--transition);
    min-width: 2.5rem;
}

.pagination-link:hover {
    background-color: var(--color-accent);
    color: var(--color-link-hover);
    border-color: var(--color-link-hover);
}

.pagination-link:focus {
    outline: 2px solid var(--color-link);
    outline-offset: 2px;
}

.pagination-current {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    font-weight: 600;
    cursor: default;
}

.pagination-prev,
.pagination-next {
    font-weight: 600;
    min-width: auto;
    padding: 0.75rem 1.25rem;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 1rem;
}

.pagination-number {
    min-width: 2.5rem;
}

.pagination-ellipsis {
    color: var(--color-muted);
    padding: 0.75rem 0.5rem;
    font-size: 1.4rem;
}

/* Responsive pagination */
@media (max-width: 768px) {
    .pagination-inner {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .pagination-numbers {
        margin: 0 0.5rem;
        flex-wrap: wrap;
    }

    .pagination-link {
        padding: 0.5rem 0.75rem;
        font-size: 1.4rem;
    }

    .pagination-prev,
    .pagination-next {
        padding: 0.5rem 1rem;
    }
}

/* 6. Single Post
/* ---------------------------------------------------------- */

.article {
    word-break: break-word;
}

.article-byline {
    margin-top:20px;
    margin-left:2px;
}

.byline-meta-content {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    color: var(--color-secondary-text);
}

.byline-meta-content > * + * {
    position: relative;
}

.post-template .article {
    padding: max(6vmin, 40px) 0 max(6vmin, 48px);
}

.post-template .article-header {
    padding: 0 0 max(4vmin, 32px);
}

.article-tag {
    margin-bottom: 16px;
    font-size: 1.6rem;
}

.article-tag a {
    color: var(--color-secondary-text);
}

/* Article Breadcrumb */
.article-breadcrumb {
    margin-bottom: 16px;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-breadcrumb .breadcrumb-item a {
    color: var(--color-secondary-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-breadcrumb .breadcrumb-item a:hover {
    color: var(--color-link);
    text-decoration: underline;
}

.article-breadcrumb .breadcrumb-separator {
    color: var(--color-secondary-text);
    font-weight: 400;
}

.article-title {
    margin-bottom: 0;
    font-size: clamp(3.2rem, 5vw, 5.2rem);
    font-weight: 800;
    line-height: 1.05;
    color: var(--color-darkgrey);
}

.article-excerpt {
    margin-top: 20px;
    max-width: 1000px;
    font-size: 2rem;
    line-height: 1.45;
    color: var(--color-darkgrey);
}

.gh-canvas .article-image {
    grid-column: wide-start / wide-end;
    width: 100%;
    margin: max(4vmin, 40px) 0 0;
}

.image-full .article-image {
    grid-column: full-start / full-end;
}

.image-small .article-image {
    grid-column: main-start / main-end;
}

.gh-canvas .article-image img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

/* Content grid */
.gh-canvas,
.kg-width-full.kg-content-wide {
    --gap: max(4vmin, 20px);
    --main: min(1000px, 100% - var(--gap) * 2);
    --wide: minmax(0, calc((var(--container-width) - 720px) / 2));
    --full: minmax(var(--gap), 1fr);

    display: grid;
    grid-template-columns:
        [full-start] var(--full)
        [wide-start] var(--wide)
        [main-start] var(--main) [main-end]
        var(--wide) [wide-end]
        var(--full) [full-end];
}

.gh-canvas > * {
    grid-column: main-start / main-end;
}

.kg-width-wide,
.kg-content-wide > div {
    grid-column: wide-start / wide-end;
}

.kg-width-full {
    grid-column: full-start / full-end;
}

.kg-width-full img {
    width: 100%;
}

.gh-content > * + * {
    margin-top: max(3.2vmin, 24px);
    margin-bottom: 0;
}

/* Remove space between full-width cards */
.gh-content > .kg-width-full + .kg-width-full:not(.kg-width-full.kg-card-hascaption + .kg-width-full) {
    margin-top: 0;
}

/* [id] represents all headings h1-h6, reset all margins */
.gh-content > [id] {
    margin: 0;
    color: var(--color-darkgrey);
}

/* Add back a top margin to all headings, unless a heading
is the very first element in the post content */
.gh-content > [id]:not(:first-child) {
    margin: 2em 0 0;
}

/* Add a small margin between a heading and anything after it */
.gh-content > [id] + * {
    margin-top: 1.5rem !important;
}

/* A larger margin before/after HRs and blockquotes */
.gh-content > hr,
.gh-content > blockquote {
    position: relative;
    margin-top: max(4.8vmin, 32px);
}
.gh-content > hr + *,
.gh-content > blockquote + * {
    margin-top: max(4.8vmin, 32px) !important;
}

/* Add spacing between article image and content */
.image-full .gh-content {
    margin-top: 40px;
}

/* Now the content typography styles */
.gh-content a {
    color: var(--color-primary);
    text-decoration: underline;
    word-break: break-word;
}

.gh-content > blockquote:not([class]),
.gh-content > ol,
.gh-content > ul,
.gh-content > dl,
.gh-content > p {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 2rem;
    line-height: 1.6em;
}

.gh-content > p img {
    margin: 0 auto;
}

.page-template .gh-content:only-child > *:first-child:not(.kg-width-full) {
    margin-top: max(12vmin, 64px);
}

.page-template .gh-content > *:last-child:not(.kg-width-full) {
    margin-bottom: max(12vmin, 64px);
}

.gh-content > ul,
.gh-content > ol,
.gh-content > dl {
    padding-left: 1.9em;
}

.gh-content > blockquote:not([class]) {
    position: relative;
    font-style: italic;
    padding: 0;
}

.gh-content > blockquote:not([class])::before {
    content: "";
    position: absolute;
    left: -1.5em;
    top: 0;
    bottom: 0;
    width: 0.3rem;
    background: var(--color-primary);
}

.gh-content :not(pre) > code {
    vertical-align: middle;
    padding: 0.15em 0.4em 0.15em;
    border: var(--color-border) 1px solid;
    font-weight: 400 !important;
    font-size: 0.9em;
    line-height: 1em;
    color: #15171A;
    background: #f0f6f9;
    border-radius: 0.25em;
}

.gh-content pre {
    overflow: auto;
    padding: 16px 20px;
    color: var(--color-wash);
    font-size: 1.4rem;
    line-height: 1.5em;
    background: var(--color-darkgrey);
    border-radius: 5px;
    box-shadow: 0 2px 6px -2px rgba(0,0,0,.1), 0 0 1px rgba(0,0,0,.4);
}

.gh-content ol ol li {
    list-style-type: lower-alpha;
}

.gh-content ol ol ol li {
    list-style-type: lower-roman;
}

/* 7. Footer CTA Section
/* ---------------------------------------------------------- */

.footer-cta {
    position: relative;
    margin: max(12vmin, 64px) 0 0 0;
    padding: 80px 0;
    background: var(--color-lightgrey);
    text-align: center;
}

.footer-cta-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 4vmin;
}

.footer-cta-label {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #a4d65e;
    margin-bottom: 20px;
}

.footer-cta-primary {
    font-size: 4.8rem;
    font-weight: 500;
    line-height: 1.1;
    color: var(--color-darkgrey);
    margin: 0 0 20px 0;
    letter-spacing: -0.02em;
}

.footer-cta-primary strong {
    font-weight: 700;
}

.footer-cta-secondary {
    font-size: 2.4rem;
    font-weight: 400;
    line-height: 1.3;
    color: rgba(0,0,0,0.8);
    /* margin: 0 0 40px 0; */
}

.footer-cta-button {
    margin: 20px 0 0 0;
    display: inline-block;
    padding: 16px 32px;
    font-size: 1.6rem;
    /* font-weight: 600; */
    color: #fff;
    background: var(--color-primary);
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.footer-cta-button:hover {
    /* background: var(--cta-hover); */
    transform: translateY(-2px);
    text-decoration: none;
    /* color: #000; */
}

/* 7. Site Footer
/* ---------------------------------------------------------- */

.site-footer {
    position: relative;
    margin: 0;
    /* padding: 40px 0 40px 0; */
    padding-top: 40px;
    padding-bottom: 40px;
    color: var(--color-darkgrey);
    background: #fff;
}

.page-template .site-footer {
    margin-top: 0;
}

.site-footer .inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
    color: rgba(0,0,0,0.7);
    font-size: 1.3rem;
}

/* Footer Top: Logo and Social Icons */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
}

.footer-logo {
    flex: 0 0 auto;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-logo-text {
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-darkgrey);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.footer-logo-text:hover {
    color: rgba(0,0,0,0.8);
    text-decoration: none;
}

.footer-tagline {
    margin-top: 8px;
    font-size: 1.6rem;
    font-weight: 500;
    color: rgba(0,0,0,0.7);
    line-height: 1.4;
    max-width: 400px;
}

.footer-social {
    flex: 0 0 auto;
}

.social-links {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.social-links li {
    margin: 0;
    padding: 0;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: rgba(0,0,0,0.7);
    transition: color 0.2s ease;
}

.social-links a:hover {
    color: rgba(0,0,0,1);
    text-decoration: none;
}

.social-links svg {
    width: 20px;
    height: 20px;
}

/* Footer Columns: Link Navigation */
.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
    padding-bottom: 30px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-darkgrey);
    margin: 0 0 20px 0;
    letter-spacing: -0.01em;
}

.footer-column-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column-links li {
    margin: 0;
    padding: 0;
}

.footer-column-links a {
    color: rgba(0,0,0,0.7);
    text-decoration: none;
    font-size: 1.3rem;
    transition: color 0.2s ease;
}

.footer-column-links a:hover {
    color: rgba(0,0,0,1);
    text-decoration: none;
}

/* Footer Bottom: Legal Links */
.footer-bottom {
    display: flex;
    justify-content: flex-start;
}

.footer-legal {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 1.2rem;
    color: rgba(0,0,0,0.6);
}

.footer-legal a {
    color: rgba(0,0,0,0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: rgba(0,0,0,0.8);
    text-decoration: none;
}

.footer-separator {
    color: rgba(0,0,0,0.4);
}

.footer-copyright,
.footer-powered {
    color: rgba(0,0,0,0.6);
}

.site-footer a {
    color: rgba(0,0,0,0.7);
}

.site-footer a:hover {
    color: rgba(0,0,0,1);
    text-decoration: none;
}


/* Read More Section
/* ---------------------------------------------------------- */

.read-more-wrap {
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.read-more {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: var(--container-width);
    margin: 0 auto;
}

.read-more .post-card {
    margin-bottom: 0;
}

.read-more .post-card-image-link::after {
    padding-bottom: 60%;
}

.read-more .post-card-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: var(--color-lightgrey) no-repeat center center;
    object-fit: cover;
}

.read-more .post-card-title {
    font-size: 1.8rem;
    line-height: 1.3;
}

.read-more .post-card-excerpt {
    font-size: 1.4rem;
    line-height: 1.4;
    -webkit-line-clamp: 2;
}

.read-more .post-card-meta {
    margin-top: 8px;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .read-more {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .read-more .post-card-title {
        font-size: 1.6rem;
    }

    .read-more .post-card-excerpt {
        font-size: 1.3rem;
    }
}

/* 9. Responsive Design
/* ---------------------------------------------------------- */

/* @media (max-width: 991px) {
    .site-header-content {
        padding-top: calc(19vmin + 32px);
    }
} */

@media (max-width: 767px) {
    .site-header-content {
        min-height: 120px;
    }
    .site-header-inner {
        gap: 16px;
    }
    .site-logo {
        max-width: 60%;
    }
    .site-title {
        font-size: 3.4rem !important;
    }
    .site-description {
        font-size: 2.2rem !important;
    }
    .site-logo + .site-description {
        margin-top: 12px !important;
    }
    .site-title + .site-description {
        margin-top: 12px !important;
    }    
    .site-footer .inner {
        /* max-width: 500px; */
        grid-template-columns: 1fr;
        grid-gap: 0;
        text-align: center;
        padding-top: 20px;
    }
    .site-footer .copyright,
    .site-footer .copyright a {
        color: #fff;
        font-size: 1.5rem;
    }
    .site-footer .copyright {
        margin-bottom: 16px;
    }
}

@media (max-width: 650px) {
    .gh-content > blockquote:not([class]),
    .gh-content > ol,
    .gh-content > ul,
    .gh-content > dl,
    .gh-content > p {
        font-size: 1.8rem;
    }

    .gh-content blockquote:not([class])::before {
        left: min(-4vmin, -20px);
    }
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .gh-head-menu {
        display: none;
    }

    .article-byline {
        margin: 0;
    }    
    
    .gh-head-menu.mobile-open {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--header-bg);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        box-shadow: var(--shadow-md);
        border-top: 1px solid var(--color-border);
    }

    .gh-head-menu.mobile-open .nav {
        flex-direction: column;
        gap: 0;
    }

    .gh-head-menu.mobile-open .nav li {
        width: 100%;
        text-align: center;
    }

    .gh-head-menu.mobile-open .nav a {
        display: block;
        padding: 1rem;
    }

    /* Footer CTA responsive */
    .footer-cta {
        padding: 60px 0 !important;
    }

    .footer-cta-primary {
        font-size: 3.6rem;
    }

    .footer-cta-secondary {
        font-size: 2rem;
    }

    /* Header mobile layout */
    .gh-head-inner {
        gap: 16px;
    }

    .gh-head-actions {
        text-align: right;
    }

    .gh-head-actions .cta-button {
        padding: 10px 20px;
        font-size: 1.3rem;
    }

    /* Footer responsive */
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-bottom {
        justify-content: flex-start;
    }

    .footer-legal {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .footer-separator {
        display: none;
    }

    /* Main content */
    .outer {
        padding: 0 1.5rem;
    }

    main {
        padding: 2rem 0;
    }

    /* Ensure consistent spacing for post cards and content */
    .post-card {
        margin-bottom: 2rem;
    }

    .article-title {
        margin-bottom: 1.5rem;
    }

    .article-excerpt {
        margin-top: 1rem;
        margin-bottom: 1.5rem;
    }

    .article-excerpt {
        margin-top: 14px;
        font-size: 1.7rem;
    }
}

@media (max-width: 480px) {
    .footer-cta {
        padding: 40px 0;
    }

    .footer-cta-primary {
        font-size: 2.8rem;
    }

    .footer-cta-secondary {
        font-size: 1.8rem;
    }

    .footer-cta-button {
        padding: 14px 28px;
        font-size: 1.4rem;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-legal {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .outer {
        padding: 0 1rem;
    }

    main {
        padding: 1.5rem 0;
    }

    .article-title {
        font-size: 1.75rem;
    }
    .h1 { font-size: 1.75rem; }
    .h2 { font-size: 1.5rem; }
    .h3 { font-size: 1.25rem; }
}