/**
 * TourAndTunes - Dedicated Blog & Editorial Magazine Stylesheet
 * High-End, Structured, Dark Immersive Live Music Journal
 */

/* ==========================================================================
   1. BLOG WRAPPER & MASTHEAD
   ========================================================================== */

.tat-blog-page-wrap {
    background-color: #080B11;
    color: #F8FAFC;
    min-height: 100vh;
    padding-bottom: 90px;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.tat-blog-masthead {
    position: relative;
    padding: 56px 0 36px;
    background: radial-gradient(circle at 50% -20%, rgba(139, 92, 246, 0.22) 0%, rgba(8, 11, 17, 0) 70%), #0A0E17;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tat-blog-masthead-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.tat-blog-editorial-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 9999px;
    background: rgba(249, 115, 22, 0.12);
    border: 1px solid rgba(249, 115, 22, 0.35);
    color: #F97316;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 18px;
}

.tat-blog-badge-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #F97316;
    box-shadow: 0 0 10px #F97316;
}

.tat-blog-main-heading {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.18;
    color: #FFFFFF;
    letter-spacing: -0.03em;
    margin-bottom: 14px;
}

.tat-blog-sub-heading {
    font-size: 16px;
    color: #94A3B8;
    line-height: 1.6;
    margin: 0 auto 30px;
    max-width: 720px;
}

/* Category Filter Navigation Bar */
.tat-blog-nav-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.tat-blog-nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 9999px;
    background: #111726;
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: #94A3B8;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.tat-blog-nav-pill:hover {
    background: #1A2238;
    color: #FFFFFF;
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-1px);
}

.tat-blog-nav-pill.active {
    background: #8B5CF6;
    border-color: #8B5CF6;
    color: #FFFFFF;
    font-weight: 600;
    box-shadow: 0 4px 18px rgba(139, 92, 246, 0.4);
}

.tat-blog-nav-count {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 11px;
    font-weight: 600;
}

/* ==========================================================================
   2. BENTO MAGAZINE SHOWCASE (COVER STORY + 2 TRENDING SIDE CARDS)
   ========================================================================== */

.tat-blog-showcase-section {
    padding: 44px 0 20px;
}

.tat-bento-hero-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 28px;
    align-items: stretch;
}

/* Main Cover Story Card */
.tat-cover-story-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 20px;
    overflow: hidden;
    background: #0E1422;
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    min-height: 480px;
    transition: transform 0.28s ease, border-color 0.28s ease;
}

.tat-cover-story-card:hover {
    transform: translateY(-3px);
    border-color: rgba(139, 92, 246, 0.45);
}

.tat-cover-media-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.tat-cover-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.tat-cover-story-card:hover .tat-cover-bg-img {
    transform: scale(1.04);
}

.tat-cover-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(8, 11, 17, 0.1) 0%, rgba(8, 11, 17, 0.6) 45%, rgba(8, 11, 17, 0.96) 100%);
    z-index: 2;
}

.tat-cover-content {
    position: relative;
    z-index: 3;
    padding: 36px;
}

.tat-cover-badges-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.tat-pill-cover {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: #F97316;
    color: #FFFFFF;
    box-shadow: 0 2px 12px rgba(249, 115, 22, 0.5);
}

.tat-pill-genre {
    display: inline-flex;
    padding: 5px 12px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(15, 20, 32, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #E2E8F0;
}

.tat-cover-meta-line {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #CBD5E1;
    margin-bottom: 12px;
}

.tat-cover-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.3;
    color: #FFFFFF;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.tat-cover-title a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tat-cover-title a:hover {
    color: #A78BFA;
}

.tat-cover-excerpt {
    font-size: 14.5px;
    color: #94A3B8;
    line-height: 1.6;
    margin-bottom: 22px;
    max-width: 620px;
}

