/*
 * TTO Theme - Single Post Styles
 */

/* ====================================
   SINGLE PAGE LAYOUT
   ==================================== */
.single-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    padding: 4px 0 30px;
}

/* Reader-triggered AI summary control. */
.tto-ai-summary {
    margin: 24px 0 28px;
    padding: 0;
    background: #fff;
    border: 1px solid #dfe3e8;
    border-top: 3px solid var(--primary);
    box-shadow: 0 8px 24px rgba(19,29,42,.06);
}

.tto-ai-summary::after {
    display: none;
}

.tto-ai-summary-toggle {
    display: flex;
    width: 100%;
    min-height: 74px;
    align-items: center;
    gap: 13px;
    padding: 14px 18px;
    color: #17202b;
    background: #fff;
    border: 0;
    cursor: pointer;
    text-align: left;
}

.tto-ai-summary-toggle:hover {
    background: #fafbfc;
}

.tto-ai-summary-toggle:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: -2px;
}

.tto-ai-summary-toggle:disabled {
    cursor: wait;
    opacity: .72;
}

.tto-ai-summary-toggle-icon {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #fff;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 5px 14px rgba(230,43,52,.2);
}

.tto-ai-summary-toggle-copy {
    display: grid;
    flex: 1;
    gap: 2px;
}

.tto-ai-summary-toggle-copy strong {
    font-family: var(--font-reading);
    font-size: 16px;
    font-weight: 750;
}

.tto-ai-summary-toggle-copy small {
    color: #747e89;
    font-family: var(--font-meta);
    font-size: 11px;
}

.tto-ai-summary-chevron {
    color: #7b8490;
    font-size: 12px;
    transition: transform .25s ease, color .2s ease;
}

.tto-ai-summary.is-open .tto-ai-summary-chevron {
    color: var(--primary);
    transform: rotate(180deg);
}

.tto-ai-summary.is-loading .tto-ai-summary-toggle-icon i {
    animation: tto-ai-sparkle 1s ease-in-out infinite alternate;
}

.tto-ai-summary-content {
    padding: 21px 24px 19px;
    background: #f7f8fa;
    border-top: 1px solid #e1e4e8;
}

.tto-ai-summary-content[hidden] {
    display: none;
}

.tto-ai-summary-content .tto-ai-summary-heading {
    margin-bottom: 10px;
}

.tto-ai-summary-content .tto-ai-summary-heading h2 {
    font-size: 18px;
}

.tto-ai-summary-content .tto-ai-summary-text {
    margin: 0;
    color: #29333f;
    font-family: var(--font-reading);
    font-size: 15px;
    line-height: 1.65;
}

.tto-ai-summary-content > small {
    display: block;
    margin-top: 14px;
    color: #7b8490;
    font-family: var(--font-meta);
    font-size: 10px;
}

@keyframes tto-ai-sparkle {
    from { transform: scale(.86) rotate(-8deg); opacity: .7; }
    to { transform: scale(1.08) rotate(8deg); opacity: 1; }
}

@media (max-width: 600px) {
    .tto-ai-summary-toggle {
        min-height: 68px;
        padding: 12px 14px;
    }

    .tto-ai-summary-toggle-icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }

    .tto-ai-summary-toggle-copy strong {
        font-size: 15px;
    }

    .tto-ai-summary-content {
        padding: 18px 16px 16px;
    }

    .tto-ai-summary-content .tto-ai-summary-text {
        font-size: 14px;
    }
}

/* Reader bookmark control */
.tto-bookmark-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid #cfd5dc;
    border-radius: 999px;
    background: #fff;
    color: #202733;
    font-family: var(--font-meta, "Poppins", sans-serif);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.tto-bookmark-btn:hover,
.tto-bookmark-btn:focus-visible {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}

.tto-bookmark-btn.is-bookmarked {
    border-color: var(--primary);
    background: #fff4f5;
    color: var(--primary);
}

.tto-bookmark-btn-bottom {
    flex: 0 0 auto;
}

.tto-bookmark-toast {
    position: fixed;
    z-index: 10020;
    left: 50%;
    bottom: 24px;
    padding: 11px 17px;
    border-radius: 999px;
    background: #17191d;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,.22);
    font-family: var(--font-meta, "Poppins", sans-serif);
    font-size: 13px;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 12px);
    transition: opacity .2s ease, transform .2s ease;
}

.tto-bookmark-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.tto-native-bookmark-prompt {
    position: fixed;
    z-index: 10030;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(10, 14, 20, .42);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
}

.tto-native-bookmark-prompt.is-visible {
    opacity: 1;
    visibility: visible;
}

.tto-native-bookmark-prompt-inner {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 34px;
    gap: 13px;
    align-items: center;
    width: min(100%, 470px);
    padding: 18px;
    background: #fff;
    border-top: 3px solid var(--primary);
    box-shadow: 0 18px 55px rgba(0, 0, 0, .22);
}

.tto-native-bookmark-prompt-inner > i {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #fff;
    background: var(--primary);
    border-radius: 50%;
}

.tto-native-bookmark-prompt strong {
    display: block;
    margin-bottom: 3px;
    color: #172033;
    font-family: var(--font-reading);
    font-size: 16px;
}

.tto-native-bookmark-prompt p {
    margin: 0;
    color: #5d6877;
    font-family: var(--font-meta);
    font-size: 12px;
    line-height: 1.5;
}

.tto-native-bookmark-prompt button {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #4e5865;
    background: #f2f4f6;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

@media (max-width: 600px) {
    .post-date-row .read-time {
        display: none;
    }

    .tto-bookmark-btn-bottom {
        align-self: flex-start;
    }

    .tto-bookmark-toast {
        bottom: 16px;
        max-width: calc(100vw - 32px);
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tto-ai-summary.is-loading .tto-ai-summary-toggle-icon i {
        animation: none;
    }
}

.single-content {
    min-width: 0;
    max-width: 100%;
    overflow: visible;
}

/* ====================================
   SIDEBAR
   ==================================== */
.sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.sidebar-widget {
    padding: 0 0 20px;
    margin-bottom: 20px;
}

.widget-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget-title i {
    color: var(--primary);
}

/* Sidebar Ad */
.sidebar-ad {
    margin-bottom: 20px;
}

.sidebar-ad img {
    width: 100%;
    height: auto;
    display: block;
}

.sidebar-ad-label {
    font-size: 10px;
    color: var(--gray);
    text-align: center;
    margin-top: 5px;
    text-transform: uppercase;
}

/* Sidebar Video Widget */
.sidebar-video {
    margin-bottom: 20px;
}

.sidebar-video .widget-title i {
    color: #FF0000;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.video-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    margin-top: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ââ Latest Videos Widget ââ */
.sidebar-latest-videos .widget-title i {
    color: #FF0000;
}

.sidebar-video-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* First video â full embed player */
.sidebar-video-featured {
    margin-bottom: 12px;
}

.sidebar-video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 4px;
    background: #000;
}

.sidebar-video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Remaining videos â thumbnail rows (matches Latest News style) */
.sidebar-video-item {
    border-bottom: 1px solid var(--border-light);
}

.sidebar-video-item:last-child {
    border-bottom: none;
}

.sidebar-video-thumb-link {
    display: block;
    padding: 10px 0;
}

.sidebar-video-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 3px;
    aspect-ratio: 16 / 9;
    background: #000;
}

.sidebar-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    transition: transform 0.3s ease;
}

.sidebar-video-thumb-link:hover .sidebar-video-thumb img {
    transform: scale(1.04);
}

.sidebar-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background: rgba(0,0,0,0.65);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    transition: background 0.2s ease;
    pointer-events: none;
}

.sidebar-video-thumb-link:hover .sidebar-video-play {
    background: #FF0000;
}

/* Latest News Widget */
.latest-news-list {
    list-style: none;
}

.latest-news-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #e5e5e5;
}

.latest-news-item:first-child {
    padding-top: 0;
}

.latest-news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.latest-news-thumb {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
    overflow: hidden;
}

.latest-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.latest-news-item:hover .latest-news-thumb img {
    transform: scale(1.05);
}

.latest-news-info {
    flex: 1;
    min-width: 0;
}

