/*
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: 5px 0;
    text-align: center;
}

.search-header-bar form {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.search-input-field {
    background: #ffffff;
    border: 1px solid #7f9db9;
    color: #000000;
    font-family: Arial, sans-serif;
    font-size: 12px;
    padding: 2px 6px;
    height: 23px;
    width: 250px;
    max-width: 60vw;
    outline: none;
    box-sizing: border-box;
}

.search-submit-btn {
    background: #f0f0f0;
    border: 1px solid #707070;
    color: #000000;
    font-family: Arial, sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    height: 23px;
    padding: 0 10px;
    cursor: pointer;
    box-sizing: border-box;
}

/* 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: #fff9d7;
    border-top: 1px solid #f3d085;
    border-bottom: 1px solid #f3d085;
    padding: 5px 28px 5px 10px;
    text-align: center;
    font-size: 12.5px;
    font-weight: 700;
    color: #990000;
    position: relative;
    box-sizing: border-box;
    line-height: 1.4;
}

.yellow-bookmark-strip a {
    color: #0000ee;
    text-decoration: underline;
    font-weight: 700;
    margin: 0 2px;
}

.yellow-bookmark-strip .close-icon {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #cc0000;
    font-size: 14px;
    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: 13.5px;
    font-weight: 700;
    text-align: center;
    padding: 5px 0;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}

/* 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 #e0e0e0;
    padding: 4px 6px;
    gap: 8px;
}

.movie-row-item:hover {
    background: #fafcfe;
}

.movie-row-poster {
    width: 44px;
    min-width: 44px;
    height: 58px;
    object-fit: cover;
    border: 1px solid #dcdcdc;
    border-radius: 2px;
    margin-right: 0;
    background: #ffffff;
    flex-shrink: 0;
}

.movie-row-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.movie-row-title {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    display: inline;
    word-break: break-word;
}

.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 (Exact 10px / 1.5px 7px) */
.capsule-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 1.5px 7px;
    border-radius: 10px;
    color: #ffffff;
    margin-top: 1px;
    text-transform: capitalize;
    line-height: 1.3;
    border: none;
    width: fit-content;
}

/* Category-specific Badge Colors (Matching filmyfly.haus live site) */
.badge-south,
.badge-bollywood {
    background-color: #008000 !important; /* Forest Green */
}

.badge-webseries {
    background-color: #800080 !important; /* Purple */
}

.badge-hollywood {
    background-color: #0000cd !important; /* Royal Blue */
}

