/*
Theme Name: Decorator Child
Template: decorator
Version: 1.0.0
*/
@import url("https://fonts.googleapis.com/css?family=Roboto&display=swap");

* {
    outline: none;
}
body {
    margin: 0;
    padding: 0;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
    font:
        13px/22px "Roboto",
        sans-serif;
    color: #362b21;
    background-color: #f1f1f1;
}
img {
    margin: 0;
    padding: 0;
    border: none;
    max-width: 100%;
    height: auto;
}
section img {
    max-width: 100%;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
    font-family: "Roboto", sans-serif;
    line-height: normal;
    color: #362b21;
}
p {
    margin: 0;
    padding: 0;
}
a {
    text-decoration: none;
    color: #0fa5d9;
}
a:hover {
    text-decoration: none;
    color: #666;
}
ul {
    margin: 0 0 0 15px;
    padding: 0;
}
.clear {
    clear: both;
}
.center {
    text-align: center;
    margin-bottom: 40px;
}
pre {
    border: 1px solid #d1d1d1;
    font-size: 1rem;
    line-height: 1.3125;
    margin: 0 0 1.75em;
    max-width: 100%;
    overflow: auto;
    overflow-wrap: break-word;
    padding: 1.75em;
    white-space: pre-wrap;
}
.middle-align {
    margin: 0 auto;
    padding: 0;
}
.wp-caption {
    margin: 0;
    padding: 0;
    font-size: 13px;
    max-width: 100%;
}
.wp-caption-text {
    margin: 0;
    padding: 0;
}
.sticky {
    margin: 0;
    padding: 0;
}
.screen-reader-text,
.bypostauthor,
.gallery-caption {
    margin: 0;
    padding: 0;
}
.alignleft,
img.alignleft {
    display: inline;
    float: left;
    margin-right: 45px;
    margin-top: 4px;
    margin-bottom: 20px;
    padding: 0;
}
.alignright,
img.alignright {
    display: inline;
    float: right;
}
.aligncenter,
img.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
}
.comment-list .comment-content ul {
    list-style: none;
    margin-left: 15px;
}
.comment-list .comment-content ul li {
    margin: 5px;
}
.main-container ol {
    list-style-position: outside;
}
.main-container ol li {
    margin: 5px 0;
}
.toggleMenu {
    display: none;
}
section {
    padding: 0;
    position: relative;
}
h2.section-title {
    font-family: "Roboto", sans-serif;
    font-size: 33px;
    font-weight: 700;
    padding: 0 0 20px 0;
    text-align: center;
    text-transform: capitalize;
    display: table;
    margin-bottom: 50px;
    color: #4d4d4b;
}

/* = Top Header css
-------------------------------------------------------------- */
.top-header {
    background-color: #362b21;
    color: #ffffff;
    line-height: 55px;
    position: relative;
    overflow: hidden;
}
.top-header a {
    color: #ffffff;
}
.top-left {
    float: left;
}
.top-left ul {
    margin: 0 !important;
}
.top-left li {
    display: inline-block;
    padding: 0;
}
.top-left li i {
    margin-right: 8px;
    color: #ffffff;
}
.top-right {
    float: right;
}
.top-right .phone {
    float: right;
    padding: 0;
    position: relative;
}
.top-right .phone i {
    font-size: 18px;
    margin-right: 5px;
    position: relative;
    top: 2px;
}
.top-right .social-icons {
    float: right;
    border-left: 1px solid #464646;
}

#slider {
    margin: 0 auto;
    padding: 0;
    position: relative;
}
#slider .top-bar {
    margin: 0;
    padding: 16px 0 20px;
    position: relative;
}
#slider .top-bar h2 {
    font:
        700 45px "Roboto",
        sans-serif;
    padding: 25px 0 5px 0;
    text-transform: uppercase;
    line-height: 55px;
    text-shadow: 5px 1px 6px #000000;
}
#slider .top-bar h2 a {
    color: #ffffff;
}
#slider .top-bar h2 a:hover {
    color: #ffffff;
}
#slider .top-bar p {
    color: #ffffff;
    margin: 0 0 10px 0;
    padding: 5px 0 25px;
    border-radius: 0 0 5px 5px;
    font:
        400 14px/25px "Roboto",
        sans-serif;
}
.main-container {
    margin: 0;
    padding: 0;
}
.container {
    width: 1160px;
    margin: 0 auto;
    padding: 0;
    position: relative;
}
.header .header-inner .logo {
    margin: 4px 0 0;
    padding: 0;
}
.header .header-inner .logo h1 {
    font-weight: 700;
    padding: 0;
    font-size: 30px;
}
.header .header-inner .logo a {
    font-family: "Roboto", sans-serif;
}
.header .header-inner .logo p {
    font-size: 13px;
    font-family: "Roboto", sans-serif;
    color: #ffffff;
    line-height: normal;
}
.toggle {
    display: none;
}
.header {
    width: 100%;
    position: relative;
    background-color: #263247;
    padding: 0;
}
.header-inner {
    width: 1160px;
    margin: 0 auto;
    position: relative;
}

