/*
Theme Name: BookingShow
Theme URI:
Author:
Author URI:
Description: Compact movie list theme with a ticket-booking style look: dark header, hamburger drawer, secondary pill menu, dense poster rows. Mobile first and fully responsive. Same data model as the Moviesda theme.
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bookingshow
*/

/* ==========================================================================
   1. Tokens & reset
   ========================================================================== */
:root {
    --bs-red: #f84464;
    --bs-red-dark: #d93a56;
    --bs-dark: #1f2433;
    --bs-darker: #171b27;
    --bs-bg: #f5f6f8;
    --bs-card: #fff;
    --bs-text: #111827;
    --bs-muted: #4b5563;
    --bs-line: #dcdfe6;
    --bs-gold: #d98a00;
    --bs-radius: 10px;
    --bs-header-h: 56px;
}

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

html {
    -webkit-text-size-adjust: 100%;
}

html.bs-lock {
    overflow: hidden;
}

body {
    margin: 0;
    background: var(--bs-bg);
    color: var(--bs-text);
    font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Tamil", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

img,
picture {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--bs-red);
    text-decoration: none;
}

a:hover {
    color: var(--bs-red-dark);
}

h1,
h2,
h3 {
    line-height: 1.25;
    margin: 0;
}

:focus-visible {
    outline: 2px solid var(--bs-red);
    outline-offset: 2px;
}

.bs-wrap {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding-left: 14px;
    padding-right: 14px;
}

.center {
    text-align: center;
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
}

/* ==========================================================================
   2. Header: top bar, hamburger, search
   ========================================================================== */
.bs-header {
    position: sticky;
    top: 0;
    z-index: 60;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .25);
}

.bs-topbar {
    background: #000;
}

.bs-topbar-in {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.bs-logo {
    color: #fff;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -.3px;
    white-space: nowrap;
}

.bs-logo:hover {
    color: #fff;
}

.bs-logo-dot {
    color: var(--bs-red);
}

/* hamburger: only shown when JS is on and the screen is small */
.bs-burger {
    display: none;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.bs-burger:hover {
    background: rgba(255, 255, 255, .16);
}

.bs-burger span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform .2s, opacity .2s;
}

.bs-burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.bs-burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.bs-burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.js .bs-burger {
    display: inline-flex;
}

.bs-search {
    position: relative;
    display: flex;
    flex: 1 1 100%;
    order: 3;
    min-width: 0;
}

.bs-search-ico {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #aab0c6;
    pointer-events: none;
}

.bs-search input[type="search"] {
    flex: 1;
    min-width: 0;
    height: 38px;
    padding: 0 12px 0 38px;
    border: 0;
    border-radius: 8px 0 0 8px;
    background: #fff;
    color: var(--bs-text);
    font-size: 15px;
    -webkit-appearance: none;
    appearance: none;
}

.bs-search input[type="search"]::placeholder {
    color: #7a8196;
}

.bs-search-btn {
    height: 38px;
    padding: 0 16px;
    border: 0;
    border-radius: 0 8px 8px 0;
    background: var(--bs-red);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}

.bs-search-btn:hover {
    background: var(--bs-red-dark);
}

/* logo takes the remaining space next to the burger on phones */
.bs-logo {
    flex: 1 1 auto;
}

@media (min-width: 720px) {
    .bs-logo {
        flex: 0 0 auto;
        font-size: 24px;
    }

    .bs-search {
        flex: 1 1 auto;
        order: 0;
        max-width: 560px;
        margin-left: auto;
    }
}

/* ==========================================================================
   3. Primary bar (desktop) and secondary pill bar
   ========================================================================== */
.bs-nav {
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.bs-nav .bs-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.bs-nav .bs-wrap::-webkit-scrollbar {
    display: none;
}

.bs-menu,
.bs-pills {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    white-space: nowrap;
}

.bs-menu {
    gap: 2px;
}

.bs-menu a {
    display: block;
    padding: 10px 12px;
    color: #e3e6f0;
    font-size: 14px;
    font-weight: 500;
}

.bs-menu a:hover,
.bs-menu .current-menu-item>a {
    color: #fff;
    box-shadow: inset 0 -2px 0 var(--bs-red);
}

.bs-menu .sub-menu {
    display: none;
}

/* primary bar moves into the drawer on small screens when JS is on */
@media (max-width: 959px) {
    .js .bs-nav-primary {
        display: none;
    }
}

/* secondary: plain text links */
.bs-nav-secondary {
    background: #fff;
    border-bottom: 1px solid #f0f1f4;
}

.bs-pills {
    gap: 2px;
}

.bs-pills a {
    display: block;
    padding: 10px 12px;
    color: var(--bs-text);
    font-size: 13.5px;
    font-weight: 500;
}

.bs-pills a:hover,
.bs-pills .current-menu-item>a {
    color: var(--bs-red);
    box-shadow: inset 0 -2px 0 var(--bs-red);
}

.bs-pills .sub-menu {
    display: none;
}

/* ==========================================================================
   4. Drawer (opened by the hamburger)
   ========================================================================== */
.bs-overlay {
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(10, 12, 20, .55);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, visibility .2s;
}

.bs-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.bs-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 80;
    display: flex;
    flex-direction: column;
    width: min(86vw, 320px);
    background: #000;
    color: #e6e8f2;
    transform: translateX(-102%);
    visibility: hidden;
    transition: transform .25s ease, visibility .25s;
    outline: 0;
}

.bs-drawer.is-open {
    transform: none;
    visibility: visible;
}

.bs-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.bs-drawer-close {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.bs-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 6px 0 24px;
    -webkit-overflow-scrolling: touch;
}

.bs-drawer-label {
    margin: 14px 16px 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #aab0c6;
}

.bs-drawer-menu,
.bs-drawer-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bs-drawer-menu a {
    display: block;
    padding: 11px 16px;
    color: #e6e8f2;
    font-size: 15px;
    border-left: 3px solid transparent;
}

.bs-drawer-menu a:hover,
.bs-drawer-menu .current-menu-item>a {
    background: rgba(255, 255, 255, .06);
    border-left-color: var(--bs-red);
    color: #fff;
}

.bs-drawer-menu .sub-menu a {
    padding-left: 32px;
    font-size: 14px;
    color: #d0d4e3;
}

.bs-drawer-empty {
    margin: 16px;
    color: #aab0c6;
    font-size: 14px;
}

@media (min-width: 960px) {

    .bs-burger,
    .js .bs-burger,
    .bs-drawer,
    .bs-overlay {
        display: none;
    }
}

/* ==========================================================================
   5. Layout & section headings
   ========================================================================== */
.bs-main {
    padding-top: 14px;
    padding-bottom: 32px;
    min-height: 60vh;
}

.bs-section {
    margin-bottom: 22px;
}

.bs-section-head,
.line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 700;
    color: var(--bs-text);
    text-align: left;
}

