/* =========================================================
   SINGLE ARTICLE — FINAL
========================================================= */

.tml-single-page {
    --single-navy: #101c29;
    --single-navy-soft: #1b2b3d;
    --single-gold: #c79a48;
    --single-gold-dark: #9e7129;
    --single-gold-light: #e4bf78;
    --single-cream: #f7f4ed;
    --single-paper: #fcfbf8;
    --single-text: #1b2128;
    --single-muted: #68727c;
    --single-border: rgba(16, 28, 41, .11);

    overflow: visible;
}


.tml-single-page *,
.tml-single-page *::before,
.tml-single-page *::after {
    box-sizing: border-box;
}


/* =========================================================
   HEADER
========================================================= */

.tml-single-header {
    position: relative;
    padding: 70px 0 74px;
    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #f9f7f2,
            #fff 58%,
            #f5f1e8
        );
}


.tml-single-header::after {
    content: "";

    position: absolute;

    right: -250px;
    top: -280px;

    width: 620px;
    height: 620px;

    border: 1px solid rgba(199,154,72,.13);
    border-radius: 50%;
}


.tml-single-header-grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(360px, .95fr);

    gap: 70px;

    align-items: center;
}


.tml-single-header-grid-no-image {
    grid-template-columns: 1fr;
    max-width: 950px;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.tml-single-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 23px;

    color: var(--single-muted);

    font-size: 10px;
}


.tml-single-breadcrumb a {
    color: inherit;
    text-decoration: none;
}


.tml-single-breadcrumb a:hover {
    color: var(--single-gold-dark);
}


/* =========================================================
   CATEGORY
========================================================= */

.tml-single-category {
    display: inline-flex;

    align-items: center;

    min-height: 29px;

    padding: 0 12px;

    border-radius: 999px;

    color: var(--single-gold-dark);

    background:
        rgba(199,154,72,.11);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: .08em;

    text-decoration: none;

    text-transform: uppercase;
}


/* =========================================================
   TITLE
========================================================= */

.tml-single-header h1 {
    margin: 17px 0 0;

    color: var(--single-navy);

    font-family: Georgia, serif;

    font-size:
        clamp(
            43px,
            4.4vw,
            64px
        );

    font-weight: 500;

    line-height: 1.03;

    letter-spacing: -.032em;
}


.tml-single-header-excerpt {
    margin: 21px 0 0;

    color: var(--single-muted);

    font-size: 15px;

    line-height: 1.75;
}


/* =========================================================
   META
========================================================= */

.tml-single-meta {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 18px;

    margin-top: 30px;
}


.tml-single-meta-item {
    display: flex;

    align-items: center;

    gap: 10px;
}


.tml-single-meta-icon {
    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    border-radius: 50%;

    color: var(--single-gold-dark);

    background:
        rgba(199,154,72,.1);
}


.tml-single-meta-icon svg {
    width: 18px;
    height: 18px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.5;
}


.tml-single-meta-item small {
    display: block;

    color: var(--single-muted);

    font-size: 8px;

    font-weight: 700;

    text-transform: uppercase;
}


.tml-single-meta-item strong {
    display: block;

    margin-top: 2px;

    color: var(--single-navy);

    font-size: 10.5px;
}


.tml-single-meta-divider {
    width: 1px;
    height: 32px;

    background: var(--single-border);
}


/* =========================================================
   HEADER IMAGE
========================================================= */

.tml-single-header-image {
    position: relative;
}


.tml-single-header-image::before {
    content: "";

    position: absolute;

    left: -18px;
    bottom: -18px;

    width: 50%;
    height: 54%;

    border:
        1px solid
        rgba(199,154,72,.28);

    border-radius:
        0 0 0 23px;
}


.tml-single-header-image-frame {
    position: relative;

    z-index: 2;

    width: 100%;

    aspect-ratio: 16 / 10;

    overflow: hidden;

    border-radius: 20px;

    background: #eae6de;

    box-shadow:
        0 24px 60px
        rgba(16,28,41,.11);
}