.latest-news-info h4 {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 5px;
    /* Truncate to 2 lines max */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.latest-news-info h4 a {
    color: var(--black);
    transition: color 0.3s ease;
}

.latest-news-info h4 a:hover {
    color: var(--primary);
}

.latest-news-info .news-date {
    font-size: 11px;
    color: var(--gray);
}

/* ====================================
   SINGLE POST
   ==================================== */
.single-post {
    max-width: none;
}

.post-header {
    margin-bottom: 15px;
}

.post-category-wrap {
    margin-bottom: 9px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    min-height: 20px;
}

.post-category-links {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.post-category-wrap::before {
    content: "";
    flex: 0 0 var(--editorial-marker-width);
    width: var(--editorial-marker-width);
    height: var(--editorial-marker-height);
    background: var(--primary);
    transform: skew(-18deg);
}

.post-category-link {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 0;
    color: var(--primary);
    background: transparent;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: var(--editorial-label-spacing);
    line-height: 1.2;
}

.post-category-link:hover {
    color: var(--primary-dark);
    background: transparent;
}

.post-category-link:focus-visible {
    color: var(--primary-dark);
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.post-category-link + .post-category-link::before {
    margin-right: 8px;
    color: #a0a7b2;
    content: "•";
    font-size: 10px;
}

.read-time {
    position: relative;
    padding-left: 10px;
    font-size: 13px;
    color: var(--gray);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-time::before {
    content: "";
    position: absolute;
    left: 0;
    width: 1px;
    height: 12px;
    background: var(--border-light);
}

.read-time i {
    font-size: 12px;
}

.single-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -1px;
    color: var(--black);
    margin: 0 0 12px;
}

.article-standfirst {
    max-width: 900px;
    margin: -1px 0 16px;
    color: #505a66;
    font-family: var(--font-reading);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.58;
}

.article-standfirst p {
    margin: 0;
}

.article-standfirst a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.post-meta-single {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 8px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.author-info-small {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-info-small img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info-small .author-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-info-small .author-name {
    display: block;
    font-family: var(--font-meta);
    font-weight: 600;
    color: var(--black);
    font-size: 14px;
}

.author-info-small .author-name:hover {
    color: var(--primary);
}

.author-info-small .post-date {
    font-family: var(--font-meta);
    font-size: 13px;
    color: var(--gray);
}

.post-date-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}

.post-date-row .read-time {
    padding-left: 0;
    color: var(--gray);
    font-family: var(--font-meta);
    font-size: 13px;
}

.post-date-row .read-time::before {
    position: static;
    width: auto;
    height: auto;
    color: #a0a7b2;
    background: none;
    content: "•";
}

/* Post Actions */
.post-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.reading-mode-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 15px;
    background: #fff;
    color: #282828;
    border: 2px solid #282828;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    box-shadow: 0 5px 14px rgba(0,0,0,0.10);
}

.reading-mode-btn i {
    font-size: 13px;
}

.reading-mode-btn:hover {
    transform: translateY(-3px);
    background: #f5f5f5;
    color: #282828;
    border-color: #282828;
}

.reading-mode-btn.active {
    background: #282828;
    color: #fff;
    border-color: #282828;
}

.reading-mode-btn .btn-text-enter {
    display: inline;
}

.reading-mode-btn .btn-text-exit {
    display: none;
}

.post-share {
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
}

.post-share a {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    color: var(--white);
    font-size: 14px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.post-share a:hover {
    background: var(--primary);
}

/* Mobile Share - Hidden by default, shown on mobile below article content */
.post-share-mobile {
    display: none;
    align-items: center;
    gap: 10px;
    margin: 25px 0;
}

.post-share-mobile .share-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
}

.post-share-mobile a {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    color: var(--white);
    font-size: 14px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.post-share-mobile a:hover {
    background: var(--primary);
}

/* Featured Image */
.tto-audio-player {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    margin: 14px 0 22px;
    padding: 13px 15px;
    border: 1px solid #e1e6ed;
    border-left: 4px solid var(--primary);
    background: #fff;
}

.tto-audio-mark {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #fff1f2;
    font-size: 18px;
}

.tto-audio-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tto-audio-kicker {
    color: #172033;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
}

.tto-audio-status {
    color: #778192;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
}

.tto-audio-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tto-audio-play,
.tto-audio-restart {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #d9dfe7;
    color: #172033;
    background: #fff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.tto-audio-play {
    min-width: 90px;
    padding: 0 14px;
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
}

.tto-audio-restart {
    width: 38px;
    padding: 0;
}

.tto-audio-play:hover,
.tto-audio-play:focus-visible {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    outline: none;
}

.tto-audio-restart:hover,
.tto-audio-restart:focus-visible {
    color: var(--primary);
    border-color: var(--primary);
    outline: none;
}

.tto-audio-player.is-playing .tto-audio-mark i {
    animation: tto-audio-pulse 1.4s ease-in-out infinite;
}

@keyframes tto-audio-pulse {
    0%, 100% { transform: scale(1); opacity: 0.75; }
    50% { transform: scale(1.12); opacity: 1; }
}

@media (max-width: 680px) {
    .tto-audio-player {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 10px;
        padding: 12px;
    }

    .tto-audio-mark {
        width: 40px;
        height: 40px;
    }

    .tto-audio-controls {
        grid-column: 1 / -1;
        justify-content: space-between;
        padding-top: 2px;
    }

    .tto-audio-play {
        flex: 1;
    }

}

/* Bottom article audio bar */
.tto-audio-player {
    display: block;
    margin: 34px 0 24px;
    padding: 0 0 22px;
    border: 0;
    background: transparent;
}

.tto-audio-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.tto-audio-kicker {
    color: #111827;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.35;
}

.tto-audio-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tto-audio-play {
    width: 54px;
    min-width: 54px;
    height: 54px;
    min-height: 54px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--primary);
    box-shadow: none;
}

.tto-audio-play:hover,
.tto-audio-play:focus-visible {
    color: #fff;
    background: var(--primary-dark);
    transform: scale(1.03);
}

.tto-audio-play-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.tto-audio-waveform {
    height: 58px;
    min-width: 0;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 3px;
    overflow: hidden;
}

.tto-audio-waveform span {
    width: 3px;
    height: var(--bar-height);
    flex: 1 1 3px;
    max-width: 4px;
    border-radius: 999px;
    background: rgba(230, 43, 52, 0.45);
    transform-origin: center;
}

.tto-audio-player.is-playing .tto-audio-waveform span {
    animation: tto-waveform 0.8s ease-in-out infinite alternate;
    animation-delay: var(--bar-delay);
}

@keyframes tto-waveform {
    from { transform: scaleY(0.58); opacity: 0.48; }
    to { transform: scaleY(1); opacity: 1; }
}

.tto-audio-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.tto-audio-restart {
    border-radius: 50%;
}

.tto-audio-speed-slider {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #687080;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.tto-audio-speed-slider input[type="range"] {
    width: 94px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #dfe4eb;
    accent-color: var(--primary);
    cursor: pointer;
}

.tto-audio-speed-slider output {
    min-width: 30px;
    color: #172033;
    font-size: 12px;
    font-weight: 700;
    text-align: right;
    text-transform: none;
    letter-spacing: 0;
}

@media (max-width: 680px) {
    .tto-audio-player {
        margin-top: 28px;
        padding: 0 0 18px;
    }

    .tto-audio-heading {
        display: block;
        margin-bottom: 13px;
    }

    .tto-audio-kicker {
        display: block;
        font-size: 15px;
    }

    .tto-audio-status {
        display: block;
        margin-top: 3px;
    }

    .tto-audio-row {
        gap: 10px;
        flex-wrap: wrap;
    }

    .tto-audio-play {
        width: 48px;
        min-width: 48px;
        height: 48px;
        min-height: 48px;
        flex: 0 0 48px;
    }

    .tto-audio-waveform {
        height: 50px;
        gap: 2px;
    }

    .tto-audio-waveform span {
        width: 2px;
    }

    .tto-audio-controls {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        padding-top: 2px;
    }

    .tto-audio-speed-slider {
        flex: 1;
    }

    .tto-audio-speed-slider input[type="range"] {
        width: auto;
        min-width: 90px;
        flex: 1;
    }

}

.tto-audio-floating {
    position: fixed;
    right: 76px;
    bottom: 20px;
    z-index: 9000;
    width: min(270px, calc(100vw - 96px));
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 11px;
    border: 1px solid #dfe4eb;
    border-left: 4px solid var(--primary);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    backdrop-filter: blur(10px);
}

.tto-audio-floating.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tto-audio-floating-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    color: var(--primary);
    background: #fff1f2;
    border-radius: 50%;
}

.tto-audio-floating-copy {
    min-width: 0;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.tto-audio-floating-copy strong {
    color: #172033;
    font-size: 13px;
    line-height: 1.25;
}

.tto-audio-floating-copy small {
    overflow: hidden;
    color: #778192;
    font-size: 11px;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tto-audio-floating-play,
.tto-audio-floating-stop {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    padding: 0;
    border: 1px solid #d9dfe7;
    border-radius: 50%;
    color: #172033;
    background: #fff;
    cursor: pointer;
}

.tto-audio-floating-play {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
}

.tto-audio-floating-play:hover,
.tto-audio-floating-play:focus-visible {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    outline: none;
}

.tto-audio-floating-stop:hover,
.tto-audio-floating-stop:focus-visible {
    color: var(--primary);
    border-color: var(--primary);
    outline: none;
}

body.bar-visible .tto-audio-floating {
    bottom: 105px;
}

@media (max-width: 680px) {
    .tto-audio-floating {
        right: 64px;
        bottom: 10px;
        width: min(270px, calc(100vw - 74px));
        padding: 9px 10px;
    }

    body.bar-visible .tto-audio-floating {
        bottom: 96px;
    }
}

.post-featured-image {
    margin-bottom: 30px;
}

.post-featured-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1200/675;
    object-fit: cover;
}

.post-featured-image .image-caption {
    font-size: 13px;
    color: #687080;
    text-align: center;
    padding: 9px 0 0;
    margin: 0;
    font-style: normal;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: 0.01em;
}

/* Post Content */
/* ====================================
   POST CONTENT TYPOGRAPHY
   ==================================== */

.post-content {
    color: #29303b;
    font-family: var(--font-article);
    font-size: 17px;
    line-height: 1.8;
    word-break: break-word;
    overflow-wrap: break-word;
    overflow: visible;
    max-width: 100%;
}

/* AI-assisted article summary shown directly below the featured image. */
.tto-ai-summary {
    position: relative;
    margin: 26px 0 30px;
    padding: 24px 26px 21px;
    overflow: hidden;
    color: #27313d;
    background: #f7f8fa;
    border-top: 3px solid var(--primary);
    box-shadow: 0 9px 28px rgba(19, 29, 42, .07);
}

.tto-ai-summary::after {
    content: "AI";
    position: absolute;
    top: -14px;
    right: 14px;
    color: rgba(230, 43, 52, .045);
    font-family: var(--font-reading);
    font-size: 94px;
    font-weight: 800;
    line-height: 1;
    pointer-events: none;
}

.tto-ai-summary-heading {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 17px;
}

.tto-ai-summary-heading > span {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    color: var(--primary);
    background: #fff;
    border: 1px solid #eadde0;
    border-radius: 50%;
    font-size: 17px;
}

.tto-ai-summary-heading h2 {
    margin: 0 0 2px;
    color: #151b23;
    font-family: var(--font-reading);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.25px;
    line-height: 1.2;
}

.tto-ai-summary-heading p {
    margin: 0;
    color: #78818d;
    font-family: var(--font-meta);
    font-size: 11px;
    line-height: 1.4;
}

.tto-ai-summary ul {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tto-ai-summary li {
    position: relative;
    padding-left: 20px;
    font-family: var(--font-reading);
    font-size: 15px;
    line-height: 1.55;
}

.tto-ai-summary li::before {
    content: "";
    position: absolute;
    top: .65em;
    left: 2px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    transform: rotate(45deg);
}

.tto-ai-summary-text {
    position: relative;
    z-index: 1;
    margin: 0;
    font-family: var(--font-reading);
    font-size: 15px;
    line-height: 1.6;
}

.tto-ai-summary > small {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 16px;
    padding-top: 12px;
    color: #7a8490;
    border-top: 1px solid #e1e4e8;
    font-family: var(--font-meta);
    font-size: 10px;
    line-height: 1.4;
}

@media (max-width: 600px) {
    .tto-ai-summary {
        margin: 20px 0 24px;
        padding: 20px 18px 18px;
    }

    .tto-ai-summary-heading > span {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }

    .tto-ai-summary-heading h2 {
        font-size: 18px;
    }

    .tto-ai-summary li,
    .tto-ai-summary-text {
        font-size: 14px;
    }
}

/* ââ Paragraphs ââ */
.post-content p {
    margin: 0 0 20px;
    font-size: 16px;
}

.post-content p:last-child {
    margin-bottom: 0;
}

/* ââ Headings ââ */
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    font-family: var(--font-reading);
    font-weight: 700;
    color: var(--black);
    line-height: 1.3;
}

@media (max-width: 600px) {
    .post-content {
        font-size: 17px;
        line-height: 1.75;
    }
}

/* Compact bylines, dates and timestamps use the metadata face site-wide. */
.latest-news-info .news-date,
.liveblog-entry-meta,
.entry-time-inline,
.update-datetime,
.update-strip-meta,
.update-strip-time {
    font-family: var(--font-meta);
}

.post-content h1 { font-size: 28px; margin: 36px 0 14px; }
.post-content h2 { font-size: 24px; margin: 34px 0 13px; }
.post-content h3 { font-size: 20px; margin: 28px 0 12px; }
.post-content h4 { font-size: 18px; margin: 24px 0 10px; }
.post-content h5 { font-size: 16px; margin: 20px 0 8px; }
.post-content h6 { font-size: 14px; margin: 18px 0 8px; color: var(--gray); }

/* ââ Links ââ */
.post-content a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.post-content a:hover {
    border-bottom-color: var(--primary);
}

/* ââ Inline styles ââ */
.post-content strong,
.post-content b {
    font-weight: 700;
    color: var(--black);
}

.post-content em,
.post-content i {
    font-style: italic;
}

.post-content u {
    text-decoration: underline;
}

.post-content s,
.post-content del {
    text-decoration: line-through;
    color: var(--gray);
}

.post-content mark {
    background: #fff3cd;
    padding: 1px 3px;
    border-radius: 2px;
}

.post-content sup { font-size: 11px; vertical-align: super; }
.post-content sub { font-size: 11px; vertical-align: sub; }

/* ââ Unordered list ââ */
.post-content ul {
    margin: 18px 0 20px;
    padding-left: 22px;
    list-style: none;
}

.post-content ul li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 8px;
    line-height: 1.7;
}

.post-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Nested ul */
.post-content ul ul {
    margin: 8px 0 4px;
    padding-left: 18px;
}

.post-content ul ul li::before {
    background: transparent;
    border: 2px solid var(--primary);
}

.post-content ul ul ul li::before {
    background: var(--gray-light);
    border: none;
}

/* ââ Ordered list ââ */
.post-content ol {
    margin: 18px 0 20px;
    padding-left: 0;
    list-style: none;
    counter-reset: tto-counter;
}

.post-content ol li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 8px;
    line-height: 1.7;
    counter-increment: tto-counter;
}

.post-content ol li::before {
    content: counter(tto-counter);
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Nested ol */
.post-content ol ol {
    margin: 8px 0 4px;
    counter-reset: tto-counter-inner;
}

.post-content ol ol li {
    counter-increment: tto-counter-inner;
}

.post-content ol ol li::before {
    content: counter(tto-counter-inner, lower-alpha);
    background: var(--dark-light);
}

/* Mixed nesting */
.post-content ol ul { margin: 8px 0 4px; }
.post-content ul ol { margin: 8px 0 4px; }

/* ââ Blockquote ââ */
.post-content blockquote {
    margin: 28px 0;
    padding: 16px 20px;
    border-left: 4px solid var(--primary);
    background: #fafafa;
    border-radius: 0 4px 4px 0;
}

.post-content blockquote::before {
    display: none;
    content: "";
}








.post-content blockquote p {
    margin-bottom: 6px;
    font-size: 16px;
    font-style: italic;
    color: #444;
    line-height: 1.7;
}

.post-content blockquote p:last-child {
    margin-bottom: 0;
}

.post-content blockquote cite {
    display: block;
    font-size: 13px;
    color: var(--gray);
    font-style: normal;
    margin-top: 8px;
}

.post-content blockquote cite::before {
    content: 'â ';
}

/* ââ Images ââ */
.post-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 22px auto;
    border-radius: 3px;
}

.post-content img.alignleft  { float: left;  margin: 8px 22px 8px 0; }
.post-content img.alignright { float: right; margin: 8px 0 8px 22px; }
.post-content img.aligncenter { margin: 22px auto; }

/* ââ Figure / Caption ââ */
.post-content figure {
    margin: 26px 0;
    max-width: 100%;
}

.post-content figure img {
    margin: 0;
    width: 100%;
}

.post-content figcaption {
    font-size: 13px;
    color: var(--gray);
    text-align: center;
    padding: 8px 0 0;
    font-style: italic;
    line-height: 1.5;
}

.post-content .tto-image-source {
    margin: 0;
    padding: 9px 0 0;
    color: #687080;
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: 0.01em;
    text-align: center;
}

/* ââ Table ââ */
.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 26px 0;
    font-size: 14px;
    line-height: 1.5;
}