.bs-section-head h1,
.bs-section-head h2,
.line h1,
.line h2 {
    font-size: inherit;
    font-weight: inherit;
    position: relative;
    padding-left: 11px;
}

.bs-section-head h1::before,
.bs-section-head h2::before,
.line h1::before,
.line h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 2px;
    width: 3px;
    border-radius: 2px;
    background: var(--bs-red);
}

.line {
    margin-top: 22px;
}

.bs-main .line:not(:has(h1, h2)) {
    position: relative;
    padding-left: 11px;
}

.bs-main .line:not(:has(h1, h2))::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 3px;
    width: 3px;
    border-radius: 2px;
    background: var(--bs-red);
}

.bs-archive-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    font-size: 20px;
}

.bs-archive-desc {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    color: var(--bs-muted);
}

.bs-see-all {
    font-size: 13px;
    font-weight: 600;
}

.bs-empty {
    padding: 24px;
    text-align: center;
    color: var(--bs-muted);
    background: var(--bs-card);
    border-radius: var(--bs-radius);
}

.bs-intro,
.trend {
    margin-bottom: 16px;
    padding: 12px 14px;
    background: var(--bs-card);
    border: 1px solid var(--bs-line);
    border-radius: var(--bs-radius);
    font-size: 14px;
    color: #1f2937;
}

.bs-intro h1,
.bs-intro h2,
.bs-intro h3,
.trend h1,
.trend h2,
.trend h3 {
    margin-bottom: 6px;
    font-size: 16px;
}

/* ==========================================================================
   6. Compact list rows (movies and files)
   ========================================================================== */
.bs-list,
.bs-rows {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
}

@media (min-width: 900px) {

    .bs-list,
    .bs-rows {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 12px;
    }
}

