/* Show Page Tabs System - Updated: 2025-12-05 */
/* 
 * Tab System Features:
 * - Mobile: 3 tabs visible (33.333% width each)
 * - Desktop: Full width tabs
 * - No left/right borders
 * - Smaller font on mobile (0.6875rem = 11px)
 * - Edge-to-edge display on mobile
 */

/* ================================================
   TAB NAVIGATION
   ================================================ */

.show-tabs-container {
    width: 100%;
    margin: 2rem 0;
    margin-left: 0;
    margin-right: 0;
}

.show-tabs-nav-wrapper {
    border-bottom: 2px solid var(--htt-panel-border);
    margin-bottom: 2rem;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #d1d5db #f3f4f6;
    /* #263 item 6: sticky (via .htt-sticky-below-header in the Blade) needs
       an opaque background now that panel content scrolls underneath it --
       this element was fully transparent before. */
    background: #fff;
}

/* Hide scrollbar but keep functionality */
.show-tabs-nav-wrapper::-webkit-scrollbar {
    height: 4px;
}

.show-tabs-nav-wrapper::-webkit-scrollbar-track {
    background: #f3f4f6;
}

.show-tabs-nav-wrapper::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 2px;
}

.show-tabs-nav-wrapper::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.show-tabs-nav {
    display: flex;
    gap: 0;
    min-width: max-content;
    padding-bottom: 0;
}

/* DESKTOP: Single row with reduced padding */
.show-tab-button {
    flex-shrink: 0;
    padding: 0.875rem 1rem; /* Reduced from 1.5rem to 1rem */
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--htt-muted);
    background: none;
    border: none !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    position: relative;
    bottom: -2px;
    outline: none; /* Remove focus outline on borders */
}

/* Ensure desktop styles only apply above 768px */
@media screen and (min-width: 769px) {
    .show-tab-button {
        flex-shrink: 0;
        padding: 0.875rem 1rem;
        font-size: 0.9375rem;
        min-width: auto;
        max-width: none;
        width: auto;
        flex: 0 1 auto;
    }
}

.show-tab-button:hover {
    color: var(--htt-accent);
    background-color: var(--htt-accent-soft);
}

.show-tab-button.active {
    color: var(--htt-accent);
    border-bottom-color: var(--htt-accent);
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    font-weight: 600;
}

/* ULTRA-HIGH SPECIFICITY: Remove ALL borders except bottom for active tabs - ALL STATES */
.show-tabs-container .show-tabs-nav-wrapper .show-tabs-nav .show-tab-button.active,
.show-tabs-container .show-tabs-nav-wrapper .show-tabs-nav .show-tab-button.active:hover,
.show-tabs-container .show-tabs-nav-wrapper .show-tabs-nav .show-tab-button.active:focus,
.show-tabs-container .show-tabs-nav-wrapper .show-tabs-nav .show-tab-button.active:focus-visible,
.show-tabs-container .show-tabs-nav-wrapper .show-tabs-nav .show-tab-button.active[aria-selected="true"],
.show-tabs-container .show-tabs-nav-wrapper .show-tabs-nav .show-tab-button.active[data-tab] {
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    border-bottom: 3px solid var(--htt-accent) !important;
    outline: none !important;
    box-shadow: none !important;
}