.tat-cover-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tat-author-badge-card {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tat-author-initials-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #FFFFFF;
    background: linear-gradient(135deg, #8B5CF6, #6D28D9);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.tat-author-text-col {
    display: flex;
    flex-direction: column;
}

.tat-author-by-name {
    font-size: 13px;
    font-weight: 600;
    color: #FFFFFF;
}

.tat-author-by-role {
    font-size: 11px;
    color: #94A3B8;
}

.tat-btn-cover-read {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    border-radius: 9999px;
    background: #8B5CF6;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.tat-btn-cover-read:hover {
    background: #7C3AED;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.45);
    transform: translateX(2px);
}

/* Side Trending Stack */
.tat-trending-side-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tat-side-story-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #0F1422;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    flex: 1;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.tat-side-story-card:hover {
    transform: translateY(-2px);
    border-color: rgba(139, 92, 246, 0.4);
}

.tat-side-story-media {
    position: relative;
    width: 100%;
    height: 145px;
    overflow: hidden;
}

.tat-side-story-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.tat-side-story-card:hover .tat-side-story-img {
    transform: scale(1.05);
}

.tat-side-story-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(15, 20, 32, 0.88);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #E2E8F0;
}

.tat-side-story-body {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.tat-side-meta-line {
    font-size: 12px;
    color: #64748B;
    margin-bottom: 8px;
}

.tat-side-story-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.tat-side-story-title a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tat-side-story-title a:hover {
    color: #8B5CF6;
}

.tat-side-story-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #94A3B8;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.tat-side-read-link {
    color: #8B5CF6;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.tat-side-read-link:hover {
    color: #A78BFA;
}

/* ==========================================================================
   3. TWO-COLUMN MAGAZINE LAYOUT (MAIN GRID + STRUCTURED SIDEBAR)
   ========================================================================== */

.tat-blog-main-layout {
    padding: 36px 0 60px;
}

.tat-blog-two-col-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

/* Main Column Section Header */
.tat-column-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 28px;
}

.tat-column-title {
    font-size: 22px;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.01em;
}

.tat-column-counter {
    font-size: 13px;
    font-weight: 500;
    color: #64748B;
    background: #111726;
    padding: 3px 10px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* 2-Column Article Grid */
.tat-editorial-articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
    margin-bottom: 40px;
}

.tat-editorial-card {
    display: flex;
    flex-direction: column;
    background: #0F1422;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.tat-editorial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 92, 246, 0.35);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.tat-editorial-media {
    position: relative;
    width: 100%;
    height: 195px;
    overflow: hidden;
}

.tat-editorial-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.tat-editorial-card:hover .tat-editorial-img {
    transform: scale(1.05);
}

.tat-editorial-tag-pill {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 11px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(15, 20, 32, 0.88);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #E2E8F0;
    text-decoration: none;
    z-index: 2;
    transition: all 0.2s ease;
}

.tat-editorial-tag-pill:hover {
    background: #8B5CF6;
    color: #FFFFFF;
    border-color: #8B5CF6;
}

.tat-editorial-reading-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 3px 9px;
    border-radius: 9999px;
    font-size: 11px;
    background: rgba(0, 0, 0, 0.7);
    color: #CBD5E1;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.tat-editorial-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tat-editorial-meta {
    font-size: 12px;
    color: #64748B;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tat-editorial-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.tat-editorial-title a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tat-editorial-title a:hover {
    color: #8B5CF6;
}

.tat-editorial-excerpt {
    font-size: 13.5px;
    color: #94A3B8;
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
}

.tat-editorial-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.tat-author-mini-card {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tat-mini-avatar-initials {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10.5px;
    font-weight: 700;
    color: #FFFFFF;
    background: #6366F1;
}

.tat-mini-author-name {
    font-size: 12px;
    color: #CBD5E1;
    font-weight: 500;
}

.tat-editorial-read-cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12.5px;
    font-weight: 600;
    color: #8B5CF6;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tat-editorial-read-cta:hover {
    color: #A78BFA;
    transform: translateX(2px);
}