@media (min-width: 1280px) {

    .bs-list,
    .bs-rows {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.bs-row {
    margin: 0;
    min-width: 0;
}

.bs-row-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px 8px 8px;
    background: var(--bs-card);
    border: 1px solid var(--bs-line);
    border-radius: var(--bs-radius);
    color: var(--bs-text);
    transition: border-color .15s, box-shadow .15s;
}

.bs-row-link:hover {
    border-color: var(--bs-red);
    box-shadow: 0 2px 8px rgba(31, 36, 51, .08);
    color: var(--bs-text);
}

.bs-row-thumb {
    flex: 0 0 56px;
    width: 56px;
    height: 84px;
    object-fit: cover;
    border-radius: 6px;
    background: #d9dbe3;
}

.bs-row-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.bs-row-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.3;
}

.bs-row-link:hover .bs-row-title {
    color: var(--bs-red);
}

.bs-new {
    display: inline-block;
    margin-left: 4px;
    padding: 0 5px;
    border-radius: 3px;
    background: var(--bs-red);
    color: #fff;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
    vertical-align: 2px;
}

.bs-row-sub {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--bs-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bs-row-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px 8px;
    font-size: 11.5px;
    font-weight: 500;
    color: var(--bs-muted);
}

.bs-rating {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: var(--bs-gold);
    font-weight: 700;
}

.bs-chip-sm {
    padding: 1px 6px;
    border-radius: 4px;
    background: #eef0f5;
    color: #2d3446;
    font-weight: 600;
}

.bs-row-go {
    flex: 0 0 auto;
    color: #8a91a5;
}

.bs-row-link:hover .bs-row-go {
    color: var(--bs-red);
}

.bs-row-cta {
    flex: 0 0 auto;
    padding: 7px 12px;
    border-radius: 6px;
    background: var(--bs-red);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 479px) {
    .bs-row-cta {
        padding: 6px 9px;
        font-size: 11px;
    }
}

/* ==========================================================================
   7. Pagination: Prev  2 / 5  Next
   ========================================================================== */
.bs-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 18px 0 4px;
}

.bs-pager-btn {
    min-width: 84px;
    padding: 9px 16px;
    border: 1px solid var(--bs-line);
    border-radius: 8px;
    background: var(--bs-card);
    color: var(--bs-text);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

a.bs-pager-btn:hover {
    border-color: var(--bs-red);
    background: var(--bs-red);
    color: #fff;
}

.bs-pager-btn.is-disabled {
    opacity: .45;
    cursor: default;
}

.bs-pager-count {
    min-width: 56px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    color: var(--bs-text);
}

/* ==========================================================================
   8. Home page chips (homepage menu)
   ========================================================================== */
.bs-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.bs-chips::-webkit-scrollbar {
    display: none;
}

.bs-chip {
    flex: 0 0 auto;
    padding: 6px 13px;
    border: 1px solid var(--bs-line);
    border-radius: 999px;
    background: var(--bs-card);
    color: var(--bs-text);
    font-size: 13px;
    font-weight: 600;
}

.bs-chip:hover {
    border-color: var(--bs-red);
    color: var(--bs-red);
}

/* ==========================================================================
   9. Single movie page (markup from single.php)
   ========================================================================== */
div.path {
    margin-bottom: 8px;
    font-size: 12.5px;
    color: var(--bs-muted);
    overflow-wrap: anywhere;
}

#movie-info .line:first-child {
    margin-top: 0;
}

.bs-main>.line h1 {
    font-size: 20px;
}

.movie-info-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--bs-line);
    border-radius: var(--bs-radius);
    background: var(--bs-card);
}

.movie-info-container picture {
    flex: 0 0 auto;
}

.movie-info-container picture img {
    width: 130px;
    height: auto;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
}

.movie-info {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
}

.movie-info li {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 8px;
    padding: 6px 0;
    border-bottom: 1px solid var(--bs-line);
    overflow-wrap: anywhere;
}

.movie-info li:last-child {
    border-bottom: 0;
}

.movie-info strong {
    flex: 0 0 105px;
    color: var(--bs-muted);
    font-weight: 600;
}

@media (min-width: 720px) {
    .movie-info-container {
        flex-direction: row;
        align-items: flex-start;
        gap: 22px;
        padding: 18px;
    }

    .movie-info-container picture img {
        width: 170px;
    }

    .movie-info {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 28px;
    }

    .movie-info li:nth-last-child(2) {
        border-bottom: 0;
    }
}

/* rating box */
.bottom.center {
    padding: 12px !important;
    margin-bottom: 4px;
    background: var(--bs-card);
    border: 1px solid var(--bs-line);
    border-radius: var(--bs-radius);
}

.star-rating {
    display: inline-block;
    direction: ltr;
    font-size: 28px;
}

