/*
Theme Name: FilmyFly (Filmux Style)
Theme URI: https://filmyfly.direct/
Author: FilmyFly Team
Author URI: https://filmyfly.direct/
Description: Exact 1:1 replica of filmux.pro / filmyfly layout, colors, fonts, download buttons, and movie list series.
Version: 3.0.0
License: GNU General Public License v2 or later
Text Domain: filmyfly
*/

/* ==========================================================================
   1. GLOBAL RESET & BASE FONT (Exact Arial Everywhere)
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    background-color: #ffffff;
    color: #111111;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.site-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background: #ffffff;
    border-left: 1px solid #e5edf4;
    border-right: 1px solid #e5edf4;
}

/* ==========================================================================
   2. HEADER & SEARCH BAR (Dark Ocean Blue #006699)
   ========================================================================== */
.site-logo-banner {
    text-align: center;
    background: #ffffff;
    padding: 0;
}

.site-logo-banner img {
    margin: 0 auto;
    max-height: 70px;
    width: auto;
}

.search-header-bar {
    background-color: #006699;
    border-top: 1px dotted #ffffff;
    border-bottom: 1px dotted #ffffff;
    padding: 6px 0;
    text-align: center;
}

.search-header-bar form {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.search-input-field {
    background: #ffffff;
    border: 1px solid #7f9db9;
    color: #000000;
    font-family: Arial, sans-serif;
    font-size: 13px;
    padding: 3px 8px;
    height: 25px;
    width: 290px;
    max-width: 65vw;
    outline: none;
}

.search-submit-btn {
    background: #f0f0f0;
    border: 1px solid #707070;
    color: #000000;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    height: 25px;
    padding: 0 10px;
    cursor: pointer;
}

/* Sub-Heading / Homepage link */
.sub-header-bar {
    text-align: center;
    font-size: 15px;
    font-weight: 800;
    color: #000000;
    padding: 7px 0;
    border-bottom: 1px solid #eef3f8;
}

.sub-header-bar a {
    color: #005580;
}

/* ==========================================================================
   3. YELLOW BOOKMARK ALERT STRIP
   ========================================================================== */
.yellow-bookmark-strip {
    background-color: #fff8cc;
    border-top: 1px solid #fae588;
    border-bottom: 1px solid #fae588;
    padding: 6px 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #cc0000;
    position: relative;
    box-sizing: border-box;
}

.yellow-bookmark-strip a {
    color: #0000ee;
    text-decoration: underline;
    font-weight: 700;
    margin-left: 4px;
}

.yellow-bookmark-strip .close-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #cc0000;
    font-size: 15px;
    cursor: pointer;
    line-height: 1;
}

/* ==========================================================================
   4. INTRO BOXES (White Bordered Box + Light Sky-Blue Header)
   ========================================================================== */
.intro-card-box {
    background: #ffffff;
    border: 1px solid #bce1f5;
    padding: 8px 12px;
    margin: 8px 6px;
    text-align: center;
}

.intro-card-title {
    color: #000000;
    font-size: 16.5px;
    font-weight: 800;
    margin-bottom: 4px;
}

.intro-desc-text {
    color: #222222;
    font-size: 13px;
    line-height: 1.45;
    text-align: center;
    margin: 5px 0 9px 0;
}

.sky-blue-header-bar {
    background-color: #dbebf6;
    border: 1px solid #bce1f5;
    color: #000000;
    font-size: 16px;
    font-weight: 800;
    text-align: center;
    padding: 7px 12px;
    margin: 8px 6px 6px 6px;
}

/* ==========================================================================
   5. SECTION TITLE BARS (Light Sky Blue Bars: Trending, Latest, Category)
   ========================================================================== */
.section-sky-bar {
    background-color: #dbebf6;
    border-top: 1px solid #bce1f5;
    border-bottom: 1px solid #bce1f5;
    color: #005580;
    font-size: 14.5px;
    font-weight: 800;
    text-align: center;
    padding: 6px 0;
    margin: 10px 0 0 0;
    width: 100%;
}

/* DARK BLUE SOLID SECTION BARS (Movie Info, Story Plot, Screenshot, Download This Movie) */
.section-dark-bar,
.blue-heading-bar,
.blue-bar,
.blue-line,
.post-content h2,
.post-content h3,
.post-content .blue-bar,
.post-content .blue-heading-bar,
.post-content .section-dark-bar {
    background-color: #006699 !important;
    color: #ffffff !important;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-align: center !important;
    padding: 6px 10px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin: 14px 0 8px 0 !important;
    width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
    border: none !important;
    border-radius: 0 !important;
    line-height: 1.4 !important;
}