/* = Navigation css
-------------------------------------------------------------- */
.toggle {
    display: block;
}
.toggle a {
    width: auto;
    color: #ffffff;
    background: url(images/mobile_nav_right.png) no-repeat right center #0e2d45;
    padding: 10px 25px;
    margin-top: 5px;
    font-size: 16px;
    text-align: left;
}
.toggle a:hover {
    color: #ffffff !important;
}
.sitenav {
    position: relative;
    z-index: 9999;
    float: left;
}
.sitenav ul {
    margin: 0;
    padding: 0;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}
.sitenav ul li {
    display: table-cell;
    position: relative;
    line-height: normal;
}
.sitenav ul li a {
    padding: 35px 14px;
    display: block;
    text-align: center;
    color: #ffffff;
    position: relative;
    transition: 0.5s all;
}
.sitenav ul li a:hover {
    color: #000000;
}

/* = Navigation hover and active menu css
-------------------------------------------------------------- */
.header_right {
    float: right;
}

/* = Navigation 2nd level css
-------------------------------------------------------------- */
.sitenav ul li ul {
    display: none;
    z-index: 9999;
    position: relative;
    background-color: #ffae00;
}
.sitenav ul li:hover > ul {
    display: block;
    width: 200px;
    position: absolute;
    left: 0px;
    top: 89px;
    text-align: left;
    -moz-animation: fadeInUp 0.3s ease-in-out;
    -webkit-animation: fadeInUp 0.3s ease-in-out;
    animation: fadeInUp 0.3s ease-in-out;
}
.sitenav ul li ul li {
    display: block;
    position: relative;
    float: none;
    top: 1px;
    line-height: 18px;
    margin-left: 0;
}
.sitenav ul li ul li a {
    display: block;
    padding: 10px;
    position: relative;
    top: 0;
    text-align: left;
}

/* = Navigation 3rd level css
-------------------------------------------------------------- */
.sitenav ul li:hover ul li:hover > ul {
    display: block;
    position: absolute;
    left: 200px;
    top: -1px;
    -moz-animation: fadeInRight 0.3s ease-in-out;
    -webkit-animation: fadeInRight 0.3s ease-in-out;
    animation: fadeInRight 0.3s ease-in-out;
}
@media screen and (min-width: 1000px) {
    .header .header-inner .logo {
        float: left;
    }
}

/* = section first css
-------------------------------------------------------------- */
section#pagearea {
    width: 100%;
    position: relative;
    min-height: 270px;
}
.pagearea-inner {
    z-index: 99;
    width: 100%;
    margin-top: 50px;
}
.fourbox {
    padding: 0px;
    width: 30.6%;
    float: left;
    margin: 0 30px 20px 0;
    text-align: center;
    position: relative;
    box-sizing: border-box;
    border-bottom: 4px solid #ffae00;
    color: #fdf5ec;
    background-color: #362b21;
}
.fourbox:hover {
    cursor: pointer;
}
.fourbox p {
    line-height: 20px;
    font-size: 13px;
}
.fourbox h3 {
    font-weight: 400;
    color: #ffffff;
    margin: 0px;
    padding-bottom: 10px;
    text-transform: uppercase;
    display: inline-block;
    position: relative;
    line-height: 25px;
}
a.pagemore {
    color: #787878;
    padding: 10px 25px;
    display: inline-block;
    font:
        400 13px "Roboto",
        sans-serif;
    text-transform: capitalize;
    transition: all 0.5s ease 0s;
    -o-transition: all 0.5s ease 0s;
    -moz-transition: all 0.5s ease 0s;
    -webkit-transition: all 0.5s ease 0s;
    background-color: #151515;
    border-radius: 5px;
}
.fourbox .thumbbx {
    overflow: hidden;
    text-align: center;
    width: 100%;
    height: 215px;
}
.fourbox .thumbbx img {
    width: auto;
    min-height: 215px;
}
.fourbox .fourbxcontent {
    padding: 20px 10px;
    border-top: 1px solid #ffffff;
}
.fourbox:hover .fourbxcontent {
    background-color: #ffae00;
    transition: all 0.5s ease 0s;
    -o-transition: all 0.5s ease 0s;
    -moz-transition: all 0.5s ease 0s;
    -webkit-transition: all 0.5s ease 0s;
}
.fourbox:hover a.pagemore {
    color: #ffffff;
    background-color: #ffae00;
}