.post-content .wp-block-table {
    margin: 26px 0;
    overflow: visible;
    border: 1px solid #e5eaf0;
    background: #fff;
}

.post-content .wp-block-table table {
    margin: 0;
}

.post-content table {
    display: table;
    table-layout: fixed;
    overflow: visible;
    white-space: normal;
    min-width: 0;
    word-break: normal;
}

.post-content thead {
    background: var(--dark);
    color: #fff;
}

.post-content thead th {
    padding: 11px 14px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.03em;
    white-space: nowrap;
    border: 1px solid rgba(255,255,255,0.1);
}

.post-content tbody tr:nth-child(even) {
    background: #f9f9f9;
}

.post-content tbody tr:hover {
    background: #fff0f0;
}

.post-content td {
    padding: 10px 14px;
    border: 1px solid #e5e5e5;
    vertical-align: top;
    color: #333;
    overflow-wrap: anywhere;
}

.post-content tfoot td,
.post-content tfoot th {
    padding: 10px 14px;
    border: 1px solid #e5e5e5;
    font-weight: 600;
    background: #f5f5f5;
    color: var(--dark);
}

.post-content caption {
    font-size: 13px;
    color: var(--gray);
    text-align: left;
    padding: 0 0 8px;
    font-style: italic;
}

/* ââ Code / Pre ââ */
@media (max-width: 1024px) {
    .post-content .wp-block-table {
        border: 0;
        background: transparent;
    }

    .post-content table.tto-responsive-table-ready,
    .post-content table.tto-responsive-table-ready thead,
    .post-content table.tto-responsive-table-ready tbody,
    .post-content table.tto-responsive-table-ready tfoot,
    .post-content table.tto-responsive-table-ready tr,
    .post-content table.tto-responsive-table-ready th,
    .post-content table.tto-responsive-table-ready td {
        display: block;
        width: 100%;
    }

    .post-content table.tto-responsive-table-ready thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .post-content table.tto-responsive-table-ready .tto-responsive-header-row {
        display: none;
    }

    .post-content table.tto-responsive-table-ready tr {
        overflow: hidden;
        margin: 0 0 14px;
        border: 1px solid #e5eaf0;
        border-left: 3px solid #e62b34;
        border-radius: 0;
        background: #fff;
        box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
    }

    .post-content table.tto-responsive-table-ready tbody tr:nth-child(even) {
        background: #fff;
    }

    .post-content table.tto-responsive-table-ready td,
    .post-content table.tto-responsive-table-ready th {
        border: 0;
        border-bottom: 1px solid #edf0f4;
        padding: 11px 13px;
        color: #202734;
        font-size: 15px;
        line-height: 1.48;
        overflow-wrap: anywhere;
        white-space: normal;
    }

    .post-content table.tto-responsive-table-ready tr > :last-child {
        border-bottom: 0;
    }

    .post-content table.tto-responsive-table-ready td[data-label]::before,
    .post-content table.tto-responsive-table-ready th[data-label]::before {
        display: block;
        margin-bottom: 4px;
        color: #6b7280;
        font-family: var(--font-meta);
        font-size: 10px;
        font-weight: 700;
        letter-spacing: .06em;
        line-height: 1.25;
        text-transform: uppercase;
        content: attr(data-label);
    }

    .post-content table.tto-responsive-table-ready tbody tr > th:only-child,
    .post-content table.tto-responsive-table-ready tbody tr > td:only-child {
        color: #111827;
        background: #f7f8fa;
        font-family: var(--font-meta);
        font-size: 13px;
        font-weight: 800;
        letter-spacing: .02em;
    }

    .post-content table.tto-responsive-table-ready tbody tr > th:only-child::before,
    .post-content table.tto-responsive-table-ready tbody tr > td:only-child::before {
        display: none;
    }
}

.post-content code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 13.5px;
    background: #f3f4f6;
    color: #e62b34;
    padding: 2px 6px;
    border-radius: 3px;
    white-space: nowrap;
}

.post-content pre {
    background: #1e1e1e;
    color: #d4d4d4;
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    line-height: 1.7;
    padding: 20px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 24px 0;
    tab-size: 4;
    -webkit-overflow-scrolling: touch;
}

.post-content pre code {
    background: none;
    color: inherit;
    padding: 0;
    font-size: inherit;
    white-space: pre;
}

/* ââ HR ââ */
.post-content hr {
    border: none;
    border-top: 2px solid #f0f0f0;
    margin: 32px 0;
}

/* ââ Definition list ââ */
.post-content dl {
    margin: 20px 0;
}

.post-content dt {
    font-weight: 700;
    color: var(--black);
    margin-bottom: 4px;
}

.post-content dd {
    margin-left: 22px;
    margin-bottom: 12px;
    color: var(--gray);
}

/* ââ Keyboard / abbr ââ */
.post-content kbd {
    display: inline-block;
    padding: 2px 6px;
    font-size: 12px;
    font-family: monospace;
    background: #eee;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-shadow: 0 1px 0 rgba(0,0,0,0.2);
}

.post-content abbr[title] {
    text-decoration: underline dotted;
    cursor: help;
}

/* ââ Responsive Embeds ââ */
.post-content iframe,
.post-content video,
.post-content embed,
.post-content object {
    max-width: 100%;
}

/* Centre native WordPress YouTube and YouTube Shorts embeds. */
.post-content .wp-block-embed-youtube,
.post-content figure.is-provider-youtube,
.post-content .wp-block-embed__wrapper:has(iframe[src*="youtube"]) {
    width: 100%;
    max-width: 780px;
    margin: 25px auto;
    text-align: center;
}

.post-content iframe[src*="youtube.com"],
.post-content iframe[src*="youtube-nocookie.com"],
.post-content iframe[src*="youtu.be"] {
    display: block;
    margin-right: auto !important;
    margin-left: auto !important;
}

/* Responsive Embeds - Videos, iframes, social embeds */

.post-content .video-wrapper,
.post-content .embed-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    margin: 25px 0;
}

.post-content .video-wrapper iframe,
.post-content .video-wrapper video,
.post-content .embed-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Twitter, Instagram, Facebook embeds */
.post-content .twitter-tweet,
.post-content .instagram-media,
.post-content .fb-post,
.post-content .fb-video,
.post-content blockquote.twitter-tweet,
.post-content blockquote.instagram-media {
    max-width: 100% !important;
    width: 100% !important;
    margin: 25px auto !important;
}

.post-content .twitter-tweet iframe,
.post-content .instagram-media iframe {
    max-width: 100% !important;
}

/* Large Images */
/* figure/figcaption â see post-content typography above */

/* ====================================
   TTO GALLERY SLIDER
   ==================================== */

.tto-gallery {
    margin: 28px 0 34px;
    border: 0;
    border-radius: 0;
    overflow: visible;
    background: #fff;
    box-shadow: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Reset any post-content inherited styles inside gallery */
.tto-gallery img {
    margin: 0;
    display: block;
    border-radius: 0;
    float: none;
}

.tto-gallery button i {
    font-style: normal;
    line-height: 1;
    pointer-events: none;
}

.tto-gallery-description {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 18px;
    color: #172033;
    font-family: var(--font-reading);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
    text-align: left;
    letter-spacing: -0.01em;
}

.tto-gallery-description::before {
    content: '';
    flex: 0 0 5px;
    width: 5px;
    height: 18px;
    background: var(--primary);
    transform: skew(-12deg);
}

.tto-gallery-description::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, #cfd5dc, #e8ebef 72%, transparent);
}

.tto-gallery-description a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(23, 32, 51, 0.28);
    text-underline-offset: 3px;
}

/* ââ Main slide container ââ */
.tto-gallery-container {
    position: relative;
    overflow: hidden;          /* clips slides â DO NOT add display:flex here */
    background: #f5f7f9;
    border-top: 1px solid #e2e6ec;
    border-bottom: 1px solid #e2e6ec;
    aspect-ratio: 16 / 9;
    width: 100%;
    box-sizing: border-box;
}

/* Strip that slides left/right via translateX */
.tto-gallery-slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    box-sizing: border-box;
}

/* Each slide occupies exactly 100% of container width â no leaking */
.tto-gallery-slide {
    min-width: 100%;
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.tto-gallery-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center center;
    cursor: zoom-in;
    display: block;
    margin: 0 auto;
    padding: 0;
    border: none;
    /* Prevent img from stretching beyond slide bounds */
    flex-shrink: 0;
}

/* ââ Prev / Next arrows ââ */
.tto-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    color: #fff;
    background: var(--primary);
    border: 0;
    border-radius: 2px;
    box-shadow: none;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.tto-gallery-nav:hover {
    background: #e62b34;
    color: #fff;
    box-shadow: none;
    transform: translateY(-50%);
}

.tto-gallery-prev { left: 14px; }
.tto-gallery-next { right: 14px; }

/* ââ Counter chip ââ */
.tto-gallery-counter {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    background: #172033;
    color: #fff;
    border: 0;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 2px;
    pointer-events: none;
    letter-spacing: 0.08em;
    box-shadow: none;
}

/* ââ Zoom / expand button ââ */
.tto-gallery-zoom {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    color: #fff;
    background: #172033;
    border: 0;
    border-radius: 2px;
    box-shadow: none;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.tto-gallery-zoom:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: none;
    transform: none;
}

/* ââ Caption bar ââ */
.tto-gallery-caption {
    background: transparent;
    color: var(--gray);
    font-family: var(--font-reading);
    font-size: 12px;
    line-height: 1.5;
    padding: 11px 12px 4px;
    text-align: center;
    min-height: 0;
    border-top: 0;
}

.tto-gallery-caption:empty {
    display: none;
}

/* ââ Thumbnail strip ââ */
.tto-gallery-thumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 12px 0 0;
    background: transparent;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #3d4754 transparent;
    line-height: 0;  /* remove inline gap from img elements */
    border-top: 0;
}

.tto-gallery-thumbs::-webkit-scrollbar {
    height: 4px;
}
.tto-gallery-thumbs::-webkit-scrollbar-thumb {
    background: #3d4754;
    border-radius: 2px;
}

.tto-gallery-thumb {
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    border: 1px solid var(--border-light);
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    background: transparent;
    opacity: 0.52;
    transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.tto-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;        /* reset post-content img margin */
    border-radius: 0;
}

.tto-gallery-thumb:hover {
    opacity: 0.86;
    transform: translateY(-1px);
}

.tto-gallery-thumb.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary);
    opacity: 1;
}

/* ââ Lightbox / Zoom Modal â PhoneArena style ââ */

.tto-zoom-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 99999;
    flex-direction: column;
}

.tto-zoom-modal.active {
    display: flex;
}

/* Top bar */
.tto-zoom-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    flex-shrink: 0;
    z-index: 2;
}

.tto-zoom-counter {
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.tto-zoom-close {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.12);
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.tto-zoom-close:hover {
    background: rgba(255,255,255,0.22);
}

/* Stage â fills remaining height between topbar and thumbs */
.tto-zoom-stage {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer; /* click bg to close */
    min-height: 0;
}

/* Main image */
.tto-zoom-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    cursor: default;
    user-select: none;
    -webkit-user-drag: none;
}

/* Nav arrows */
.tto-zoom-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(30,30,30,0.75);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 2;
}

.tto-zoom-nav:hover {
    background: rgba(60,60,60,0.95);
}

.tto-zoom-prev { left: 16px; }
.tto-zoom-next { right: 16px; }

/* Caption */
.tto-zoom-caption {
    color: rgba(255,255,255,0.65);
    font-size: 13px;
    text-align: center;
    padding: 6px 20px 4px;
    flex-shrink: 0;
    font-style: italic;
    line-height: 1.4;
}

/* Thumbnail strip */
.tto-zoom-thumbs {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px 14px;
    overflow-x: auto;
    flex-shrink: 0;
    background: #000;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tto-zoom-thumbs::-webkit-scrollbar {
    display: none;
}

.tto-zoom-thumb {
    flex-shrink: 0;
    width: 68px;
    height: 50px;
    padding: 0;
    background: none;
    border: 2px solid rgba(255,255,255,0.18);
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}

.tto-zoom-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tto-zoom-thumb:hover {
    opacity: 0.8;
}

.tto-zoom-thumb.active {
    border-color: #fff;
    opacity: 1;
}

/* ââ Responsive ââ */

/* Tablet */
@media (max-width: 900px) {
    .tto-gallery-container {
        aspect-ratio: 4 / 3;   /* taller on tablet, shows more image */
    }
}

