/*
Theme Name: Guardian Theme
Theme URI: https://caparisoft.com
Author: Caparisoft
Author URI: https://caparisoft.com
Description: Guardian-PPF theme prepared by Caparisoft.
Version: 1.0.1
Text Domain: guardian-theme
*/

/* =========================================
   1. Variables & Reset
   ========================================= */
:root {
    --theme-black: #000000;
    --theme-yellow: #fecb00;
    --theme-dark-gray: #1a1a1a;
    --theme-light-gray: #f2f2f2;
    --text-body: #1a1a1a;
    --text-white: #ffffff;
    --font-heading: 'Plus Jakarta Sans', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-body: 'Plus Jakarta Sans', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-mono: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
    --container-width: 1400px;
    --header-height: 80px;
}

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

html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    font-family: var(--font-body);
    color: var(--text-body);
    background-color: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    scrollbar-gutter: stable;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    -webkit-clip-path: none;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

.page-content {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: rgba(10, 22, 34, 0.86);
}

.page-content>*+* {
    margin-top: 1.1em;
}

.page-content p {
    margin: 0;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
    color: #0a1622;
    letter-spacing: -0.02em;
}

.page-content h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-top: 1.8em;
}

.page-content h2 {
    font-size: clamp(1.65rem, 3.2vw, 2.4rem);
    margin-top: 1.6em;
}

.page-content h3 {
    font-size: clamp(1.35rem, 2.6vw, 1.85rem);
    margin-top: 1.4em;
}

.page-content h4 {
    font-size: 1.25rem;
    margin-top: 1.2em;
}

.page-content h5 {
    font-size: 1.1rem;
    margin-top: 1.1em;
}

.page-content h6 {
    font-size: 1rem;
    margin-top: 1em;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.page-content h1+*,
.page-content h2+*,
.page-content h3+*,
.page-content h4+*,
.page-content h5+*,
.page-content h6+* {
    margin-top: 0.6em;
}

.page-content a {
    color: #ce1126;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.page-content a:hover {
    opacity: 0.85;
}

.page-content ul,
.page-content ol {
    padding-left: 1.25em;
}

.page-content ul {
    list-style: disc;
}

.page-content ol {
    list-style: decimal;
}

.page-content li {
    margin: 0.35em 0;
}

.page-content blockquote {
    margin: 1.6em 0;
    padding: 1.1em 1.2em;
    border-left: 4px solid #ce1126;
    background: rgba(206, 17, 38, 0.06);
    color: rgba(10, 22, 34, 0.92);
}

.page-content blockquote p {
    margin: 0;
}

.page-content hr {
    border: 0;
    height: 1px;
    background: rgba(10, 22, 34, 0.12);
    margin: 2em 0;
}

.page-content figure {
    margin: 1.6em 0;
}

.page-content figcaption {
    margin-top: 0.6em;
    font-size: 0.95rem;
    color: rgba(10, 22, 34, 0.7);
}

.page-content img {
    max-width: 100%;
    height: auto;
}

.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.6em 0;
    font-size: 0.98rem;
}

.page-content th,
.page-content td {
    border: 1px solid rgba(10, 22, 34, 0.14);
    padding: 0.75em 0.8em;
    text-align: left;
}

.page-content thead th {
    background: rgba(10, 22, 34, 0.04);
    color: #0a1622;
}

.page-content .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85em 1.2em;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    background: #ce1126;
    color: #fff;
}

.page-content .wp-block-button__link:hover {
    transform: translateY(-1px);
}

.page-content .has-drop-cap:first-letter {
    font-family: var(--font-heading);
    font-weight: 800;
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================================
   2. Header & Top Bar
   ========================================= */
/* =========================================
   2. Header & Top Bar
   ========================================= */
/* =========================================
   2. Header & Top Bar
   ========================================= */

/* Header Overlay Logic */
.site-header {
    background: transparent;
    /* Fully transparent initially */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
    /* Slight gradient for text readability */
    color: var(--text-white);
    height: var(--header-height);
    /* 80px */
    display: flex;
    align-items: center;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1001;
    /* No border */
    top: 0 !important;
    /* Ensure it sticks to top */
}

.site-branding {
    position: absolute;
    left: 20px;
    z-index: 20;
}

/* WP Admin Bar Fix */
body.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

.site-header .container {
    display: flex;
    justify-content: flex-end;
    /* Menu and Actions to the Right */
    align-items: center;
    height: 100%;
    position: relative;
    /* Anchor for absolute logo */
}

/* Header Actions (Right Side) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 25;
    margin-left: 20px;
    flex-shrink: 0;
}

/* Menu Toggle (Hamburger) */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
    flex-direction: column;
    gap: 6px;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #333;
    transition: all 0.3s ease;
}