/* --------- Pages ------- */

.content-area {
    box-sizing: border-box;
    width: 1160px;
    margin: 0 auto;
    padding: 20px;
    min-height: calc(100vh - 379px);
}
.site-main {
    width: 800px;
    margin: 0;
    padding: 0;
    float: left;
}
#sitefull {
    width: auto !important;
}
#nosidebar {
    width: 80%;
    margin: 0 auto;
    float: none;
    text-align: center;
}
#sidebar {
    width: 270px;
    margin: 0;
    padding: 0;
    float: right;
}
/* -------- Footer ------- */

.footer {
    width: 100%;
}

.footer_carousel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.footer_carousel h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.wpcp-wrapper-109 {
    width: 100%;
}

#sp-wp-carousel-free-id-109.sp-wpcp-109 .wpcp-single-item {
    border: none !important;
}

.copyright-wrapper {
    margin: 0;
    text-align: center;
    padding: 15px 0;
    color: #ffffff;
    background-color: #2b2b2b;
}
.copyright-wrapper a {
    color: #ffffff;
}
/* ------ Contact Form ------ */

.wpcf7 {
    margin: 0;
    padding: 0;
    font:
        400 15px "Roboto",
        sans-serif;
    color: #ffffff;
}
.wpcf7 form {
    margin: 0;
    padding: 0;
}
.wpcf7 form span.last {
    float: none !important;
}
.wpcf7 form input[type="text"],
.wpcf7 form input[type="email"],
.wpcf7 form input[type="tel"],
.wpcf7 form input[type="url"],
.wpcf7 form input[type="date"],
.wpcf7 form select,
.leftdiv input[type="text"],
.leftdiv input [type="url"],
.leftdiv input[type="email"],
.leftdiv input[type="tel"],
.wpcf7 form textarea,
.rightdiv textarea {
    width: 94%;
    background-color: #f8f8f8;
    border: 1px solid #e6e5e5;
    padding: 10px;
    margin-top: 15px;
    font:
        400 14px "Roboto",
        sans-serif;
    color: #777777;
}
.wpcf7 form textarea,
.rightdiv textarea {
    height: 128px;
}
.wpcf7 form input[type="checkbox"],
.wpcf7 form input[type="radio"],
.wpcf7 form input[type="file"] {
    margin-top: 10px;
    padding: 0;
}
span.wpcf7-list-item {
    margin: 0 15px 0 0 !important;
}
.wpcf7 form input[type="submit"],
#contact input[type="submit"] {
    font:
        400 15px "Roboto",
        sans-serif;
    margin: 25px 0 0 0;
    padding: 10px 30px;
    border: none;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -o-border-radius: 4px;
    -webkit-border-radius: 4px;
    cursor: pointer;
    background-color: #000000;
    color: #ffffff;
}
.error_msg {
    padding: 10px;
    background: #ffd3ce;
    color: #e00;
    border: 1px #e00 solid;
    margin: 15px 0;
}
.success_msg {
    padding: 10px;
    background: #dcffc5;
    color: #070;
    border: 1px #070 solid;
    margin: 15px 0;
}
.spacer20 {
    height: 20px;
    clear: both;
}
.nav-links {
    display: table;
    clear: both;
    margin: 15px 0;
    width: 100%;
}
.nav-previous {
    float: left;
}
.nav-next {
    float: right;
}
.nav-links a,
.nav-links .page-numbers {
    background: #2e2e2e;
    color: #fff;
    padding: 5px 10px;
    display: inline-block;
}
.nav-links .current,
.nav-links a:hover {
    background: #ee6133;
}
h1.entry-title,
h1.page-title {
    padding-bottom: 20px;
    font-size: 35px;
}
article.tag-sticky-2 {
    background: #f6f6f6;
    padding: 10px;
}
article img {
    height: auto;
}
article p {
    margin: 10px 0;
}
.post-date {
    display: inline;
}
.post-comment {
    display: inline;
}
.post-categories {
    display: inline;
}
.post-tags {
    display: inline;
}
.post-thumb,
.postmeta {
    margin-top: 10px;
}
form.search-form {
    margin-bottom: 15px;
}
input.search-field,
.post-password-form input[type="password"] {
    border: 1px #eee solid;
    padding: 4px;
}
input.search-submit,
.post-password-form input[type="submit"] {
    border: none;
    color: #ffffff;
    padding: 4px 10px;
    cursor: pointer;
}
aside.widget {
    margin-bottom: 30px;
}
aside.widget ul {
    list-style: disc;
    margin-left: 13px;
}
.accordion-box h2.active {
    color: #ff8a00;
}
.webicon {
    font-size: 20px;
}
#sidebar ul li {
    margin: 5px 0;
}
.comment-list,
ol.comment-list {
    list-style: none;
    margin-left: 0;
    margin-top: 20px;
    margin-bottom: 20px;
    padding-left: 0;
}
.comment-list ul,
ol.comment-list ul {
    list-style: none;
}
.comment-list li.comment {
    margin-top: 20px;
}
.comment-list .comment-content h1,
.comment-list .comment-content h2,
.comment-list .comment-content h3,
.comment-list .comment-content h4,
.comment-list .comment-content h5,
.comment-list .comment-content h6 {
    margin-top: 15px;
}
ol.comment-list li ol {
    list-style: none;
}
h3.widget-title {
    font-size: 18px;
    border-bottom: 1px solid #cccccc;
    padding-bottom: 15px;
    margin-bottom: 15px;
}
.blog-post-repeat {
    border-bottom: 1px solid #cccccc;
    margin-bottom: 40px;
}
a.blogthumbs img {
    width: 100%;
}
#wp-calendar td {
    padding: 9px;
}
.textwidget select {
    border: 1px solid #ccc;
    height: 30px;
    width: 100%;
}
/*------- COMMENT STYLES --------*/

