/* Widen single-post content toward the sidebar */
.single-post .entry-content,
.single-post .post-content,
.single-post .article-content {
    max-width: none !important;
    width: 100% !important;	
}
/* Widen page content toward the sidebar */
.page .entry-content,
.page .post-content,
.page .article-content {
    max-width: none !important;
    width: 100% !important;
}

/* TITANQUISITOR — GOLD HEADINGS / CYAN UNDERLINES */

body.single-post .article-content h2,
body.single-post .article-content h3 {
    background: none !important;
    background-image: none !important;
    color: #EFC65C !important;
    -webkit-text-fill-color: #EFC65C !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-shadow: 0 1px 2px #000 !important;
    padding: 0 0 10px !important;
    position: relative;
}

/* H2: full-width cyan shimmer */
body.single-post .article-content h2::after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    margin-top: 10px;
    background: linear-gradient(
        90deg,
        #007D98,
        #00DFFF 35%,
        #A5F8FF 50%,
        #00DFFF 65%,
        #007D98
    );
    box-shadow: 0 0 5px rgba(0,223,255,0.3);
}

/* H3: thinner, shorter underline */
body.single-post .article-content h3::after {
    content: "";
    display: block;
    width: 75%;
    height: 2px;
    margin-top: 8px;
    background: linear-gradient(
        90deg,
        #00DFFF,
        #75F5FF 45%,
        transparent 100%
    );
}


/* TITANQUISITOR — Center images in articles */

body.single-post .article-content img.aligncenter {
    display: block !important;
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    clear: both !important;
}

/* Center captioned images */
body.single-post .article-content .wp-caption.aligncenter {
    display: block !important;
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Center WordPress image blocks */
body.single-post .article-content .wp-block-image.aligncenter {
    text-align: center !important;
}



/* TITAN'S GAME GUIDES — FULL WIDTH */
/* WordPress Page ID: 52208 */

@media (min-width: 768px) {

  body.page-id-52208 #secondary,
  body.page-id-52208 .sidebar,
  body.page-id-52208 #sidebar,
  body.page-id-52208 .widget-area {
    display: none !important;
  }

  body.page-id-52208 #primary,
  body.page-id-52208 #content,
  body.page-id-52208 .content-area,
  body.page-id-52208 .site-main {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.page-id-52208 #titans-game-guides {
    width: 100% !important;
    max-width: 1100px !important;
    margin: 0 auto !important;
  }
}

/* Titan's Game Guides — Remove content width restriction */
/* Only affects page 52208 */

body.page-id-52208 .entry-content,
body.page-id-52208 .post-content,
body.page-id-52208 .article-content {
    max-width: none !important;
    width: 100% !important;
}

/* TITAN'S GAME GUIDES — FULL-WIDTH PAGE */
/* Only affects WordPress page 52208 */

@media (min-width: 768px) {

    /* Change the theme's two-column layout to one column */
    body.page-id-52208 .tq-shell.single-layout {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
    }

    /* Allow the article to fill the entire grid */
    body.page-id-52208 .tq-shell.single-layout > article {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
    }

    /* Remove the article's internal width restriction */
    body.page-id-52208 .entry-content,
    body.page-id-52208 .post-content,
    body.page-id-52208 .article-content {
        width: 100% !important;
        max-width: none !important;
    }

    /* Let the directory occupy the full available width */
    body.page-id-52208 #titans-game-guides {
        width: 100% !important;
        max-width: none !important;
    }
}


/* Titan's Game Guides — Gold card titles */
/* Page 52208 only */

body.page-id-52208 #titans-game-guides .tg-card h3.tg-card-title {
    background: none !important;
    background-image: none !important;
    color: #f3d18d !important;
    -webkit-text-fill-color: #f3d18d !important;
    text-shadow: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 0 10px !important;
    font-size: 32px !important;
    font-weight: 400 !important;
    text-transform: none !important;
}

/* ==========================================
   TITAN'S GAME GUIDES — FINAL POLISH
   Page ID: 52208
   ========================================== */