/* Mobile-only elements hidden on desktop */
.mobile-nav-footer {
    display: none;
}

@media (max-width: 900px) {
    .site-header .container {
        display: flex;
        align-items: center;
        justify-content: center;
        /* Center only on mobile */
        padding: 0 15px;
        position: relative;
    }

    .menu-toggle {
        display: flex;
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
    }

    .site-branding {
        margin: 0 auto !important;
        /* Reset absolute positioning for mobile */
        position: static !important;
        transform: none !important;
        left: auto !important;
        top: auto !important;
        text-align: center !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
    }

    .site-branding a {
        display: block;
        margin: 0 auto;
    }

    .site-branding img {
        margin: 0 auto !important;
        display: block !important;
        max-height: 40px;
        /* Limit height slightly */
    }

    .header-actions {
        display: none !important;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: #000;
        z-index: 1001;
        transition: left 0.3s ease;
        display: block !important;
        padding: 80px 20px 40px;
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
    }

    body.mobile-menu-open .main-navigation {
        left: 0;
    }

    .main-navigation ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }

    .main-navigation ul li {
        width: 100%;
        border-bottom: none;
    }

    .main-navigation ul li a {
        display: block;
        padding: 12px 0;
        font-size: 1rem;
        width: 100%;
        text-transform: uppercase;
        font-weight: 700;
        letter-spacing: 0.05em;
    }

    /* Hamburger Animation to X */
    body.mobile-menu-open .hamburger-line {
        background-color: #fff;
        /* Ensure it's white on the black menu panel */
    }

    body.mobile-menu-open .hamburger-line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    body.mobile-menu-open .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    body.mobile-menu-open .hamburger-line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .mobile-nav-footer {
        display: block;
        /* Show on mobile */
        margin-top: 10px;
        padding-top: 20px;
        border-top: none;
    }

    .mobile-locator-btn,
    .mobile-locator-btn:visited {
        display: flex;
        align-items: center;
        background: #fff !important;
        color: #000 !important;
        padding: 12px 24px;
        border-radius: 30px;
        font-weight: 700;
        text-align: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        font-size: 14px;
        width: 100%;
        margin-top: 10px;
    }

    .mobile-locator-btn svg,
    .mobile-locator-btn * {
        color: #000 !important;
        fill: #000 !important;
        stroke: #000 !important;
        /* Force stroke if applicable */
        margin-right: 8px;
    }
}


@media (max-width: 480px) {
    .site-header {
        height: auto;
        padding: 10px 0;
    }

    .site-header .container {
        padding: 0 15px;
        gap: 10px;
    }

    .site-branding img {
        height: 35px !important;
    }

    .header-locator-btn {
        padding: 6px 12px;
        font-size: 11px;
    }
}

.header-locator-btn {
    background: #fff;
    color: #000;
    padding: 8px 20px;
    border-radius: 20px;
    /* Pill shape */
    font-size: 13px;
    font-weight: 700;
    text-transform: capitalize;
    /* XPEL style isn't fully uppercase */
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.header-locator-btn:hover {
    background: var(--theme-yellow);
    color: #000;
}

.header-locator-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    line-height: 16px;
}

.header-search-icon {
    color: #fff;
    opacity: 0.8;
}

.header-search-icon:hover {
    opacity: 1;
    color: var(--theme-yellow);
}

/* Logo - Standard Left */
.site-branding {
    position: relative;
    margin-right: 40px;
    /* Space between logo and menu */
    z-index: 20;
}

.site-branding img {
    transform: scale(1.25);
    /* Increase size by 25% */
    transform-origin: left center;
}

.site-title {
    margin: 0;
    line-height: 1;
}

.site-title a {
    color: var(--text-white);
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    /* Prevent wrapping */
}

/* Navigation */
.main-navigation {
    flex-grow: 1;
}

.main-navigation ul {
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
    list-style: none;
    justify-content: flex-end;
    /* Push menu to right */
}

/* Handle fallback page menu */
.main-navigation div>ul {
    display: flex;
    gap: 25px;
    justify-content: flex-end;
}