/* Mobile */
@media (max-width: 768px) {
    .tto-gallery {
        margin: 16px 0;
        border-radius: 0;
        width: 100%;
        max-width: 100%;
        overflow: visible;
    }

    .tto-gallery-container {
        aspect-ratio: 4 / 3;
    }

    /* Hide arrows on mobile â use swipe instead */
    .tto-gallery-nav {
        display: none;
    }

    /* Bigger counter so it's readable */
    .tto-gallery-counter {
        font-size: 11px;
        padding: 3px 10px;
        bottom: 10px;
    }

    /* Zoom button slightly smaller */
    .tto-gallery-zoom {
        width: 38px;
        height: 38px;
        font-size: 13px;
        border-radius: 2px;
        top: 8px;
        right: 8px;
    }

    .tto-gallery-description {
        gap: 9px;
        font-size: 15px;
    }

    /* Bigger thumbs for touch */
    .tto-gallery-thumb {
        width: 52px;
        height: 52px;
        border-width: 2px;
    }

    /* Lightbox on mobile */
    .tto-zoom-nav {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .tto-zoom-prev { left: 8px; }
    .tto-zoom-next { right: 8px; }

    .tto-zoom-thumb {
        width: 52px;
        height: 38px;
    }

    .tto-zoom-topbar {
        padding: 8px 12px;
    }

    .tto-zoom-caption {
        font-size: 12px;
        padding: 4px 12px;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .post-content table {
        font-size: 13px;
    }

    .post-content thead th,
    .post-content td,
    .post-content tfoot td,
    .post-content tfoot th {
        padding: 8px 10px;
    }

    .tto-gallery-container {
        aspect-ratio: 1 / 1;   /* square on very small screens, max image area */
    }

    .tto-gallery-thumbs {
        padding: 6px;
        gap: 3px;
    }

    .tto-gallery-thumb {
        width: 44px;
        height: 44px;
    }
}

/* Post Tags */
.post-tags-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 20px 0;
    margin: 30px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.post-tags-wrap span {
    font-weight: 600;
    color: var(--black);
}

.post-tags-wrap a {
    padding: 5px 12px;
    background: #f5f5f5;
    font-size: 13px;
    color: var(--gray);
    transition: all 0.3s ease;
}

.post-tags-wrap a:hover {
    background: var(--primary);
    color: var(--white);
}

/* Article sources / via */
.tto-post-sources {
    margin: 30px 0 24px;
    padding: 16px 0 0;
    border-top: 1px solid #e2e6ec;
}

.tto-post-sources h2 {
    margin: 0 0 10px;
    color: #5d6672;
    font-family: var(--font-meta);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.tto-post-sources-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
}

.tto-post-source-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
}

.tto-post-source-item > span {
    color: #69727d;
    font-family: var(--font-meta);
    font-size: 12px;
    font-weight: 600;
}

.tto-post-source-item > span::after {
    content: ":";
}

.tto-post-source-item a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    padding: 0;
    color: #172033;
    font-family: var(--font-meta);
    font-size: 12px;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: #c9ced5;
    text-underline-offset: 3px;
}

.tto-post-source-item a:hover {
    color: var(--primary);
    text-decoration-color: var(--primary);
}

.tto-post-source-item a i {
    color: #818a95;
    font-size: 8px;
}

@media (max-width: 600px) {
    .tto-post-sources {
        padding-top: 14px;
    }

    .tto-post-sources-list {
        display: grid;
        gap: 8px;
    }

    .tto-post-source-item {
        width: 100%;
    }

    .tto-post-source-item a {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* Author Box */
.author-box {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: #f9f9f9;
    margin: 30px 0;
}

.author-box .author-avatar {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
}

.author-box .author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-box-info {
    flex: 1;
    min-width: 0;
}

.author-box-info h4,
.author-box-name {
    font-size: 18px;
    margin: 0;
    flex: 0 0 auto;
    font-weight: 800;
    line-height: 1.25;
}

.author-box-info h4 a,
.author-box-name a {
    color: var(--black);
}

.author-box-info h4 a:hover,
.author-box-name a:hover {
    color: var(--primary);
}

.author-name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 8px;
}

.author-job {
    flex: 0 0 auto;
    margin-right: auto;
    padding: 4px 9px;
    color: #606a79;
    background: #fff;
    border: 1px solid #e1e5ea;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}

.author-social {
    display: flex;
    gap: 8px;
}

.author-social a {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-bg);
    color: var(--gray);
    font-size: 13px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.author-social a:hover {
    background: var(--primary);
    color: var(--white);
}

.author-box-info p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
}

/* Related Posts */
.related-posts {
    padding: 40px 0;
    border-top: 1px solid var(--border-light);
    max-width: none;
}

/* Related cards and compact sidebar dates use the homepage clock language. */
.related-posts .post-meta .date {
    font-family: var(--font-meta);
}

.latest-news-info .news-date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-meta);
}

.related-posts .post-meta .date::before,
.latest-news-info .news-date::before {
    content: "\f017";
    flex: 0 0 auto;
    color: var(--primary);
    font-family: "Font Awesome 6 Free";
    font-size: .9em;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
}

.related-posts .post-meta .date::before {
    display: inline-block;
    margin-right: 5px;
}

.related-posts .posts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 30px;
    align-items: stretch;
}

.related-posts .post-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.related-posts .post-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f2f4f7;
}

.related-posts .post-thumbnail-link,
.related-posts .post-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
}

.related-posts .post-thumbnail img {
    object-fit: cover;
}

.related-posts .post-title {
    margin: 14px 0 8px;
    font-size: clamp(18px, 1.2vw, 20px);
    line-height: 1.28;
    letter-spacing: -.2px;
}

.related-posts .post-title a {
    display: -webkit-box;
    overflow: hidden;
    color: inherit;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.related-posts .post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    font-size: 12px;
    line-height: 1.4;
}

@media (max-width: 1180px) {
    .related-posts .posts-grid {
        gap: 24px;
    }

    .related-posts .post-title {
        font-size: 18px;
    }
}

@media (max-width: 992px) {
    .related-posts {
        padding: 32px 0;
    }

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

    .related-posts .post-title {
        font-size: 16px;
    }

    .related-posts .post-meta {
        font-size: 11px;
    }
}

@media (max-width: 760px) {
    .related-posts .posts-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .related-posts .post-title {
        font-size: 18px;
    }
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--primary);
    transform: skew(-18deg);
}

.liveblog-section-title {
    display: flex;
    align-items: center;
    gap: 9px;
}

.liveblog-section-title::before {
    content: "";
    flex: 0 0 var(--editorial-marker-width);
    width: var(--editorial-marker-width);
    height: 20px;
    background: var(--primary);
    transform: skew(-18deg);
}

/* ====================================
   RESPONSIVE - Single Post
   ==================================== */
@media (max-width: 992px) {
    .single-wrapper {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
    
    .sidebar-ad img {
        max-width: 300px;
        margin: 0 auto;
        display: block;
    }
}

@media (max-width: 768px) {
    .single-title {
        font-size: 24px;
    }

    .article-standfirst {
        margin-bottom: 13px;
        font-size: 16px;
        line-height: 1.5;
    }

    /* Content headings */
    .post-content h1 { font-size: 22px; }
    .post-content h2 { font-size: 20px; }
    .post-content h3 { font-size: 18px; }
    .post-content h4 { font-size: 16px; }
    .post-content h5,
    .post-content h6 { font-size: 15px; }

    /* Tables stack as cards on mobile; do not force horizontal scroll. */
    .post-content table {
        font-size: 13px;
        min-width: 0;
    }

    .post-content thead th,
    .post-content td,
    .post-content tfoot td,
    .post-content tfoot th {
        padding: 9px 12px;
    }

    /* Blockquote tighter on mobile */
    .post-content blockquote {
        padding: 12px 16px;
    }

    .post-content blockquote::before {
        content: none;
    }

    /* Float images â remove float on mobile */
    .post-content img.alignleft,
    .post-content img.alignright {
        float: none;
        margin: 16px auto;
        display: block;
    }

    /* Pre/code scroll */
    .post-content pre {
        font-size: 12px;
        padding: 14px;
    }
    
    .post-meta-single {
        border: none;
        padding: 10px 0;
    }
    
    .post-meta-single .post-actions {
        display: none;
    }
    
    .post-share-mobile {
        display: flex;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .author-box .author-avatar {
        margin: 0 auto;
    }
    
    .author-box .author-name-row {
        flex-direction: column;
        gap: 10px;
    }

    .author-box .author-job {
        margin-right: 0;
    }
    
    .author-box .author-social {
        justify-content: center;
    }
    
    .latest-news-thumb {
        width: 70px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .single-title {
        font-size: 24px;
    }
}

/* ====================================
   POST UPDATES SECTION
   ==================================== */





.update-datetime {
    font-size: 14px;
    font-weight: 600;
    color: #ffa500;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}







.old-story-notice {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 20px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
}

/* ====================================
   LIVE BLOG STYLES
   ==================================== */
.liveblog-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.liveblog-badge-live {
    background: var(--primary);
    color: var(--white);
}

.liveblog-badge-live i {
    animation: pulse 1.5s infinite;
}

.liveblog-badge-ended {
    background: #6c757d;
    color: var(--white);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.liveblog-post .post-category-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    color: var(--primary);
    background: #fff1f2;
    border: 1px solid #ffd3d8;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.live-badge-is-ended {
    color: #626b78;
    background: #f2f4f7;
    border-color: #dfe3e8;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.4;
    }
}

/* ====================================
   KEY ANNOUNCEMENTS (3-Column Grid)
   ==================================== */
.key-announcements {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.key-announcements-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.key-announcements-title i {
    color: var(--primary);
}

.key-announcements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.key-announcement-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    background: var(--white);
    border-radius: 6px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.key-announcement-item:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.ka-time {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
}

.ka-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--black);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.key-announcement-item:hover .ka-title {
    color: var(--primary);
}

.liveblog-intro {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid var(--primary);
}

.liveblog-intro p {
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 1.6;
}

.auto-refresh-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--dark);
    border: 1px solid #ddd;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auto-refresh-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.auto-refresh-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.liveblog-entries {
    margin-bottom: 30px;
}

.liveblog-section-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 30px 0;
    color: var(--black);
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary);
}

.liveblog-entry {
    display: flex;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid #eee;
}

.liveblog-entry:first-child {
    padding-top: 0;
}

.liveblog-entry.pinned {
    background: linear-gradient(105deg, #fff7f8 0%, #ffffff 76%);
    margin: 0 0 20px 0;
    padding: 20px;
    border: 1px solid #f0dadd;
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(31, 41, 55, 0.06);
    position: relative;
}

.pinned-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    background: #ffebee;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
    border: 1px solid #f3c9ce;
}

/* Recent update jump notice in the article header */
.story-update-notice {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 10px 0;
    color: #111827;
    background: transparent;
    border-top: 1px solid #e6e9ee;
    border-bottom: 1px solid #e6e9ee;
    border-radius: 0;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.story-update-notice:hover {
    color: #111827;
    border-color: #d8dde5;
    box-shadow: none;
    transform: none;
}

.story-update-notice-icon {
    display: inline-grid;
    width: 28px;
    height: 28px;
    place-items: center;
    color: var(--primary);
    background: #fff;
    border: 1px solid #e7ebf0;
    border-radius: 50%;
}

.story-update-notice-copy {
    min-width: 0;
}

.story-update-notice-copy strong,
.story-update-notice-copy span {
    display: block;
}

.story-update-notice-copy strong {
    color: #111827;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.story-update-notice-copy span {
    margin-top: 1px;
    color: #6b7280;
    font-size: 11px;
    font-weight: 400;
}

.story-update-notice-action {
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.story-update-notice-action i {
    margin-left: 4px;
    font-size: 10px;
}

#latest-story-update,
#latest-live-update {
    scroll-margin-top: 24px;
}

@media (max-width: 600px) {
    .story-update-notice {
        grid-template-columns: 26px minmax(0, 1fr);
        gap: 9px;
        padding: 9px 0;
    }

    .story-update-notice-icon {
        width: 26px;
        height: 26px;
    }

    .story-update-notice-action {
        grid-column: 2;
        margin-top: -3px;
    }
}

/* ====================================
   CONFIGURABLE ARTICLE SIDEBAR
   ==================================== */

.sidebar-module {
    margin-bottom: 22px;
}

.sidebar-ad-card,
.sidebar-video-card {
    padding: 14px;
    background: #fff;
    border: 1px solid #e2e6ec;
    border-radius: 0;
    box-shadow: none;
}

.sidebar-video-card {
    padding: 0;
    background: transparent;
    border: 0;
}

.sidebar-card-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 9px;
    color: var(--primary);
    font-size: var(--editorial-label-size);
    font-weight: var(--editorial-label-weight);
    letter-spacing: var(--editorial-label-spacing);
    text-transform: uppercase;
}

