body.template-shell {
    background: #f5f6f8;
    color: #2c3340;
}

body.template-shell main.content {
    min-height: 40vh;
    padding: 24px 0 56px;
}

.page-wrapper {
    overflow: clip;
}

.latest-post-bar {
    padding: 12px 0;
    border-bottom: 1px solid #e3e6ea;
    background: #ffffff;
}

.latest-post-bar .swiper,
.latest-post-bar .breaking-news,
.latest-post-bar .ticker {
    margin: 0;
}

.cnnt-hashtag-view,
.cnnt-detail-page,
.cnnt-video-page,
.cnnt-page-view {
    position: relative;
}

.cnnt-hashtag-view::before,
.cnnt-detail-page::before,
.cnnt-video-page::before,
.cnnt-page-view::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 260px;
    background: linear-gradient(180deg, rgba(255, 244, 221, 0.9) 0%, rgba(245, 246, 248, 0) 100%);
    pointer-events: none;
}

.cnnt-hashtag-view > *,
.cnnt-detail-page > *,
.cnnt-video-page > *,
.cnnt-page-view > * {
    position: relative;
    z-index: 1;
}

.panel,
.stack-card,
.story,
.blog-post-wrapper,
.blog-sidebar .widget,
.cnnt-page-view .page-content {
    border: 1px solid #e0e4e9;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(10, 24, 46, 0.06);
}

.story {
    padding: 18px;
}

.story + .story {
    margin-top: 18px;
}

.story__thumb,
.story-media {
    overflow: hidden;
    border-radius: 16px;
    background: #f2f4f7;
}

.story-media img,
.story__thumb img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.stack-title,
.story__heading,
.blog-post-wrapper h1,
.blog-post-wrapper h2,
.blog-post-wrapper h3 {
    color: #0e2a4a;
}

.stack-title a,
.story__heading a {
    color: inherit;
    text-decoration: none;
}

.stack-title a:hover,
.story__heading a:hover {
    color: #b42318;
}

.story__summary,
.story__meta,
.blog-details-content,
.article-content-detail {
    color: #4d5b6c;
}

.content-list .pagination__wrap {
    margin-top: 24px;
}

.content-list .pagination__wrap .list-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-left: 0;
    list-style: none;
}

.content-list .pagination__wrap .btn.show-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1px solid #0e4170;
    background: #0e4170;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.content-list .pagination__wrap .btn.show-more.next {
    background: #c89d1d;
    border-color: #c89d1d;
}

.content-list .pagination__wrap .btn.show-more:hover {
    opacity: 0.92;
}

.cms-story-row {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.cms-story-row__body {
    min-width: 0;
}

.cms-story-row__meta {
    margin-bottom: 10px;
    font-size: 14px;
    color: #667085;
}

.cms-story-row__summary {
    font-size: 15px;
    line-height: 1.8;
    text-align: justify;
}

.tcgc-section-card {
    border: 1px solid #e0e4e9;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(10, 24, 46, 0.06);
}

.tcgc-section-card__head {
    padding: 22px 24px 16px;
    border-bottom: 1px solid #eceff3;
}

.tcgc-section-card__body {
    padding: 22px 24px 24px;
}

.tcgc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #b42318;
}

.tcgc-eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    background: currentColor;
}

.tcgc-page-title {
    margin: 12px 0 0;
    font-family: var(--font-1);
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 700;
    line-height: 1.12;
    color: #0e2a4a;
}

.tcgc-page-desc {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.9;
    color: #5a6676;
}

.tcgc-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.tcgc-section-title h2,
.tcgc-section-title h1 {
    margin: 0;
    font-family: var(--font-1);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    line-height: 1.15;
    color: #0e2a4a;
}

.tcgc-section-title a {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #b42318;
}

.tcgc-section-title a:hover {
    color: #0e2a4a;
}

.tcgc-pill-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff3e8;
    color: #b42318;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.tcgc-pill-label::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: currentColor;
}

.tcgc-card-grid {
    display: grid;
    gap: 24px;
}

.tcgc-headline-list {
    display: grid;
    gap: 14px;
}

.tcgc-headline-list a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: var(--font-1);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.45;
    color: #0e2a4a;
}

.tcgc-headline-list a::before {
    content: "";
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    margin-top: 11px;
    border-radius: 999px;
    background: #d0a13f;
}

.tcgc-headline-list a:hover {
    color: #b42318;
}

.tcgc-link-list {
    display: grid;
    gap: 16px;
}

.tcgc-link-list a {
    display: block;
    padding-bottom: 14px;
    border-bottom: 1px solid #eceff3;
    font-family: var(--font-1);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.45;
    color: #0e2a4a;
}

.tcgc-link-list a:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.tcgc-link-list a:hover {
    color: #b42318;
}

.tcgc-scroll-cards {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 1fr);
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
}

.tcgc-scroll-cards > * {
    scroll-snap-align: start;
}

.tcgc-search-form {
    display: grid;
    gap: 14px;
}

.tcgc-search-field {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid #e0e4e9;
    border-radius: 22px;
    background: #fff;
}

.tcgc-search-field input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    background: transparent;
    color: #0e2a4a;
    font-size: 15px;
}

.tcgc-search-field input:focus {
    outline: none;
}

.tcgc-search-submit,
.tcgc-page-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #b42318 0%, #d24b2f 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.tcgc-search-submit:hover,
.tcgc-page-nav a:hover {
    color: #fff;
    filter: brightness(0.96);
}

.tcgc-page-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 6px;
}

.tcgc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    font-size: 13px;
    line-height: 1.7;
    color: #667085;
}

.tcgc-meta strong,
.tcgc-meta a {
    color: #b42318;
    font-weight: 700;
    text-transform: uppercase;
}

.tcgc-summary {
    font-size: 15px;
    line-height: 1.9;
    color: #5a6676;
    text-align: justify;
}

.tcgc-empty-state {
    padding: 24px 0 8px;
    font-size: 15px;
    line-height: 1.8;
    color: #5a6676;
}

.tcgc-empty-state ul {
    margin: 10px 0 0;
    padding-left: 18px;
}

@media (max-width: 991.98px) {
    .cms-story-row {
        grid-template-columns: 1fr;
    }

    .story {
        padding: 16px;
    }

    body.template-shell main.content {
        padding-top: 20px;
    }

    .tcgc-section-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .tcgc-scroll-cards {
        grid-auto-columns: minmax(78vw, 1fr);
    }
}