.main-navigation a {
    color: var(--text-white);
    font-size: 13px;
    /* XPEL uses slightly smaller fonts */
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    padding: 25px 0;
    /* Match header height for hover areas */
    display: block;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.main-navigation a:hover {
    color: var(--theme-yellow);
}

/* Mega Menu / Dropdown Support */
.main-navigation li {
    position: relative;
}

.main-navigation ul ul {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    /* Drop from bottom of header */
    left: 0;
    background: #000;
    min-width: 220px;
    z-index: 9999;
    padding: 15px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border-top: 3px solid var(--theme-yellow);
}

.main-navigation ul li:hover>ul {
    display: block;
}

.main-navigation ul ul li {
    display: block;
    margin: 0;
    text-align: left;
}

.main-navigation ul ul a {
    padding: 8px 20px;
    font-size: 13px;
    text-transform: capitalize;
    color: #ccc;
    font-weight: 500;
    border-bottom: 1px solid #111;
    letter-spacing: 0;
}

.main-navigation ul ul a:hover {
    color: #fff;
    background: #111;
    padding-left: 25px;
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    margin-left: 20px;
}

/* Off-Canvas Styles */
.off-canvas-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: #000;
    z-index: 2000;
    transition: right 0.3s ease;
    padding: 20px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.off-canvas-menu.open {
    right: 0;
}

.off-canvas-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.close-menu {
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}

.off-canvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    display: none;
}

.off-canvas-overlay.active {
    display: block;
}

.mobile-nav-list li {
    border-bottom: 1px solid #333;
}

.mobile-nav-list li a {
    color: #fff;
    display: block;
    padding: 15px 0;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
}

.mobile-utilities {
    margin-top: auto;
    border-top: 1px solid #333;
    padding-top: 20px;
}

.mobile-utilities a {
    display: block;
    color: #999;
    margin-bottom: 10px;
    font-size: 13px;
}

/* =========================================
   3. Hero Slider (Swiper)
   ========================================= */
.hero-section {
    position: relative;
    height: 100vh;
    /* Full viewport height */
    min-height: 600px;
    background: #000;
    overflow: hidden;
    margin-top: -35px;
    /* Pull up to sit under top bar but behind header */
}

.hero-slider,
.hero-slide {
    height: 100%;
    width: 100%;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: var(--text-white);
    padding-left: 5%;
    padding-top: 100px;
    /* Offset for header */
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--theme-yellow);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 2rem;
    max-width: 800px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--theme-yellow);
    color: var(--theme-black);
}

.btn-primary:hover {
    background-color: #fff;
    color: var(--theme-black);
}

/* Advanced Hero Pagination (Story Style) */
.custom-hero-pagination {
    bottom: 40px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: auto !important;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 20;
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    opacity: 1;
    transition: all 0.3s ease;
    border: none;
    /* Force no border */
    margin: 0 !important;
    position: relative;
    outline: none;
    /* Remove focus ring */
    box-shadow: none;
    /* Remove shadow */
    display: block;
    /* Ensure block layout for children */
}

/* Focused state cleanup */
.swiper-pagination-bullet:focus,
.swiper-pagination-bullet:active {
    outline: none;
    border: none;
}

/* Active Bullet becomes the Progress Bar */
.swiper-pagination-bullet-active {
    width: 60px;
    /* Video progress length */
    height: 4px;
    /* Thinner line */
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.2);
    /* Track */
}

/* The Progress Fill */
.swiper-pagination-bullet .progress-bar {
    display: block;
    height: 100%;
    width: 0%;
    background: var(--theme-yellow);
    border-radius: 2px;
    transition: width 0.1s linear;
    /* Smooth fill */
}

/* Hero Controls (Pause/Play) */
.hero-controls {
    position: absolute;
    bottom: 30px;
    /* Aligned roughly with pagination */
    right: 50px;
    z-index: 30;
}

.hero-pause-btn,
.hero-play-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: all 0.3s;
}

.hero-pause-btn:hover,
.hero-play-btn:hover {
    background: var(--theme-yellow);
    border-color: var(--theme-yellow);
}

.hero-pause-btn svg path,
.hero-play-btn svg path {
    fill: #fff;
}

.hero-pause-btn:hover svg path,
.hero-play-btn:hover svg path {
    fill: #000;
}

/* =========================================
   Trust Bar
   ========================================= */