.comment-author.vcard {
    display: inline-block;
    margin-right: 15px;
}
.comment-author img {
    display: block;
}
.comment-meta {
    margin: 5px 0;
}
.comment-list ol.children li.comment {
    background-image: none;
    padding-left: 5px;
}
.hrule {
    border-top: 1px #dbdbdb solid;
    margin-top: 15px;
    padding-bottom: 15px;
}
ol.commentlist {
    list-style: none;
}
#commentform p {
    margin: 5px 0;
}
#commentform label {
    display: block;
}
#commentform input#email,
#commentform input#url,
#commentform input#author,
#commentform textarea,
#commentform input#eazycfc_captcha {
    max-width: 96%;
    border: 1px #ccc solid;
    padding: 5px 2%;
}
#commentform input#submit {
    font:
        400 15px "Roboto",
        sans-serif;
    border: none;
    padding: 5px 10px;
    color: #fff;
    display: inline-block;
}
#commentform input#submit:hover {
    cursor: pointer;
}

/* = Updated Post Card Styles (Orange Frame Design)
-------------------------------------------------------------- */
.posts-grid, .wd-grid-container {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 20px;
    margin-top: 20px;
}

.wd-post-card {
    position: relative;
    width: calc(33.333% - 14px);
    overflow: hidden;
    background-color: #ffae00; /* Theme Orange Background */
    padding: 10px; /* Frame thickness */
    border-radius: 20px; /* Rounded corners for the frame */
    transition: transform 0.3s ease;
    cursor: pointer;
    margin-bottom: 20px;
    box-sizing: border-box;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
    .wd-post-card {
        width: calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .wd-post-card {
        width: 100%;
    }
}

.wd-post-card .wd-card-link {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}

.wd-post-card .wd-image-wrapper {
    position: relative;
    overflow: hidden;
    width: 100% !important;
    aspect-ratio: 3/4 !important;
    line-height: 0;
    border-radius: 15px;
}

.wd-post-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.5s ease;
    display: block;
    border-radius: 15px;
}