/* Make introduction use the full directory width */
body.page-id-52208 #titans-game-guides .tg-intro,
body.page-id-52208 #titans-game-guides .tg-intro p {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    float: none !important;
}

/* Make the archive button text black */
body.page-id-52208 #titans-game-guides a.tg-archive-link,
body.page-id-52208 #titans-game-guides a.tg-archive-link:link,
body.page-id-52208 #titans-game-guides a.tg-archive-link:visited,
body.page-id-52208 #titans-game-guides a.tg-archive-link:hover,
body.page-id-52208 #titans-game-guides a.tg-archive-link:focus {
    color: #111111 !important;
    -webkit-text-fill-color: #111111 !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

/* ==========================================
   TITANQUISITOR — SITEWIDE ARTICLE TABLES
   ========================================== */

/* Main table */
.entry-content table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    margin: 24px 0 30px;
    background: #141820;
    border: 1px solid #b99247;
    color: #c2c2c2;
    font-size: 15px;
    line-height: 1.6;
}

/* Table headings */
.entry-content table th {
    background: #25202a;
    color: #f3d18d !important;
    -webkit-text-fill-color: #f3d18d !important;
    font-weight: 700;
    text-align: left;
    padding: 13px 16px;
    border: 1px solid #715a35;
}

/* Table cells */
.entry-content table td {
    padding: 12px 16px;
    border: 1px solid #34383f;
    color: #c2c2c2;
    background: transparent;
    vertical-align: middle;
}

/* Alternating rows */
.entry-content table tbody tr:nth-child(even) {
    background: #1c222b;
}

.entry-content table tbody tr:nth-child(odd) {
    background: #141820;
}

/* Hover highlight */
.entry-content table tbody tr:hover {
    background: #26343b;
}

/* Gold first column */
.entry-content table tbody td:first-child {
    color: #f3d18d;
    font-weight: 600;
}

/* TITANQUISITOR — SITEWIDE ARTICLE TABLES */

body article table:not(.wp-block-table table) {
    width: 100% !important;
    border-collapse: collapse !important;
    background: #141820 !important;
    color: #c2c2c2 !important;
    border: 2px solid #c69b45 !important;
}

body article table th {
    background: #28212a !important;
    color: #f3d18d !important;
    -webkit-text-fill-color: #f3d18d !important;
    padding: 14px !important;
    border: 1px solid #806337 !important;
}

body article table td {
    background: #141820 !important;
    color: #c2c2c2 !important;
    -webkit-text-fill-color: #c2c2c2 !important;
    padding: 12px 14px !important;
    border: 1px solid #34383f !important;
}

body article table tbody tr:nth-child(even) td {
    background: #202630 !important;
}

body article table tbody td:first-child {
    color: #f3d18d !important;
    -webkit-text-fill-color: #f3d18d !important;
    font-weight: 700 !important;
}


/* TITANQUISITOR — STARFIELD LATEST POSTS */

.tq-starfield-latest {
    display: grid;
    gap: 16px;
    margin: 25px 0 35px;
}

.tq-starfield-post {
    background: #141820;
    border: 1px solid #806337;
    border-left: 4px solid #c69b45;
    padding: 20px 24px;
    border-radius: 4px;
}

.tq-starfield-post h3 {
    margin: 0 0 8px !important;
    font-size: 21px;
    background: none !important;
    background-image: none !important;
    -webkit-text-fill-color: #f3d18d !important;
}

.tq-starfield-post h3 a {
    color: #f3d18d !important;
    -webkit-text-fill-color: #f3d18d !important;
    text-decoration: none !important;
}

.tq-starfield-post h3 a:hover {
    color: #65dce8 !important;
    -webkit-text-fill-color: #65dce8 !important;
}

.tq-starfield-date {
    color: #65dce8;
    font-size: 12px;
    margin-bottom: 12px;
}