.guardian-trust-bar {
    --tb-bg: #0a1628;
    --tb-text: #ffffff;
    --tb-accent: #c9a84c;
    background: var(--tb-bg);
    color: var(--tb-text);
    width: 100%;
}

.trust-bar-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: clamp(2rem, 3vw, 4rem);
}

.trust-stat {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 150px;
    padding: 0.25rem 0;
}

.trust-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: calc(clamp(2rem, 3vw, 4rem) / -2);
    transform: translateY(-50%);
    width: 1px;
    height: 46px;
    background: currentColor;
    opacity: 0.22;
}

.trust-stat__icon {
    margin-bottom: 0.35rem;
    line-height: 1;
    opacity: 0.9;
}

.trust-stat__icon.dashicons {
    font-size: 1.2rem;
    width: 1.2rem;
    height: 1.2rem;
}

.trust-stat__icon--svg svg {
    width: 1.2rem;
    height: 1.2rem;
    display: block;
    fill: currentColor;
}

.trust-stat__number {
    color: var(--tb-accent);
    font-size: clamp(2rem, 2.8vw, 2.5rem);
    font-weight: 700;
    line-height: 1.05;
}

.trust-stat__label {
    margin-top: 0.4rem;
    font-size: 0.85rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* =========================================
   4. Feature/Product Grid
   ========================================= */
.product-categories-grid {
    padding: 80px 24px;
}

.section-header h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.cat-item {
    background: #f9f9f9;
    padding: 40px;
    border-left: 4px solid var(--theme-yellow);
    transition: transform 0.3s ease;
}

.cat-item:hover {
    transform: translateY(-5px);
}

.cat-content h3 {
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.link-arrow {
    font-weight: 700;
    color: var(--theme-black);
    text-transform: uppercase;
    font-size: 14px;
    border-bottom: 2px solid var(--theme-yellow);
    padding-bottom: 2px;
}

.link-arrow:hover {
    color: var(--theme-yellow);
    border-color: var(--theme-black);
}

/* =========================================
   5. Footer
   ========================================= */
.site-footer {
    background: #111;
    color: #999;
    padding: 60px 0 20px;
    font-size: 14px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    /* XPEL uses 5 columns mostly */
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 40px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #999;
    font-size: 13px;
}

.footer-col ul li a:hover {
    color: #fff;
}

.widget-title {
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-size: 16px;
}

.site-info {
    text-align: center;
    color: #555;
    border-top: 1px solid #222;
    padding-top: 20px;
}

/* =========================================
   6. Pre-Footer & Bestsellers
   ========================================= */
.pre-footer-cta {
    background: #111;
    color: #fff;
    padding: 60px 0;
    margin-top: 40px;
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.cta-item h3 {
    font-size: 1.2rem;
    color: var(--theme-yellow);
    margin-bottom: 10px;
}

.cta-item p {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 20px;
}

.btn-outline {
    border: 1px solid #fff;
    color: #fff;
    padding: 10px 20px;
    display: inline-block;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
}

.btn-outline:hover {
    border-color: var(--theme-yellow);
    color: var(--theme-yellow);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.article-card {
    transition: transform 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
}

/* =========================================
   7. Inner Pages
   ========================================= */
.page-header {
    position: relative;
    min-height: clamp(420px, 54vh, 720px);
    background-size: cover;
    background-position: center;
    color: #fff;
    margin-bottom: 20px;
    margin-top: -80px;
    /* Pull behind transparent header */
    padding-top: 80px;
    /* Push content down */
}

.page-header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header-inner {
    min-height: inherit;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 124px;
    padding-bottom: 36px;
}

.page-title {
    font-size: clamp(1.8rem, 3.2vw, 3.15rem);
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    margin: 0 auto;
    letter-spacing: 1px;
    line-height: 1.05;
    max-width: min(22ch, 100%);
    overflow-wrap: anywhere;
    word-break: break-word;
    text-wrap: balance;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.guardian-breadcrumbs {
    margin-bottom: 18px;
}

.guardian-breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.guardian-breadcrumbs-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(10, 22, 34, 0.68);
}

.guardian-breadcrumbs-item:not(:last-child)::after {
    content: '/';
    color: rgba(10, 22, 34, 0.35);
}

.guardian-breadcrumbs-item a:hover {
    color: #ce1126;
}

.guardian-breadcrumbs--light .guardian-breadcrumbs-item,
.guardian-breadcrumbs--light .guardian-breadcrumbs-item:not(:last-child)::after {
    color: rgba(255, 255, 255, 0.72);
}

.guardian-breadcrumbs--light .guardian-breadcrumbs-item a:hover {
    color: #fff;
}

.guardian-breadcrumbs--center .guardian-breadcrumbs-list {
    justify-content: center;
}

.archive-page-content {
    max-width: 960px;
}

.archive-intro {
    margin-bottom: 2rem;
}

.guardian-post-list {
    display: grid;
    gap: 24px;
}

.guardian-post-card {
    padding: 28px;
    border: 1px solid rgba(10, 22, 34, 0.12);
    background: #fff;
}

.guardian-post-card-title {
    margin: 0 0 10px;
    font-size: clamp(1.4rem, 2vw, 1.8rem);
}

.guardian-post-card-title a:hover {
    color: #ce1126;
}

.guardian-post-card-meta {
    margin-bottom: 14px;
    color: rgba(10, 22, 34, 0.55);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.guardian-post-card-excerpt p {
    margin: 0;
}

.guardian-pagination {
    margin-top: 32px;
}

.search-page-form {
    margin-bottom: 28px;
}

.search-page-form .search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.search-page-form .search-field {
    flex: 1 1 280px;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid rgba(10, 22, 34, 0.14);
}

.search-page-form .search-submit {
    min-height: 52px;
    padding: 0 22px;
    border: 0;
    background: #ce1126;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.service-hero-title {
    font-size: clamp(2rem, 4.2vw, 4rem);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.05;
    margin: 0 0 1rem;
    max-width: min(18ch, 100%);
    overflow-wrap: anywhere;
    word-break: break-word;
    text-wrap: balance;
}

.single-guardian_service .service-hero {
    height: auto;
    min-height: clamp(420px, 54vh, 720px);
}

.single-guardian_service .service-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: inherit;
    padding-top: 124px;
    padding-bottom: 36px;
}

/* Adjustments for Responsive */
@media (max-width: 1024px) {

    /* Tablet / iPad Landscape */
    .hero-title {
        font-size: 3rem;
    }

    .footer-widgets {
        grid-template-columns: repeat(3, 1fr);
    }

    .container {
        padding: 0 20px;
    }

    .product-categories-grid {
        padding: 60px 20px;
    }

    /* Header / Top Bar Tablet Fix */
    .site-header .container {
        padding: 0 10px;
    }
}

@media (max-width: 900px) {
    .cta-grid {
        grid-template-columns: 1fr 1fr;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    /* Header Breakpoint: Switch to Mobile Menu earlier if menu is too long */
    .main-navigation {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .site-header {
        position: sticky;
        top: 0;
        background: #000;
    }

    /* Revert overlay on mobile? Or keep overlay? Keep standard on mobile often better */
    .hero-section {
        margin-top: 0;
        height: 60vh;
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .trust-bar-inner {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem 1rem;
    }

    .trust-stat {
        min-width: 0;
    }

    .trust-stat::after {
        display: none;
    }
}

@media (max-width: 480px) {

    /* Mobile Portrait */
    .footer-widgets {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .cat-item {
        padding: 20px;
    }

    .pre-footer-cta {
        padding: 40px 0;
    }

    .cta-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Center slider dots on mobile */
    .swiper-pagination {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .trust-bar-inner {
        grid-template-columns: 1fr;
    }
}

/* Prevent scrolling when menu is open */
body.no-scroll {
    overflow: hidden;
}

/* =========================================
   8. Visual Enhancements (Phase 8)
   ========================================= */

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #111;
}

::-webkit-scrollbar-thumb {
    background: var(--theme-yellow);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e6b800;
}

/* Glassmorphism Utility */
.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Apply Glassmorphism to Estimator */
.estimator-widget .guardian-estimator-card {
    background: rgba(20, 20, 20, 0.8) !important;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5) !important;
}

/* Custom Cursor */
body {
    cursor: default;
    /* Fallback */
}

a,
button,
input[type="submit"],
.cat-item,
.radio-box {
    cursor: pointer;
}

/* Selection Color */
::selection {
    background: var(--theme-yellow);
    color: #000;
}

/* =========================================
   Custom Cursor Styles
   ========================================= */
#custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border: 2px solid var(--theme-yellow);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s, transform 0.1s;
    mix-blend-mode: difference;
    /* Cool inversion effect */
}

#custom-cursor.hovered {
    width: 50px;
    height: 50px;
    background: rgba(254, 203, 0, 0.2);
    border-color: transparent;
}

#custom-cursor.clicked {
    transform: translate(-50%, -50%) scale(0.8);
    background: var(--theme-yellow);
}

/* Hide default cursor on interactive elements to avoid double cursor look? 
   Usually risky. Let's keep default cursor visible but maybe hide body cursor?
   body { cursor: none; } -> Risky if JS fails. 
   Safe approach: Just an accent cursor following the main one.
*/

/* =========================================
   Reflective "Shimmer" Effects (V18)
   ========================================= */

/* 1. Logo Golden Shimmer */
.site-title a {
    position: relative;
    display: inline-block;
    overflow: hidden;
    /* Ensure text color allows overlay */
}

.site-title a::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,
            transparent 0%,
            rgba(254, 203, 0, 0.8) 50%,
            transparent 100%);
    transform: skewX(-25deg);
    pointer-events: none;
    animation: logoShimmer 5s infinite ease-in-out;
    mix-blend-mode: overlay;
    /* Blends nicely with white text */
}

@keyframes logoShimmer {

    0%,
    85% {
        left: -150%;
    }

    /* Long pause */
    100% {
        left: 150%;
    }

    /* Quick sweep */
}

/* 2. Primary Button Shine */
.btn-primary {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 200%;
    height: 100%;
    background: linear-gradient(to right,
            transparent 0%,
            rgba(255, 255, 255, 0.8) 50%,
            transparent 100%);
    transform: skewX(-25deg);
    pointer-events: none;
    transition: none;
    z-index: -1;
    /* Behind text if needed, but usually over bg is fine */
}

.btn-primary:hover::after {
    animation: btnShimmer 0.6s forwards;
}

@keyframes btnShimmer {
    0% {
        left: -150%;
    }

    100% {
        left: 150%;
    }
}

/* =========================================
   Page Transition Curtain
   ========================================= */
#page-curtain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--theme-yellow);
    z-index: 99999;
    /* Topmost */
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: bottom;
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

#page-curtain.hidden {
    transform: scaleY(0);
    /* Slide Up Reveal */
}

.curtain-logo {
    font-size: 3rem;
    font-weight: 900;
    color: #000;
    opacity: 0;
    animation: fadeInLogo 0.5s forwards 0.2s;
}

@keyframes fadeInLogo {
    to {
        opacity: 1;
    }
}

/* Search Overlay */
#search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s;
}