/* ULTRA-HIGH SPECIFICITY: Remove ALL borders for ALL tabs - ALL STATES */
.show-tabs-container .show-tabs-nav-wrapper .show-tabs-nav .show-tab-button,
.show-tabs-container .show-tabs-nav-wrapper .show-tabs-nav .show-tab-button:hover,
.show-tabs-container .show-tabs-nav-wrapper .show-tabs-nav .show-tab-button:focus,
.show-tabs-container .show-tabs-nav-wrapper .show-tabs-nav .show-tab-button:focus-visible {
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Visible focus indicator for keyboard users */
.show-tab-button:focus {
    outline: 3px solid var(--htt-accent);
    outline-offset: 2px;
    z-index: 10;
}

.show-tab-button:focus:not(:focus-visible) {
    outline: none;
}

.show-tab-button:focus-visible {
    outline: 3px solid var(--htt-accent);
    outline-offset: 2px;
}

/* Legacy tab buttons - accessible focus styles */
.tab-button:focus {
    outline: 3px solid var(--htt-accent);
    outline-offset: 2px;
    z-index: 10;
}

.tab-button:focus-visible {
    outline: 3px solid var(--htt-accent);
    outline-offset: 2px;
}

/* MOBILE: Horizontal scroll with first 3 tabs visible */
/* Use max-width: 768px to catch all mobile devices */
@media screen and (max-width: 768px) {
    /* Break out of parent px-4 padding for edge-to-edge display */
    .show-tabs-container {
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
        width: calc(100% + 2rem) !important; /* Break out of px-4 (1rem each side) */
        max-width: calc(100% + 2rem) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        position: relative !important;
        /* Break out of parent padding */
        margin-left: -1rem !important; /* Negative margin to offset px-4 */
        margin-right: -1rem !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }
    
    .show-tabs-nav-wrapper {
        /* Enable smooth horizontal scrolling */
        scroll-snap-type: x proximity !important;
        scroll-behavior: smooth !important;
        /* #263 item 6: this used to force position:relative !important,
           which would have silently beaten the sticky class added in the
           Blade at this same breakpoint -- position is left to
           .htt-sticky-below-header now. Nothing else here relied on the
           value being specifically `relative`: sticky is equally a
           positioned value for the ::after gradient fade below. */
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: visible !important;
        /* Force full width */
        box-sizing: border-box !important;
        /* Ensure edge-to-edge */
        border-left: none !important;
        border-right: none !important;
    }
    
    /* Scroll indicator gradient on right edge */
    .show-tabs-nav-wrapper::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 40px;
        background: linear-gradient(to left, rgba(255, 255, 255, 0.9), transparent);
        pointer-events: none;
        z-index: 1;
    }
    
    .show-tabs-nav {
        display: flex !important;
        gap: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        flex-wrap: nowrap !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }
    
    /* CRITICAL: Force 33.333% width on ALL tab buttons - highest specificity */
    .show-tabs-nav .show-tab-button,
    .show-tabs-nav-wrapper .show-tabs-nav .show-tab-button,
    .show-tabs-container .show-tabs-nav-wrapper .show-tabs-nav .show-tab-button {
        /* Size each tab to show exactly 3 tabs in viewport */
        padding: 0.5rem 0.375rem !important; /* Even smaller padding for mobile */
        font-size: 0.6875rem !important; /* Even smaller font size (11px) */
        font-weight: 500 !important;
        line-height: 1.2 !important; /* Tighter line height */
        min-width: 33.333% !important; /* Show exactly 3 tabs */
        max-width: 33.333% !important;
        width: 33.333% !important;
        flex: 0 0 33.333% !important; /* Force flex-basis to 33.333% */
        flex-basis: 33.333% !important; /* Explicit flex-basis */
        flex-grow: 0 !important;
        flex-shrink: 0 !important;
        text-align: center !important;
        scroll-snap-align: start !important;
        box-sizing: border-box !important;
        /* Explicitly remove all borders except bottom */
        border: none !important;
        border-left: none !important;
        border-right: none !important;
        border-top: none !important;
        border-bottom: 3px solid transparent !important;
        outline: none !important;
        /* Prevent text overflow */
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }
    
    /* CRITICAL: Remove left/right borders from ACTIVE tabs on mobile */
    .show-tabs-nav .show-tab-button.active,
    .show-tabs-nav-wrapper .show-tabs-nav .show-tab-button.active,
    .show-tabs-container .show-tabs-nav-wrapper .show-tabs-nav .show-tab-button.active {
        border-left: none !important;
        border-right: none !important;
        border-top: none !important;
        border-bottom: 3px solid var(--htt-accent) !important; /* Only bottom border for active state */
    }
    
    /* Make ALL tabs exactly 33.333% width - even more specific with nth-child */
    .show-tabs-nav .show-tab-button:nth-child(1),
    .show-tabs-nav .show-tab-button:nth-child(2),
    .show-tabs-nav .show-tab-button:nth-child(3),
    .show-tabs-nav .show-tab-button:nth-child(4),
    .show-tabs-nav .show-tab-button:nth-child(5),
    .show-tabs-nav .show-tab-button:nth-child(6),
    .show-tabs-nav-wrapper .show-tabs-nav .show-tab-button:nth-child(1),
    .show-tabs-nav-wrapper .show-tabs-nav .show-tab-button:nth-child(2),
    .show-tabs-nav-wrapper .show-tabs-nav .show-tab-button:nth-child(3),
    .show-tabs-nav-wrapper .show-tabs-nav .show-tab-button:nth-child(4),
    .show-tabs-nav-wrapper .show-tabs-nav .show-tab-button:nth-child(5),
    .show-tabs-nav-wrapper .show-tabs-nav .show-tab-button:nth-child(6) {
        min-width: 33.333% !important;
        max-width: 33.333% !important;
        width: 33.333% !important;
        flex: 0 0 33.333% !important;
        flex-basis: 33.333% !important;
        flex-grow: 0 !important;
        flex-shrink: 0 !important;
    }
}