.tq-starfield-post p {
    color: #c2c2c2;
    margin: 0 !important;
    line-height: 1.7;
}
.halls-classified {
    width: 100%;
    max-width: 1024px;
    margin: 30px auto;
    text-align: center;
}

.halls-classified a {
    display: block;
}

.halls-classified-image {
    display: block;
    width: 100%;
    height: auto;
    border: 0;
    transition: opacity 0.2s ease;
}

.halls-classified a:hover img {
    opacity: 0.9;
}


/* Titanquisitor — Heading spacing on Posts and Pages */
body.single-post .article-content h2,
body.page .article-content h2 {
    margin-top: 28px !important;
    margin-bottom: 18px !important;
}

body.single-post .article-content h3,
body.page .article-content h3 {
    margin-top: 22px !important;
    margin-bottom: 12px !important;
}

/* ==========================================
   THALIA'S SPOOK-N-BOOBTACULAR
   FULL-WIDTH VIDEO STORE
   WordPress Page ID: 52401
   ========================================== */

@media (min-width: 768px) {

    /* Hide the sidebar */
    body.page-id-52401 #secondary,
    body.page-id-52401 .sidebar,
    body.page-id-52401 #sidebar,
    body.page-id-52401 .widget-area {
        display: none !important;
    }

    /* Change the theme layout to one column */
    body.page-id-52401 .tq-shell.single-layout {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
    }

    /* Let the main article span the entire grid */
    body.page-id-52401 .tq-shell.single-layout > article {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
    }

    /* Remove theme content-width restrictions */
    body.page-id-52401 #primary,
    body.page-id-52401 .content-area,
    body.page-id-52401 .site-main,
    body.page-id-52401 .entry-content,
    body.page-id-52401 .post-content,
    body.page-id-52401 .article-content {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
    }

    /* Allow the video store to fill the article */
    body.page-id-52401 .tq-thalia-store-wrap,
    body.page-id-52401 .tq-thalia-store-inner {
        width: 100% !important;
        max-width: none !important;
        box-sizing: border-box;
    }
}

/* ==========================================
   THALIA'S VIDEO STORE — LAYOUT REPAIR
   Page ID: 52401
   ========================================== */

/* 1. Fix the theme's remaining narrow column */

body.page-id-52401 .tq-shell.single-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: none !important;
}

body.page-id-52401 .tq-shell.single-layout > :not(aside) {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}

body.page-id-52401 .tq-shell.single-layout article,
body.page-id-52401 .tq-shell.single-layout .entry-content,
body.page-id-52401 .tq-shell.single-layout .site-main {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}

/* 2. Make the store fit inside its container */

body.page-id-52401 .tq-thalia-store-wrap,
body.page-id-52401 .tq-thalia-store-wrap * {
    box-sizing: border-box;
}

body.page-id-52401 .tq-thalia-store-wrap,
body.page-id-52401 .tq-thalia-store-inner,
body.page-id-52401 .tq-thalia-gate {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}

/* 3. Override the theme's gradient heading backgrounds */

body.page-id-52401 .tq-thalia-store-wrap h1,
body.page-id-52401 .tq-thalia-store-wrap h2,
body.page-id-52401 .tq-thalia-store-wrap h3 {
    background: transparent !important;
    background-image: none !important;
    -webkit-text-fill-color: currentColor !important;
    text-shadow: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    text-transform: none !important;
}

/* Restore the store's intended decorative headings */

body.page-id-52401 .tq-store-sign h1 {
    color: #ffe4a1 !important;
    font-size: clamp(28px, 3.5vw, 52px) !important;
    line-height: 1.15 !important;
    text-align: center !important;
}

body.page-id-52401 .tq-section-title {
    color: #ffd277 !important;
    font-size: clamp(22px, 2.5vw, 32px) !important;
    line-height: 1.3 !important;
    padding: 0 0 12px !important;
    margin: 0 0 22px !important;
    border-bottom: 2px solid #7c5128 !important;
}

/* 4. Build a proper four-column VHS shelf */