.star {
    color: #d1d5db;
    cursor: pointer;
    transition: color .2s;
    font-size: 28px;
}

.star.filled {
    color: var(--bs-gold);
}

.rating-text {
    font-size: 13px;
    color: var(--bs-muted);
}

/* download file list on the movie page (overrides inline template CSS) */
body .file-list-item {
    background: var(--bs-card);
    border: 1px solid var(--bs-line);
    border-radius: var(--bs-radius);
    padding: 10px 12px;
    margin-bottom: 8px;
    box-shadow: none;
}

body .file-list-item:hover {
    border-color: var(--bs-red);
    transform: none;
    box-shadow: none;
}

body .file-title-row {
    font-size: 14px;
    font-weight: 700;
    color: var(--bs-text);
    overflow-wrap: anywhere;
}

body .file-title-row img {
    display: none;
}

body .file-badge {
    background: #eef0f5;
    color: #2d3446;
    border-radius: 4px;
}

body .file-badge.quality {
    background: #e8f5e9;
    color: #1b7a3a;
}

body .file-badge.size {
    background: #e3f2fd;
    color: #1565c0;
}

body .file-badge.lang {
    background: #fff7e0;
    color: #8a6d00;
    border: 0;
}

body .file-badge.links {
    background: #fde8ec;
    color: #c0213f;
}

body .file-dl-btn,
body .file-dl-box .file-dl-btn,
body .file-watch-btn {
    background: var(--bs-red);
    color: #fff;
    border-radius: 6px;
    font-weight: 700;
}

body .file-dl-btn:hover {
    background: var(--bs-red-dark);
}

body .file-dl-box,
body .file-watch-box {
    background: var(--bs-card);
    border: 1px solid var(--bs-line);
    border-left: 4px solid var(--bs-red);
    border-radius: var(--bs-radius);
    margin: 8px 0;
    box-shadow: none;
}

body .file-dl-box:hover,
body .file-watch-box:hover {
    background: #fff5f7;
    border-left-color: var(--bs-red-dark);
    transform: none;
    box-shadow: none;
}

body .file-dl-left img {
    display: none;
}

body .file-dl-title,
body .file-watch-title {
    color: var(--bs-text);
}

.f {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 8px;
    padding: 11px 14px;
    background: var(--bs-card);
    border: 1px solid var(--bs-line);
    border-radius: var(--bs-radius);
    font-weight: 600;
}

.f img {
    display: none;
}

.f a {
    color: var(--bs-text);
    overflow-wrap: anywhere;
}

.f a:hover {
    color: var(--bs-red);
}

.entry-content {
    padding: 12px 14px !important;
    background: var(--bs-card);
    border: 1px solid var(--bs-line);
    border-radius: var(--bs-radius);
    font-size: 15px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.entry-content img {
    border-radius: 6px;
}

.movie-faq-container {
    display: grid;
    gap: 8px;
}

.movie-faq-container>div {
    padding: 11px 14px;
    background: var(--bs-card);
    border: 1px solid var(--bs-line);
    border-radius: var(--bs-radius);
}

.movie-faq-container h3 {
    margin: 0 0 3px;
    font-size: 14.5px;
    color: var(--bs-text);
}

.movie-faq-container p {
    margin: 0;
    font-size: 14px;
    color: #1f2937;
}

.bs-main table {
    width: 100%;
    border-collapse: collapse;
}

.bs-main td,
.bs-main th {
    padding: 8px 10px;
}

/* ==========================================================================
   10. Footer
   ========================================================================== */
.bs-footer {
    background: #000;
    color: #d6d9e6;
    padding: 26px 0 20px;
    font-size: 13px;
    text-align: center;
}

.bs-footer a {
    color: #e8eaf2;
}

.bs-footer a:hover {
    color: var(--bs-red);
}

.bs-footer-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}

.bs-footer-text {
    max-width: 820px;
    margin: 0 auto 12px;
    line-height: 1.6;
}

.bs-copy {
    margin: 0;
    color: #b4b9cc;
}

/* ==========================================================================
   11. Forms & WP core classes
   ========================================================================== */
input[type="text"],
input[type="email"],
textarea,
select {
    width: 100%;
    max-width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--bs-line);
    border-radius: 8px;
    font: inherit;
}