/* Hover Effect: Zoom Image */
.wd-post-card:hover img {
    transform: scale(1.1);
}

/* Overlay / Button Wrapper */
.wd-post-card .wd-overlay {
    position: absolute;
    top: 20px; /* Position at top like in screenshot */
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align to top */
    pointer-events: none; 
    z-index: 2;
}

/* Button style for the title */
.wd-post-card .wd-title-btn {
    display: inline-block;
    padding: 8px 20px;
    background-color: #ffae00; /* Match frame color */
    color: #362b21; /* Dark text */
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-weight: 700; /* Bold text */
    text-transform: uppercase;
    text-align: center;
    border-radius: 8px; /* Slightly rounded button */
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    pointer-events: auto;
    /* Always visible to match screenshot */
    opacity: 1; 
    transform: translateY(0); 
    border: 1px solid rgba(0,0,0,0.05);
}

/* Optional: Slight lift on hover for the button */
.wd-post-card:hover .wd-title-btn {
    background-color: #ffc133; /* Lighter orange on hover */
}

/* Force 3 columns for wd-grid-container everywhere */
.wd-grid-container {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    width: 100% !important;
}

.wd-grid-container .wd-post-card {
    width: calc(33.333% - 14px) !important;
    flex: 0 0 calc(33.333% - 14px) !important;
}

@media (max-width: 900px) {
    .wd-grid-container .wd-post-card {
        width: calc(50% - 10px) !important;
        flex: 0 0 calc(50% - 10px) !important;
    }
}

@media (max-width: 560px) {
    .wd-grid-container .wd-post-card {
        width: 100% !important;
        flex: 0 0 100% !important;
    }
}

/* Override parent theme's .blog #sitemain grid */
.blog #sitemain,
.blog #sitemain.posts-grid,
#sitemain.posts-grid {
    display: block !important;
    grid-template-columns: none !important;
}

.form-allowed-tags {
    display: none;
}
ul.errormsg {
    background: #ffe4e4;
}
ul.errormsg li {
    padding: 5px;
}
.entry-content table,
.comment-body table {
    border-collapse: collapse;
    margin: 10px 0;
}
.entry-content table td,
.entry-content table th,
.comment-body table td,
.comment-body table th {
    padding: 10px 5px;
    text-align: left;
}
.entry-content table th,
.comment-body table th {
    color: #676767;
    font: normal 18px Oswald;
    border-bottom: 1px #888 solid;
}
.entry-content table td,
.comment-body table td {
    border-bottom: 1px #ccc solid;
}
.fvch-codeblock:hover .comment-form-url {
    display: block !important;
}
footer.entry-meta {
    clear: left;
}

.contact-column {
    flex-basis: calc(30% - 16px);
}

.contact-map {
    flex-basis: calc(70% - 16px);
}

.n2-section-smartslider {
    margin-bottom: 30px;
}

/* ================================================
   NETFLIX STYLE GRID - Posts Archive
   ================================================ */

/* Netflix section dark background */
.netflix-posts-section {
    background-color: #fff;
    padding: 0;
}

.netflix-posts-section .content-area {
    background: transparent;
    max-width: 1400px;
    width: 100%;
    padding: 40px 20px;
}

.netflix-posts-section .middle-align {
    max-width: 100%;
}

/* Grid container - disabled grid for #sitemain, let .wd-grid-container handle layout */
#sitemain.posts-grid {
    display: block;
    padding: 20px 0;
}

.posts-category-shortcode {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 20px 0;
}

/* Netflix Card Base */
.netflix-card {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
    transition:
        transform 0.3s ease,
        z-index 0s 0.3s,
        box-shadow 0.3s ease;
    z-index: 1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
}

.netflix-card article {
    height: 100%;
}

.netflix-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

/* Image container */
.netflix-card-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #222;
}

.netflix-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.netflix-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #333 0%, #1a1a1a 100%);
}

/* Overlay - hidden by default */
.netflix-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    opacity: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Category badge */
.netflix-card-category {
    display: inline-block;
    padding: 4px 10px;
    background: #fcb900;
    color: #000;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 3px;
    margin-bottom: 8px;
}

/* Title */
.netflix-card-title {
    margin: 0 0 10px 0;
    padding: 0;
    color: #333;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: none;
}

/* Meta info */
.netflix-card-meta {
    margin-bottom: 8px;
}