/* ==========================================================================
   6. MOVIE LIST ROWS (44px x 58px Thumbnails & Solid Clean Dividers)
   ========================================================================== */
.movie-list-container {
    display: flex;
    flex-direction: column;
    background: #ffffff;
}

.movie-row-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: #ffffff;
    border-bottom: 1px solid #e2edf6;
    padding: 5px 6px;
}

.movie-row-item:hover {
    background: #fafcfe;
}

.movie-row-poster {
    width: 48px;
    min-width: 48px;
    height: 64px;
    object-fit: cover;
    border: 1px solid #dcdcdc;
    border-radius: 2px;
    margin-right: 9px;
    background: #ffffff;
}

.movie-row-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 3px;
    flex: 1;
}

.movie-row-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
    display: inline;
}

.movie-row-title:hover {
    text-decoration: underline;
}

/* Neutralize any inline font color inside titles */
.movie-row-title font,
.movie-row-title span {
    color: inherit !important;
}

/* CAPSULE PILL BADGE */
.capsule-badge {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    padding: 2.5px 10px;
    border-radius: 12px;
    color: #ffffff;
    margin-top: 2px;
    text-transform: capitalize;
    line-height: 1.35;
    border: none;
    width: fit-content;
}

/* ==========================================================================
   7. 5-COLOR REPEATING SERIES FOR MOVIE ROWS (Exact Filmux Cycle)
   ========================================================================== */
/* 1st Item (5n+1): Royal Blue */
.movie-list-container > .movie-row-item:nth-of-type(5n+1) .movie-row-title,
.movie-row-item.color-1 .movie-row-title {
    color: #0000cd !important;
}
.movie-list-container > .movie-row-item:nth-of-type(5n+1) .capsule-badge,
.movie-row-item.color-1 .capsule-badge {
    background-color: #0000cd !important;
}

/* 2nd Item (5n+2): Forest Green */
.movie-list-container > .movie-row-item:nth-of-type(5n+2) .movie-row-title,
.movie-row-item.color-2 .movie-row-title {
    color: #008000 !important;
}
.movie-list-container > .movie-row-item:nth-of-type(5n+2) .capsule-badge,
.movie-row-item.color-2 .capsule-badge {
    background-color: #008000 !important;
}

/* 3rd Item (5n+3): Magenta / Purple */
.movie-list-container > .movie-row-item:nth-of-type(5n+3) .movie-row-title,
.movie-row-item.color-3 .movie-row-title {
    color: #b000b0 !important;
}
.movie-list-container > .movie-row-item:nth-of-type(5n+3) .capsule-badge,
.movie-row-item.color-3 .capsule-badge {
    background-color: #b000b0 !important;
}

/* 4th Item (5n+4): Red */
.movie-list-container > .movie-row-item:nth-of-type(5n+4) .movie-row-title,
.movie-row-item.color-4 .movie-row-title {
    color: #cc0000 !important;
}
.movie-list-container > .movie-row-item:nth-of-type(5n+4) .capsule-badge,
.movie-row-item.color-4 .capsule-badge {
    background-color: #cc0000 !important;
}

/* 5th Item (5n+5): Golden Brown / Ochre */
.movie-list-container > .movie-row-item:nth-of-type(5n+5) .movie-row-title,
.movie-row-item.color-5 .movie-row-title {
    color: #b38209 !important;
}
.movie-list-container > .movie-row-item:nth-of-type(5n+5) .capsule-badge,
.movie-row-item.color-5 .capsule-badge {
    background-color: #b38209 !important;
}

/* ==========================================================================
   8. PAGINATION BUTTON (Grey Next > Button)
   ========================================================================== */
.pagination-area {
    text-align: center;
    padding: 12px 0 16px 0;
}

.btn-next-page,
.pagination .page-numbers.next {
    background: #4b5563;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 4px;
    display: inline-block;
}

.btn-next-page:hover {
    background: #374151;
}

/* ==========================================================================
   9. CATEGORY LIST (Clean Links with Blue Font)
   ========================================================================== */
.category-index-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-index-list li a {
    display: block;
    background: #ffffff;
    border-bottom: 1px solid #e2edf6;
    padding: 8px 10px;
    font-size: 13.5px;
    font-weight: 700;
    color: #005580;
}