input[type="submit"],
button.button,
.btn {
    padding: 10px 18px;
    border: 0;
    border-radius: 8px;
    background: var(--bs-red);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.alignleft {
    float: left;
    margin: 0 14px 10px 0;
}

.alignright {
    float: right;
    margin: 0 0 10px 14px;
}

.aligncenter {
    margin: 0 auto 10px;
}

.screen-reader-text {
    position: absolute;
    left: -9999px;
}

@media (max-width: 359px) {
    .bs-wrap {
        padding-left: 10px;
        padding-right: 10px;
    }

    .bs-row-thumb {
        flex-basis: 46px;
        width: 46px;
        height: 69px;
    }

    .movie-info strong {
        flex-basis: 90px;
    }
}

/* ==========================================================================
   12. Larger feed items on desktop
   ========================================================================== */
@media (min-width: 900px) {

    .bs-list,
    .bs-rows {
        gap: 14px 16px;
    }

    .bs-row-link {
        gap: 16px;
        padding: 12px 18px 12px 12px;
    }

    .bs-row-thumb {
        flex-basis: 80px;
        width: 80px;
        height: 120px;
        border-radius: 8px;
    }

    .bs-row-body {
        gap: 5px;
    }

    .bs-row-title {
        font-size: 17px;
    }

    .bs-new {
        font-size: 10.5px;
        padding: 1px 6px;
    }

    .bs-row-sub {
        font-size: 14px;
    }

    .bs-row-meta {
        gap: 4px 10px;
        font-size: 13px;
    }

    .bs-chip-sm {
        padding: 2px 8px;
    }

    .bs-row-go {
        width: 22px;
        height: 22px;
    }

    .bs-row-cta {
        padding: 9px 16px;
        font-size: 13.5px;
    }

    .bs-section-head,
    .line {
        font-size: 18px;
    }
}

/* keep 3 columns for very wide screens only, so rows stay roomy */
@media (min-width: 1280px) and (max-width: 1599px) {

    .bs-list,
    .bs-rows {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1600px) {
    .bs-wrap {
        max-width: 1480px;
    }
}

/* ==========================================================================
   13. Larger feed items on mobile
   ========================================================================== */
@media (max-width: 899px) {

    .bs-list,
    .bs-rows {
        gap: 10px;
    }

    .bs-row-link {
        gap: 14px;
        padding: 10px 12px 10px 10px;
    }

    .bs-row-thumb {
        flex-basis: 84px;
        width: 84px;
        height: 126px;
        border-radius: 8px;
    }

    .bs-row-body {
        gap: 4px;
    }

    .bs-row-title {
        font-size: 16px;
    }

    .bs-row-sub {
        font-size: 13.5px;
    }

    .bs-row-meta {
        font-size: 12.5px;
    }

    .bs-chip-sm {
        padding: 2px 7px;
    }
}

@media (max-width: 359px) {
    .bs-row-thumb {
        flex-basis: 70px;
        width: 70px;
        height: 105px;
    }

    .bs-row-title {
        font-size: 15px;
    }
}

/* ==========================================================================
   14. Related Links (highlighted, whole row clickable)
   ========================================================================== */
.bs-related {
    margin: 22px 0 10px;
    padding: 12px;
    border: 1px solid #f8b4c2;
    border-radius: 12px;
    background: linear-gradient(180deg, #fff4f6 0%, #ffe9ee 100%);
    box-shadow: 0 2px 10px rgba(248, 68, 100, .12);
}

.bs-related-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin: 0 2px 10px;
}

.bs-related-title {
    position: relative;
    padding-left: 11px;
    font-size: 17px;
    font-weight: 800;
    color: var(--bs-text);
}

.bs-related-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    bottom: 2px;
    width: 3px;
    border-radius: 2px;
    background: var(--bs-red);
}

.bs-related-note {
    font-size: 12px;
    font-weight: 600;
    color: var(--bs-red-dark);
}

.bs-related-link {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    padding: 12px 14px;
    border: 1px solid #f3c1cc;
    border-radius: 10px;
    background: #fff;
    color: var(--bs-text);
    transition: border-color .15s, box-shadow .15s, transform .15s;
}

.bs-related-link:last-child {
    margin-bottom: 0;
}

.bs-related-link:hover,
.bs-related-link:focus-visible {
    border-color: var(--bs-red);
    box-shadow: 0 3px 12px rgba(248, 68, 100, .2);
    color: var(--bs-text);
}

.bs-related-link:active {
    transform: scale(.99);
}

.bs-related-ico {
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #fde8ec;
    color: var(--bs-red);
}

.bs-related-text {
    flex: 1;
    min-width: 0;
    font-size: 15px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.bs-related-text b {
    color: var(--bs-red-dark);
    font-weight: 700;
    white-space: nowrap;
}

.bs-related-go {
    flex: 0 0 auto;
    padding: 8px 14px;
    border-radius: 8px;
    background: var(--bs-red);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.bs-related-link:hover .bs-related-go {
    background: var(--bs-red-dark);
}

@media (max-width: 479px) {
    .bs-related {
        padding: 10px;
    }

    .bs-related-note {
        display: none;
    }

    .bs-related-link {
        flex-wrap: wrap;
        padding: 12px;
    }

    .bs-related-text {
        flex: 1 1 calc(100% - 52px);
    }

    .bs-related-go {
        flex: 1 1 100%;
        padding: 11px 14px;
        text-align: center;
    }
}

/* ==========================================================================
   15. Movie info rows
   ========================================================================== */
/* Rows are not flex containers any more, so lists of links wrap like text */
.movie-info li {
    position: relative;
    display: block;
    min-width: 0;
    padding: 8px 0 8px 112px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.movie-info strong {
    position: absolute;
    left: 0;
    top: 8px;
    width: 106px;
    white-space: nowrap;
}

@media (max-width: 359px) {
    .movie-info li {
        padding-left: 96px;
        font-size: 13px;
    }

    .movie-info strong {
        width: 92px;
    }
}

/* long lists (Starring) use the full width in the two-column desktop layout */
.movie-info li.mi-wide {
    grid-column: 1 / -1;
}

/* ==========================================================================
   16. Movie info on desktop: one column, poster as tall as the info list
   ========================================================================== */
@media (min-width: 720px) {
    .movie-info-container {
        flex-direction: row;
        align-items: flex-start;
    }

    /* fallback size; the footer script then matches the poster to the list height */
    .movie-info-container picture img {
        width: 260px;
        height: auto;
        aspect-ratio: 2 / 3;
        object-fit: cover;
    }

    .movie-info {
        display: block;
        flex: 1;
        min-width: 0;
    }

    .movie-info li,
    .movie-info li:nth-last-child(2) {
        border-bottom: 1px solid var(--bs-line);
    }

    .movie-info li:last-child {
        border-bottom: 0;
    }
}

/* ==========================================================================
   17. Rating box background
   ========================================================================== */
.bs-main .bottom.center {
    padding: 16px 12px !important;
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    border: 1px solid #f5d77a;
}

.bs-main .bottom.center .star:not(.filled) {
    color: #c9b27a;
}

.bs-main .bottom.center .star.filled {
    color: #e08a00;
}

.bs-main .bottom.center .rating-text {
    color: #5c4400;
    font-weight: 700;
}

/* ==========================================================================
   18. Watch on OTT or Book Tickets
   ========================================================================== */
.bs-watch-box {
    padding: 14px;
    background: var(--bs-card);
    border: 1px solid var(--bs-line);
    border-radius: var(--bs-radius);
}

.bs-watch-label {
    margin: 0 0 8px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--bs-muted);
}

.bs-watch-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

@media (min-width: 600px) {
    .bs-watch-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* solid brand-coloured buttons */
.bs-watch-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 10px 14px 10px 10px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand) 55%, rgba(0, 0, 0, .35) 160%) var(--brand);
    color: #fff;
    box-shadow: 0 3px 10px rgba(17, 24, 39, .16);
    transition: transform .15s, box-shadow .15s, filter .15s;
}

.bs-watch-btn:hover {
    color: #fff;
    filter: brightness(1.08);
    box-shadow: 0 7px 18px rgba(17, 24, 39, .24);
    transform: translateY(-2px);
}

.bs-watch-btn:active {
    transform: translateY(0);
}

.bs-watch-ico {
    flex: 0 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: #fff;
    color: var(--brand);
}

.bs-watch-ico img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.bs-watch-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.bs-watch-action {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    opacity: .9;
}

.bs-watch-name {
    font-size: 16px;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bs-watch-go {
    flex: 0 0 auto;
    opacity: .85;
}

.bs-watch-note {
    margin: 0;
    font-size: 12px;
    color: var(--bs-muted);
}



/* Contact Form 7: hide its internal fields (the plugin's own CSS is not loaded here) */
.wpcf7 fieldset.hidden-fields-container {
    display: none !important;
}

.wpcf7 .screen-reader-response {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    white-space: nowrap;
}

.wpcf7 form.init .wpcf7-response-output {
    display: none;
}