.tml-single-header-image-frame img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* =========================================================
   ARTICLE LAYOUT
========================================================= */

.tml-single-main {
    padding: 88px 0 110px;

    background: #fff;
}


.tml-single-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        330px;

    gap: 68px;

    align-items: stretch;

    overflow: visible;
}


.tml-single-content-column {
    min-width: 0;
}


/* =========================================================
   ARTICLE CONTENT
========================================================= */

.tml-single-content {
    max-width: 820px;

    color: var(--single-text);

    font-size: 15.5px;

    line-height: 1.9;

    text-align: justify;

    text-justify: inter-word;
}


.tml-single-content > *:first-child {
    margin-top: 0;
}


.tml-single-content p {
    margin: 0 0 22px;

    color: #424b54;

    text-align: justify;
}


.tml-single-content h2 {
    position: relative;

    margin: 52px 0 20px;

    padding-top: 12px;

    color: var(--single-navy);

    font-family: Georgia, serif;

    font-size:
        clamp(
            29px,
            3vw,
            39px
        );

    font-weight: 500;

    line-height: 1.2;

    text-align: left;

    scroll-margin-top: 130px;
}


.tml-single-content h2::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 37px;
    height: 2px;

    background:
        var(--single-gold);
}


.tml-single-content h3 {
    margin: 37px 0 15px;

    color: var(--single-navy);

    font-family: Georgia, serif;

    font-size: 24px;

    font-weight: 500;

    line-height: 1.3;

    text-align: left;

    scroll-margin-top: 130px;
}


.tml-single-content h4 {
    color: var(--single-navy);

    text-align: left;
}


.tml-single-content ul,
.tml-single-content ol {
    text-align: left;
}


.tml-single-content li {
    margin-bottom: 10px;

    color: #424b54;
}


/* =========================================================
   ARTICLE INTERNAL AUTHOR LINE
========================================================= */

.tml-single-content .tml-article-byline {
    position: relative;

    margin:
        30px 0 34px !important;

    padding:
        17px 20px 17px 24px;

    border:
        1px solid
        rgba(199,154,72,.22);

    border-radius: 11px;

    color:
        #80591c !important;

    background:
        linear-gradient(
            90deg,
            #fbf7ed,
            #fff
        );

    font-family:
        inherit !important;

    font-size: 13px !important;

    font-style: normal !important;

    font-weight: 700 !important;

    line-height: 1.65 !important;

    text-align: left !important;
}


.tml-single-content
.tml-article-byline::before {
    content: "";

    position: absolute;

    left: 0;
    top: 10px;
    bottom: 10px;

    width: 3px;

    border-radius: 10px;

    background:
        var(--single-gold);
}


/* =========================================================
   BLOCKQUOTE / IMAGES / TABLES
========================================================= */

.tml-single-content blockquote {
    position: relative;

    margin: 35px 0;

    padding: 27px 30px 27px 34px;

    border:
        1px solid
        rgba(199,154,72,.2);

    border-radius: 14px;

    background: #fbf8f1;

    color: var(--single-navy);

    font-family: Georgia, serif;

    font-size: 21px;

    line-height: 1.6;

    text-align: left;
}


.tml-single-content img {
    max-width: 100%;
    height: auto;

    border-radius: 12px;
}


.tml-single-content figure {
    margin: 32px 0;
}


.tml-single-content table {
    width: 100%;

    margin: 30px 0;

    border-collapse: collapse;

    text-align: left;
}


.tml-single-content th,
.tml-single-content td {
    padding: 13px 14px;

    border:
        1px solid
        var(--single-border);
}


/* =========================================================
   TAGS
========================================================= */

