:root {
    --blog-ink: #172a39;
    --blog-gold: #b48a55;
    --blog-muted: #6b7a86;
    --blog-surface: #f5f5f1;
}

.blog-page {
    color: var(--blog-ink);
    background: #fff;
}

.blog-container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.blog-hero {
    background: linear-gradient(135deg, #122b3b, #284657);
    color: #fff;
    padding: 65px 0 80px;
}

.blog-hero-content {
    text-align: center;
    max-width: 1050px;
    margin: auto;
}

.blog-eyebrow {
    font-size: 12px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #e8c89d;
    font-weight: 700;
}

.blog-hero-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(35px, 5vw, 66px);
    font-weight: 400;
    line-height: 1.16;
    letter-spacing: -1px;
    margin: 23px 0;
}

.blog-hero-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 13px;
    color: #e0e8ec;
}

.blog-featured-wrap {
    margin-top: -45px;
    position: relative;
    z-index: 1;
}

.blog-featured-image {
    display: block;
    width: 100%;
    max-height: 610px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 20px 55px rgba(12, 28, 41, .12);
}

.blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    align-items: start;
    gap: 65px;
    padding: 72px 0 90px;
}

.blog-article {
    min-width: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.95;
    color: #344650;
    overflow-wrap: anywhere;
}

.blog-article h2,
.blog-article h3,
.blog-article h4 {
    color: var(--blog-ink);
    line-height: 1.3;
    margin: 40px 0 18px;
}

.blog-article h2 { font-size: 32px; }
.blog-article h3 { font-size: 26px; }
.blog-article h4 { font-size: 21px; }
.blog-article p { margin: 0 0 24px; }
.blog-article a { color: #a77b42; text-decoration: underline; }
.blog-article img { max-width: 100%; height: auto; border-radius: 8px; }
.blog-article figure { max-width: 100%; margin: 25px 0; }
.blog-article iframe { max-width: 100%; }
.blog-article table { display: block; max-width: 100%; overflow-x: auto; }

.blog-article blockquote {
    border-left: 4px solid var(--blog-gold);
    background: var(--blog-surface);
    padding: 20px 28px;
    margin: 32px 0;
    font-style: italic;
}

.blog-sidebar {
    font-family: Arial, sans-serif;
}

.blog-sidebar-card {
    background: var(--blog-surface);
    border-radius: 8px;
    padding: 28px;
    margin-bottom: 25px;
}

.blog-sidebar-card h3 {
    font: normal 24px Georgia, serif;
    color: var(--blog-ink);
    margin: 0 0 22px;
}

.blog-sidebar-search {
    display: flex;
    gap: 8px;
}

.blog-sidebar-search input {
    width: 100%;
    min-width: 0;
    border: 1px solid #dce2e3;
    padding: 13px;
    border-radius: 4px;
}

.blog-sidebar-search button {
    border: 0;
    background: var(--blog-gold);
    color: #fff;
    padding: 12px 15px;
    border-radius: 4px;
    cursor: pointer;
}

.blog-sidebar-link {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #e0e4e2;
    color: var(--blog-ink);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
}

.blog-sidebar-link:hover { color: var(--blog-gold); }

.blog-related {
    background: var(--blog-surface);
    padding: 80px 0 90px;
}

.blog-related-title {
    font: normal 42px Georgia, serif;
    margin: 0 0 35px;
    color: var(--blog-ink);
}

.blog-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.blog-related-card {
    background: #fff;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    border-radius: 7px;
    transition: transform .25s, box-shadow .25s;
}

.blog-related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,.08);
}

.blog-related-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}

.blog-related-card-body { padding: 24px; }
.blog-related-card h3 {
    font: normal 24px/1.3 Georgia, serif;
    margin: 0;
}

@media (max-width: 900px) {
    .blog-layout { grid-template-columns: 1fr; gap: 35px; }
    .blog-related-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 600px) {
    .blog-hero { padding: 50px 0 72px; }
    .blog-featured-image { border-radius: 7px; }
    .blog-layout { padding: 45px 0 60px; }
    .blog-article { font-size: 16px; }
    .blog-article h2 { font-size: 27px; }
    .blog-related-grid { grid-template-columns: 1fr; }
    .blog-related-title { font-size: 33px; }
    .blog-related { padding: 55px 0; }
}
/* Premium Editorial Refinements */

.blog-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 55px;
    padding-top: 85px;
}