.sidebar-card-kicker::before {
    content: "";
    flex: 0 0 var(--editorial-marker-width);
    width: var(--editorial-marker-width);
    height: var(--editorial-marker-height);
    background: var(--primary);
    transform: skew(-18deg);
}

.sidebar-ad-media {
    display: block;
    overflow: hidden;
    border-radius: 0;
}

.sidebar-ad-media img {
    display: block;
    width: 100%;
    height: auto;
}

.sidebar-ad-code {
    width: 100%;
    min-height: 90px;
    overflow: hidden;
    text-align: center;
}

.sidebar-ad-code ins,
.sidebar-ad-code iframe {
    display: block;
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.sidebar-ad-placeholder {
    display: grid;
    min-height: 230px;
    place-content: center;
    justify-items: center;
    color: #7d8797;
    background: linear-gradient(135deg, #f7f8fa, #fff);
    border: 1px dashed #cbd2dc;
    border-radius: 0;
    text-align: center;
}

.sidebar-ad-placeholder i {
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 24px;
}

.sidebar-ad-placeholder strong,
.sidebar-ad-placeholder span {
    display: block;
}

.sidebar-ad-placeholder strong {
    color: #273244;
    font-size: 13px;
}

.sidebar-ad-placeholder span {
    margin-top: 3px;
    font-size: 10px;
}

.sidebar-module-heading,
.sidebar-popular-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.sidebar-module-heading {
    margin-bottom: 12px;
}

.sidebar-video-card .sidebar-module-heading {
    position: relative;
    align-items: center;
    gap: 0;
    margin-bottom: 14px;
}

.sidebar-video-card .sidebar-module-heading > div {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    gap: 10px;
}

.sidebar-video-card .sidebar-module-heading > div::after {
    content: "";
    flex: 1 1 auto;
    min-width: 54px;
    border-top: 1px dotted #d7dce5;
}

.sidebar-module-heading .sidebar-card-kicker {
    margin-bottom: 2px;
}

.sidebar-module-heading h2 {
    margin: 0;
    color: #172033;
    font-size: 18px;
    line-height: 1.2;
}

.sidebar-video-card .sidebar-card-kicker {
    margin: 0;
    white-space: nowrap;
}

.sidebar-video-card .sidebar-card-kicker::before {
    width: 7px;
}

.sidebar-video-card .sidebar-module-heading h2 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.sidebar-heading-icon {
    display: grid;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    place-items: center;
    background: #f4f5f7;
    border-radius: 0;
}

.sidebar-youtube-icon {
    color: #f00;
    background: #fff0f0;
    font-size: 20px;
}

.sidebar-video-card .sidebar-heading-icon {
    display: none;
}

.sidebar-video-card .sidebar-video-embed {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    height: auto;
    padding-bottom: 0;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 0;
}

.post-content .tto-content-youtube,
.single-content .tto-content-youtube {
    position: relative;
    width: min(100%, 760px);
    aspect-ratio: 16 / 9;
    margin: 28px auto;
    overflow: hidden;
    background: #111;
}

.post-content .tto-content-youtube iframe,
.single-content .tto-content-youtube iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.tto-youtube-consent {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    overflow: hidden;
    color: #fff;
    background: #111;
    border: 0;
    cursor: pointer;
}

.tto-youtube-consent::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.58));
}

.tto-youtube-consent > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.tto-youtube-consent:hover > img {
    transform: scale(1.025);
}

.tto-youtube-play {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    display: grid;
    width: 58px;
    height: 42px;
    place-items: center;
    padding-left: 3px;
    background: #f00;
    border-radius: 11px;
    transform: translate(-50%, -50%);
    box-shadow: 0 6px 18px rgba(0,0,0,.28);
}

.tto-youtube-privacy {
    position: absolute;
    z-index: 2;
    right: 12px;
    bottom: 10px;
    font-family: var(--font-meta);
    font-size: 10px;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0,0,0,.8);
}

.sidebar-video-more {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 8px;
}

.sidebar-video-more a {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #111;
    border-radius: 0;
}

.sidebar-video-more img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-video-more span {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    color: #fff;
    background: rgba(230, 43, 52, 0.9);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.sidebar-video-empty {
    display: grid;
    min-height: 150px;
    place-content: center;
    justify-items: center;
    color: #8a93a3;
    background: #f7f8fa;
    border-radius: 0;
    font-size: 11px;
    text-align: center;
}

.sidebar-video-empty i {
    margin-bottom: 8px;
    color: #f00;
    font-size: 28px;
}

.sidebar-popular {
    position: relative;
    margin: 4px 0 24px;
    padding: 22px 18px 18px;
    color: #172033;
    background: #fff;
    border: 1px solid #eadfe2;
    border-top: 4px solid var(--primary);
    border-radius: 0;
    box-shadow: none;
}

.sidebar-popular-heading {
    margin-bottom: 12px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 46px;
    grid-template-rows: auto auto;
    column-gap: 12px;
    align-items: center;
}

.sidebar-popular-heading::before {
    content: "Reviews";
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 3px;
    padding-left: 11px;
    color: var(--primary);
    background: linear-gradient(105deg, transparent 0 3px, var(--primary) 3px 7px, transparent 7px) left center / 9px var(--editorial-marker-height) no-repeat;
    font-size: var(--editorial-label-size);
    font-weight: var(--editorial-label-weight);
    letter-spacing: var(--editorial-label-spacing);
    line-height: 1.2;
    text-transform: uppercase;
}

.sidebar-popular-heading h2 {
    grid-column: 1;
    grid-row: 2;
    display: block;
    max-width: none;
    margin: 0;
    color: #172033;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: none;
}

.sidebar-popular-heading > span {
    grid-column: 2;
    grid-row: 1 / 3;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    color: var(--primary);
    background: #ffebee;
    border-radius: 0;
    font-size: 18px;
}

.sidebar-popular-heading > span i {
    display: none;
}

.sidebar-popular-heading > span::before {
    content: "\f005";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.sidebar-popular-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-popular-list li {
    border-bottom: 1px solid #e8ebf0;
}

.sidebar-popular-list li:last-child {
    border-bottom: 0;
}

.sidebar-popular-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    color: #273244;
}

.sidebar-popular-list a:hover {
    color: var(--primary);
}

.sidebar-popular-thumb {
    flex: 0 0 62px;
    width: 62px;
    height: 48px;
    overflow: hidden;
    background: #f2f4f7;
    border-radius: 0;
}

.sidebar-popular-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.sidebar-popular-list a:hover img {
    transform: scale(1.06);
}

.sidebar-popular-title {
    display: -webkit-box;
    overflow: hidden;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

@media (max-width: 992px) {
    .sidebar-popular {
        width: 100%;
        max-width: none;
        margin-right: 0;
        margin-left: 0;
    }
}

.pinned-badge i {
    font-size: 10px;
}

.liveblog-entry-time {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
    min-width: 80px;
    padding-top: 3px;
}

.liveblog-entry-content {
    flex: 1;
}

.liveblog-entry-headline {
    font-size: 20px;
    font-weight: 700;
    color: var(--black);
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.liveblog-entry-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 10px;
}

.liveblog-entry-text p {
    margin-bottom: 15px;
}

.liveblog-entry-text p:last-child {
    margin-bottom: 0;
}

.entry-inline-image {
    margin: 16px 0 0;
}

.entry-inline-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.entry-content-after {
    margin-top: 16px;
}

.liveblog-entry-meta {
    font-size: 13px;
    color: #999;
    font-style: italic;
}

.entry-time {
    display: none;
}

.pinned-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #856404;
    margin-bottom: 10px;
}

.entry-content {
    flex: 1;
}

/* Inline header: time + title on same line */
.entry-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.entry-time-inline {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

.entry-title-inline {
    font-size: 18px;
    font-weight: 700;
    color: var(--black);
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.entry-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.entry-image {
    margin: 15px 0;
    border-radius: 8px;
    overflow: hidden;
}

.entry-image img {
    width: 100%;
    height: auto;
    display: block;
}

.entry-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 12px;
}

.entry-actions {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.entry-actions a {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: var(--gray);
    border-radius: 50%;
    font-size: 14px;
    transition: all 0.3s ease;
}

.entry-actions a:hover {
    background: var(--primary);
    color: var(--white);
}

.liveblog-end {
    background: #f0f0f0;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.liveblog-end p {
    margin: 0;
    font-size: 15px;
    color: var(--gray);
}

/* Live Blog TOC Widget */
.liveblog-toc {
    background: #f8f9fa;
    padding: 15px !important;
    border-radius: 8px;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 300px;
    overflow-y: auto;
}

.toc-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.toc-list li:last-child {
    border-bottom: none;
}

.toc-list a {
    font-size: 13px;
    color: var(--text);
    line-height: 1.4;
    display: block;
    transition: color 0.3s ease;
}

.toc-list a:hover {
    color: var(--primary);
}

/* ====================================
   READING MODE
   ==================================== */
body.reading-mode {
    background: #faf9f7;
}

body.reading-mode .top-bar,
body.reading-mode .main-header,
body.reading-mode .nav-bar,
body.reading-mode .sidebar,
body.reading-mode .related-posts,
body.reading-mode .post-tags-wrap,
body.reading-mode .author-box,
body.reading-mode footer {
    display: none;
}

body.reading-mode .single-wrapper {
    grid-template-columns: 1fr;
    max-width: 750px;
    margin: 0 auto;
    padding: 40px 20px;
}

body.reading-mode .single-content {
    background: var(--white);
    padding: 40px 50px;
    border-radius: 8px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

body.reading-mode .single-title {
    font-size: 36px;
    line-height: 1.35;
}

body.reading-mode .post-content {
    font-size: 18px;
    line-height: 1.85;
}

body.reading-mode .post-content p {
    margin-bottom: 1.5em;
}

body.reading-mode .post-content h2 {
    font-size: 26px;
    margin-top: 2em;
}

body.reading-mode .post-content h3 {
    font-size: 22px;
}

/* Reading Mode Exit Button */
body.reading-mode .reading-mode-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 12px 20px;
    font-size: 14px;
    z-index: 999999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-radius: 30px;
    background: var(--primary);
    color: var(--white);
}

body.reading-mode .reading-mode-btn:hover {
    background: var(--dark);
}

body.reading-mode .reading-mode-btn .btn-text-enter {
    display: none;
}

body.reading-mode .reading-mode-btn .btn-text-exit {
    display: inline;
}

/* ====================================
   RESPONSIVE - UPDATES & LIVEBLOG
   ==================================== */
@media (max-width: 768px) {
    .key-announcements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .entry-header {
        flex-direction: column;
        gap: 5px;
        align-items: flex-start;
    }
    
    .entry-title-inline {
        font-size: 16px;
    }
    
    .entry-content p {
        font-size: 15px;
    }
    
    .zoom-nav {
        width: 40px;
        height: 40px;
    }
    
    .zoom-prev {
        left: 10px;
    }
    
    .zoom-next {
        right: 10px;
    }
    
    /* Reading Mode Responsive */
    body.reading-mode .single-content {
        padding: 25px 20px;
    }
    
    body.reading-mode .single-title {
        font-size: 28px;
    }
    
    body.reading-mode .post-content {
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    .key-announcements-grid {
        grid-template-columns: 1fr;
    }
    
    .liveblog-entry.pinned {
        margin: 0 0 15px 0;
        padding: 15px;
    }
    .reading-mode-btn {
        display: none !important;
    }
}

/* Copy Toast Notification */
.copy-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--dark);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.copy-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.copy-toast i {
    color: #4caf50;
}

/* ====================================
   REVIEW BOX â Pros / Cons / Rating
   ==================================== */

.tto-review-box {
    margin: 36px 0 28px;
    border-top: 2px solid #f0f0f0;
    padding-top: 30px;
}

/* ââ Pros / Cons two-column grid ââ */
.tto-review-proscons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 40px;
    margin-bottom: 28px;
}

.tto-review-col-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 14px;
    letter-spacing: 0.01em;
}

/* Pros list */
.tto-pros-list,
.tto-cons-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tto-pros-list li,
.tto-cons-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: #222;
    line-height: 1.5;
}

.tto-pros-icon,
.tto-cons-icon {
    flex-shrink: 0;
    margin-top: 1px;
}

.tto-pros-icon {
    color: #16a34a;
}

.tto-cons-icon {
    color: #e62b34;
}

/* ââ Rating bar ââ */
.tto-review-rating-bar {
    border-top: 1px solid #f0f0f0;
    padding-top: 22px;
    margin-top: 4px;
}