.category-index-list li a:hover {
    background: #f8fafc;
    text-decoration: underline;
}

/* ==========================================================================
   10. SINGLE MOVIE POST PAGE (Exact Filmux Post Layout)
   ========================================================================== */
/* Post Title Header Bar */
.post-title-bar {
    background-color: #dbebf6;
    border: 1px solid #bce1f5;
    color: #0000cd;
    font-size: 13.5px;
    font-weight: 700;
    text-align: center;
    padding: 6px 10px;
    margin: 6px 0;
}

/* Centered Movie Poster (Compact & Clean) */
.single-movie-poster-wrap {
    text-align: center;
    margin: 8px auto 10px auto;
}

.single-movie-poster-wrap img,
.single-poster-img,
.post-content .single-poster-img,
.post-content figure.wp-block-image img:not(.emoji):not(.wp-smiley):not([alt="👉"]):not([alt="👈"]):not([src*="emoji"]):not([src*="s.w.org"]):not([src*="1f449"]),
.post-content p:first-of-type img:not(.emoji):not(.wp-smiley):not([alt="👉"]):not([alt="👈"]):not([src*="emoji"]):not([src*="s.w.org"]):not([src*="1f449"]),
.post-content .movie-poster img,
.poster-img {
    display: block !important;
    margin: 8px auto !important;
    max-width: 250px !important;
    width: auto !important;
    max-height: 360px !important;
    height: auto !important;
    border: 1px solid #dcdcdc !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
}

/* Post ke andr Screenshot Images: Wide & Clear (98%) */
.post-content img:not(.emoji):not(.wp-smiley):not([alt="👉"]):not([alt="👈"]):not([src*="emoji"]):not([src*="s.w.org"]):not([src*="1f449"]):not([src*="1f448"]) {
    max-width: 98% !important;
    width: auto !important;
    height: auto !important;
    display: block !important;
    margin: 8px auto !important;
    border: 1px solid #e2edf6 !important;
    border-radius: 4px !important;
}

/* Emojis & Pointer Hand Icons (👉, 👈 etc.) - Kabhi Bada Box ya Border na banein */
img.emoji,
img.wp-smiley,
.post-content img.emoji,
.post-content img.wp-smiley,
.post-content img[alt="👉"],
.post-content img[alt="👈"],
.post-content img[alt*="hand"],
.post-content img[alt*="point"],
.post-content img[src*="emoji"],
.post-content img[src*="s.w.org"],
.post-content img[src*="1f449"],
.post-content img[src*="1f448"],
.post-content img[src*="hand"],
.post-content img[src*="point"] {
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 4px !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    vertical-align: -3px !important;
    background: transparent !important;
    float: none !important;
}
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    vertical-align: -0.15em !important;
    background: transparent !important;
    float: none !important;
}



/* Button ke andr ke Icons (Lightning / Download / Cloud) Chhote & Sleek (16px x 16px) */
.post-content button img,
.post-content a button img,
.post-content a:has(button) img,
.post-content p:has(button) img,
.post-content button svg,
.post-content a button svg,
.post-content button i,
.post-content button .icon,
.post-content button span img,
button.dwd-button img,
.dwd-button img,
button.btn img {
    width: 16px !important;
    height: 16px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    min-width: 12px !important;
    min-height: 12px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    margin: 0 6px 0 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    flex-shrink: 0 !important;
    object-fit: contain !important;
}

/* Lekin Screenshot images ko broad/wide rehne dein */
.single-screenshots-container img,
.post-content .screenshot-img,
.post-content .section-dark-bar ~ p img,
.post-content .ss-section-bar ~ p img {
    max-width: 95% !important;
    width: auto !important;
}

/* File Info Bar */
.file-info-bar {
    background-color: #dbebf6;
    border-top: 1px solid #bce1f5;
    border-bottom: 1px solid #bce1f5;
    color: #cc0000;
    font-size: 13.5px;
    font-weight: 700;
    text-align: center;
    padding: 6px 0;
    margin: 6px 0 0 0;
}

/* SPECIFICATION ROWS (Colored Details) */
.file-info-table {
    width: 100%;
    border-collapse: collapse;
}

.file-info-table tr {
    border-bottom: 1px solid #e2edf6;
}

.file-info-table td {
    padding: 5px 8px;
    font-size: 13px;
    line-height: 1.4;
}