/* Exact Title Colors from live site */
.title-green { color: #008000 !important; }
.title-teal  { color: #008080 !important; }
.title-purple{ color: #800080 !important; }
.title-red   { color: #cc0000 !important; }
.title-blue  { color: #0000cd !important; }

/* ==========================================================================
   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;
}
.movie-list-container > .movie-row-item:nth-of-type(5n+1) .capsule-badge:not([class*="badge-"]),
.movie-row-item.color-1 .capsule-badge:not([class*="badge-"]) {
    background-color: #0000cd;
}

/* 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;
}
.movie-list-container > .movie-row-item:nth-of-type(5n+2) .capsule-badge:not([class*="badge-"]),
.movie-row-item.color-2 .capsule-badge:not([class*="badge-"]) {
    background-color: #008000;
}

/* 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;
}
.movie-list-container > .movie-row-item:nth-of-type(5n+3) .capsule-badge:not([class*="badge-"]),
.movie-row-item.color-3 .capsule-badge:not([class*="badge-"]) {
    background-color: #b000b0;
}

/* 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;
}
.movie-list-container > .movie-row-item:nth-of-type(5n+4) .capsule-badge:not([class*="badge-"]),
.movie-row-item.color-4 .capsule-badge:not([class*="badge-"]) {
    background-color: #cc0000;
}

/* 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;
}
.movie-list-container > .movie-row-item:nth-of-type(5n+5) .capsule-badge:not([class*="badge-"]),
.movie-row-item.color-5 .capsule-badge:not([class*="badge-"]) {
    background-color: #b38209;
}

/* ==========================================================================
   8. PAGINATION BUTTON (Grey Next > Button)
   ========================================================================== */
.pagination-area {
    text-align: center;
    padding: 12px 0 16px 0;
}

.btn-next-page,
.btn-prev-page,
.pagination .page-numbers.next,
.pagination .page-numbers.prev {
    background: #4b5563;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 4px;
    display: inline-block;
    margin: 0 4px;
    text-decoration: none;
}

.btn-next-page:hover,
.btn-prev-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;
}



/* 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,
.post-content .btn,
.post-content .btn-sm,
.post-content .btn-outline,
.post-content a.btn,
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;
    background-image: none !important;
}

/* Hide any raw broken FontAwesome or external icon tags inside buttons */
.post-content button i,
.post-content button i.fa,
.post-content a.btn i,
.post-content a.btn i.fa {
    display: none !important;
}

/* Custom Card Boxes & Scraped Containers (e.g., .cv-card-box) */
.post-content .cv-card-box,
.post-content .cv-card-download-info {
    background: #f8fafc !important;
    border: 1px solid #bce1f5 !important;
    border-radius: 4px !important;
    padding: 8px 12px !important;
    margin: 8px auto !important;
    text-align: center !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    color: #111111 !important;
    box-sizing: border-box !important;
}

.post-content .cv-movie-box,
.post-content .cv-movie-details {
    margin: 8px 0 !important;
    padding: 0 !important;
}

.post-content hr {
    border: 0 !important;
    height: 1px !important;
    background: #e2edf6 !important;
    margin: 12px 0 !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;
}

/* ==========================================================================
   12. EXACT FILMYFLY FOOTER STRUCTURE (1:1 Screenshot Match)
   ========================================================================== */

/* 1. Footer SEO Paragraphs */
.footer-seo-paras {
    padding: 8px 10px 4px 10px;
    background: #ffffff;
}

.footer-seo-paras p {
    font-size: 11.5px;
    color: #222222;
    line-height: 1.45;
    margin: 0 0 8px 0;
    font-family: Arial, Helvetica, sans-serif;
}

/* 2. Footer Tag & Keyword Box */
.footer-tag-box {
    background: #eaf4fa;
    border-top: 1px solid #b8d9ec;
    border-bottom: 1px solid #b8d9ec;
    padding: 8px 10px;
    font-size: 11px;
    line-height: 1.45;
    color: #111111;
    font-family: Arial, Helvetica, sans-serif;
    word-break: break-word;
}

.footer-tag-box .tag-label {
    color: #008000;
    font-weight: 700;
    margin-right: 3px;
}

.footer-tag-box .tag-header {
    color: #111111;
}

.footer-tag-box .tag-keywords {
    margin-top: 6px;
    color: #111111;
}

.footer-tag-box strong {
    font-weight: 700;
}

/* 3. Striped How-To & Disclaimer Box */
.footer-how-box {
    background: #d9ecf7;
    border-top: 1px solid #b3d4ea;
    border-bottom: 1px solid #b3d4ea;
    text-align: center;
    margin: 0;
}

.footer-how-row {
    padding: 6px 10px;
    border-bottom: 1px solid #b3d4ea;
}

.footer-how-row:last-child {
    border-bottom: none;
}

.footer-how-row a {
    color: #005580;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
}

.footer-how-row a:hover {
    text-decoration: underline;
}

/* 4. Bottom Centered SEO Keywords Bar */
.footer-bottom-keywords {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #222222;
    padding: 10px 14px 6px 14px;
    line-height: 1.45;
    background: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
}

/* 5. Powered By */
.footer-powered-by {
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: #222222;
    padding: 4px 0 8px 0;
    background: #ffffff;
}

.footer-powered-by a {
    color: #005580;
    text-decoration: none;
    font-weight: 700;
}

.footer-powered-by a:hover {
    text-decoration: underline;
}

/* 6. Join Our Telegram Button */
.footer-tg-wrap {
    text-align: center;
    padding: 4px 0 10px 0;
    background: #ffffff;
}

.btn-join-telegram {
    background: #0077b5;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 22px;
    border-radius: 20px;
    display: inline-block;
    text-decoration: none !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.btn-join-telegram:hover {
    background: #006097;
}

/* 7. 5 Colored Outline Policy Buttons */
.footer-outline-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 4px 10px 10px 10px;
    background: #ffffff;
}

.btn-outline-policy {
    font-size: 11.5px;
    font-weight: 500;
    padding: 3px 9px;
    background: #ffffff;
    border-radius: 2px;
    text-decoration: none !important;
    color: #111111 !important;
    display: inline-block;
}

.btn-outline-policy:hover {
    background: #f5f5f5;
}

.btn-privacy { border: 1px solid #008080 !important; }
.btn-contact { border: 1px solid #2e7d32 !important; }
.btn-about   { border: 1px solid #8d6e63 !important; }
.btn-dmca    { border: 1px solid #d32f2f !important; }
.btn-request { border: 1px solid #e57373 !important; }

/* 8. Bottom Homepage Button */
.footer-homepage-btn-wrap {
    text-align: center;
    padding: 4px 0 24px 0;
    background: #ffffff;
}

.btn-home-link {
    background: #ffffff;
    border: 1px solid #666666;
    color: #111111 !important;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 14px;
    display: inline-block;
    text-decoration: none !important;
    border-radius: 2px;
}

.btn-home-link:hover {
    background: #f0f0f0;
}

/* ==========================================================================
   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 (Large, Bold & Ultra-Readable on Phones) */
@media screen and (max-width: 640px) {
    body, html {
        font-size: 15px !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: 220px !important;
        max-width: 62vw !important;
        height: 32px !important;
        font-size: 13.5px !important;
    }

    .search-submit-btn {
        height: 32px !important;
        padding: 0 12px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
    }

    .sub-header-bar {
        font-size: 14px !important;
        font-weight: 600 !important;
        padding: 6px 6px !important;
    }

    .yellow-bookmark-strip {
        font-size: 13px !important;
        font-weight: 600 !important;
        padding: 6px 28px 6px 10px !important;
    }

    .yellow-bookmark-strip .close-icon {
        right: 8px !important;
        font-size: 15px !important;
    }

    .intro-card-box {
        margin: 6px !important;
        padding: 8px 10px !important;
    }

    .intro-card-title {
        font-size: 14px !important;
        font-weight: 700 !important;
    }

    .intro-desc-text {
        font-size: 12.5px !important;
        padding: 4px 8px !important;
    }

    .sky-blue-header-bar,
    .section-sky-bar,
    .section-dark-bar,
    .post-title-bar {
        font-size: 17.5px !important;
        font-weight: 700 !important;
        padding: 6px 10px !important;
    }

    .movie-row-item {
        padding: 8px 10px !important;
        gap: 12px !important;
    }

    .movie-row-poster {
        width: 62px !important;
        height: 78px !important;
        min-width: 62px !important;
        border-radius: 4px !important;
    }

    .movie-row-title {
        font-size: 16.5px !important;
        line-height: 1.35 !important;
        font-weight: 700 !important;
    }

    .capsule-badge {
        font-size: 12px !important;
        font-weight: 600 !important;
        padding: 3px 8px !important;
        border-radius: 4px !important;
    }

    .post-content {
        padding: 8px 10px !important;
        font-size: 15.5px !important;
        line-height: 1.55 !important;
    }

    .post-content p,
    .post-content span,
    .post-content li {
        font-size: 15.5px !important;
        line-height: 1.55 !important;
    }

    .post-content strong,
    .post-content b {
        font-size: 15.5px !important;
        font-weight: 700 !important;
    }

    .file-info-bar,
    .post-content h3,
    .post-content .section-dark-bar {
        font-size: 16px !important;
        font-weight: 700 !important;
        padding: 7px 10px !important;
    }

    .file-info-table td {
        font-size: 15px !important;
        line-height: 1.45 !important;
        padding: 6px 8px !important;
    }

    .file-info-table td.info-label {
        font-size: 15px !important;
        font-weight: 700 !important;
        width: 110px !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: 230px !important;
        max-height: 330px !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: 18px !important;
        height: 18px !important;
        max-width: 18px !important;
        max-height: 18px !important;
        margin: 0 6px 0 0 !important;
        display: inline-block !important;
        vertical-align: middle !important;
        border: none !important;
        box-shadow: none !important;
    }

    .post-content h4 {
        font-size: 15px !important;
        font-weight: 700 !important;
        margin: 8px 0 4px 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: 46px !important;
        min-height: 46px !important;
        padding: 0 10px !important;
        font-size: 14px !important;
        font-weight: 700 !important;
    }

    .footer-outline-buttons {
        gap: 6px !important;
        padding: 10px 4px !important;
    }

    .btn-outline-policy {
        font-size: 11.5px !important;
        font-weight: 600 !important;
        padding: 4px 8px !important;
    }
}

/* ==========================================================================
   POST CONTENT TYPOGRAPHY (EXACT LARGE READABLE TEXT MATCHING SCREENSHOT)
   ========================================================================== */
.post-title-bar {
    font-size: 16.5px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    padding: 8px 10px !important;
}

.post-content,
.post-content p,
.post-content span,
.post-content li,
.post-content div:not(.filmyfly-download-zone):not(.section-dark-bar):not(.file-info-bar) {
    font-size: 15.5px !important;
    line-height: 1.55 !important;
    color: #111111 !important;
}

.post-content strong,
.post-content b {
    font-size: 15.5px !important;
    font-weight: 700 !important;
    color: #000000 !important;
}

.file-info-bar,
.post-content h3,
.post-content .file-info-bar,
.post-content .section-dark-bar {
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 7px 10px !important;
}

.post-content .cv-card-box,
.post-content .cv-card-download-info {
    font-size: 15px !important;
    line-height: 1.5 !important;
    padding: 8px 12px !important;
}

@media screen and (max-width: 640px) {
    .post-title-bar {
        font-size: 17.5px !important;
        font-weight: 700 !important;
        line-height: 1.35 !important;
    }

    .post-content,
    .post-content p,
    .post-content span,
    .post-content li {
        font-size: 15.5px !important;
        line-height: 1.55 !important;
    }

    .post-content strong,
    .post-content b {
        font-size: 15.5px !important;
        font-weight: 700 !important;
    }

    .file-info-bar,
    .post-content h3,
    .post-content .section-dark-bar {
        font-size: 16px !important;
        font-weight: 700 !important;
    }
}

/* ========================================================
   POSTER BOTTOM WATERMARK (100% ISOLATED - ZERO EFFECT ON OTHER CSS)
   ======================================================== */
.single-movie-poster-wrap {
    position: relative !important;
}

.single .single-movie-poster-wrap::after,
body.single .single-movie-poster-wrap::after {
    /* 👇 Yahan double quotes " " ke andar aap apna watermark text direct badal sakte hain: */
    content: "FilmyFly.CA" !important;

    position: absolute !important;
    bottom: 20px !important;                /* Poster ke andar thoda upar */
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto !important;
    width: max-content !important;
    z-index: 99 !important;
    pointer-events: none !important;

    /* 4-Color Palette: Filmy (Blue), F (Red), ly (Yellow), .CA (Green) */
    background: linear-gradient(to right, #2952ff 0%, #2952ff 44%, #e50914 44%, #e50914 58%, #ffb300 58%, #ffb300 74%, #00e676 74%, #00e676 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;

    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif !important;
    font-size: 15.5px !important;           /* Chhota & sleek size */
    font-weight: 900 !important;            /* Full Heavy Bold */
    letter-spacing: 0.5px !important;
    text-align: center !important;
    line-height: 1 !important;
    filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.9)) drop-shadow(0px 0px 1px rgba(0, 0, 0, 0.8)) !important;
}

@media screen and (max-width: 480px) {
    .single .single-movie-poster-wrap::after,
    body.single .single-movie-poster-wrap::after {
        font-size: 15px !important;
        font-weight: 900 !important;
        bottom: 18px !important;
    }
}

.single-movie-poster-wrap::before,
body:not(:has(.single-movie-poster-wrap)) .post-content > p:first-of-type:has(> img)::before,
body:not(:has(.single-movie-poster-wrap)) .post-content > figure.wp-block-image:first-of-type::before {
    /* 👇 Yahan double quotes " " ke andar aap apna text direct badal sakte hain: */
    content: "📢 FilmyFly Official Site:- https://filmyFly.CA";

    display: block !important;
    color: #5a2484 !important;              /* Screenshot wala exact Deep Royal Purple */
    font-size: 15.5px !important;           /* Thoda bada & bold size */
    font-weight: 800 !important;            /* Extra Bold */
    text-align: center !important;
    white-space: nowrap !important;         /* 100% Ek hi single line me */
    line-height: 1.35 !important;
    letter-spacing: 0.4px !important;
    margin: 8px auto 8px auto !important;
    font-family: Arial, Helvetica, sans-serif !important;
}

@media screen and (max-width: 480px) {
    .single-movie-poster-wrap::before,
    body:not(:has(.single-movie-poster-wrap)) .post-content > p:first-of-type:has(> img)::before {
        font-size: 14.5px !important;       /* Mobile me bhi bada aur saaf */
        font-weight: 800 !important;
        letter-spacing: 0.2px !important;
    }
}

/* ========================================================
   SCREENSHOTS KE NICHE EDITABLE OFFICIAL SITE TEXT
   ======================================================== */
.single-screenshots-container::after,
.post-screenshots-wrapper::after,
.post-content .single-screenshots-container::after {
    /* 👇 Yahan double quotes " " ke andar aap apna domain text direct badal sakte hain: */
    content: "📢 FilmyFly Official Site:- https://filmyFly.CA";

    display: block !important;
    color: #5a2484 !important;              /* Screenshot wala exact Deep Royal Purple */
    font-size: 13.5px !important;
    font-weight: 700 !important;            /* Full Bold */
    text-align: center !important;
    white-space: nowrap !important;         /* 100% Ek hi single line me */
    line-height: 1.4 !important;
    letter-spacing: 0.3px !important;
    width: 98% !important;
    max-width: 650px !important;            /* Screenshots ki exact width ke barabar */
    margin: 8px auto 0 auto !important;
    font-family: Arial, Helvetica, sans-serif !important;
}

@media screen and (max-width: 480px) {
    .single-screenshots-container::after,
    .post-screenshots-wrapper::after {
        font-size: 13.5px !important;
        font-weight: 700 !important;
        letter-spacing: 0.2px !important;
    }
}

/* ========================================================
   REMOVE GAP BETWEEN SCREENSHOTS & RELATED MOVIES
   ======================================================== */
.post-content,
#singlePostContent,
.post-screenshots-wrapper,
.single-screenshots-container {
    padding-bottom: 0px !important;
    margin-bottom: 0px !important;
}

.single-screenshots-container::after,
.post-screenshots-wrapper::after,
.single-screenshots-container img:last-child,
.single-screenshots-container p:last-child,
.post-screenshots-wrapper p:last-child,
.post-screenshots-wrapper img:last-child,
.post-content > *:last-child {
    margin-bottom: 0px !important;
    padding-bottom: 0px !important;
}

.section-dark-bar:has(+ .movie-list-container),
.post-content + .section-dark-bar,
.post-content ~ .section-dark-bar:not(.dl-section-bar):not(.ss-section-bar):not(.storyline-bar),
.single-screenshots-container + .section-dark-bar {
    margin-top: 0px !important;
}

/* ========================================================
   1. HIDE INTRO PROMO BOX BEFORE FILE INFO
   ======================================================== */
.post-content .cv-card-download-info,
.post-content .cv-card-box {
    display: none !important;
}

/* ========================================================
   1.1 HIDE DUPLICATE FILE INFO & STORY / PLOT SECTION
   ======================================================== */
.post-content .file-info-bar,
.post-content .file-info-table,
.post-content .cv-movie-header,
.duplicate-file-info,
.storyline-bar,
.post-content .storyline-bar,
.section-dark-bar.storyline-bar,
.storyline-desc-text,
.post-content .storyline-desc-text,
.storyline-bar + p,
.storyline-bar + div,
.post-content .storyline-bar + p,
.post-content .storyline-bar + div {
    display: none !important;
}

/* ========================================================
   1.2 HIDE DUPLICATE SCREENSHOT BLUE BAR (Double Patti Hide)
   ======================================================== */
.ss-section-bar ~ .ss-section-bar,
.section-dark-bar.ss-section-bar ~ .section-dark-bar.ss-section-bar,
.post-screenshots-wrapper .ss-section-bar ~ .ss-section-bar,
.post-content .ss-section-bar ~ .ss-section-bar,
.post-content .ss-section-bar:nth-of-type(n+2),
.post-screenshots-wrapper .ss-section-bar:nth-of-type(n+2),
.single-screenshots-container .ss-section-bar:nth-of-type(n+2),
.post-content:has(.ss-section-bar) ~ .ss-section-bar,
.post-content:has(.post-screenshots-wrapper) ~ .ss-section-bar,
.ss-section-bar + .ss-section-bar {
    display: none !important;
}

/* ========================================================
   2. FILE INFO BAR (RED-TEXT ON LIGHT BLUE STRIP)
   ======================================================== */
.file-info-bar,
.post-content .file-info-bar,
.post-content h3:first-of-type,
.post-content .cv-movie-header h3 {
    background-color: #dbebf6 !important;
    border-top: 1px solid #bce1f5 !important;
    border-bottom: 1px solid #bce1f5 !important;
    color: #cc0000 !important;              /* Red bold text */
    font-size: 16px !important;
    font-weight: 700 !important;
    text-align: center !important;
    padding: 6px 10px !important;
    margin: 8px 0 !important;
    box-shadow: none !important;
}

/* ========================================================
   3. FILE INFO TABLE & MULTI-COLOR DETAILS (1:1 SCREENSHOT)
   ======================================================== */
.file-info-table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 4px 0 10px 0 !important;
    background: #ffffff !important;
}

.file-info-table tr {
    border-bottom: 1px solid #e0e0e0 !important;
}

.file-info-table td {
    padding: 5px 8px !important;
    font-size: 13.5px !important;
    line-height: 1.4 !important;
    vertical-align: top !important;
}

.file-info-table td.info-label {
    font-weight: 700 !important;
    color: #000000 !important;             /* Black bold label */
    width: 110px !important;
    white-space: nowrap !important;
}

.file-info-table .val-name {
    color: #cc0000 !important;             /* 1. Name: Red */
    font-weight: 700 !important;
}

.file-info-table .val-genre {
    color: #a0522d !important;             /* 2. Genre: Orange-Brown */
    font-weight: 600 !important;
}

.file-info-table .val-duration {
    color: #008000 !important;             /* 3. Duration: Green */
    font-weight: 700 !important;
}

.file-info-table .val-release {
    color: #0000cd !important;             /* 4. Release Date: Blue */
    font-weight: 700 !important;
}

.file-info-table .val-language {
    color: #008080 !important;             /* 5. Language: Teal */
    font-weight: 700 !important;
}

.file-info-table .val-starcast,
.file-info-table .val-cast {
    color: #8b0000 !important;             /* 6. Starcast: Dark Red / Maroon */
    font-weight: 600 !important;
}

.file-info-table .val-size {
    color: #800080 !important;             /* 7. Size: Purple */
    font-weight: 700 !important;
}

.file-info-table .val-desc {
    color: #6a0dad !important;             /* 8. Description: Violet */
    font-weight: 600 !important;
}

/* Also style raw cv-movie-details lines if HTML format */
.cv-movie-details strong {
    color: #000000 !important;
    font-weight: 700 !important;
}