/* TABLET: Slightly more room */
@media (min-width: 769px) and (max-width: 1024px) {
    .show-tab-button {
        padding: 0.875rem 0.875rem; /* Even tighter on tablets */
        font-size: 0.875rem;
    }
}

/* LARGE DESKTOP: More breathing room */
@media (min-width: 1280px) {
    .show-tab-button {
        padding: 0.875rem 1.5rem; /* Original padding on large screens */
    }
}

/* ================================================
   TAB PANELS
   ================================================ */

.show-tabs-content {
    position: relative;
    min-height: 300px;
}

.show-tab-panel {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.show-tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================================
   TAB CONTENT WRAPPER & SECTIONS
   ================================================ */

.tab-content-wrapper {
    max-width: 100%;
}

.tab-section {
    margin-bottom: 2.5rem;
}

.tab-section:last-child {
    margin-bottom: 0;
}

.tab-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.tab-subsection-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
}

.tab-rich-content {
    font-size: 1rem;
    line-height: 1.75;
    color: #374151;
}

.tab-rich-content p {
    margin-bottom: 1rem;
}

.tab-rich-content h1,
.tab-rich-content h2,
.tab-rich-content h3,
.tab-rich-content h4,
.tab-rich-content h5,
.tab-rich-content * h1,
.tab-rich-content * h2,
.tab-rich-content * h3,
.tab-rich-content * h4,
.tab-rich-content * h5 {
    font-weight: 700 !important;
    color: #111827 !important;
    margin-top: 1.5rem !important;
    margin-bottom: 0.75rem !important;
    line-height: 1.3 !important;
}

.tab-rich-content h1,
.tab-rich-content * h1 {
    font-size: 2rem !important;
    margin-top: 0 !important;
}

.tab-rich-content h2,
.tab-rich-content * h2 {
    font-size: 1.75rem !important;
}

.tab-rich-content h3,
.tab-rich-content * h3 {
    font-size: 1.5rem !important;
}

.tab-rich-content h4,
.tab-rich-content * h4 {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
}

.tab-rich-content h5,
.tab-rich-content * h5 {
    font-size: 1.125rem !important;
    font-weight: 600 !important;
}

.tab-rich-content strong,
.tab-rich-content b,
.tab-rich-content * strong,
.tab-rich-content * b {
    font-weight: 700 !important;
    color: #111827 !important;
}

.tab-rich-content em,
.tab-rich-content i,
.tab-rich-content * em,
.tab-rich-content * i {
    font-style: italic !important;
}

.tab-rich-content u,
.tab-rich-content * u {
    text-decoration: underline !important;
}

.tab-rich-content s,
.tab-rich-content del,
.tab-rich-content * s,
.tab-rich-content * del {
    text-decoration: line-through !important;
}

.tab-rich-content a,
.tab-rich-content * a {
    color: var(--htt-accent) !important;
    text-decoration: underline !important;
}

.tab-rich-content a:hover,
.tab-rich-content * a:hover {
    color: var(--htt-accent-hover) !important;
}

.tab-rich-content blockquote {
    border-left: 4px solid #e5e7eb;
    padding-left: 1rem;
    margin: 1.5rem 0;
    color: var(--htt-muted);
    font-style: italic;
}

.tab-rich-content ul,
.tab-rich-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    padding-left: 0.5rem;
}

.tab-rich-content li {
    margin-bottom: 0.5rem;
}

.tab-rich-content img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
    border-radius: 0.5rem;
}

/* ================================================
   WHY SEE IT BULLETS (About Tab)
   ================================================ */

.why-see-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.why-see-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
    font-size: 1rem;
    color: #374151;
    line-height: 1.6;
}

.why-see-icon {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    color: #10b981;
    margin-top: 0.125rem;
}

/* ================================================
   VIDEO CONTAINER (About Tab)
   ================================================ */

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ================================================
   THEMES & TAGS (About Tab)
   ================================================ */

.themes-tags-container {
    margin-top: 1rem;
}

.themes-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.theme-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #f3f4f6;
    color: #374151;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 9999px;
    transition: all 0.2s;
}

.theme-tag:hover {
    background-color: #e5e7eb;
}

.themes-more-btn {
    font-size: 0.875rem;
    color: var(--htt-accent);
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    padding: 0.25rem 0;
}

.themes-more-btn:hover {
    text-decoration: underline;
}

/* ================================================
   IMPORTANT INFO BOX (About Tab)
   ================================================ */