.tml-single-tags {
    display: flex;

    align-items: flex-start;

    gap: 20px;

    margin-top: 55px;

    padding: 25px 0;

    border-top:
        1px solid
        var(--single-border);

    border-bottom:
        1px solid
        var(--single-border);
}


.tml-single-tags-label {
    padding-top: 8px;

    color: var(--single-navy);

    font-size: 10px;

    font-weight: 800;

    text-transform: uppercase;
}


.tml-single-tags-list {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;
}


.tml-single-tags-list a {
    padding: 8px 11px;

    border:
        1px solid
        var(--single-border);

    border-radius: 999px;

    color: var(--single-muted);

    background:
        var(--single-paper);

    font-size: 10px;

    text-decoration: none;
}


/* =========================================================
   SIDEBAR — IMPORTANT STICKY FIX
========================================================= */

.tml-single-sidebar {
    position: relative;

    min-width: 0;

    align-self: stretch;

    overflow: visible;
}


.tml-single-sidebar-stack {
    position: relative;

    min-height: 100%;

    display: flex;

    flex-direction: column;

    gap: 20px;

    overflow: visible;
}


/*
 * The cards above the CTA move normally.
 *
 * Because the SIDEBAR is stretched to the same height
 * as the article column, the CTA now has enough vertical
 * containing space for sticky positioning to actually work.
 */

.tml-single-cta-sticky-zone {
    position: relative;

    flex: 1;

    min-height: 500px;
}


.tml-single-sidebar-cta {
    position: sticky;

    top: 135px;

    padding: 27px 23px;

    overflow: hidden;

    border-radius: 17px;

    background:
        linear-gradient(
            135deg,
            var(--single-navy),
            #1d3044
        );

    z-index: 5;
}


/* =========================================================
   SIDEBAR CARDS
========================================================= */

.tml-single-side-card {
    overflow: hidden;

    border:
        1px solid
        var(--single-border);

    border-radius: 17px;

    background: #fff;

    box-shadow:
        0 10px 30px
        rgba(16,28,41,.035);
}


.tml-single-side-heading,
.tml-single-side-title {
    padding: 18px;

    border-bottom:
        1px solid
        var(--single-border);

    background:
        var(--single-paper);
}


.tml-single-side-heading {
    display: flex;

    align-items: center;

    gap: 13px;
}


.tml-single-side-icon {
    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 11px;

    color:
        var(--single-gold-dark);

    background:
        rgba(199,154,72,.11);
}


.tml-single-side-icon svg {
    width: 19px;
    height: 19px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.6;
}


.tml-single-side-heading small {
    display: block;

    color: var(--single-muted);

    font-size: 9px;

    font-weight: 800;

    text-transform: uppercase;
}


.tml-single-side-heading h2 {
    margin: 3px 0 0;

    color: var(--single-navy);

    font-family: Georgia, serif;

    font-size: 20px;

    font-weight: 500;
}


.tml-single-side-title {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;
}


.tml-single-side-title > span {
    color: var(--single-navy);

    font-family: Georgia, serif;

    font-size: 19px;

    font-weight: 500;
}


.tml-single-side-title > a {
    color:
        var(--single-gold-dark);

    font-size: 10px;

    font-weight: 800;

    text-decoration: none;

    text-transform: uppercase;
}


/* =========================================================
   TABLE OF CONTENTS
========================================================= */

.tml-single-toc {
    padding: 10px 18px 16px;
}


.tml-single-toc a {
    position: relative;

    display: block;

    padding: 11px 0 11px 22px;

    border-bottom:
        1px solid
        rgba(16,28,41,.07);

    color: var(--single-muted);

    font-size: 12px;

    line-height: 1.5;

    text-decoration: none;
}


.tml-single-toc a::before {
    content: "";

    position: absolute;

    left: 2px;
    top: 17px;

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background:
        rgba(16,28,41,.22);
}


.tml-single-toc a:hover,
.tml-single-toc a.is-active {
    color: var(--single-navy);
}