.netflix-card-date {
    color: #999;
    font-size: 11px;
}

/* Excerpt */
.netflix-card-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Button */
.netflix-card-button {
    display: inline-block;
    padding: 8px 16px;
    background: #fcb900;
    color: #000;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

/* ================================================
   NETFLIX HOVER EFFECTS - Desktop Only
   ================================================ */
@media (hover: hover) and (min-width: 768px) {
    .netflix-card:hover {
        transform: scale(1.15);
        z-index: 10;
        transition:
            transform 0.3s ease,
            z-index 0s,
            box-shadow 0.3s ease;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    }

    .netflix-card:hover .netflix-card-image img {
        transform: scale(1.05);
    }

    .netflix-card:hover .netflix-card-overlay {
        transform: translateY(0);
    }

    .netflix-card:hover .netflix-card-button:hover {
        background: #e5a800;
        transform: translateY(-2px);
    }
}

/* Static title visible always on desktop */
@media (min-width: 768px) {
    .netflix-card::after {
        content: attr(data-title);
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 40px 15px 15px;
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.9) 0%,
            transparent 100%
        );
        color: #fff;
        font-size: 13px;
        font-weight: 600;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .netflix-card:hover::after {
        opacity: 0;
    }
}

/* ================================================
   NETFLIX MOBILE STYLES - Always visible info
   ================================================ */
@media screen and (max-width: 767px) {
    #sitemain.posts-grid,
    .posts-category-shortcode {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .netflix-card {
        border-radius: 4px;
    }

    .netflix-card-image {
        aspect-ratio: 4/3;
    }

    .netflix-card-overlay {
        position: relative;
        transform: none;
        opacity: 1;
        padding: 12px;
        background: #1a1a1a;
    }

    .netflix-card-category {
        font-size: 9px;
        padding: 3px 8px;
        margin-bottom: 6px;
    }

    .netflix-card-title {
        font-size: 13px;
        margin-bottom: 4px;
    }

    .netflix-card-meta {
        margin-bottom: 6px;
    }

    .netflix-card-date {
        font-size: 10px;
    }

    .netflix-card-excerpt {
        display: none;
    }

    .netflix-card-button {
        width: 100%;
        text-align: center;
        padding: 10px;
        font-size: 11px;
    }
}

@media screen and (max-width: 479px) {
    #sitemain.posts-grid,
    .posts-category-shortcode {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .netflix-card-image {
        aspect-ratio: 16/9;
    }

    .netflix-card-title {
        font-size: 15px;
    }

    .netflix-card-excerpt {
        display: block;
        -webkit-line-clamp: 2;
    }
}

/* Pagination styling - Netflix theme */
.netflix-posts-section .nav-links {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 30px;
}

.netflix-posts-section .nav-links a,
.netflix-posts-section .nav-links .page-numbers {
    background: #333;
    color: #fff;
    border: none;
}

.netflix-posts-section .nav-links .current,
.netflix-posts-section .nav-links a:hover {
    background: #fcb900;
    color: #000;
}

/* Archive page header in grid */
.page-header {
    grid-column: 1 / -1;
    margin-bottom: 20px;
}

.netflix-posts-section .page-header h1 {
    color: #fff;
}

/* ================================================
   END NETFLIX STYLE GRID
   ================================================ */

/* own styles */

.entry-title a {
    font-size: 25px;
}
.entry-summary p,
.entry-content {
    font-size: 14px;
}

.contact-column p {
    font-size: 16px;
}

.contact-column a {
    color: #fd7f20;
}

.contact-column a:hover {
    color: #666;
}

.sitenav {
    display: flex;
}

/* ================================================
   CATEGORY TABS STYLES - Netflix Theme
   ================================================ */

.category-tabs-wrapper {
    margin-bottom: 20px;
    padding: 0;
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0 0 15px 0;
    border-bottom: 1px solid #eee;
}

.category-tab {
    margin: 0;
    padding: 0;
}

.category-tab-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    border: 1px solid #ddd;
    border-radius: 20px;
    color: #555;
    font-family: "Roboto", sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

.category-tab-btn:hover {
    background-color: rgba(252, 185, 0, 0.2);
    border-color: #fcb900;
    color: #fcb900;
}

.category-tab.active .category-tab-btn {
    background-color: #fcb900;
    border-color: #fcb900;
    color: #000;
}

.category-tab-btn:focus {
    outline: 2px solid #fcb900;
    outline-offset: 2px;
}

/* Loading state */
.posts-grid.loading {
    opacity: 0.5;
    pointer-events: none;
    position: relative;
    min-height: 300px;
}

.posts-grid.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    margin: -25px 0 0 -25px;
    border: 3px solid #333;
    border-top: 3px solid #fcb900;
    border-radius: 50%;
    animation: netflix-spin 0.8s linear infinite;
}

@keyframes netflix-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* No posts found */
.posts-category-shortcode .no-posts-found,
.posts-grid .no-posts-found {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 16px;
}

/* Responsive tabs */
@media screen and (max-width: 767px) {
    .category-tabs {
        gap: 6px;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 12px;
        -webkit-overflow-scrolling: touch;
    }

    .category-tab {
        flex-shrink: 0;
    }

    .category-tab-btn {
        padding: 8px 16px;
        font-size: 12px;
        white-space: nowrap;
    }
}

@media screen and (max-width: 479px) {
    .category-tab-btn {
        padding: 6px 14px;
        font-size: 11px;
        border-radius: 15px;
    }
}

/* ================================================
   END CATEGORY TABS STYLES
   ================================================ */

/* ================================================
   BEFORE/AFTER COMPARISON SLIDER
   ================================================ */

.wd-comparison {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 30px auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.wd-comparison-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
}

.wd-img-before,
.wd-img-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    pointer-events: none;
}