.search-overlay-close:hover {
    color: var(--theme-yellow);
}

.search-overlay-content {
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
}

.search-form {
    position: relative;
    border-bottom: 2px solid #333;
}

.search-field {
    width: 100%;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 30px;
    font-weight: 300;
    padding: 20px 0;
    outline: none;
}

.search-submit {
    display: none;
}

/* =========================================
   MOBILE FIXES V3 (Final Overrides)
   ========================================= */
@media screen and (max-width: 900px) {

    /* 1. Hamburger Menu Visibility */
    .menu-toggle {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        height: 24px !important;
        width: 30px !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        gap: 6px !important;
    }

    .hamburger-line {
        display: block !important;
        width: 100% !important;
        height: 3px !important;
        /* Thicker lines */
        background-color: #333 !important;
        border-radius: 2px !important;
        margin: 0 !important;
    }

    /* 2. Mobile Locator Button Text Visibility V3 */
    .mobile-locator-btn {
        color: #000000 !important;
        /* Pure Black Text */
        background-color: #ffffff !important;
        /* Pure White BG */
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        opacity: 1 !important;
        visibility: visible !important;
        text-indent: 0 !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        width: 100% !important;
        max-width: 280px !important;
        margin: 20px auto 0 !important;
        border: 1px solid #ddd !important;
        /* Subtle border for visibility */
        height: 44px !important;
        flex-direction: row !important;
        /* Ensure row layout */
    }

    /* Ensure no text-indent or hiding on pseudo-elements */
    .mobile-locator-btn:before,
    .mobile-locator-btn:after {
        content: none !important;
    }

    /* Target the SVG specifically */
    .mobile-locator-btn svg {
        flex-shrink: 0 !important;
        /* Don't shrink the icon */
        margin-right: 8px !important;
        width: 16px !important;
        height: 16px !important;
        display: block !important;
        color: #000000 !important;
        fill: #000000 !important;
    }

    /* 3. Banner Title Sizing V3 (Pixel Units) */
    .guardian-banner-block .banner-title {
        font-size: 24px !important;
        /* Force 24px (~1.5rem) */
        line-height: 1.2 !important;
        padding: 0 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
    }

    /* 4. Page Headers (Hakkımızda, etc.) V3 */
    .page-header .page-title {
        font-size: 24px !important;
        line-height: 1.2 !important;
        word-wrap: break-word !important;
        max-width: 100% !important;
    }

    .page-header-inner {
        padding-top: 118px;
        padding-bottom: 28px;
    }

    .single-guardian_service .service-hero-inner {
        padding-top: 118px;
        padding-bottom: 28px;
    }
}