/* In-Stream Ticket Price Banner */
.tat-instream-ticket-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 26px 30px;
    margin: 36px 0 44px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(249, 115, 22, 0.08) 100%), #0F1420;
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
}

.tat-instream-text h4 {
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 6px;
}

.tat-instream-text p {
    font-size: 13.5px;
    color: #94A3B8;
    margin: 0;
    line-height: 1.5;
}

.tat-instream-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 11px 22px;
    background: #F97316;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border-radius: 9999px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.tat-instream-btn:hover {
    background: #EA580C;
    box-shadow: 0 4px 16px rgba(249, 115, 22, 0.45);
}

/* ==========================================================================
   4. SIDEBAR MODULES & WIDGETS
   ========================================================================== */

.tat-blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.tat-sidebar-module {
    padding: 24px;
    background: #0F1420;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
}

.tat-module-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tat-module-title {
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
}

.tat-module-tag {
    font-size: 11px;
    font-weight: 600;
    color: #F97316;
    text-transform: uppercase;
}

/* Trending Tours Widget */
.tat-trending-tours-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tat-tour-row-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #131927;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tat-tour-row-item:hover {
    background: #1B2337;
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateX(2px);
}

.tat-tour-info-left {
    display: flex;
    flex-direction: column;
}

.tat-tour-artist-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #FFFFFF;
}

.tat-tour-subtitle {
    font-size: 11.5px;
    color: #64748B;
}

.tat-tour-action-pill {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #F97316;
    background: rgba(249, 115, 22, 0.12);
    padding: 4px 10px;
    border-radius: 9999px;
}

/* Most Read Guides (Numbered List) */
.tat-most-read-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tat-ranked-guide-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
}

.tat-ranked-guide-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.tat-rank-num {
    font-size: 20px;
    font-weight: 800;
    color: #8B5CF6;
    line-height: 1;
    min-width: 24px;
}

.tat-rank-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tat-rank-title {
    font-size: 13.5px;
    font-weight: 600;
    color: #E2E8F0;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.tat-ranked-guide-item:hover .tat-rank-title {
    color: #8B5CF6;
}

.tat-rank-meta {
    font-size: 11px;
    color: #64748B;
}

/* VIP Presale Radar Box */
.tat-sidebar-radar {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.14) 0%, rgba(249, 115, 22, 0.1) 100%), #0F1420;
    border-color: rgba(139, 92, 246, 0.35);
}

.tat-radar-desc {
    font-size: 13px;
    color: #94A3B8;
    line-height: 1.5;
    margin-bottom: 14px;
}

.tat-sidebar-input {
    width: 100%;
    padding: 10px 14px;
    background: #080B11;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #FFFFFF;
    font-size: 13px;
    outline: none;
    margin-bottom: 10px;
    font-family: inherit;
}

.tat-sidebar-input:focus {
    border-color: #8B5CF6;
}

.tat-sidebar-btn {
    width: 100%;
    padding: 10px;
    background: #8B5CF6;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.tat-sidebar-btn:hover {
    background: #7C3AED;
}

/* Editorial Charter Box */
.tat-charter-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tat-charter-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12.5px;
    color: #94A3B8;
    line-height: 1.45;
}

.tat-charter-list li svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #10B981;
}

.tat-charter-list li strong {
    color: #F1F5F9;
}

/* ==========================================================================
   5. RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1080px) {
    .tat-bento-hero-grid {
        grid-template-columns: 1fr;
    }
    .tat-cover-story-card {
        min-height: 400px;
    }
    .tat-blog-two-col-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .tat-blog-main-heading {
        font-size: 32px;
    }
    .tat-editorial-articles-grid {
        grid-template-columns: 1fr;
    }
    .tat-instream-ticket-box {
        flex-direction: column;
        text-align: center;
    }
    .tat-cover-content {
        padding: 24px;
    }
    .tat-cover-title {
        font-size: 22px;
    }
}