.tto-rating-label {
    font-size: 20px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 10px;
}

.tto-rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tto-rating-number {
    font-size: 17px;
    font-weight: 700;
    color: #22c55e;
    min-width: 30px;
    flex-shrink: 0;
}

.tto-rating-track {
    flex: 1;
    height: 8px;
    background: #e5e7eb;
    border-radius: 100px;
    overflow: hidden;
    max-width: 320px;
}

.tto-rating-fill {
    height: 100%;
    background: #22c55e;
    border-radius: 100px;
    transition: width 0.6s ease;
}

.tto-rating-max {
    font-size: 13px;
    color: var(--gray);
    flex-shrink: 0;
}

/* ââ Mobile ââ */
@media (max-width: 640px) {
    .tto-review-proscons {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .tto-rating-track {
        max-width: 200px;
    }

    .tto-rating-label {
        font-size: 17px;
    }
}

/* ====================================
   META GOOGLE BADGE (top right in post meta)
   ==================================== */

.meta-google-badge,
.bottom-google-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    color: #282828;
    background: #fff;
    border: 2px solid #e62b34;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: none;
    animation: none;
    transition: border-color 0.2s ease;
    flex-shrink: 0;
    white-space: nowrap;
}

.meta-google-badge:hover,
.bottom-google-badge:hover {
    transform: none;
    background: #fff;
    color: #282828;
    border-color: var(--primary);
}

.meta-google-badge .meta-badge-logo,
.bottom-google-badge .bottom-google-badge-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.meta-google-badge .meta-badge-logo svg,
.bottom-google-badge .bottom-google-badge-logo svg,
.meta-google-badge .meta-badge-logo img,
.bottom-google-badge .bottom-google-badge-logo img {
    display: block;
    width: 18px;
    height: 18px;
}

.meta-google-badge .meta-badge-text,
.bottom-google-badge .bottom-google-badge-text {
    font-size: 13px;
    font-weight: 600;
    color: #282828;
    line-height: 1.3;
    white-space: nowrap;
    padding: 0;
}

/* ====================================
   ARTICLE BOTTOM ACTIONS (share + Google badge)
   ==================================== */

.article-bottom-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid #f0f0f0;
    margin: 24px 0 28px;
}

/* Share row */
.article-share-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.article-share-row .share-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-right: 4px;
}

.share-btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: var(--dark);
    border-radius: 50%;
    font-size: 14px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.share-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

/* Bottom Google badge — pill style like image */
/* bottom-google-badge — see .meta-google-badge combined rules above */

/* Mobile */
@media (max-width: 600px) {
    .article-bottom-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .meta-google-badge span {
        display: none; /* show only icon on very small screens */
    }

    .bottom-google-badge-logo {
        width: 36px;
        height: 36px;
    }

    .bottom-google-badge-text {
        font-size: 12px;
        padding: 0 12px 0 8px;
    }
}

/* ====================================
   EDITORIAL QUOTES
   ==================================== */

.tto-quote,
.post-content blockquote:not(.tto-quote-text),
.update-strip-content blockquote:not(.tto-quote-text),
.liveblog-entry-text blockquote:not(.tto-quote-text) {
    position: relative;
    margin: 34px 0 30px;
    padding: 54px 64px 60px;
    overflow: visible;
    color: #172033;
    background: #f3f4f5;
    border: 1px solid #e0e4e8;
    border-radius: 38px;
    box-shadow: 0 5px 16px rgba(31, 41, 55, 0.045);
}

.tto-quote::before,
.post-content blockquote:not(.tto-quote-text)::before,
.update-strip-content blockquote:not(.tto-quote-text)::before,
.liveblog-entry-text blockquote:not(.tto-quote-text)::before {
    content: '“';
    position: absolute;
    top: 22px;
    left: 28px;
    display: block;
    width: auto;
    height: auto;
    color: #343d4b;
    background: transparent;
    border: 0;
    border-radius: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 36px;
    font-weight: 800;
    line-height: 0.8;
    text-align: center;
    transform: none;
    pointer-events: none;
}

.tto-quote::after,
.post-content blockquote:not(.tto-quote-text)::after,
.update-strip-content blockquote:not(.tto-quote-text)::after,
.liveblog-entry-text blockquote:not(.tto-quote-text)::after {
    content: '”';
    position: absolute;
    right: 28px;
    bottom: 21px;
    color: #343d4b;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 36px;
    font-weight: 800;
    line-height: 0.8;
    pointer-events: none;
}

.tto-quote-text,
.post-content blockquote:not(.tto-quote-text) > p,
.update-strip-content blockquote:not(.tto-quote-text) > p,
.liveblog-entry-text blockquote:not(.tto-quote-text) > p {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    padding: 0;
    color: #172033;
    font-family: var(--font-article);
    font-size: clamp(16px, 1.25vw, 18px);
    font-style: normal;
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: -0.008em;
    text-align: center;
}

.tto-quote-text p {
    margin: 0 0 12px;
}

.tto-quote-text p:last-child {
    margin-bottom: 0;
}

.tto-quote-attribution,
.post-content blockquote:not(.tto-quote-text) cite,
.update-strip-content blockquote:not(.tto-quote-text) cite,
.liveblog-entry-text blockquote:not(.tto-quote-text) cite {
    display: flex;
    justify-content: flex-end;
    margin: 22px 0 0 auto;
    color: #667085;
    font-family: var(--font-reading);
    font-size: 13px;
    font-style: normal;
    text-align: right;
}

.post-content blockquote:not(.tto-quote-text) cite::before,
.update-strip-content blockquote:not(.tto-quote-text) cite::before,
.liveblog-entry-text blockquote:not(.tto-quote-text) cite::before {
    content: none !important;
}

.tto-quote-person,
.post-content blockquote:not(.tto-quote-text) cite,
.update-strip-content blockquote:not(.tto-quote-text) cite,
.liveblog-entry-text blockquote:not(.tto-quote-text) cite {
    width: min(250px, 68%);
    min-width: 0;
    padding-top: 10px;
    border-top: 1px solid #cfd5dd;
}

.tto-quote-person,
.tto-core-quote-attribution,
.tto-classic-quote-attribution {
    display: flex !important;
    flex-direction: column;
    align-items: flex-end;
    margin-left: auto;
}

.tto-quote-person strong,
.tto-quote-person span,
.tto-core-quote-attribution strong,
.tto-core-quote-attribution span,
.tto-classic-quote-attribution strong,
.tto-classic-quote-attribution span {
    display: block;
}

.tto-quote-person strong {
    color: #172033;
    font-family: var(--font-reading);
    font-size: 14px;
    font-weight: 800;
}

.tto-core-quote-attribution strong {
    color: #172033;
    font-family: var(--font-reading);
    font-size: 14px;
    font-weight: 800;
}

.tto-classic-quote-attribution strong {
    color: #172033;
    font-family: var(--font-reading);
    font-size: 14px;
    font-weight: 800;
}

.tto-quote-person span {
    margin-top: 3px;
    color: #667085;
    font-size: 12px;
}

.tto-core-quote-attribution span {
    margin-top: 3px;
    color: #667085;
    font-size: 12px;
}

.tto-classic-quote-attribution span {
    margin-top: 3px;
    color: #667085;
    font-size: 12px;
}

.tto-quote-person a {
    display: inline-block;
    margin-top: 6px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 600px) {
    .tto-quote,
    .post-content blockquote:not(.tto-quote-text),
    .update-strip-content blockquote:not(.tto-quote-text),
    .liveblog-entry-text blockquote:not(.tto-quote-text) {
        margin: 28px 0 24px;
        padding: 48px 38px 54px;
        border-radius: 26px;
    }

    .tto-quote::before,
    .post-content blockquote:not(.tto-quote-text)::before,
    .update-strip-content blockquote:not(.tto-quote-text)::before,
    .liveblog-entry-text blockquote:not(.tto-quote-text)::before {
        top: 18px;
        left: 18px;
        width: auto;
        height: auto;
        font-size: 21px;
        line-height: 1;
    }

    .tto-quote::after,
    .post-content blockquote:not(.tto-quote-text)::after,
    .update-strip-content blockquote:not(.tto-quote-text)::after,
    .liveblog-entry-text blockquote:not(.tto-quote-text)::after {
        right: 18px;
        bottom: 18px;
        font-size: 21px;
    }

    .tto-quote-text,
    .post-content blockquote:not(.tto-quote-text) > p,
    .update-strip-content blockquote:not(.tto-quote-text) > p,
    .liveblog-entry-text blockquote:not(.tto-quote-text) > p {
        font-size: 16px;
        line-height: 1.65;
    }

    .tto-quote-person,
    .post-content blockquote:not(.tto-quote-text) cite,
    .update-strip-content blockquote:not(.tto-quote-text) cite,
    .liveblog-entry-text blockquote:not(.tto-quote-text) cite {
        min-width: 150px;
    }
}

/* ====================================
   POST UPDATES STRIP
   ==================================== */

/* Responsive inline PDF reader */
.tto-pdf-reader {
    width: 100%;
    margin: 28px 0;
    overflow: hidden;
    background: #f5f7f9;
    border: 1px solid #dfe4ea;
    border-radius: 8px;
}

.tto-pdf-reader-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 15px;
    background: #fff;
    border-bottom: 1px solid #dfe4ea;
}

.tto-pdf-reader-title,
.tto-pdf-open {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tto-pdf-reader-title {
    min-width: 0;
    color: #172033;
    font-size: 14px;
    font-weight: 700;
}

.tto-pdf-reader-title i {
    color: var(--primary);
    font-size: 18px;
}

.tto-pdf-open {
    flex: 0 0 auto;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
}

.tto-pdf-canvas-viewer {
    position: relative;
    width: 100%;
    background: #e9edf1;
}

.tto-pdf-side-controls {
    position: sticky;
    z-index: 8;
    top: 50vh;
    width: 100%;
    height: 0;
    pointer-events: none;
}

.tto-pdf-side-controls[hidden] {
    display: none;
}

.tto-pdf-side-controls button {
    position: absolute;
    top: 0;
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    color: #172033;
    background: rgba(255, 255, 255, .96);
    border: 1px solid #d8dee6;
    border-radius: 50%;
    box-shadow: 0 7px 22px rgba(15, 23, 42, .18);
    cursor: pointer;
    pointer-events: auto;
    transform: translateY(-50%);
    transition: color .2s ease, border-color .2s ease, transform .2s ease;
}

.tto-pdf-side-controls .tto-pdf-prev {
    left: 28px;
}

.tto-pdf-side-controls .tto-pdf-next {
    right: 28px;
}

.tto-pdf-side-controls button:hover:not(:disabled) {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.06);
}

.tto-pdf-side-controls button:disabled {
    opacity: .32;
    cursor: default;
}

.tto-pdf-stage {
    position: relative;
    display: grid;
    min-height: 520px;
    padding: 18px;
    place-items: start center;
}

.tto-pdf-canvas {
    display: none;
    max-width: 100%;
    height: auto;
    background: #fff;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.14);
}

.tto-pdf-canvas.is-ready {
    display: block;
}

.tto-pdf-status {
    position: absolute;
    inset: 50% auto auto 50%;
    margin: 0;
    color: #667085;
    font-size: 14px;
    transform: translate(-50%, -50%);
}

.tto-pdf-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 52px;
    padding: 8px 14px;
    background: #fff;
    border-top: 1px solid #dfe4ea;
    color: #344054;
    font-size: 13px;
    font-weight: 700;
}

.tto-pdf-controls[hidden] {
    display: none;
}

.tto-pdf-controls button {
    width: 34px;
    height: 34px;
    display: inline-grid;
    padding: 0;
    place-items: center;
    border: 1px solid #d8dee6;
    border-radius: 50%;
    background: #fff;
    color: #172033;
    cursor: pointer;
}

.tto-pdf-controls button:hover:not(:disabled) {
    border-color: var(--primary);
    color: var(--primary);
}

.tto-pdf-controls button:disabled {
    opacity: 0.38;
    cursor: default;
}

@media (max-width: 600px) {
    .tto-pdf-reader-header {
        align-items: flex-start;
        padding: 10px 12px;
    }

    .tto-pdf-reader-title {
        font-size: 13px;
    }

    .tto-pdf-open {
        font-size: 0;
    }

    .tto-pdf-open i {
        font-size: 15px;
    }

    .tto-pdf-stage {
        min-height: 360px;
        padding: 10px;
    }

    .tto-pdf-side-controls button {
        width: 38px;
        height: 38px;
    }

    .tto-pdf-side-controls .tto-pdf-prev {
        left: 16px;
    }

    .tto-pdf-side-controls .tto-pdf-next {
        right: 16px;
    }
}