.tml-single-toc a.is-active::before {
    background:
        var(--single-gold);
}


.tml-single-toc a.tml-toc-h3 {
    padding-left: 33px;

    font-size: 11px;
}


/* =========================================================
   RECENT ARTICLES
========================================================= */

.tml-single-recent-list {
    padding: 7px 17px 11px;
}


.tml-single-recent-item {
    display: grid;

    grid-template-columns:
        78px 1fr;

    gap: 12px;

    padding: 14px 0;

    border-bottom:
        1px solid
        rgba(16,28,41,.07);
}


.tml-single-recent-image {
    width: 78px;

    aspect-ratio: 1 / .78;

    overflow: hidden;

    border-radius: 8px;
}


.tml-single-recent-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.tml-single-recent-copy > span {
    color:
        var(--single-gold-dark);

    font-size: 10px;
}


.tml-single-recent-copy h3 {
    margin: 5px 0 0;

    font-family: Georgia, serif;

    font-size: 14px;

    font-weight: 500;

    line-height: 1.4;
}


.tml-single-recent-copy h3 a {
    color: var(--single-navy);

    text-decoration: none;
}


.tml-single-recent-copy time {
    display: block;

    margin-top: 6px;

    color: var(--single-muted);

    font-size: 9px;
}


/* =========================================================
   CATEGORIES
========================================================= */

.tml-single-category-list {
    padding: 8px 17px 12px;
}


.tml-single-category-list a {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    padding: 12px 0;

    border-bottom:
        1px solid
        rgba(16,28,41,.07);

    color: var(--single-muted);

    font-size: 12px;

    font-weight: 500;

    text-decoration: none;
}


.tml-single-category-list strong {
    min-width: 27px;
    height: 27px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: var(--single-navy);

    background:
        var(--single-cream);

    font-size: 10px;
}


/* =========================================================
   ARCHIVES
========================================================= */

.tml-single-archive-list {
    margin: 0;

    padding: 8px 17px 12px;

    list-style: none;
}


.tml-single-archive-list li {
    padding: 12px 0;

    border-bottom:
        1px solid
        rgba(16,28,41,.07);

    color: var(--single-muted);

    font-size: 12px;
}


.tml-single-archive-list a {
    color: inherit;

    text-decoration: none;
}


/* =========================================================
   CTA
========================================================= */

.tml-single-sidebar-cta::after {
    content: "";

    position: absolute;

    right: -55px;
    bottom: -72px;

    width: 145px;
    height: 145px;

    border:
        1px solid
        rgba(228,191,120,.16);

    border-radius: 50%;
}


.tml-single-sidebar-cta-label {
    position: relative;

    z-index: 2;

    color:
        var(--single-gold-light);

    font-size: 9px;

    font-weight: 800;

    text-transform: uppercase;
}


.tml-single-sidebar-cta h2 {
    position: relative;

    z-index: 2;

    margin: 11px 0 0;

    color: #fff;

    font-family: Georgia, serif;

    font-size: 24px;

    font-weight: 500;

    line-height: 1.2;
}


.tml-single-sidebar-cta p {
    position: relative;

    z-index: 2;

    margin: 13px 0 0;

    color:
        rgba(255,255,255,.66);

    font-size: 12px;

    line-height: 1.65;
}


.tml-single-sidebar-cta a {
    position: relative;

    z-index: 2;

    display: inline-flex;

    gap: 10px;

    margin-top: 19px;

    color:
        var(--single-gold-light);

    font-size: 10px;

    font-weight: 800;

    text-decoration: none;

    text-transform: uppercase;
}


/* =========================================================
   RELATED MARQUEE
========================================================= */

.tml-related-section {
    padding: 100px 0 105px;

    overflow: hidden;

    background:
        var(--single-cream);
}


.tml-related-heading {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 40px;

    margin-bottom: 40px;
}


