:root {
    --td-bg: #f4f4f4;
    --td-surface: #ffffff;
    --td-dark: #111111;
    --td-muted: #666666;
    --td-accent: #e30613; /* red subscribe button vibe */
    --td-accent-dark: #b0040f;
    --td-border: #dddddd;
    --td-pill: #111111;
    --td-radius-lg: 18px;
    --td-radius-md: 12px;
    --td-radius-full: 999px;
    --td-shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.08);
    --td-font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--td-font-sans);
    background: var(--td-bg);
    color: var(--td-dark);
    line-height: 1.6;
}

/* Header */

.td-header {
    background: #ffffff;
    border-bottom: 1px solid var(--td-border);
}

.td-header-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.td-logo-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}

.td-logo-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 3px solid var(--td-dark);
    object-fit: cover;
}

.td-header-text {
    display: flex;
    flex-direction: column;
}

.td-tagline-top {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--td-muted);
}

.td-title {
    margin: 0;
    font-size: 20px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.td-subtitle {
    margin: 2px 0 0;
    font-size: 14px;
    color: var(--td-muted);
}

.td-yt-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: var(--td-radius-full);
    background: var(--td-accent);
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    box-shadow: 0 10px 24px rgba(227, 6, 19, 0.4);
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.td-yt-button:hover {
    background: var(--td-accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(227, 6, 19, 0.5);
}

.td-bell {
    font-size: 18px;
}

/* Hero */

.td-hero {
    max-width: 1120px;
    margin: 18px auto 0;
    padding: 0 20px 8px;
}

.td-hero-img {
    width: 100%;
    border-radius: var(--td-radius-lg);
    display: block;
    box-shadow: var(--td-shadow-soft);
}

/* Sections */

main section {
    max-width: 1120px;
    margin: 0 auto;
    padding: 26px 20px;
}

.td-section-header {
    margin-bottom: 18px;
}

.td-section-header h2 {
    margin: 0 0 4px;
    font-size: 22px;
}

.td-section-header p {
    margin: 0;
    color: var(--td-muted);
}

/* Featured */

.td-featured {
    padding-top: 18px;
}

.td-featured-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 24px;
    align-items: flex-start;
}

.td-video-embed {
    position: relative;
    padding-top: 56.25%;
    border-radius: var(--td-radius-lg);
    overflow: hidden;
    box-shadow: var(--td-shadow-soft);
    background: #000000;
}

.td-video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.td-featured-meta {
    background: var(--td-surface);
    border-radius: var(--td-radius-lg);
    padding: 18px 20px;
    box-shadow: var(--td-shadow-soft);
    border: 1px solid var(--td-border);
}

.td-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: var(--td-radius-full);
    background: var(--td-pill);
    color: #ffffff;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.td-featured-meta h3 {
    margin: 10px 0 4px;
    font-size: 20px;
}

.td-date {
    margin: 0 0 10px;
    font-size: 13px;
    color: var(--td-muted);
}

.td-description {
    margin: 0 0 16px;
    font-size: 14px;
}

.td-featured-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Buttons */

.td-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border-radius: var(--td-radius-full);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.1s ease, box-shadow 0.1s ease;
}

.td-btn-primary {
    background: var(--td-accent);
    color: #ffffff;
    border-color: var(--td-accent);
    box-shadow: 0 10px 24px rgba(227, 6, 19, 0.4);
}

.td-btn-primary:hover {
    background: var(--td-accent-dark);
    border-color: var(--td-accent-dark);
    box-shadow: 0 14px 32px rgba(227, 6, 19, 0.5);
    transform: translateY(-1px);
}

.td-btn-ghost {
    background: transparent;
    color: var(--td-dark);
    border-color: var(--td-border);
}

.td-btn-ghost:hover {
    border-color: var(--td-dark);
}

/* Episodes */