@media screen and (max-width: 480px) {

    /* Even smaller for narrow screens */
    .guardian-banner-block .banner-title {
        font-size: 20px !important;
        /* Smaller for iPhone SE, etc. */
    }
}

/* =========================================
   Footer Overrides (moved from footer.php)
   ========================================= */
.site-footer {
    background-color: #000;
    padding: 50px 0;
    border-top: 1px solid #222;
}

.footer-navigation ul {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-navigation a {
    color: #999;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-navigation a:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .footer-content-wrapper {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .footer-right-area {
        align-items: flex-start !important;
    }

    .footer-navigation ul {
        flex-direction: column;
        gap: 10px;
    }
}

/* =========================================
   Service Single Page (moved from single-guardian_service.php)
   ========================================= */
.sidebar-link.active {
    color: #ce1126 !important;
    font-weight: 700;
}

.sidebar-link.active .indicator {
    background-color: #ce1126 !important;
    transform: scale(1.0);
}

/* Service Page Scroll */
html {
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #7ee2e0;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5fcfcd;
}

* {
    scrollbar-color: #7ee2e0 #f1f1f1;
}

/* =========================================
   Before / After Shortcode
   ========================================= */
.guardian-ba-slider {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 40px auto;
    overflow: hidden;
    border: 4px solid var(--theme-yellow);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    user-select: none;
}