.tml-related-eyebrow {
    color:
        var(--single-gold-dark);

    font-size: 10px;

    font-weight: 800;

    text-transform: uppercase;
}


.tml-related-heading h2 {
    margin: 10px 0 0;

    color: var(--single-navy);

    font-family: Georgia, serif;

    font-size:
        clamp(
            40px,
            4.3vw,
            59px
        );

    font-weight: 500;
}


.tml-related-heading h2 em {
    display: block;

    color:
        var(--single-gold-dark);

    font-style: italic;
}


.tml-related-controls {
    display: flex;

    gap: 8px;
}


.tml-related-arrow {
    width: 44px;
    height: 44px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        var(--single-border);

    border-radius: 50%;

    background: #fff;

    color:
        var(--single-navy);

    cursor: pointer;
}


.tml-related-arrow:hover {
    color: #fff;

    background:
        var(--single-navy);
}


.tml-related-arrow svg {
    width: 19px;
    height: 19px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.7;
}


/* MARQUEE WINDOW */

.tml-related-marquee {
    width: 100%;

    overflow: hidden;
}


.tml-related-track {
    display: flex;

    width: max-content;

    gap: 20px;

    will-change: transform;
}


.tml-related-card {
    flex: 0 0 360px;

    width: 360px;

    overflow: hidden;

    border:
        1px solid
        var(--single-border);

    border-radius: 17px;

    background: #fff;
}


.tml-related-image {
    position: relative;

    display: block;

    aspect-ratio: 16 / 10;

    overflow: hidden;
}


.tml-related-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.tml-related-image > span {
    position: absolute;

    left: 13px;
    bottom: 12px;

    padding: 6px 9px;

    border-radius: 999px;

    color: #fff;

    background:
        rgba(16,28,41,.82);

    font-size: 8px;

    font-weight: 800;

    text-transform: uppercase;
}


.tml-related-card-body {
    padding: 18px 18px 19px;
}


.tml-related-card-body time {
    color:
        var(--single-muted);

    font-size: 9px;
}


.tml-related-card-body h3 {
    margin: 10px 0 0;

    font-family: Georgia, serif;

    font-size: 20px;

    font-weight: 500;

    line-height: 1.25;
}


.tml-related-card-body h3 a {
    color:
        var(--single-navy);

    text-decoration: none;
}


.tml-related-read {
    display: inline-flex;

    gap: 8px;

    margin-top: 16px;

    color:
        var(--single-gold-dark);

    font-size: 9px;

    font-weight: 800;

    text-decoration: none;

    text-transform: uppercase;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .tml-single-header-grid {
        grid-template-columns: 1fr;

        gap: 38px;
    }


    .tml-single-header-image {
        max-width: 720px;
    }


    .tml-single-layout {
        grid-template-columns: 1fr;

        gap: 55px;
    }


    .tml-single-sidebar {
        align-self: auto;
    }


    .tml-single-sidebar-stack {
        min-height: auto;
    }


    .tml-single-cta-sticky-zone {
        min-height: auto;
    }


    .tml-single-sidebar-cta {
        position: static;
    }


    .tml-related-card {
        flex-basis: 310px;

        width: 310px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .tml-single-header {
        padding: 52px 0 58px;
    }


    .tml-single-header h1 {
        font-size: 38px;
    }


    .tml-single-meta-divider {
        display: none;
    }


    .tml-single-meta-item {
        width:
            calc(50% - 7px);
    }


    .tml-single-main {
        padding: 65px 0 75px;
    }


    .tml-single-content {
        font-size: 14.5px;
    }


    .tml-related-section {
        padding: 72px 0 78px;
    }


    .tml-related-heading h2 {
        font-size: 35px;
    }


    .tml-related-card {
        flex-basis: 280px;

        width: 280px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 430px) {

    .tml-single-header h1 {
        font-size: 34px;
    }


    .tml-single-meta-item {
        width: 100%;
    }

}