.post-updates-strip {
    position: relative;
    margin: 4px 0 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2e6ec;
    border-radius: 10px;
    box-shadow: 0 5px 18px rgba(31, 41, 55, 0.045);
}

.post-updates-strip::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--primary);
}

.update-strip-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 17px 20px;
    border-bottom: 1px solid #e9ecf0;
}

.update-strip-item:last-child {
    border-bottom: none;
}

.old-updates-break {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px 10px 24px;
    color: #596274;
    background: #f7f8fa;
    border-top: 1px solid #e7e9ee;
    border-bottom: 1px solid #e7e9ee;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.old-updates-break::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #dfe3e9;
}

.update-strip-badge {
    display: grid;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    place-items: center;
    color: var(--primary);
    font-size: 14px;
    background: #f3f5f7;
    border: 1px solid #e2e6ec;
    border-radius: 10px;
}

.update-strip-badge i,
.story-update-notice-icon i {
    transition: transform 0.35s ease;
}

.update-strip-item:hover .update-strip-badge i,
.story-update-notice:hover .story-update-notice-icon i {
    transform: rotate(90deg);
}

.update-strip-copy {
    min-width: 0;
}

.update-strip-meta {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 5px;
}

.update-strip-label {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.update-strip-label::after {
    content: '';
    width: 3px;
    height: 3px;
    margin-left: 9px;
    background: #c9ced7;
    border-radius: 50%;
}

.update-strip-time {
    color: #717b8d;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.update-strip-title {
    margin: 0;
    color: #172033;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -0.01em;
}

.update-strip-content {
    margin-top: 9px;
    color: #4b5565;
    font-size: 14px;
    line-height: 1.65;
}

.update-strip-content p {
    margin: 0 0 9px;
}

.update-strip-content p:last-child {
    margin-bottom: 0;
}

.update-strip-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Divider below updates */
.update-strip-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 24px;
    color: #929aa8;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.update-strip-divider i {
    display: none;
    font-size: 10px;
}

.update-strip-divider::before,
.update-strip-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e6e9ee;
}

@media (max-width: 600px) {
    .post-updates-strip {
        border-radius: 12px;
    }

    .update-strip-item {
        gap: 11px;
        padding: 15px 14px 15px 17px;
    }

    .old-updates-break {
        gap: 9px;
        padding: 9px 14px 9px 17px;
        font-size: 9px;
    }

    .update-strip-badge {
        flex-basis: 32px;
        width: 32px;
        height: 32px;
        font-size: 12px;
        border-radius: 9px;
    }

    .update-strip-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }

    .update-strip-label::after {
        display: none;
    }

    .update-strip-title {
        font-size: 15px;
    }

    .update-strip-content {
        margin-top: 7px;
        font-size: 13px;
        line-height: 1.6;
    }

    .update-strip-divider {
        gap: 8px;
        margin: 17px 0 21px;
        font-size: 9px;
        letter-spacing: 0.075em;
    }

    .update-strip-divider i {
        display: inline-block;
    }
}

/* Final cascade for the collapsed reader-facing AI control. */
.single-content .tto-ai-summary {
    margin: 24px 0 28px;
    padding: 0;
    background: #fff;
    border: 1px solid #dfe3e8;
    border-top: 3px solid var(--primary);
    box-shadow: 0 8px 24px rgba(19,29,42,.06);
}

.single-content .tto-ai-summary::after {
    display: none;
}

@media (max-width: 600px) {
    .single-content .tto-ai-summary {
        margin: 20px 0 24px;
        padding: 0;
    }
}

/* Keep the reader bookmark visible near the headline on phones. */
@media (max-width: 768px) {
    .post-meta-single .post-actions {
        display: flex;
        width: 100%;
        margin-top: 10px;
    }

    .post-meta-single .post-actions .reading-mode-btn,
    .post-meta-single .post-actions .meta-google-badge {
        display: none;
    }

    .post-meta-single .tto-bookmark-btn-top {
        display: inline-flex;
        min-height: 42px;
        padding: 9px 16px;
        border-color: var(--primary);
        color: var(--primary);
        background: #fff;
    }
}

/* Editorial reviews sidebar: structured card with an offset theme-colour base. */
.sidebar .sidebar-popular {
    position: relative;
    isolation: isolate;
    width: 100%;
    margin: 4px 10px 34px 0;
    padding: 24px 20px 20px;
    color: #172033;
    background: #fff;
    border: 1px solid #dfe3e8;
    border-top: 4px solid var(--primary);
    box-shadow: 0 10px 28px rgba(25, 35, 49, .08);
}

.sidebar .sidebar-popular::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: -10px;
    bottom: -12px;
    left: 12px;
    height: 24px;
    background: #ffe9ec;
    border-right: 1px solid #f5cbd1;
    border-bottom: 1px solid #f5cbd1;
}

.sidebar .sidebar-popular-heading {
    grid-template-columns: minmax(0, 1fr) 58px;
    column-gap: 16px;
    margin-bottom: 10px;
}

.sidebar .sidebar-popular-heading::before {
    content: "Reviews";
    padding-left: 0;
    background: none;
    font-size: 11px;
}

.sidebar .sidebar-popular-heading h2 {
    max-width: 190px;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -.5px;
}

.sidebar .sidebar-popular-heading > span {
    width: 58px;
    height: 58px;
    color: #fff;
    background: var(--primary);
    font-size: 20px;
}

.sidebar .sidebar-popular-list li {
    position: relative;
    border-bottom-color: #e2e6eb;
}

.sidebar .sidebar-popular-list li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 5px;
    height: 5px;
    background: var(--primary);
    transform: translateY(-50%);
}

.sidebar .sidebar-popular-list a {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    min-height: 66px;
    padding: 11px 0 11px 14px;
}

.sidebar .sidebar-popular-thumb {
    width: 58px;
    height: 44px;
    flex: 0 0 auto;
}