.wd-img-after {
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}

.wd-slider {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: transparent;
    cursor: ew-resize;
    z-index: 10;
    transform: translateX(-50%);
}

.wd-slider-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #fcb900;
    transform: translateX(-50%);
    box-shadow: 0 0 8px rgba(252, 185, 0, 0.6);
}

.wd-slider-knob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: #fcb900;
    border: 3px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #000;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    user-select: none;
}

/* ================================================
   POST THUMBNAIL (MATCHING COMPARISON STYLE)
   ================================================ */

.post-thumb {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 30px auto;
    overflow: hidden;
    border-radius: 8px; /* Match .wd-comparison */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); /* Match .wd-comparison */
}

/* Force standard WordPress featured image to behave like the comparison wrapper */
.post-thumb img {
    display: block;
    width: 100%;
    height: auto;
    /* Simulate the 16:9 aspect ratio wrapper if desired, or just let height be auto but constrained */
    /* .wd-comparison-wrapper has padding-bottom: 56.25%; which is 16:9 */
    /* To ensure EXACT match in size, we might need to object-fit cover it inside a ratio box */
}

/* If the user wants exact 16:9 ratio match: */
.post-thumb {
    aspect-ratio: 16/9;
}

.post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================================================
   GALLERY RESPONSIVE
   ================================================ */

.wd-gallery,
.wp-block-gallery {
    display: grid !important; /* Force grid over WP flex */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px !important;
    margin: 40px auto;
    padding: 20px;
    max-width: 1200px;
}

.wd-gallery img,
.wp-block-gallery .wp-block-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 6px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.wp-block-gallery .wp-block-image {
    margin: 0 !important; /* Reset default WP margins */
    width: 100% !important; /* Reset default WP widths */
}

/* Reset figure in block gallery to behave nicely */
.wp-block-gallery figure.wp-block-image {
    display: block;
}

.wd-gallery img:hover,
.wp-block-gallery .wp-block-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(252, 185, 0, 0.4);
}

/* ================================================
   LIGHTBOX STYLES
   ================================================ */

.wd-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.wd-lightbox.wd-active {
    display: flex;
}

.wd-lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.wd-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s ease;
    user-select: none;
}

.wd-lightbox-close:hover {
    color: #fcb900;
}

.wd-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    padding: 20px;
    user-select: none;
    transition: color 0.3s ease;
    z-index: 10000;
}

.wd-lightbox-nav:hover {
    color: #fcb900;
}

.wd-lightbox-prev {
    left: 20px;
}

.wd-lightbox-next {
    right: 20px;
}

/* ================================================
   RESPONSIVE BREAKPOINTS
   ================================================ */