.blog-article {
    font-family: Arial, sans-serif;
    font-size: 17px;
    line-height: 1.9;
    color: #485660;
}

.blog-article h2,
.blog-article h3,
.blog-article h4 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    color: #172a39;
    letter-spacing: -0.4px;
}

.blog-article h2 {
    font-size: 36px;
    margin-top: 48px;
    margin-bottom: 22px;
}

.blog-article h3 {
    font-size: 28px;
}

.blog-article p {
    margin-bottom: 26px;
}

.blog-article img {
    border-radius: 10px;
    margin: 15px 0;
}

.blog-sidebar-card {
    background: #fff;
    border: 1px solid #e9e8e3;
    border-radius: 10px;
    padding: 28px 25px;
    box-shadow: 0 10px 35px rgba(15, 34, 46, .045);
}

.blog-sidebar-card h3 {
    font-size: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #b48a55;
}

.blog-sidebar-link {
    transition: color .2s, padding-left .2s;
}

.blog-sidebar-link:hover {
    padding-left: 5px;
}

@media (max-width: 900px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

@media (max-width: 600px) {
    .blog-layout { padding-top: 48px; }
    .blog-article { font-size: 16px; }
    .blog-article h2 { font-size: 29px; }
    .blog-article h3 { font-size: 24px; }
}

/* Premium Sidebar Story Thumbnails */

.blog-sidebar-story {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 16px 0;
    border-bottom: 1px solid #e9e8e3;
    color: #172a39;
    text-decoration: none;
    transition: color .2s ease;
}

.blog-sidebar-story:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.blog-sidebar-story img {
    width: 88px;
    height: 76px;
    flex: 0 0 88px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.blog-sidebar-story span {
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.55;
    display: block;
}

.blog-sidebar-story:hover {
    color: #b48a55;
}

@media (max-width: 600px) {
    .blog-sidebar-story img {
        width: 95px;
        height: 78px;
        flex-basis: 95px;
    }
}

/* Featured image as a magazine-style floating image */
.blog-article-drop-image {
    float: left;
    width: 340px;
    height: 300px;
    max-width: 45%;
    object-fit: cover;
    margin: 0 28px 18px 0;
    border-radius: 10px;
}

.blog-article::after {
    content: "";
    display: block;
    clear: both;
}

@media (max-width: 600px) {
    .blog-article-drop-image {
        float: none;
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        margin: 0 0 24px;
    }
}

/* Blog Details Width and Image Spacing Refinements */

@media (min-width: 901px) {

    .blog-container {
        width: min(1380px, calc(100% - 60px));
    }

    .blog-layout {
        grid-template-columns: minmax(0, 1fr) 310px;
        gap: 55px;
    }

    .blog-article-drop-image {
        width: 340px;
        height: 300px;
        max-width: 45%;
        float: left;
        object-fit: cover;
        margin: 0 30px 20px 0;
    }
}

@media (max-width: 900px) and (min-width: 601px) {
    .blog-container {
        width: calc(100% - 40px);
    }

    .blog-article-drop-image {
        margin-right: 25px;
        margin-bottom: 18px;
    }
}

/* Featured image size and text gap - final override */

@media (min-width: 901px) {
    .blog-article img.blog-article-drop-image {
        float: left;
        display: block;
        width: 400px;
        height: 320px;
        max-width: 48%;
        object-fit: cover;
        margin: 0 40px 25px 0;
        border-radius: 10px;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .blog-article img.blog-article-drop-image {
        float: left;
        width: 45%;
        height: 260px;
        max-width: 45%;
        object-fit: cover;
        margin: 0 30px 20px 0;
    }
}

@media (max-width: 600px) {
    .blog-article img.blog-article-drop-image {
        float: none;
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        margin: 0 0 25px;
    }
}

/* Align the first article heading with the featured image top */

.blog-article > img.blog-article-drop-image + h2,
.blog-article > img.blog-article-drop-image + h3,
.blog-article > img.blog-article-drop-image + h4,
.blog-article > img.blog-article-drop-image + h1 {
    margin-top: 0;
    padding-top: 0;
}


/* Increase featured image width */

@media (min-width: 901px) {
    .blog-article img.blog-article-drop-image {
        width: 450px;
        height: 320px;
        max-width: 52%;
        margin: 0 40px 25px 0;
        object-fit: cover;
    }
}