.guardian-comparison-wrapper {
    width: 100%;
    max-width: 100%;
    height: 100%;
}

.guardian-film-layers-wrapper {
    width: 100%;
    max-width: 100%;
    height: 100%;
}

.guardian-half {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    display: block;
}

.guardian-split-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    overflow: hidden;
    align-items: stretch;
}

.guardian-split-col {
    min-width: 0;
    overflow: hidden;
}

@media (max-width: 768px) {
    .guardian-split-row {
        grid-template-columns: 1fr;
    }
}

.ba-image-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
}

.ba-image-after,
.ba-image-before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ba-resize {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    overflow: hidden;
    border-right: 2px solid var(--theme-yellow);
    z-index: 2;
}

.ba-resize .ba-image-before {
    max-width: none;
}

.ba-label {
    position: absolute;
    top: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 3;
    letter-spacing: 1px;
}

.ba-label-after {
    right: 20px;
}

.ba-label-before {
    left: 20px;
}

.ba-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background: var(--theme-yellow);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    cursor: ew-resize;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ba-handle::after {
    content: '\2194';
    color: #000;
    font-weight: 700;
}

.ba-range-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 20;
    margin: 0;
}

/* =========================================
   Contact Shortcode
   ========================================= */
.guardian-contact-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.guardian-contact-submit:hover,
.guardian-contact-submit:focus-visible {
    background: var(--guardian-contact-primary) !important;
    color: #fff !important;
}

.guardian-contact-submit[disabled] {
    opacity: 0.6;
    cursor: wait !important;
}

.guardian-contact-section .form-response.is-success {
    color: #15803d;
}

.guardian-contact-section .form-response.is-error {
    color: #b91c1c;
}

@media (max-width: 991px) {
    .guardian-contact-section .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 50px !important;
    }
}

@media (max-width: 768px) {
    .guardian-contact-section {
        overflow-x: hidden;
    }

    .guardian-contact-section .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box;
    }

    .guardian-contact-section .guardian-form {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .guardian-contact-section .guardian-form > * {
        grid-column: 1 / -1 !important;
        min-width: 0;
    }
}

/* =========================================
   Reveal Text Shortcode
   ========================================= */