@media screen and (max-width: 979px) {
    .wd-comparison {
        margin: 20px auto;
    }

    .wd-gallery,
    .wp-block-gallery {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 12px !important;
        padding: 15px;
    }

    .wd-gallery img,
    .wp-block-gallery .wp-block-image img {
        height: 200px;
    }

    .wd-slider-knob {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .wd-lightbox-close {
        font-size: 35px;
        top: 15px;
        right: 20px;
    }

    .wd-lightbox-nav {
        font-size: 40px;
        padding: 15px;
    }

    .wd-lightbox-prev {
        left: 10px;
    }

    .wd-lightbox-next {
        right: 10px;
    }
}

@media screen and (max-width: 767px) {
    .wd-comparison {
        margin: 15px auto;
        border-radius: 6px;
    }

    .wd-comparison-wrapper {
        padding-bottom: 75%;
    }

    .wd-gallery,
    .wp-block-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px !important;
        padding: 10px;
    }

    .wd-gallery img,
    .wp-block-gallery .wp-block-image img {
        height: 150px;
        border-radius: 4px;
    }

    .wd-slider-knob {
        width: 35px;
        height: 35px;
        font-size: 14px;
        border-width: 2px;
    }

    .wd-lightbox-close {
        font-size: 30px;
        top: 10px;
        right: 15px;
    }

    .wd-lightbox-nav {
        font-size: 35px;
        padding: 10px;
    }
}

@media screen and (max-width: 479px) {
    .wd-comparison {
        margin: 10px 0;
        border-radius: 4px;
    }

    .wd-comparison-wrapper {
        padding-bottom: 100%;
    }

    .wd-gallery,
    .wp-block-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px !important;
        padding: 8px;
    }

    .wd-gallery img,
    .wp-block-gallery .wp-block-image img {
        height: 120px;
    }

    .wd-slider-knob {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .wd-slider {
        width: 6px;
    }

    .wd-lightbox-close {
        font-size: 28px;
        top: 10px;
        right: 10px;
    }

    .wd-lightbox-nav {
        font-size: 30px;
        padding: 8px;
    }

    .wd-lightbox img {
        max-width: 95%;
        max-height: 95%;
    }
}

/* ================================================
   END BEFORE/AFTER & GALLERY STYLES
   ================================================ */

/* = Updated Post Card Styles (Orange Frame Design)
-------------------------------------------------------------- */
.posts-grid, .wd-grid-container {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 20px;
    margin-top: 20px;
}

.wd-post-card {
    position: relative;
    width: calc(33.333% - 14px);
    overflow: hidden;
    background-color: #ffae00; /* Theme Orange Background */
    padding: 10px; /* Frame thickness */
    border-radius: 20px; /* Rounded corners for the frame */
    transition: transform 0.3s ease;
    cursor: pointer;
    margin-bottom: 20px;
    box-sizing: border-box;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

@media (max-width: 1024px) {
    .wd-post-card {
        width: calc(50% - 10px);
    }
}

@media (max-width: 600px) {
    .wd-post-card {
        width: 100%;
    }
}

.wd-post-card .wd-card-link {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}

.wd-post-card .wd-image-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    /* Aspect ratio styling */
    aspect-ratio: 3/4; 
    line-height: 0;
    border-radius: 15px; /* Inner rounding for image */
}

.wd-post-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
    border-radius: 15px;
}

/* Hover Effect: Zoom Image */
.wd-post-card:hover img {
    transform: scale(1.1);
}

/* Overlay / Button Wrapper */
.wd-post-card .wd-overlay {
    position: absolute;
    top: 20px; /* Position at top like in screenshot */
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align to top */
    pointer-events: none; 
    z-index: 2;
}

/* Button style for the title */
.wd-post-card .wd-title-btn {
    display: inline-block;
    padding: 8px 20px;
    background-color: #ffae00; /* Match frame color */
    color: #362b21; /* Dark text */
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-weight: 700; /* Bold text */
    text-transform: uppercase;
    text-align: center;
    border-radius: 8px; /* Slightly rounded button */
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    pointer-events: auto;
    /* Always visible to match screenshot */
    opacity: 1; 
    transform: translateY(0); 
    border: 1px solid rgba(0,0,0,0.05);
}

/* Optional: Slight lift on hover for the button */
.wd-post-card:hover .wd-title-btn {
    background-color: #ffc133; /* Lighter orange on hover */
}

/* Override parent theme's .blog img max-height - ONLY for post grids */
.blog .wd-grid-container img,
.blog .wd-grid-container .wd-post-card img,
.wd-grid-container .wd-post-card img {
    max-height: none !important;
}
