/* ============================================================
   TERDEPAN THEME — News theme for Varient CMS (CI4 + Bootstrap 5)
   Visual language inspired by narasi.tv brand system:
   distinctive yellow (#FFC820) + magenta (#E6007E) on clean white,
   rounded video-style cards, bold geometric typography.
   Prefix: tdp-
   ============================================================ */

@import url("../../../common/css/plugins.css");
@import url("../../../common/css/common.css");

:root {
    --tdp-yellow: #ffc820;
    --tdp-yellow-deep: #f0b400;
    --tdp-magenta: #e6007e;
    --tdp-magenta-dark: #c2006a;
    --tdp-ink: #14151a;
    --tdp-gray: #5d6470;
    --tdp-line: #e8e9ee;
    --tdp-soft: #f7f7f9;
    --tdp-radius: 14px;

    --tdp-sans: "Plus Jakarta Sans", var(--vr-font-primary, "Segoe UI"), Arial, sans-serif;

    --vr-theme-color: #e6007e;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body.tdp-body {
    margin: 0;
    background: #fff;
    color: var(--tdp-ink);
    font-family: var(--tdp-sans);
    /* Samakan komponen common dengan identitas font tema */
    --vr-font-primary: "Plus Jakarta Sans", Arial, sans-serif;
    --vr-font-secondary: "Plus Jakarta Sans", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.65;
}
body.tdp-body button { color: inherit; }
body.tdp-body img { display: block; max-width: 100%; }
.tdp-shell {
    width: 100%;
    max-width: 1170px;
    margin-inline: auto;
    padding-inline: 16px;
}
.tdp-body a { text-decoration: none; }
.tdp-text-end { text-align: end; }