.sidebar .sidebar-popular-title {
    min-width: 0;
    font-size: 13px;
    line-height: 1.32;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

@media (min-width: 993px) and (max-width: 1280px) {
    .sidebar .sidebar-popular {
        padding: 22px 18px 18px;
    }

    .sidebar .sidebar-popular-heading {
        grid-template-columns: minmax(0, 1fr) 52px;
    }

    .sidebar .sidebar-popular-heading h2 {
        max-width: none;
        font-size: 22px;
        line-height: 1.08;
    }

    .sidebar .sidebar-popular-heading > span {
        width: 52px;
        height: 52px;
    }

    .sidebar .sidebar-popular-list a {
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 10px;
        min-height: 62px;
    }

    .sidebar .sidebar-popular-thumb {
        width: 54px;
        height: 42px;
    }

    .sidebar .sidebar-popular-title {
        font-size: 12.5px;
        line-height: 1.34;
    }
}

@media (max-width: 992px) {
    .sidebar .sidebar-popular {
        width: 100%;
        max-width: none;
        margin-right: 0;
        margin-left: 0;
    }

    .sidebar .sidebar-popular::after {
        right: 0;
        left: 0;
    }

    .sidebar .sidebar-popular-heading h2 {
        max-width: none;
        font-size: 24px;
    }

    .sidebar .sidebar-popular-list a {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 12px;
    }

    .sidebar .sidebar-popular-thumb {
        width: 64px;
        height: 48px;
    }

    .sidebar .sidebar-popular-title {
        font-size: 13.5px;
    }
}

@media (max-width: 480px) {
    .sidebar .sidebar-popular-heading {
        grid-template-columns: minmax(0, 1fr) 48px;
    }

    .sidebar .sidebar-popular-heading h2 {
        font-size: 22px;
    }

    .sidebar .sidebar-popular-heading > span {
        width: 48px;
        height: 48px;
    }

    .sidebar .sidebar-popular-list a {
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .sidebar .sidebar-popular-thumb {
        width: 58px;
        height: 44px;
    }

    .sidebar .sidebar-popular-title {
        font-size: 13px;
    }
}

/* Keep rich embeds at a comfortable editorial width and always centred. */
.tto-gallery,
.tto-pdf-reader {
    width: 100%;
    max-width: 780px;
    margin-right: auto;
    margin-left: auto;
}

.tto-pdf-stage {
    width: 100%;
    height: clamp(420px, 68vh, 720px);
    min-height: 0;
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: #b9c0ca #e9edf1;
}

.tto-pdf-canvas {
    margin-right: auto;
    margin-left: auto;
}

@media (max-width: 600px) {
    .tto-gallery,
    .tto-pdf-reader {
        max-width: 100%;
    }

    .tto-pdf-stage {
        height: clamp(360px, 62vh, 560px);
        min-height: 0;
    }
}

/* Final article typography guard: neutralise fonts pasted from external copy. */
.post-content,
.post-content p,
.post-content li,
.post-content dd,
.post-content blockquote p,
.liveblog-entry-text,
.update-strip-content,
.entry-content-after {
    font-family: var(--font-article);
}

.post-content li,
.post-content dd,
.liveblog-entry-text,
.update-strip-content,
.entry-content-after {
    font-size: 17px;
    line-height: 1.8;
}

.post-content p {
    font-size: 17px;
    line-height: 1.8;
}

.post-content p span,
.post-content p font,
.post-content p a,
.post-content p strong,
.post-content p b,
.post-content p em,
.post-content p i,
.post-content li span,
.post-content li font,
.post-content li a,
.post-content li strong,
.post-content li b,
.post-content li em,
.post-content li i,
.liveblog-entry-text span,
.liveblog-entry-text font,
.update-strip-content span,
.update-strip-content font,
.entry-content-after span,
.entry-content-after font {
    font-family: inherit !important;
    font-size: inherit !important;
}

/* Headings and compact metadata retain their publication UI faces. */
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6,
.liveblog-entry-headline,
.update-strip-title {
    font-family: var(--font-reading);
}

.liveblog-entry-meta,
.liveblog-entry-time,
.update-strip-meta,
.update-strip-time {
    font-family: var(--font-meta);
}

/* Article-body headings: two-pixel editorial size lift. */
.post-content h1 { font-size: 30px; }
.post-content h2 { font-size: 26px; }
.post-content h3 { font-size: 22px; }
.post-content h4 { font-size: 20px; }
.post-content h5 { font-size: 18px; }
.post-content h6 { font-size: 16px; }

@media (max-width: 600px) {
    .post-content h1 { font-size: 24px; }
    .post-content h2 { font-size: 22px; }
    .post-content h3 { font-size: 20px; }
    .post-content h4 { font-size: 18px; }
    .post-content h5,
    .post-content h6 { font-size: 17px; }
}

/* WordPress blocks and imported markup must not reintroduce external fonts. */
.post-content :where(p, li, dt, dd, blockquote, cite, figcaption, caption, td, th),
.post-content :where(.wp-block-paragraph, .wp-block-list, .wp-block-quote, .wp-block-pullquote),
.liveblog-entry-text,
.update-strip-content,
.entry-content-after {
    font-family: var(--font-article) !important;
}

.post-content :where(p, li, dt, dd, blockquote) :where(span, font, a, strong, b, em, i, u, small),
.liveblog-entry-text :where(span, font, a, strong, b, em, i, u),
.update-strip-content :where(span, font, a, strong, b, em, i, u),
.entry-content-after :where(span, font, a, strong, b, em, i, u) {
    font-family: inherit !important;
}

/* Preserve icon glyphs where an icon appears inside article utilities. */
.post-content :where(.fa, .fas, .far, .fab, [class^="fa-"], [class*=" fa-"]) {
    font-family: "Font Awesome 6 Free" !important;
}

.post-content .fab {
    font-family: "Font Awesome 6 Brands" !important;
}

/* Editorial image description: short rule followed by a quiet source line. */
.post-content .tto-image-source {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 8px 0 0;
    padding: 0;
    color: #515966;
    font-family: var(--font-meta) !important;
    font-size: 12px !important;
    font-style: normal;
    font-weight: 400;
    line-height: 1.4 !important;
    letter-spacing: 0;
    text-align: left;
    overflow-wrap: anywhere;
    text-wrap: pretty;
}

.post-content .tto-image-source::before {
    content: "";
    flex: 0 0 30px;
    width: 30px;
    height: 1px;
    background: #30343b;
}

@media (max-width: 600px) {
    .post-content .tto-image-source {
        align-items: flex-start;
        gap: 7px;
        font-size: 12px !important;
    }

    .post-content .tto-image-source::before {
        flex-basis: 24px;
        width: 24px;
        margin-top: .7em;
    }
}

/* Unified editorial image descriptions: rule first, then the caption text. */
.post-featured-image .image-caption,
.post-content figcaption,
.post-content .tto-image-source,
.tto-gallery-description,
.tto-gallery-caption:not(:empty) {
    display: flex !important;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 8px 0 0 !important;
    padding: 0 !important;
    color: #515966 !important;
    background: transparent !important;
    border: 0 !important;
    font-family: var(--font-meta) !important;
    font-size: 12px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
}

.post-featured-image .image-caption::before,
.post-content figcaption::before,
.post-content .tto-image-source::before,
.tto-gallery-description::before,
.tto-gallery-caption:not(:empty)::before {
    display: block !important;
    flex: 0 0 30px !important;
    width: 30px !important;
    height: 1px !important;
    background: #30343b !important;
    content: "" !important;
    transform: none !important;
}

.tto-gallery-description::after {
    display: none !important;
}

.tto-gallery > .tto-gallery-description {
    margin: 0 0 12px !important;
}

@media (max-width: 600px) {
    .post-featured-image .image-caption,
    .post-content figcaption,
    .post-content .tto-image-source,
    .tto-gallery-description,
    .tto-gallery-caption:not(:empty) {
        gap: 7px;
        font-size: 11px !important;
    }

    .post-featured-image .image-caption::before,
    .post-content figcaption::before,
    .post-content .tto-image-source::before,
    .tto-gallery-description::before,
    .tto-gallery-caption:not(:empty)::before {
        flex-basis: 24px !important;
        width: 24px !important;
    }
}

/* Individual gallery captions read as centered editorial headings. */
.tto-gallery-caption:not(:empty) {
    display: block !important;
    width: 100%;
    margin: 10px 0 12px !important;
    padding: 0 18px !important;
    color: #172033 !important;
    background: transparent !important;
    border: 0 !important;
    font-family: var(--font-reading) !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: -0.01em !important;
    text-align: center !important;
}

.tto-gallery-caption:not(:empty)::before {
    display: none !important;
    content: none !important;
}

@media (max-width: 600px) {
    .tto-gallery-caption:not(:empty) {
        margin: 0 0 10px !important;
        padding-inline: 12px !important;
        font-size: 15px !important;
    }
}

/* Gallery-wide copy is the heading; individual image copy is the source line. */
.tto-gallery > .tto-gallery-heading {
    display: block !important;
    width: 100%;
    margin: 0 0 12px !important;
    padding: 0 18px !important;
    color: #172033 !important;
    background: transparent !important;
    border: 0 !important;
    font-family: var(--font-reading) !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: -0.01em !important;
    text-align: center !important;
}

.tto-gallery > .tto-gallery-heading::before {
    display: none !important;
    content: none !important;
}

.tto-gallery > .tto-gallery-image-source:not(:empty) {
    display: flex !important;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 8px 0 12px !important;
    padding: 0 !important;
    color: #515966 !important;
    background: transparent !important;
    border: 0 !important;
    font-family: var(--font-meta) !important;
    font-size: 12px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
}

.tto-gallery > .tto-gallery-image-source:not(:empty)::before {
    display: block !important;
    flex: 0 0 30px !important;
    width: 30px !important;
    height: 1px !important;
    background: #30343b !important;
    content: "" !important;
}

@media (max-width: 600px) {
    .tto-gallery > .tto-gallery-heading {
        padding-inline: 12px !important;
        font-size: 15px !important;
    }
    .tto-gallery > .tto-gallery-image-source:not(:empty) {
        gap: 7px;
        padding: 0 !important;
        font-size: 11px !important;
    }
    .tto-gallery > .tto-gallery-image-source:not(:empty)::before {
        flex-basis: 24px !important;
        width: 24px !important;
    }
}

/* Centre social embeds before and after third-party scripts transform them. */
.single-content :where(.wp-block-embed-twitter, .wp-block-embed-instagram),
.single-content :where(figure[class*="wp-block-embed-twitter"], figure[class*="wp-block-embed-instagram"]) {
    width: min(100%, 500px);
    max-width: 500px;
    margin-right: auto !important;
    margin-left: auto !important;
}

.single-content :where(.wp-block-embed-twitter, .wp-block-embed-instagram) .wp-block-embed__wrapper {
    display: flex;
    width: 100%;
    justify-content: center;
}

.single-content :where(.twitter-tweet, .twitter-tweet-rendered, blockquote.twitter-tweet),
.single-content :where(.instagram-media, .instagram-media-rendered, blockquote.instagram-media) {
    display: block !important;
    width: min(100%, 500px) !important;
    max-width: 500px !important;
    margin: 25px auto !important;
}

.single-content iframe[src*="twitter.com"],
.single-content iframe[src*="platform.twitter.com"],
.single-content iframe[src*="instagram.com"] {
    display: block !important;
    width: min(100%, 500px) !important;
    max-width: 500px !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

@media (max-width: 600px) {
    .single-content :where(.wp-block-embed-twitter, .wp-block-embed-instagram),
    .single-content :where(.twitter-tweet, .twitter-tweet-rendered, blockquote.twitter-tweet),
    .single-content :where(.instagram-media, .instagram-media-rendered, blockquote.instagram-media) {
        width: 100% !important;
        max-width: 100% !important;
    }

    .single-content iframe[src*="twitter.com"],
    .single-content iframe[src*="platform.twitter.com"],
    .single-content iframe[src*="instagram.com"] {
        max-width: 100% !important;
    }
}

@media (max-width: 768px) {
    body.tto-template-liveblog .post-date-row .read-time,
    body.tto-template-updates .post-date-row .read-time,
    body.tto-template-liveblog .tto-breadcrumb-reading,
    body.tto-template-updates .tto-breadcrumb-reading {
        display: none !important;
    }
}

/* Final editorial type scale: keep article typography consistent everywhere. */
.single-title {
    font-size: 36px;
    line-height: 1.17;
    letter-spacing: -1px;
}

.article-standfirst,
.article-standfirst p {
    font-family: var(--font-article) !important;
    font-size: 15px !important;
    line-height: 1.62 !important;
}

.post-content,
.post-content p,
.post-content li,
.post-content dd,
.liveblog-entry-text,
.liveblog-entry-text p,
.update-strip-content,
.update-strip-content p,
.entry-content-after,
.entry-content-after p,
.review-post .post-content,
.review-post .post-content p {
    font-family: var(--font-article) !important;
    font-size: 17px !important;
    line-height: 1.8 !important;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6,
.liveblog-entry-headline,
.update-strip-title,
.review-post .post-content h1,
.review-post .post-content h2,
.review-post .post-content h3,
.review-post .post-content h4 {
    font-family: var(--font-reading) !important;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.post-content h1 { font-size: 31px !important; }
.post-content h2 { font-size: 27px !important; }
.post-content h3 { font-size: 23px !important; }
.post-content h4 { font-size: 21px !important; }
.post-content h5 { font-size: 19px !important; }
.post-content h6 { font-size: 17px !important; }

.liveblog-entry-headline,
.update-strip-title {
    font-size: 20px !important;
}

.tto-quote-text,
.post-content blockquote:not(.tto-quote-text) > p,
.update-strip-content blockquote:not(.tto-quote-text) > p,
.liveblog-entry-text blockquote:not(.tto-quote-text) > p {
    font-family: var(--font-article) !important;
    font-size: 16px !important;
    line-height: 1.72 !important;
}

.liveblog-entry-time,
.liveblog-entry-meta,
.update-strip-meta,
.update-strip-time,
.post-meta-single,
.post-date-row {
    font-family: var(--font-meta) !important;
}

@media (max-width: 768px) {
    .single-title {
        font-size: 28px;
        line-height: 1.2;
    }

    .post-content,
    .post-content p,
    .post-content li,
    .post-content dd,
    .liveblog-entry-text,
    .liveblog-entry-text p,
    .update-strip-content,
    .update-strip-content p,
    .entry-content-after,
    .entry-content-after p,
    .review-post .post-content,
    .review-post .post-content p {
        font-size: 16px !important;
        line-height: 1.75 !important;
    }

    .post-content h1 { font-size: 25px !important; }
    .post-content h2 { font-size: 23px !important; }
    .post-content h3 { font-size: 21px !important; }
    .post-content h4 { font-size: 19px !important; }
    .post-content h5,
    .post-content h6 { font-size: 18px !important; }

    .liveblog-entry-headline,
    .update-strip-title {
        font-size: 18px !important;
    }

    .tto-quote-text,
    .post-content blockquote:not(.tto-quote-text) > p,
    .update-strip-content blockquote:not(.tto-quote-text) > p,
    .liveblog-entry-text blockquote:not(.tto-quote-text) > p {
        font-size: 15px !important;
    }
}

/* Article ad placements */
.single-wrapper,
.single-content,
.single-post,
.single-post .post-content {
    height: auto !important;
    max-height: none !important;
    overflow-y: visible !important;
}

.tto-article-ad {
    clear: both;
    width: 100%;
    max-width: 100%;
    margin: 28px 0;
    text-align: center;
    line-height: 1;
    overflow: hidden;
    contain: layout paint;
}

.tto-ad-unfilled {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
}

.single-wrapper .google-auto-placed,
.single-wrapper .adsbygoogle,
.single-wrapper ins.adsbygoogle,
.single-post .google-auto-placed,
.single-post .adsbygoogle,
.single-post ins.adsbygoogle,
.single-content .google-auto-placed,
.single-content .adsbygoogle,
.single-content ins.adsbygoogle,
.post-header .google-auto-placed,
.post-header .adsbygoogle,
.post-header ins.adsbygoogle,
.post-content .google-auto-placed,
.post-content .adsbygoogle,
.post-content ins.adsbygoogle {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow: hidden !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

.single-wrapper .google-auto-placed > *,
.single-post .google-auto-placed > *,
.single-content .google-auto-placed > *,
.post-header .google-auto-placed > *,
.post-content .google-auto-placed > *,
.single-wrapper .google-auto-placed [id^="google_ads_iframe"],
.single-post .google-auto-placed [id^="google_ads_iframe"],
.single-content .google-auto-placed [id^="google_ads_iframe"],
.post-header .google-auto-placed [id^="google_ads_iframe"],
.post-content .google-auto-placed [id^="google_ads_iframe"],
.single-wrapper div[id^="aswift_"],
.single-post div[id^="aswift_"],
.single-content div[id^="aswift_"],
.post-header div[id^="aswift_"],
.post-content div[id^="aswift_"],
.single-wrapper iframe[id^="aswift_"],
.single-post iframe[id^="aswift_"],
.single-content iframe[id^="aswift_"],
.post-header iframe[id^="aswift_"],
.post-content iframe[id^="aswift_"],
.single-wrapper iframe[id^="google_ads_iframe"],
.single-post iframe[id^="google_ads_iframe"],
.single-content iframe[id^="google_ads_iframe"],
.post-header iframe[id^="google_ads_iframe"],
.post-content iframe[id^="google_ads_iframe"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

.single-wrapper .google-auto-placed iframe,
.single-wrapper .adsbygoogle iframe,
.single-wrapper ins.adsbygoogle iframe,
.single-post .google-auto-placed iframe,
.single-post .adsbygoogle iframe,
.single-post ins.adsbygoogle iframe,
.single-content .google-auto-placed iframe,
.single-content .adsbygoogle iframe,
.single-content ins.adsbygoogle iframe,
.post-header .google-auto-placed iframe,
.post-header .adsbygoogle iframe,
.post-header ins.adsbygoogle iframe,
.post-content .google-auto-placed iframe,
.post-content .adsbygoogle iframe,
.post-content ins.adsbygoogle iframe {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.single-wrapper > .google-auto-placed,
.single-post > .google-auto-placed,
.single-content > .google-auto-placed,
.post-header > .google-auto-placed,
.post-content > .google-auto-placed {
    clear: both !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
}

.post-header > .tto-article-ad-above-headline {
    margin: 0 0 18px;
}

.post-content .tto-article-ad-after-paragraph-2 {
    margin: 30px 0;
}

.tto-article-ad-after-content {
    margin: 30px 0 24px;
}

.tto-article-ad ins,
.tto-article-ad iframe,
.tto-article-ad img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .tto-article-ad {
        margin: 22px 0;
        padding-left: 0;
        padding-right: 0;
    }

    .post-header > .tto-article-ad-above-headline {
        margin-bottom: 14px;
    }

    .single-wrapper .google-auto-placed,
    .single-wrapper .adsbygoogle,
    .single-wrapper ins.adsbygoogle,
    .single-post .google-auto-placed,
    .single-post .adsbygoogle,
    .single-post ins.adsbygoogle,
    .single-content .google-auto-placed,
    .single-content .adsbygoogle,
    .single-content ins.adsbygoogle,
    .post-header .google-auto-placed,
    .post-header .adsbygoogle,
    .post-header ins.adsbygoogle,
    .post-content .google-auto-placed,
    .post-content .adsbygoogle,
    .post-content ins.adsbygoogle {
        max-width: calc(100vw - 32px) !important;
    }
}