.file-info-table td.info-label {
    font-weight: 700;
    color: #000000;
    width: 90px;
    white-space: nowrap;
}

.val-name { color: #cc0000; font-weight: 700; }
.val-genre { color: #cc0000; font-weight: 700; }
.val-duration { color: #008000; font-weight: 700; }
.val-release { color: #0000cd; font-weight: 700; }
.val-language { color: #008080; font-weight: 700; }
.val-starcast { color: #8b0000; }
.val-size { color: #800080; font-weight: 700; }
.val-desc { color: #800080; }

/* ==========================================================================
   11. POST CONTENT & DOWNLOAD BUTTONS (Exact User Style & Linksdrive Series)
   ========================================================================== */
.post-content h4 {
    font-size: 14.5px !important;
    font-weight: 700 !important;
    margin: 12px 0 6px 0 !important;
    color: #111111 !important;
}

.post-content p {
    margin: 6px 0 !important;
}

.post-content p:has(button),
.post-content p:has(a > button),
.post-content p:has(.dwd-button),
.post-content div:has(> a > button),
.post-content div:has(> button),
.single-dl-buttons-container {
    display: block !important;
    text-align: center !important;
    margin: 6px auto !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    clear: both !important;
}

/* Hide extra blank lines / empty br tags between buttons */
.post-content p:has(button) br,
.post-content p:has(.dwd-button) br,
.post-content br + br,
.post-content p:empty {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.post-content p:has(button) a,
.post-content p:has(.dwd-button) a,
.post-content a:has(button),
.post-content a:has(.dwd-button),
.post-content p a:has(button),
.post-content p a:has(.dwd-button),
.post-content a.dwd-button,
.post-content a.btn-filmy-dl,
.single-dl-buttons-container a {
    display: block !important;
    width: 98% !important;
    max-width: 650px !important;
    margin: 7px auto !important;
    clear: both !important;
    float: none !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    text-align: center !important;
}

.post-content button,
.post-content a button,
button.dwd-button,
.dwd-button,
button.btn,
.btn-filmy-dl {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 650px !important;
    min-width: 0 !important;
    min-height: 44px !important;
    height: auto !important;
    padding: 8px 12px !important;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.2s ease-in-out !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    margin: 0 auto !important;
    outline: none !important;
    text-align: center !important;
    white-space: normal !important;
    overflow: visible !important;
    line-height: 1.35 !important;
    word-break: break-word !important;
}

.post-content button:hover,
.post-content a button:hover,
button.dwd-button:hover,
.dwd-button:hover {
    filter: brightness(1.15) !important;
    transform: translateY(-1px) !important;
}

/* Filmux 6-Color Series for Post Download Buttons (Exact Image Match) */
.post-content a:nth-of-type(6n+1) button,
.post-content a:nth-of-type(6n+1) .btn,
.post-content p:has(.dwd-button):nth-of-type(6n+1) .dwd-button,
.post-content p:has(button):nth-of-type(6n+1) button,
.post-content button:nth-of-type(6n+1),
.single-dl-wrapper a:nth-of-type(6n+1) button,
.single-dl-buttons-container a:nth-of-type(6n+1) button,
button.dwd-button,
.dwd-button {
    background: #2e7d32 !important; /* 1. Green */
}

.post-content a:nth-of-type(6n+2) button,
.post-content a:nth-of-type(6n+2) .btn,
.post-content p:has(.dwd-button):nth-of-type(6n+2) .dwd-button,
.post-content p:has(button):nth-of-type(6n+2) button,
.post-content button:nth-of-type(6n+2),
.single-dl-wrapper a:nth-of-type(6n+2) button,
.single-dl-buttons-container a:nth-of-type(6n+2) button {
    background: #e68a00 !important; /* 2. Orange / Amber */
}

.post-content a:nth-of-type(6n+3) button,
.post-content a:nth-of-type(6n+3) .btn,
.post-content p:has(.dwd-button):nth-of-type(6n+3) .dwd-button,
.post-content p:has(button):nth-of-type(6n+3) button,
.post-content button:nth-of-type(6n+3),
.single-dl-wrapper a:nth-of-type(6n+3) button,
.single-dl-buttons-container a:nth-of-type(6n+3) button {
    background: #c0392b !important; /* 3. Red */
}

.post-content a:nth-of-type(6n+4) button,
.post-content a:nth-of-type(6n+4) .btn,
.post-content p:has(.dwd-button):nth-of-type(6n+4) .dwd-button,
.post-content p:has(button):nth-of-type(6n+4) button,
.post-content button:nth-of-type(6n+4),
.single-dl-wrapper a:nth-of-type(6n+4) button,
.single-dl-buttons-container a:nth-of-type(6n+4) button {
    background: #0073e6 !important; /* 4. Blue */
}

.post-content a:nth-of-type(6n+5) button,
.post-content a:nth-of-type(6n+5) .btn,
.post-content p:has(.dwd-button):nth-of-type(6n+5) .dwd-button,
.post-content p:has(button):nth-of-type(6n+5) button,
.post-content button:nth-of-type(6n+5),
.single-dl-wrapper a:nth-of-type(6n+5) button,
.single-dl-buttons-container a:nth-of-type(6n+5) button {
    background: #2e7d32 !important; /* 5. Green */
}

.post-content a:nth-of-type(6n+6) button,
.post-content a:nth-of-type(6n+6) .btn,
.post-content p:has(.dwd-button):nth-of-type(6n+6) .dwd-button,
.post-content p:has(button):nth-of-type(6n+6) button,
.post-content button:nth-of-type(6n+6),
.single-dl-wrapper a:nth-of-type(6n+6) button,
.single-dl-buttons-container a:nth-of-type(6n+6) button {
    background: #c0392b !important; /* 6. Red */
}

/* SCREENSHOTS CONTAINER */
.single-screenshots-container {
    padding: 8px 10px;
    text-align: center;
    background: #ffffff;
}

.single-screenshots-container img {
    margin: 6px auto;
    width: 100%;
    max-width: 650px;
    border: 1px solid #dcdcdc;
}

/* BREADCRUMB & TAG BOX */
.single-breadcrumb {
    padding: 8px 10px;
    font-size: 12px;
    color: #005580;
    border-top: 1px solid #e2edf6;
}

.single-breadcrumb a {
    color: #005580;
    text-decoration: underline;
}

.tag-cloud-box {
    border: 1px solid #bce1f5;
    background: #f8fafc;
    padding: 8px 10px;
    margin: 8px 6px;
    font-size: 11px;
    color: #444444;
    line-height: 1.4;
}

.tag-cloud-box strong {
    color: #008000;
}

/* ==========================================================================
   12. SEO KEYWORDS & FOOTER (Exact Filmux Footer)
   ========================================================================== */
.footer-seo-terms {
    padding: 6px 10px;
    font-size: 11.5px;
    color: #333333;
    line-height: 1.5;
    background: #ffffff;
}

.footer-how-box {
    background: #dbebf6;
    border-top: 1px solid #bce1f5;
    border-bottom: 1px solid #bce1f5;
    padding: 10px 12px;
    text-align: center;
    margin-top: 12px;
}

.footer-how-box a {
    color: #005580;
    font-size: 13px;
    font-weight: 700;
    display: block;
    margin: 3px 0;
}

.footer-how-box .seo-kw-block {
    font-size: 11px;
    font-weight: 700;
    color: #111111;
    margin: 8px 0;
}

.btn-join-telegram {
    background: #006699;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 20px;
    display: inline-block;
    margin: 6px 0;
    text-decoration: none !important;
}

/* 5 COLORED OUTLINE BUTTONS */
.footer-outline-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 12px 0 6px 0;
}

.btn-outline-policy {
    font-size: 11.5px;
    font-weight: 600;
    padding: 4px 10px;
    background: #ffffff;
    border-radius: 2px;
    text-decoration: none;
}

.btn-privacy { border: 1px solid #0284c7; color: #0284c7; }
.btn-contact { border: 1px solid #16a34a; color: #16a34a; }
.btn-about   { border: 1px solid #64748b; color: #64748b; }
.btn-dmca    { border: 1px solid #dc2626; color: #dc2626; }
.btn-request { border: 1px solid #ea580c; color: #ea580c; }

.footer-homepage-btn-wrap {
    text-align: center;
    padding: 8px 0 20px 0;
}

.btn-home-link {
    background: #ffffff;
    border: 1px solid #707070;
    color: #111111;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    display: inline-block;
}

/* ==========================================================================
   13. RESPONSIVE BREAKPOINTS (Desktop Full-Width & Mobile Compact View)
   ========================================================================== */

/* Desktop View (Full Width edge to edge) */
@media screen and (min-width: 641px) {
    .site-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto !important;
    }
}

/* Mobile View (Compact Clean Layout - Exact Mobile Ratio) */
@media screen and (max-width: 640px) {
    body, html {
        font-size: 12px !important;
    }

    .site-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        border-left: none !important;
        border-right: none !important;
    }

    .site-logo-banner img {
        max-height: 48px !important;
    }

    .search-input-field {
        width: 200px !important;
        max-width: 60vw !important;
        height: 24px !important;
        font-size: 11.5px !important;
    }

    .search-submit-btn {
        height: 24px !important;
        padding: 0 8px !important;
        font-size: 11px !important;
    }

    .sub-header-bar {
        font-size: 12.5px !important;
        padding: 5px 4px !important;
    }

    .yellow-bookmark-strip {
        font-size: 11.5px !important;
        padding: 5px 24px 5px 8px !important;
    }

    .yellow-bookmark-strip .close-icon {
        right: 6px !important;
        font-size: 13px !important;
    }

    .intro-card-box {
        margin: 6px !important;
        padding: 6px 8px !important;
    }

    .intro-card-title {
        font-size: 12.5px !important;
    }

    .intro-desc-text {
        font-size: 11px !important;
        padding: 4px 8px !important;
    }

    .sky-blue-header-bar,
    .section-sky-bar,
    .section-dark-bar,
    .post-title-bar {
        font-size: 12px !important;
        padding: 5px 8px !important;
    }

    .movie-row-item {
        padding: 3px 6px !important;
        gap: 6px !important;
    }

    .movie-row-poster {
        width: 40px !important;
        height: 54px !important;
        min-width: 40px !important;
    }

    .movie-row-title {
        font-size: 11.5px !important;
        line-height: 1.25 !important;
    }

    .capsule-badge {
        font-size: 9px !important;
        padding: 1px 6px !important;
    }

    .post-content {
        padding: 8px 10px !important;
    }

    .single-movie-poster-wrap img,
    .single-poster-img,
    .post-content figure.wp-block-image img:not(.emoji):not(.wp-smiley):not([alt="👉"]):not([alt="👈"]):not([src*="emoji"]):not([src*="s.w.org"]):not([src*="1f449"]),
    .post-content p:first-of-type img:not(.emoji):not(.wp-smiley):not([alt="👉"]):not([alt="👈"]):not([src*="emoji"]):not([src*="s.w.org"]):not([src*="1f449"]),
    .post-content > p > img:not(.emoji):not(.wp-smiley):not([alt="👉"]):not([alt="👈"]):not([src*="emoji"]):not([src*="s.w.org"]):not([src*="1f449"]),
    .post-content p:not(:has(button)):not(:has(.dwd-button)) img:not(.emoji):not(.wp-smiley):not([alt="👉"]):not([alt="👈"]):not([src*="emoji"]):not([src*="s.w.org"]):not([src*="1f449"]) {
        max-width: 210px !important;
        max-height: 310px !important;
        margin: 8px auto !important;
    }

    .post-content button img,
    .post-content a button img,
    .post-content a:has(button) img,
    .post-content p:has(button) img,
    .post-content button svg,
    button.dwd-button img {
        width: 15px !important;
        height: 15px !important;
        max-width: 16px !important;
        max-height: 16px !important;
        margin: 0 5px 0 0 !important;
        display: inline-block !important;
        vertical-align: middle !important;
        border: none !important;
        box-shadow: none !important;
    }

    .post-content h4 {
        font-size: 11.5px !important;
        margin: 6px 0 2px 0 !important;
    }

    .post-content p:has(button) a,
    .post-content p:has(.dwd-button) a,
    .post-content a:has(button),
    .post-content a:has(.dwd-button) {
        width: 98% !important;
        max-width: 600px !important;
        margin: 6px auto !important;
    }

    .post-content button,
    .post-content a button,
    button.dwd-button,
    .dwd-button,
    button.btn {
        width: 100% !important;
        max-width: 600px !important;
        min-width: 0 !important;
        height: 42px !important;
        min-height: 42px !important;
        padding: 0 6px !important;
        font-size: 11.5px !important;
    }

    .footer-outline-buttons {
        gap: 4px !important;
        padding: 8px 4px !important;
    }

    .btn-outline-policy {
        font-size: 10px !important;
        padding: 3px 6px !important;
    }
}