.td-episode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.td-episode-card {
    background: var(--td-surface);
    border-radius: var(--td-radius-md);
    box-shadow: var(--td-shadow-soft);
    overflow: hidden;
    border: 1px solid var(--td-border);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.td-episode-thumb-wrap img {
    display: block;
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.td-episode-content {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.td-episode-title {
    margin: 0;
    font-size: 15px;
}

.td-episode-title a {
    color: var(--td-dark);
    text-decoration: none;
}

.td-episode-title a:hover {
    text-decoration: underline;
}

.td-episode-date {
    margin: 0;
    font-size: 12px;
    color: var(--td-muted);
}

.td-episode-excerpt {
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--td-muted);
}

/* Hosts */

.td-about-hosts {
    padding-top: 10px;
}

.td-host-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.td-host-card {
    background: var(--td-surface);
    border-radius: var(--td-radius-md);
    padding: 16px 18px;
    border: 1px solid var(--td-border);
    box-shadow: var(--td-shadow-soft);
}

.td-host-flex {
    display: flex;
    align-items: center;
    gap: 20px;
}

.td-host-photo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--td-dark);
    flex-shrink: 0;
}

.td-host-info {
    flex: 1;
}

.td-host-info h3 {
    margin: 0 0 4px;
    font-size: 18px;
}

.td-host-info p {
    margin: 0;
    font-size: 14px;
    color: var(--td-muted);
}
.td-host-social {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.td-host-social a {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #222;
    border-radius: 50%;
    transition: .2s;
}

.td-host-social a:hover {
    background: #ff2e2e;
}

.td-host-social svg {
    width: 16px;
    height: 16px;
    fill: #fff;
    pointer-events: none;
}


/* CTA */

.td-cta {
    padding-top: 10px;
    padding-bottom: 32px;
}

.td-cta-inner {
    background: #111111;
    color: #ffffff;
    border-radius: var(--td-radius-lg);
    padding: 20px 22px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: var(--td-shadow-soft);
}

.td-cta-inner h2 {
    margin: 0 0 4px;
    font-size: 20px;
}

.td-cta-inner p {
    margin: 0;
    font-size: 14px;
    color: #d0d0d0;
}

/* Footer */

.td-footer {
    text-align: center;
    padding: 18px 20px 26px;
    font-size: 13px;
    color: var(--td-muted);
}

.td-footer-small {
    margin-top: 4px;
    font-size: 12px;
}

/* Misc */

.td-empty {
    font-size: 14px;
    color: var(--td-muted);
}

/* Responsive */

@media (max-width: 800px) {
    .td-featured-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .td-header-inner {
        justify-content: center;
        text-align: center;
    }

    .td-logo-wrap {
        justify-content: center;
    }

    .td-cta-inner {
        text-align: left;
    }
}

/* Mobile layout for hosts */
@media (max-width: 600px) {
    .td-host-flex {
        flex-direction: column;
        text-align: center;
    }
}
/* Shorts Sidebar */
.td-featured-with-shorts {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 24px;
    align-items: flex-start;
}

.td-shorts-card {
    background: var(--td-surface);
    border-radius: var(--td-radius-lg);
    padding: 16px;
    box-shadow: var(--td-shadow-soft);
    border: 1px solid var(--td-border);
}

.td-shorts-title {
    margin: 0 0 12px;
    font-size: 18px;
}

.td-shorts-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.td-short-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--td-dark);
}

.td-short-item a:hover .td-short-title {
    text-decoration: underline;
}

.td-short-thumb {
    width: 72px;
    height: 128px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.td-short-title {
    font-size: 14px;
    font-weight: 500;
    flex: 1;
    line-height: 1.3;
}

/* Mobile stack */
@media (max-width: 820px) {
    .td-featured-with-shorts {
        grid-template-columns: 1fr;
    }

}
.td-short-item-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: none;
    padding: 6px 0;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.td-short-item-btn:hover .td-short-title {
    text-decoration: underline;
}

.td-video-embed--short {
    margin-bottom: 10px;
}
/* Shorts modal */

.td-modal-open {
    overflow: hidden;
}

.td-modal {
    position: fixed;
    inset: 0;
    z-index: 999;
}

.td-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.td-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 420px;
    width: 90%;
    background: #000;
    border-radius: var(--td-radius-lg);
    box-shadow: var(--td-shadow-soft);
    padding: 10px 10px 14px;
}

.td-modal-close {
    position: absolute;
    top: 6px;
    right: 10px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.td-video-embed--short {
    padding-top: 177.78%; /* 9:16 vertical */
    position: relative;
    border-radius: var(--td-radius-md);
    overflow: hidden;
}

.td-video-embed--short iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Shorts list buttons */

.td-short-item-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: none;
    padding: 6px 0;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.td-short-item-btn:hover .td-short-title {
    text-decoration: underline;
}