body.page-id-52401 .tq-vhs-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
    width: 100% !important;
}

body.page-id-52401 .tq-vhs-card {
    min-width: 0 !important;
    width: 100% !important;
    overflow: hidden !important;
}

body.page-id-52401 .tq-vhs-body {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    padding: 16px !important;
}

body.page-id-52401 .tq-vhs-body h3 {
    color: #f3d18d !important;
    -webkit-text-fill-color: #f3d18d !important;
    font-size: 19px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    overflow-wrap: anywhere !important;
}

/* 5. Keep labels, text and buttons inside cards */

body.page-id-52401 .tq-vhs-status,
body.page-id-52401 .tq-vhs-link {
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    text-align: center !important;
}

body.page-id-52401 .tq-vhs-notes,
body.page-id-52401 .tq-vhs-decree {
    overflow-wrap: anywhere !important;
    line-height: 1.55 !important;
}

/* 6. Responsive shelves */

@media (max-width: 1100px) {
    body.page-id-52401 .tq-vhs-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 700px) {
    body.page-id-52401 .tq-vhs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 480px) {
    body.page-id-52401 .tq-vhs-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.page-id-52401 .tq-thalia-store-inner {
        padding: 14px !important;
    }
}

/* ==========================================
   THALIA'S VIDEO STORE
   FINAL FULL-WIDTH CONTAINER FIX
   Page ID: 52401
   ========================================== */

@media (min-width: 768px) {

    /* Expand the theme's main content shell */
    body.page-id-52401 .tq-shell,
    body.page-id-52401 .tq-shell.single-layout {
        width: 100% !important;
        max-width: none !important;
        grid-template-columns: minmax(0, 1fr) !important;
    }

    /* Remove residual width restrictions */
    body.page-id-52401 .tq-shell > article,
    body.page-id-52401 .tq-shell .tq-content,
    body.page-id-52401 .tq-shell .post,
    body.page-id-52401 .tq-shell .page,
    body.page-id-52401 .tq-shell .entry-content {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        grid-column: 1 / -1 !important;
    }

    /* Override percentage-based article widths */
    body.page-id-52401 article {
        flex: 1 1 100% !important;
        float: none !important;
    }

    /* Ensure the store fills its parent */
    body.page-id-52401 .tq-thalia-store-wrap {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}
/* ==========================================
   THALIA'S SPOOK-N-BOOBTACULAR HUB
   Fix Rent Now / Not Yet buttons clipping
   Page ID: 52401
   ========================================== */

/* Make sure card content doesn't clip weirdly */
body.page-id-52401 .entry-content,
body.page-id-52401 .post-content,
body.page-id-52401 .article-content {
    overflow: visible !important;
}

/* Make every movie card behave */
body.page-id-52401 #thalias-spook-store .tsb-card,
body.page-id-52401 #thalias-spook-store .spook-card,
body.page-id-52401 #thalias-spook-store .movie-card {
    overflow: visible !important;
    position: relative !important;
}

/* Button/status row */
body.page-id-52401 #thalias-spook-store .tsb-card-actions,
body.page-id-52401 #thalias-spook-store .spook-card-actions,
body.page-id-52401 #thalias-spook-store .movie-card-actions {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    margin-top: 10px !important;
    padding-right: 0 !important;
}

/* Fix the actual buttons / tags */
body.page-id-52401 #thalias-spook-store .tsb-card-actions a,
body.page-id-52401 #thalias-spook-store .tsb-card-actions button,
body.page-id-52401 #thalias-spook-store .tsb-card-actions .status,
body.page-id-52401 #thalias-spook-store .tsb-card-actions .availability,
body.page-id-52401 #thalias-spook-store .spook-card-actions a,
body.page-id-52401 #thalias-spook-store .spook-card-actions button,
body.page-id-52401 #thalias-spook-store .spook-card-actions .status,
body.page-id-52401 #thalias-spook-store .spook-card-actions .availability,
body.page-id-52401 #thalias-spook-store .movie-card-actions a,
body.page-id-52401 #thalias-spook-store .movie-card-actions button,
body.page-id-52401 #thalias-spook-store .movie-card-actions .status,
body.page-id-52401 #thalias-spook-store .movie-card-actions .availability {
    position: static !important;
    left: auto !important;
    right: auto !important;
    margin: 0 !important;
    max-width: 100% !important;
    white-space: nowrap !important;
    display: inline-block !important;
    box-sizing: border-box !important;
}