/* ---------- Header ---------- */
.tdp-masthead-wrap {
    background: #fff;
    border-bottom: 1px solid var(--tdp-line);
}
.tdp-masthead {
    display: flex; align-items: center; gap: 16px;
    padding-block: 14px;
}
.tdp-brand-link { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.tdp-brand-mark {
    font-family: var(--tdp-sans);
    font-weight: 800;
    font-size: clamp(28px, 4.6vw, 40px);
    letter-spacing: -.03em;
    color: var(--tdp-ink);
    text-transform: lowercase;
}
.tdp-brand-mark i { font-style: normal; color: var(--tdp-yellow); background: var(--tdp-ink); border-radius: 4px; padding: 0 3px; margin-left: 2px; }
.tdp-brand-line {
    margin-top: 6px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .22em;
    color: var(--tdp-gray);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tdp-header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.tdp-login-link {
    font-weight: 700; font-size: 14px;
    color: var(--tdp-ink);
    padding: 8px 12px;
    border-radius: 999px;
}
.tdp-login-link:hover { background: var(--tdp-soft); }
.tdp-search-button {
    display: inline-flex; align-items: center; gap: 7px;
    border: 0;
    background: var(--tdp-ink);
    color: #fff;
    border-radius: 999px;
    padding: 9px 16px;
    font-size: 13.5px;
    font-weight: 700;
    transition: background .15s ease;
}
.tdp-search-button:hover { background: var(--tdp-magenta); }
.tdp-search-button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.tdp-menu-button {
    display: none;
    flex-direction: column; justify-content: center; gap: 4.5px;
    width: 40px; height: 40px; padding: 10px;
    border: 1px solid var(--tdp-line);
    border-radius: 10px; background: #fff;
}
.tdp-menu-button span { display: block; height: 2px; border-radius: 2px; background: var(--tdp-ink); }

/* Nav pills */
.tdp-nav { background: #fff; position: sticky; top: 0; z-index: 40; box-shadow: 0 2px 10px rgba(20,21,26,.06); }
.tdp-nav-scroll {
    display: flex; align-items: center; gap: 8px;
    overflow-x: auto; scrollbar-width: none;
    padding-block: 10px;
}
.tdp-nav-scroll::-webkit-scrollbar { display: none; }
.tdp-nav-link {
    display: inline-flex; align-items: center;
    padding: 7px 15px;
    color: var(--tdp-ink);
    font-size: 13.5px;
    font-weight: 700;
    white-space: nowrap;
    background: transparent; border: 1px solid transparent;
    border-radius: 999px;
    transition: background .15s ease, border-color .15s ease;
}
.tdp-nav-link:hover { background: var(--tdp-soft); }
.tdp-nav-link.active { background: var(--tdp-ink); color: var(--tdp-yellow); }

/* More panel */
.tdp-more-panel {
    background: #fff;
    border-bottom: 3px solid var(--tdp-yellow);
    box-shadow: 0 14px 24px rgba(20,21,26,.12);
}
.tdp-more-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 2px 18px;
    padding-block: 14px;
}
.tdp-more-grid a {
    padding: 9px 6px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--tdp-ink);
    border-bottom: 1px solid var(--tdp-line);
}
.tdp-more-grid a:hover { color: var(--tdp-magenta); }

/* ---------- Breaking ticker ---------- */
.tdp-breaking { background: var(--tdp-soft); border-bottom: 1px solid var(--tdp-line); }
.tdp-breaking-inner {
    display: flex; align-items: center; gap: 12px;
    padding-block: 9px; overflow: hidden;
}
.tdp-breaking-label {
    flex-shrink: 0;
    background: var(--tdp-magenta);
    color: #fff;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .1em;
    padding: 4px 10px;
    border-radius: 999px;
}
.tdp-breaking p {
    margin: 0; font-size: 14.5px; font-weight: 600;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tdp-breaking p a { color: var(--tdp-ink); }
.tdp-breaking p a:hover { color: var(--tdp-magenta); }
.tdp-breaking-time { margin-left: auto; flex-shrink: 0; font-size: 12px; color: var(--tdp-gray); }

/* ---------- Kicker & meta ---------- */
.tdp-kicker {
    display: inline-block;
    color: var(--tdp-magenta);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .09em;
    margin-bottom: 4px;
}
.tdp-kicker--yellow { color: var(--tdp-yellow-deep); }
.tdp-kicker--magenta { color: var(--tdp-magenta); }
.tdp-kicker a { color: inherit; }
.tdp-meta-row {
    display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
    font-size: 13px; color: var(--tdp-gray);
}
.tdp-meta-row i { width: 3px; height: 3px; border-radius: 50%; background: #c3c7cf; }
.tdp-meta-row a { display: inline-flex; align-items: center; gap: 7px; color: var(--tdp-ink); font-weight: 700; }

/* ---------- Section head ---------- */
.tdp-section { padding-block: 28px 6px; }
.tdp-section-head {
    display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
    margin-bottom: 18px;
}
.tdp-section-head h2 {
    margin: 0;
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 800;
    letter-spacing: -.01em;
    color: var(--tdp-ink);
    padding-left: 14px;
    border-left: 6px solid var(--tdp-yellow);
    line-height: 1.1;
}
.tdp-section-head > a {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 800;
    color: var(--tdp-magenta);
}
.tdp-section-head > a:hover { color: var(--tdp-magenta-dark); text-decoration: underline; }

/* ---------- Hero ---------- */
.tdp-hero-area { padding-block: 24px 4px; }
.tdp-hero-image {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--tdp-soft);
    border-radius: var(--tdp-radius);
}
.tdp-hero-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.tdp-hero-image:hover img { transform: scale(1.03); }
.tdp-play-badge {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    pointer-events: none;
}
.tdp-play-badge svg {
    width: 58px; height: 58px;
    fill: rgba(255,255,255,.92);
    filter: drop-shadow(0 4px 14px rgba(20,21,26,.45));
    transition: transform .25s ease;
}
.tdp-hero-image:hover .tdp-play-badge svg { transform: scale(1.12); }
.tdp-hero h2 {
    margin: 8px 0 10px;
    font-size: clamp(22px, 3.3vw, 31px);
    line-height: 1.22;
    font-weight: 800;
    letter-spacing: -.01em;
}
.tdp-hero h2 a { color: var(--tdp-ink); }
.tdp-hero h2 a:hover { color: var(--tdp-magenta); }
.tdp-hero p { margin: 0 0 10px; color: var(--tdp-gray); font-size: 15px; line-height: 1.55; }

.tdp-mini-card { background: #fff; border: 1px solid var(--tdp-line); border-radius: var(--tdp-radius); overflow: hidden; height: 100%; }
.tdp-mini-image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--tdp-soft); }
.tdp-mini-image img { width: 100%; height: 100%; object-fit: cover; }
.tdp-mini-card .tdp-kicker { margin: 10px 14px 0; display: block; }
.tdp-mini-card h3 { margin: 4px 14px 6px; font-size: 14.5px; line-height: 1.35; font-weight: 700; }
.tdp-mini-card h3 a { color: var(--tdp-ink); }
.tdp-mini-card h3 a:hover { color: var(--tdp-magenta); }
.tdp-mini-card time { display: block; margin: 0 14px 12px; font-size: 12px; color: #9aa0ab; }

/* Trend rail */
.tdp-trend-panel {
    background: #fff;
    border: 1px solid var(--tdp-line);
    border-radius: var(--tdp-radius);
    padding: 18px;
    height: 100%;
}
.tdp-panel-title {
    margin: 0 0 12px;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -.01em;
    color: var(--tdp-ink);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--tdp-yellow);
}
.tdp-pop-list { list-style: none; margin: 0; padding: 0; }
.tdp-pop-list li + li { border-top: 1px dashed var(--tdp-line); }
.tdp-pop-list li > a, .tdp-pop-list li > button {
    display: flex; gap: 14px; align-items: flex-start;
    width: 100%; padding: 11px 0;
    background: none; border: 0; text-align: start;
}
.tdp-pop-number {
    flex-shrink: 0; min-width: 30px;
    font-size: 30px; line-height: 1;
    font-weight: 800;
    color: var(--tdp-yellow);
    -webkit-text-stroke: 1px var(--tdp-ink);
    text-align: center;
}
.tdp-pop-list li small {
    display: block; margin-bottom: 3px;
    font-size: 11.5px; font-weight: 800;
    text-transform: uppercase; letter-spacing: .08em;
    color: var(--tdp-magenta);
}
.tdp-pop-list li h3 { margin: 0; font-size: 14px; line-height: 1.4; font-weight: 600; color: var(--tdp-ink); }
.tdp-pop-list li > a:hover h3 { color: var(--tdp-magenta); }

/* ---------- Cards ---------- */
.tdp-card {
    background: #fff;
    border: 1px solid var(--tdp-line);
    border-radius: var(--tdp-radius);
    overflow: hidden;
    height: 100%;
    transition: box-shadow .2s ease, transform .2s ease;
}
.tdp-card:hover { box-shadow: 0 10px 26px rgba(20,21,26,.1); transform: translateY(-2px); }
.tdp-card-image { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--tdp-soft); }
.tdp-card-image img { width: 100%; height: 100%; object-fit: cover; }
.tdp-card-body { padding: 12px 15px 14px; }
.tdp-card-body small {
    display: block; margin-bottom: 4px;
    font-size: 11.5px; font-weight: 800;
    text-transform: uppercase; letter-spacing: .08em;
    color: var(--tdp-magenta);
}
.tdp-tag-yellow { color: var(--tdp-yellow-deep) !important; }
.tdp-card-body h3 { margin: 0 0 6px; font-size: 15px; line-height: 1.38; font-weight: 700; }
.tdp-card-body h3 a { color: var(--tdp-ink); }
.tdp-card-body h3 a:hover { color: var(--tdp-magenta); }
.tdp-card-body time { font-size: 12px; color: #9aa0ab; }
.tdp-card--feature .tdp-card-image { aspect-ratio: 16 / 10; }
.tdp-card--feature h3 { font-size: 19px; line-height: 1.3; }
.tdp-card--feature p { margin: 0 0 8px; color: var(--tdp-gray); font-size: 14px; line-height: 1.55; }
.tdp-card--compact .tdp-card-body { padding: 10px 12px 12px; }
.tdp-card--compact h3 { font-size: 13.5px; }

/* ---------- Widgets ---------- */
.tdp-widget {
    background: #fff;
    border: 1px solid var(--tdp-line);
    border-radius: var(--tdp-radius);
    padding: 16px 18px;
    margin-bottom: 22px;
}
.tdp-widget-title {
    margin: 0 0 12px;
    padding-bottom: 10px;
    position: relative;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -.01em;
    color: var(--tdp-ink);
    border-bottom: 2px solid var(--tdp-yellow);
}
.tdp-widget--dark { background: var(--tdp-ink); border-color: var(--tdp-ink); }
.tdp-widget--dark .tdp-widget-title { color: var(--tdp-yellow); border-color: rgba(255,255,255,.15); }
.tdp-newsletter-form { display: flex; gap: 8px; }
.tdp-newsletter-form input[type="email"] {
    flex: 1; min-width: 0;
    border: 1px solid var(--tdp-line);
    border-radius: 999px;
    padding: 9px 15px;
    font-size: 14px;
}
.tdp-newsletter-form button {
    flex-shrink: 0;
    border: 0; border-radius: 999px;
    background: var(--tdp-magenta);
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    padding: 9px 17px;
    cursor: pointer;
}
.tdp-newsletter-form button:hover { background: var(--tdp-magenta-dark); }
.tdp-widget--dark .tdp-newsletter-form input[type="email"] { border-color: transparent; background: rgba(255,255,255,.12); color: #fff; }
.tdp-widget--dark .tdp-newsletter-form input[type="email"]::placeholder { color: rgba(255,255,255,.6); }
.tdp-follow-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.tdp-follow-btn {
    display: inline-flex; align-items: center; gap: 7px;
    color: #fff !important;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 600;
}
.tdp-follow-btn svg { width: 15px; height: 15px; fill: currentColor; }

/* Tag chips */
.tdp-widget .tagcloud a, .tdp-widget .tags a,
.post-tags ul li a, .tdp-post-tags ul li a {
    display: inline-block;
    background: var(--tdp-soft);
    border: 1px solid var(--tdp-line);
    color: var(--tdp-ink) !important;
    border-radius: 999px;
    padding: 5px 13px;
    font-size: 12.5px !important;
    font-weight: 600;
}
.tdp-widget .tagcloud a:hover, .tdp-widget .tags a:hover,
.post-tags ul li a:hover, .tdp-post-tags ul li a:hover {
    background: var(--tdp-ink);
    border-color: var(--tdp-ink);
    color: var(--tdp-yellow) !important;
}

/* ---------- Ad slots & newsletter band ---------- */
.tdp-ad-slot { margin-block: 18px; display: flow-root; text-align: center; }
.tdp-ad-slot--wide { min-height: 0; }
.tdp-newsletter-band { background: linear-gradient(120deg, var(--tdp-ink), #2a2c36); color: #fff; margin-top: 38px; }
.tdp-newsletter-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 26px; padding-block: 32px; flex-wrap: wrap;
}
.tdp-newsletter-inner h2 {
    margin: 0 0 6px;
    font-size: clamp(19px, 3vw, 26px);
    font-weight: 800;
    letter-spacing: -.01em;
}
.tdp-newsletter-inner h2::after { content: ""; display: block; width: 64px; height: 4px; border-radius: 4px; background: var(--tdp-yellow); margin-top: 8px; }
.tdp-newsletter-inner p { margin: 0; color: rgba(255,255,255,.75); font-size: 14.5px; }
.tdp-newsletter-form--band input[type="email"] { border: 0; min-width: 260px; }

/* ---------- Page/article ---------- */
.tdp-page-section { padding-block: 26px; }
.tdp-page-title {
    font-size: clamp(23px, 4vw, 32px);
    font-weight: 800;
    letter-spacing: -.01em;
    color: var(--tdp-ink);
    margin: 6px 0 18px;
    padding-left: 15px;
    border-left: 6px solid var(--tdp-yellow);
    line-height: 1.15;
}
.tdp-article-title {
    font-size: clamp(23px, 4vw, 34px);
    line-height: 1.22;
    font-weight: 800;
    letter-spacing: -.01em;
    color: var(--tdp-ink);
    margin: 8px 0 12px;
}
.tdp-article-summary { color: var(--tdp-gray); font-size: 16.5px; line-height: 1.6; margin-bottom: 16px; }
.tdp-edit-link {
    float: right;
    font-size: 12.5px;
    font-weight: 800;
    color: var(--tdp-magenta);
    border: 1px solid var(--tdp-line);
    border-radius: 999px;
    padding: 4px 12px;
}
.tdp-article-body {
    font-size: 17px;
    line-height: 1.78;
    color: #26282e;
    margin-top: 18px;
}
.tdp-article-body p { margin-bottom: 1.15em; }
.tdp-article-body img { border-radius: 10px; }
.tdp-article-body h2, .tdp-article-body h3 {
    font-weight: 800;
    color: var(--tdp-ink);
    margin: 1.4em 0 .6em;
}
.tdp-article-body blockquote {
    border-left: 4px solid var(--tdp-yellow);
    background: var(--tdp-soft);
    margin: 1.3em 0;
    padding: 14px 20px;
    border-radius: 0 10px 10px 0;
    font-style: italic;
}
.tdp-share-row { padding-block: 6px; border-block: 1px solid var(--tdp-line); margin-top: 14px; }
.tdp-post-tags .title, .post-tags .title {
    font-size: 15px;
    font-weight: 800;
    color: var(--tdp-ink);
}
.tdp-author-box {
    display: flex; gap: 16px;
    background: var(--tdp-soft);
    border: 1px solid var(--tdp-line);
    border-radius: var(--tdp-radius);
    padding: 18px;
    margin-top: 26px;
}
.tdp-author-box img { border-radius: 50%; object-fit: cover; }
.tdp-author-box .username { display: block; font-size: 16px; margin-top: 2px; }
.tdp-author-box .username a { color: var(--tdp-ink); }
.tdp-author-box .username a:hover { color: var(--tdp-magenta); }
.tdp-author-box .description { color: var(--tdp-gray); font-size: 14px; line-height: 1.55; margin: 6px 0; }
.tdp-adjacent { border-top: 1px solid var(--tdp-line); padding-top: 18px; }
.tdp-adjacent .title { font-size: 15.5px; font-weight: 700; }
.tdp-adjacent .title a { color: var(--tdp-ink); }
.tdp-adjacent .title a:hover { color: var(--tdp-magenta); }

/* Listing */
.tdp-listing-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 34px;
    align-items: start;
}
.tdp-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}
.tdp-btn-load-more {
    display: inline-flex; align-items: center; gap: 8px;
    border: 2px solid var(--tdp-ink);
    background: #fff;
    color: var(--tdp-ink);
    font-size: 14px;
    font-weight: 800;
    border-radius: 999px;
    padding: 10px 28px;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.tdp-btn-load-more:hover { background: var(--tdp-ink); color: var(--tdp-yellow); }
.tdp-pager { display: flex; justify-content: center; }
.tdp-pager .pagination .page-link { color: var(--tdp-ink); border-radius: 10px; margin-inline: 3px; }
.tdp-pager .pagination .active .page-link { background: var(--tdp-ink); border-color: var(--tdp-ink); }

/* Compat: kartu common/cell & AJAX (sidebar, load-more) */
.tdp-posts-grid .post-item,
.tdp-widget .post-item,
.section-related-posts .post-item { border: 1px solid var(--tdp-line); border-radius: var(--tdp-radius); overflow: hidden; background: #fff; height: 100%; position: relative; margin-bottom: 0; }
.tdp-widget .post-item { height: auto; margin-bottom: 16px; }
.tdp-widget .post-item:last-child { margin-bottom: 0; }
.tdp-widget .post-item > .badge-category, .tdp-posts-grid .post-item > .badge-category { position: absolute; left: 10px; top: 10px; z-index: 2; margin: 0; }
.tdp-posts-grid .post-item .image, .tdp-widget .post-item .image.ratio { display: block; aspect-ratio: 16 / 9; --bs-aspect-ratio: 62.5%; overflow: hidden; background: var(--tdp-soft); margin: 0; }
.tdp-posts-grid .post-item .image img, .tdp-widget .post-item .image.ratio img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.tdp-posts-grid .post-item:hover .image img, .tdp-widget .post-item:hover .image.ratio img { transform: scale(1.04); }
.tdp-posts-grid .post-item .post-content { padding: 12px 14px 16px; }
.tdp-widget .post-item .title { margin: 0; padding: 12px 14px 0; font-family: var(--tdp-sans); }
.tdp-posts-grid .post-item .title a, .tdp-widget .post-item .title a { color: var(--tdp-ink); font-size: 15px; font-weight: 700; line-height: 1.35; }
.tdp-posts-grid .post-item .title a:hover, .tdp-widget .post-item .title a:hover { color: var(--tdp-magenta); }
.tdp-posts-grid .post-item .description, .tdp-widget .post-item .description { padding: 6px 14px 0; color: var(--tdp-gray); font-size: 13px; line-height: 1.5; }
.tdp-posts-grid .post-item .post-meta, .tdp-widget .post-item .post-meta { padding: 8px 14px 14px; }

.post-item-small { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.tdp-widget .post-item-small:last-child, #postsLoadMoreContent .post-item-small:last-child { margin-bottom: 0; }
.post-item-small .image { flex-shrink: 0; width: 110px; max-width: 110px; }
.post-item-small .image a { display: block; aspect-ratio: 16 / 11; overflow: hidden; border-radius: 10px; background: var(--tdp-soft); }
.post-item-small .image img { width: 100%; height: 100%; object-fit: cover; }
.post-item-small .title { margin: 0 0 4px; font-family: var(--tdp-sans); }
.post-item-small .title a { color: var(--tdp-ink); font-size: 14.5px; font-weight: 700; line-height: 1.38; display: block; }
.post-item-small .title a:hover { color: var(--tdp-magenta); }
.section-related-posts .post-item-small .title a { font-size: 13.5px; }
.post-item-small .post-meta { margin-top: 2px; }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tag-list li { display: inline-flex; }
.tag-list a {
    display: inline-block;
    background: var(--tdp-soft);
    border: 1px solid var(--tdp-line);
    color: var(--tdp-ink);
    border-radius: 999px;
    padding: 5px 13px;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.4;
}
.tag-list a:hover { background: var(--tdp-ink); border-color: var(--tdp-ink); color: var(--tdp-yellow); }

.badge-category {
    background: var(--tdp-magenta) !important;
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: .06em;
    border-radius: 6px !important;
}
.post-meta .meta-item, .post-meta .a-username { font-size: 12.5px; color: #9aa0ab; }
.post-meta .a-username { color: var(--tdp-magenta); font-weight: 600; }
.post-item-horizontal.tdp-feed-story { list-style: none; }
.post-item-horizontal .description { color: var(--tdp-gray); font-size: 14px; line-height: 1.5; }

.breadcrumb { margin: 0 0 14px; font-size: 13px; }
.breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: #c3c7cf; content: "›"; }
.breadcrumb .breadcrumb-item a { color: var(--tdp-gray); font-weight: 600; }
.breadcrumb .breadcrumb-item a:hover { color: var(--tdp-magenta); text-decoration: underline; }
.breadcrumb .breadcrumb-item.active { color: var(--tdp-ink); font-weight: 600; }
.comments-module h2, .comments-module h3, .faq-section .faq-title, .faq-accordion .accordion-button { font-family: var(--tdp-sans); }

/* Profile/contact/buttons */
.tdp-profile-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.tdp-profile-avatar { border-radius: 50%; object-fit: cover; border: 3px solid var(--tdp-soft); }
.tdp-follower-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tdp-follower-list img { border-radius: 50%; object-fit: cover; }
.tdp-contact-form .form-control { border-radius: 10px; }
.tdp-contact-form .form-control:focus { border-color: var(--tdp-magenta); box-shadow: 0 0 0 .2rem rgba(230,0,126,.12); }
.tdp-contact-info p { display: flex; gap: 10px; }
.tdp-contact-info strong { min-width: 76px; color: var(--tdp-ink); }
.tdp-btn-solid {
    display: inline-block;
    background: var(--tdp-ink);
    border: 0;
    color: var(--tdp-yellow);
    font-size: 14px;
    font-weight: 800;
    border-radius: 999px;
    padding: 10px 26px;
    cursor: pointer;
}
.tdp-btn-solid:hover { background: var(--tdp-magenta); color: #fff; }
.tdp-btn-solid.is-following { background: var(--tdp-gray); color: #fff; }
.tdp-btn-outline {
    display: inline-block;
    border: 2px solid var(--tdp-ink);
    color: var(--tdp-ink);
    font-size: 13.5px;
    font-weight: 800;
    border-radius: 999px;
    padding: 8px 22px;
}
.tdp-btn-outline:hover { background: var(--tdp-ink); color: var(--tdp-yellow); }
.tdp-empty-state {
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    padding: 44px 20px;
    border: 1px dashed var(--tdp-line);
    border-radius: var(--tdp-radius);
    color: var(--tdp-gray);
    text-align: center;
}
.tdp-empty-state a { color: var(--tdp-magenta); font-weight: 600; }
.tdp-empty-mini { color: var(--tdp-gray); font-size: 13.5px; padding: 8px 0; }
.tdp-gallery-item { position: relative; display: block; overflow: hidden; border-radius: var(--tdp-radius); }
.tdp-gallery-item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .35s ease; }
.tdp-gallery-item:hover img { transform: scale(1.05); }
.tdp-gallery-overlay {
    position: absolute; inset: auto 0 0 0;
    padding: 34px 16px 14px;
    background: linear-gradient(to top, rgba(20,21,26,.92), transparent);
    color: #fff;
}
.tdp-gallery-overlay span { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }
.tdp-gallery-overlay h3 { margin: 4px 0 0; font-size: 16px; font-weight: 700; color: #fff; }

/* Search overlay */
.tdp-search-overlay {
    position: fixed; inset: 0; z-index: 1080;
    background: rgba(20,21,26,.985);
    overflow-y: auto;
}
.tdp-search-shell { max-width: 720px; margin-inline: auto; padding: 26px 18px 60px; }
.tdp-search-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 46px; }
.tdp-search-top .tdp-brand-mark { color: #fff; font-size: 26px; }
.tdp-search-top .tdp-brand-mark i { background: var(--tdp-yellow); color: var(--tdp-ink); }
.tdp-search-top button {
    border: 0; background: none;
    font-size: 14px;
    font-weight: 800;
    color: #cfd2da;
}
.tdp-search-top button:hover { color: var(--tdp-yellow); }
.tdp-search-overlay form label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #9ba0ab;
    margin-bottom: 10px;
}
.tdp-search-field {
    display: flex; align-items: center; gap: 12px;
    border: 2px solid rgba(255,255,255,.35);
    border-radius: 999px;
    padding: 4px 20px;
}
.tdp-search-field:focus-within { border-color: var(--tdp-yellow); }
.tdp-search-field svg { width: 20px; height: 20px; stroke: #9ba0ab; stroke-width: 2; stroke-linecap: round; fill: none; }
.tdp-search-field input {
    flex: 1;
    border: 0; outline: none;
    font-size: 19px;
    padding: 12px 0;
    color: #fff;
    background: transparent;
}
.tdp-search-hint { margin-top: 12px; font-size: 13px; color: #9ba0ab; }
.tdp-dropdown-menu { border-radius: 12px; border-color: var(--tdp-line); font-size: 14px; }
.tdp-dropdown-menu .dropdown-item:active { background: var(--tdp-ink); }

/* Sitemap */
.tdp-sitemap-intro { color: var(--tdp-gray); font-size: 14.5px; margin-bottom: 20px; }
.tdp-sitemap-block { background: #fff; border: 1px solid var(--tdp-line); border-radius: var(--tdp-radius); padding: 18px 20px; }
.tdp-sitemap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 4px 22px; }
.tdp-sitemap-col { padding-block: 8px; border-bottom: 1px dashed var(--tdp-line); }
.tdp-sitemap-root {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: var(--tdp-ink);
    margin-bottom: 6px;
}
.tdp-sitemap-root:hover { color: var(--tdp-magenta); }
.tdp-sitemap-col ul { list-style: none; margin: 0; padding: 0; }
.tdp-sitemap-col ul a { display: block; padding-block: 3px; color: var(--tdp-gray); font-size: 13.5px; }
.tdp-sitemap-col ul a:hover { color: var(--tdp-magenta); text-decoration: underline; }
.tdp-sitemap-pages { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 30px; }
.tdp-sitemap-pages li { break-inside: avoid; }
.tdp-sitemap-pages a {
    display: block; padding-block: 6px;
    border-bottom: 1px dashed var(--tdp-line);
    color: var(--tdp-ink);
    font-size: 14px;
    font-weight: 600;
}
.tdp-sitemap-pages a:hover { color: var(--tdp-magenta); }
.tdp-sitemap-links { list-style: none; margin: 0; padding: 0; }
.tdp-sitemap-links a {
    display: flex; align-items: center; gap: 8px;
    padding-block: 9px;
    border-bottom: 1px dashed var(--tdp-line);
    color: var(--tdp-ink);
    font-size: 14px;
    font-weight: 600;
}
.tdp-sitemap-links a::before { content: "›"; color: var(--tdp-magenta); font-weight: 800; }
.tdp-sitemap-links a:hover { color: var(--tdp-magenta); }

/* ---------- Footer ---------- */
.tdp-footer { background: var(--tdp-ink); color: #b9bcc6; margin-top: 40px; }
.tdp-footer-main {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 34px;
    padding-block: 40px 32px;
}
.tdp-footer-brand .tdp-brand-mark { color: #fff; font-size: 30px; }
.tdp-footer-brand .tdp-brand-mark i { background: var(--tdp-yellow); color: var(--tdp-ink); }
.tdp-footer-brand p {
    margin-top: 8px;
    font-size: 11px;
    letter-spacing: .18em;
    color: #7d818d;
}
.tdp-footer-main div > span {
    display: block;
    font-size: 12.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--tdp-yellow);
    margin-bottom: 12px;
}
.tdp-footer-main div a {
    display: block;
    color: #b9bcc6;
    padding-block: 4px;
    font-size: 14px;
}
.tdp-footer-main div a:hover { color: #fff; text-decoration: underline; }
.tdp-footer-about p { font-size: 13.5px; line-height: 1.65; margin: 0 0 14px; }
.tdp-footer-social { display: flex; gap: 8px; flex-wrap: wrap; }
.tdp-footer-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
}
.tdp-footer-social a:hover { background: var(--tdp-magenta); }
.tdp-footer-social svg { width: 16px; height: 16px; fill: #fff; }
.tdp-footer-network { border-top: 1px solid rgba(255,255,255,.12); background: #0e0f14; }
.tdp-footer-network .tdp-shell { display: flex; align-items: baseline; gap: 18px; padding-block: 16px; flex-wrap: wrap; }
.tdp-footer-network > .tdp-shell > span {
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--tdp-yellow);
}
.tdp-footer-network div { display: flex; gap: 4px 18px; flex-wrap: wrap; }
.tdp-footer-network div a { color: #b9bcc6; font-size: 13px; }
.tdp-footer-network div a:hover { color: #fff; text-decoration: underline; }
.tdp-footer-bottom {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; flex-wrap: wrap;
    padding-block: 15px;
    border-top: 1px solid rgba(255,255,255,.12);
    font-size: 12.5px;
    color: #7d818d;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .tdp-listing-layout { grid-template-columns: 1fr; }
    .tdp-menu-button { display: flex; }
    .tdp-nav { position: static; }
    .tdp-footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767.98px) {
    .tdp-posts-grid { grid-template-columns: 1fr; }
    .tdp-breaking p { white-space: normal; }
    .tdp-newsletter-inner { flex-direction: column; align-items: stretch; text-align: center; }
    .tdp-newsletter-form--band { flex-direction: column; }
    .tdp-newsletter-form--band input[type="email"] { min-width: 0; }
}
@media (max-width: 575.98px) {
    .tdp-brand-line { display: none; }
    .tdp-search-button span { display: none; }
    .tdp-search-button { padding: 9px 11px; }
    .tdp-login-link { padding: 8px; }
    .tdp-footer-main { grid-template-columns: 1fr; gap: 24px; }
    .tdp-hero h2 { font-size: 21px; }
    .tdp-section-head h2 { font-size: 19px; }
}