.guardian-reveal-text {
    line-height: 1.2;
    overflow: hidden;
}

.reveal-word-mask {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    margin-right: 0.2em;
    padding-bottom: 0.1em;
}

.reveal-word-inner {
    display: inline-block;
    transform: translateY(110%);
}

/* =========================================
   Image Slider Shortcode
   ========================================= */
.guardian-image-slider .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}

.guardian-image-slider .swiper-pagination-bullet-active {
    background: #fecb00;
    opacity: 1;
}

@media (max-width: 768px) {
    .guardian-image-slider .swiper-slide {
        height: 60vh !important;
    }

    .guardian-image-slider .hero-title {
        font-size: 2.5rem !important;
    }
}

/* =========================================
   Video Scrubber Shortcode
   ========================================= */
.guardian-scrubber-wrapper {
    position: relative;
    width: 100%;
    background: #000;
}

.guardian-scrubber-sticky {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scrubber-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}

.scrubber-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    pointer-events: none;
}

.scrubber-text {
    font-size: 5rem;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin: 0;
}

.scrubber-scroll-hint {
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: rgba(0, 0, 0, 0.5);
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
}

/* =========================================
   Banner Block Shortcode
   ========================================= */
.guardian-banner-block .banner-title {
    font-size: clamp(1.2rem, 8.5vw, 3.8rem);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    text-align: center;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.guardian-banner-block .banner-content p {
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .guardian-banner-block .banner-title {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
        padding: 0 10px !important;
    }

    .guardian-banner-block {
        padding: 40px 0 !important;
    }

    .guardian-banner-block .container {
        padding: 0 15px !important;
    }

    .guardian-banner-block .banner-content {
        text-align: left;
    }
}

/* =========================================
   Spotlight Shortcode
   ========================================= */
.guardian-spotlight-container {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    cursor: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spotlight-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 1;
    -webkit-mask-image: radial-gradient(circle 150px at var(--x, 50%) var(--y, 50%), transparent 0%, black 100%);
    mask-image: radial-gradient(circle 150px at var(--x, 50%) var(--y, 50%), transparent 0%, black 100%);
    --x: 50%;
    --y: 50%;
}

.spotlight-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle 152px at var(--x, 50%) var(--y, 50%), rgba(255, 255, 200, 0.1) 0%, transparent 20%);
}

.spotlight-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    pointer-events: none;
    opacity: 0.5;
}

.spotlight-hint {
    margin-top: 20px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
}

/* =========================================
   Video Gallery Shortcode
   ========================================= */
.guardian-video-gallery {
    padding: 20px 0;
    background: #000;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.video-card {
    position: relative;
    background: #111;
    aspect-ratio: 9/16;
    overflow: hidden;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

.video-card:hover {
    border-bottom-color: var(--theme-yellow);
}

.video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.video-card:hover video {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    pointer-events: none;
}

.play-icon {
    font-size: 24px;
    margin-bottom: 5px;
    text-shadow: 0 2px 5px #000;
}

.video-overlay h4 {
    margin: 0;
    text-transform: uppercase;
    font-size: 14px;
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================
   Estimator Shortcode
   ========================================= */
.guardian-estimator-card {
    color: #fff;
    padding: 30px;
    border-radius: 16px;
    max-width: 500px;
    margin: 0 auto;
}

.estimator-header h3 {
    color: var(--theme-yellow);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.estimator-header p {
    color: #ccc;
    font-size: 13px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
}

.radio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.radio-option input {
    display: none;
}

.radio-option .option-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #222;
    border: 2px solid #333;
    padding: 15px 5px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.radio-option .icon {
    font-size: 24px;
    margin-bottom: 5px;
}

.radio-option .label {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
}

.radio-option input:checked + .option-box {
    border-color: var(--theme-yellow);
    background: #333;
    color: var(--theme-yellow);
}

.estimator-select {
    width: 100%;
    padding: 12px;
    background: #222;
    border: 1px solid #333;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
}

.estimator-result {
    background: #222;
    padding: 15px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    border-left: 4px solid var(--theme-yellow);
}

.price-label {
    color: #ccc;
    font-size: 14px;
}

.price-value {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
}

.disclaimer {
    font-size: 11px;
    color: #666;
    margin-top: 10px;
    text-align: center;
}

/* =========================================
   Fluid Image Shortcode
   ========================================= */
.guardian-fluid-container {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.guardian-fluid-container canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}