.important-info-section {
    background-color: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.important-info-box {
    margin-top: 0.75rem;
}

.important-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.important-info-item {
    padding: 0.5rem 0;
    color: #92400e;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.important-info-item:before {
    content: "• ";
    color: #f59e0b;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* ================================================
   FAQs (About Tab)
   ================================================ */

.faqs-container {
    border-top: 1px solid #e5e7eb;
}

.faq-item {
    border-bottom: 1px solid #e5e7eb;
    padding: 1.25rem 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.faq-question h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
    flex: 1;
}

.faq-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--htt-muted);
    transition: transform 0.2s;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    margin-top: 0.75rem;
    padding-left: 0;
    color: #4b5563;
    line-height: 1.7;
}

/* ================================================
   GALLERY (About Tab)
   ================================================ */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.gallery-item:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.gallery-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background: var(--htt-sand);
    display: block;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
    padding: 1rem 0.75rem 0.75rem;
    font-size: 0.875rem;
}

/* ================================================
   SEAT CARDS (Seats Tab)
   ================================================ */

.seat-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.seat-card {
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 2px solid #e5e7eb;
    transition: all 0.3s;
}

.seat-card:hover {
    border-color: var(--htt-accent);
    box-shadow: 0 4px 12px rgba(122, 31, 43, 0.1);
}

.seat-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.seat-card-icon {
    width: 1.75rem;
    height: 1.75rem;
    flex-shrink: 0;
}

.seat-card-value .seat-card-icon {
    color: #10b981;
}

.seat-card-premium .seat-card-icon {
    color: #f59e0b;
}

.seat-card-watchouts .seat-card-icon {
    color: #ef4444;
}

.seat-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.seat-card-summary {
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

/* ================================================
   VENUE LINKS & BOOKING NUDGE (Seats Tab)
   ================================================ */

.venue-link-section,
.online-booking-nudge {
    margin-top: 2rem;
    padding: 1.25rem;
    background-color: #f9fafb;
    border-radius: 0.5rem;
}

.venue-link-button {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background-color: var(--htt-accent);
    color: white;
    font-weight: 600;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.2s;
}

.venue-link-button:hover {
    background-color: var(--htt-accent-hover);
    transform: translateY(-1px);
}

/* ================================================
   PERFORMANCE SCHEDULE (Dates Tab)
   ================================================ */

.booking-note {
    font-size: 1rem;
    color: var(--htt-muted);
    margin-bottom: 1.5rem;
}

.calendar-container {
    margin-top: 1.5rem;
}

.performance-additional-info {
    margin-top: 2rem;
    padding: 1.25rem;
    background-color: #f3f4f6;
    border-radius: 0.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #374151;
}

.info-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--htt-accent);
    flex-shrink: 0;
}

/* ================================================
   CAST & CREATIVES (Cast Tab)
   ================================================ */

.cast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.cast-member-card {
    text-align: center;
}

.cast-headshot,
.cast-headshot-placeholder {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background: var(--htt-sand);
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
}

.cast-headshot-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f3f4f6;
}

.cast-name {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #111827;
    margin: 0.5rem 0 0.25rem;
}

.cast-role {
    font-size: 0.9375rem;
    color: var(--htt-muted);
    margin: 0 0 0.5rem;
}

.cast-bio {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.5;
}

.ensemble-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ensemble-name {
    padding: 0.5rem 1rem;
    background-color: #f3f4f6;
    border-radius: 0.375rem;
    font-size: 0.9375rem;
    color: #374151;
}

.creatives-list {
    display: grid;
    gap: 1rem;
}

.creative-item {
    padding: 1rem;
    background-color: #f9fafb;
    border-radius: 0.5rem;
}

.creative-role {
    font-size: 0.875rem;
    color: var(--htt-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.creative-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-top: 0.25rem;
}

/* ================================================
   REVIEWS (Reviews Tab)
   ================================================ */

.our-take-section {
    background: linear-gradient(135deg, var(--htt-accent) 0%, var(--htt-accent-hover) 100%);
    padding: 2rem;
    border-radius: 0.75rem;
    margin-bottom: 2rem;
}

.our-take-content {
    position: relative;
}

.quote-icon {
    position: absolute;
    top: -0.5rem;
    left: -0.5rem;
    width: 3rem;
    height: 3rem;
    color: rgba(255, 255, 255, 0.2);
}

.our-take-text {
    font-size: 1.125rem;
    line-height: 1.75;
    color: white;
    font-style: italic;
    padding-left: 2.5rem;
    margin: 0;
}

.aggregate-rating-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.rating-stars {
    display: flex;
    gap: 0.25rem;
}

.star {
    width: 1.5rem;
    height: 1.5rem;
}

.star-filled {
    color: #f59e0b;
}

.star-half {
    color: #fbbf24;
}

.star-empty {
    color: #d1d5db;
}

.rating-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
}