/* If the right-hand badge is being pushed off the edge, anchor it left */
body.page-id-52401 #thalias-spook-store .rent-now,
body.page-id-52401 #thalias-spook-store .not-yet,
body.page-id-52401 #thalias-spook-store .coming-soon,
body.page-id-52401 #thalias-spook-store .now-playing {
    position: static !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* ==========================================
   THALIA'S SPOOK-N-BOOBTACULAR
   VHS CARD CONTENT & BUTTON REPAIR
   Page ID: 52401
   ========================================== */

/* Reset the card layout */
body.page-id-52401 .tq-vhs-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    overflow: hidden !important;
    position: relative !important;
    min-width: 0 !important;
}

/* Preserve the vertical VHS spine */
body.page-id-52401 .tq-vhs-spine {
    flex: 0 0 46px !important;
    width: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
}

/* Make card contents stack vertically */
body.page-id-52401 .tq-vhs-body {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 20px 12px !important;
    margin: 0 !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

/* Center the Day labels */
body.page-id-52401 .tq-vhs-day {
    display: inline-block !important;
    align-self: center !important;
    position: static !important;
    margin: 0 0 16px !important;
    width: auto !important;
    max-width: 100% !important;
    text-align: center !important;
}

/* Fix and center movie titles */
body.page-id-52401 .tq-vhs-body h3 {
    display: block !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    line-height: 1.3 !important;
    font-size: 18px !important;
    background: none !important;
    background-image: none !important;
    box-shadow: none !important;
    border: none !important;
    color: #f3d18d !important;
    -webkit-text-fill-color: #f3d18d !important;
}

/* Center NOW PLAYING / COMING SOON labels */
body.page-id-52401 .tq-vhs-status {
    display: inline-block !important;
    position: static !important;
    align-self: center !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 0 18px !important;
    padding: 5px 9px !important;
    text-align: center !important;
    white-space: normal !important;
}

/* Center the Decree */
body.page-id-52401 .tq-vhs-decree {
    display: block !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}

/* Keep description text inside the card */
body.page-id-52401 .tq-vhs-notes {
    display: block !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    line-height: 1.5 !important;
}

/* THE IMPORTANT FIX — Rent and Not Yet buttons */
body.page-id-52401 .tq-vhs-body .tq-vhs-link {
    display: block !important;
    position: static !important;
    float: none !important;
    clear: both !important;
    align-self: center !important;
    flex: 0 0 auto !important;
    width: fit-content !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: auto 0 0 !important;
    padding: 10px 12px !important;
    box-sizing: border-box !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    transform: none !important;
    left: auto !important;
    right: auto !important;
}

/* Prevent inherited theme styling from stretching links */
body.page-id-52401 .tq-vhs-body a.tq-vhs-link,
body.page-id-52401 .tq-vhs-body span.tq-vhs-link {
    text-decoration: none !important;
    line-height: 1.3 !important;
}

/* Maintain reasonable, consistent card heights */
body.page-id-52401 .tq-vhs-card {
    min-height: 320px !important;
}

/* Smaller screens */
@media (max-width: 700px) {
    body.page-id-52401 .tq-vhs-body {
        padding: 14px 10px !important;
    }

    body.page-id-52401 .tq-vhs-spine {
        flex-basis: 36px !important;
        width: 36px !important;
        min-width: 36px !important;
    }

    body.page-id-52401 .tq-vhs-body h3 {
        font-size: 16px !important;
    }
}

/* ==========================================
   THALIA'S SPOOK-N-BOOBTACULAR
   PERMANENT WHITESPACE FIX
   Page ID: 52401
   ========================================== */

body.page-id-52401 .tq-thalia-store-inner,
body.page-id-52401 .tq-thalia-store-inner * {
    white-space: normal !important;
}

/* Preserve vertical VHS spine lettering */
body.page-id-52401 .tq-vhs-spine span {
    writing-mode: vertical-rl !important;
    transform: rotate(180deg) !important;
}

/* ==========================================
   THALIA'S VIDEO STORE — VHS COVER ART
   Page ID: 52401
   ========================================== */

body.page-id-52401 .tq-vhs-cover {
    display: block !important;
    width: 100% !important;
    max-width: 220px !important;
    margin: 0 auto 16px !important;
    padding: 5px !important;
    background: #080608;
    border: 2px solid #b58a38;
    box-shadow:
        4px 5px 0 #2c1931,
        6px 8px 14px rgba(0,0,0,.65);
    box-sizing: border-box !important;
}

body.page-id-52401 .tq-vhs-cover img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ==========================================
   THALIA'S BACK ROOM — CURTAIN ENTRANCE FIX
   Page ID: 52401
   ========================================== */

/* Stop preserved whitespace from stretching the entrance */
body.page-id-52401 .tq-thalia-gate,
body.page-id-52401 .tq-thalia-gate * {
    white-space: normal !important;
    box-sizing: border-box !important;
}

/* Center everything within the curtain entrance */
body.page-id-52401 .tq-thalia-curtains {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 560px !important;
    padding: 35px 24px !important;
}

/* Make the warning card compact and centered */
body.page-id-52401 .tq-gate-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    max-width: 650px !important;
    height: auto !important;
    min-height: 0 !important;

    padding: 32px 28px !important;
    margin: 0 auto !important;
    text-align: center !important;
}

/* Remove inherited heading backgrounds */
body.page-id-52401 .tq-gate-card h2 {
    background: none !important;
    background-image: none !important;
    box-shadow: none !important;

    color: #ffe4a1 !important;
    -webkit-text-fill-color: #ffe4a1 !important;

    font-size: clamp(30px, 4vw, 48px) !important;
    line-height: 1.15 !important;
    text-align: center !important;

    margin: 8px 0 12px !important;
    padding: 0 !important;
}

/* Compact the warning text and labels */
body.page-id-52401 .tq-gate-kicker,
body.page-id-52401 .tq-gate-sub,
body.page-id-52401 .tq-gate-warning,
body.page-id-52401 .tq-gate-small {
    display: block !important;
    position: static !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-width: 100% !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    text-align: center !important;
    line-height: 1.6 !important;
}

/* Make the admission button sit beneath the warning */
body.page-id-52401 .tq-enter-store-btn {
    display: block !important;
    position: static !important;
    align-self: center !important;

    width: auto !important;
    max-width: 100% !important;

    margin: 12px auto 0 !important;
    padding: 15px 24px !important;
    text-align: center !important;
    white-space: normal !important;
    cursor: pointer !important;
}

/* Mobile adjustment */
@media (max-width: 600px) {
    body.page-id-52401 .tq-thalia-curtains {
        padding: 20px 12px !important;
    }

    body.page-id-52401 .tq-gate-card {
        padding: 24px 16px !important;
    }

    body.page-id-52401 .tq-gate-card h2 {
        font-size: 30px !important;
    }
}

/* ==========================================
   THALIA'S SPOOK-N-BOOBTACULAR
   OFFICIAL EVENT BANNER
   Page ID: 52401
   ========================================== */

body.page-id-52401 .tq-event-banner {
    display: block !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto 28px !important;
    padding: 0 !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

body.page-id-52401 .tq-event-banner img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border: 2px solid #d5a437 !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.55);
    object-fit: contain !important;
}

@media (max-width: 600px) {
    body.page-id-52401 .tq-event-banner {
        margin-bottom: 18px !important;
    }
}