.reviews-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 1rem;
}

.review-card {
    padding: 1.5rem;
    background-color: #f9fafb;
    border-radius: 0.75rem;
    border-left: 4px solid var(--htt-accent);
}

.review-excerpt {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #374151;
    font-style: italic;
    margin: 0 0 1rem;
}

.review-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    font-size: 0.875rem;
    color: var(--htt-muted);
}

.reviewer-name {
    font-weight: 600;
    color: #374151;
}

.publication {
    color: var(--htt-accent);
}

/* ================================================
   VENUE DETAILS (Venue Tab)
   ================================================ */

.venue-intro {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #4b5563;
    margin-bottom: 2rem;
}

.venue-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.venue-detail-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background-color: #f9fafb;
    border-radius: 0.5rem;
}

.venue-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--htt-accent);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.venue-detail-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--htt-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.375rem;
}

.venue-detail-content {
    font-size: 0.9375rem;
    color: #374151;
    line-height: 1.6;
    margin: 0;
}

/* ================================================
   RESPONSIVE ADJUSTMENTS
   ================================================ */

@media screen and (max-width: 768px) {
    .show-tabs-container {
        margin: 1.5rem 0;
    }
    
    .tab-section-title {
        font-size: 1.25rem;
    }
    
    .seat-cards-grid,
    .venue-details-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cast-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery-grid,
    .cast-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================
   SHOW PAGE TYPE AND TAB SPACING (Will, 7 Oct 2026)
   ================================================
   1. The H1 is the strongest text on the page: bold, 28px on phones, 36px
      from lg. The Blade's font-semibold / text-2xl / lg:text-4xl are single
      utility classes, so two classes here outrank them in any order.
   2. Section headings in the tab panels: 22px on phones (were 28px, larger
      than the H1). Desktop keeps 28px. The rules being overridden carry
      !important at (0,4,3) in show-tab-about.css and the inline <style> in
      tabs/about.blade.php, so these add .show-tabs-content to win.
   3. Space between the tab row and the first heading: about 32px on desktop
      and 24px on phones (was 90px / 74px). It was the nav's 2rem margin, plus
      the .tab-content-wrapper padding that show-tab-cast.css and
      show-tab-reviews.css set globally (it leaked onto every panel), plus the
      first heading's 1.5rem top margin. */

.htt-title-row .htt-title-row__title {
    font-weight: 700;
    font-size: 28px;
    line-height: 1.2;
}

@media (min-width: 1024px) {
    .htt-title-row .htt-title-row__title {
        font-size: 36px;
    }
}

@media (max-width: 1023px) {
    html body .show-tabs-content .show-tab-panel .tab-content-wrapper .tab-section .tab-rich-content h2,
    html body .show-tabs-content .show-tab-panel .tab-content-wrapper .tab-section .tab-rich-content * h2 {
        font-size: 22px !important;
    }

    /* The Tickets and Venue tabs set their headings with Tailwind's .prose
       (24px here), so they get the same 22px. */
    .show-tabs-content .show-tab-panel .prose h2 {
        font-size: 22px;
    }

    /* !important because tabs-navigation.blade.php sets margin-bottom: 2rem
       in the element's own style attribute. */
    .show-tabs-container .show-tabs-nav-wrapper {
        margin-bottom: 24px !important;
    }
}

.show-tabs-content .tab-content-wrapper {
    padding-top: 0;
}

html body .show-tabs-content .show-tab-panel .tab-content-wrapper > .tab-section:first-child .tab-rich-content > h2:first-child,
html body .show-tabs-content .show-tab-panel .tab-content-wrapper > .tab-section:first-child > .tab-section-title:first-child {
    margin-top: 0 !important;
}

/* ==========================================================================
   SHOW PAGE TITLE ROW (Will, 7 Oct 2026, #359)
   Desktop: the square artwork beside the H1 at about its two-line height,
   and the title block starts level with "Book [show] tickets" in the booking
   column (the block's py-6 put the H1 24px lower). Phone: the 2:3 poster
   beside the H1 as before, no square.
   ========================================================================== */
.htt-show-top .htt-title-poster--square {
    display: none;
}

@media (min-width: 1024px) {
    .htt-show-top .htt-show-top__title {
        padding-top: 0;
    }

    .htt-show-top .htt-title-row .htt-title-poster--square {
        display: block;
        flex: none;
        width: 96px;
        height: 96px;
    }
}
