/* ==========================================================================
   CLIENT BRANDBOOK RULES 
   ========================================================================== */
:root {
    --primary: #A02A5C;                 /*povdarki, naslovi, gumbi*/
    --primary-light: #F1BED3;           /*buttons, background*/
    --white: #f1dae4;                   /*text in buttons*/
    --secondary: #737338;               /*Outlines, tags*/
    --secondary-light: #D3D3A1;           /*background*/
    --dark: #482711;                    /*Headings, main text*/
    --white-article: #fceff4;                      
    --font-display: 'Libre_Baskerville', serif;
    --font-body: 'DM_Sans', sans-serif;
    --container-max-width: 1280px;
    --gutter: 24px;
    --section-gap-desktop: 120px;
    --section-gap-mobile: 64px;
    --border-radius: 10px;
    --border-radius-button: 28px;
}

* {
    margin: 0px;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/*Font*/
/* BODY REGULAR WEIGHT (400) DM_Sans */
@font-face {
    font-family: 'DM_Sans';
    src: url('DM_Sans/DMSans-VariableFont.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap; 
}

/* BODY BOLD WEIGHT (700) DM_Sans */
@font-face {
    font-family: 'DM_Sans';
    src: url('DM_Sans/DMSans-VariableFont.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap; 
}

/* BODY REGULAR WEIGHT (400) DM_Sans ITALIC*/
@font-face {
    font-family: 'DM_Sans';
    src: url('DM_Sans/DMSans-Italic-VariableFont.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap; 
}

/* BODY BOLD WEIGHT (700) DM_Sans ITALIC*/
@font-face {
    font-family: 'DM_Sans';
    src: url('DM_Sans/DMSans-Italic-VariableFont.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap; 
}

/* DISPLAY REGULAR WEIGHT (400) Libre_Baskerville */
@font-face {
    font-family: 'Libre_Baskerville';
    src: url('Libre_Baskerville/LibreBaskerville-VariableFont_wght.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap; 
}


/* DISPLAY REGULAR WEIGHT (400) Libre_Baskerville ITALIC */
@font-face {
    font-family: 'Libre_Baskerville';
    src: url('Libre_Baskerville/LibreBaskerville-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 400;
    font-style: ITALIC;
    font-display: swap; 
}

body {
    background-color: var(--primary-light);
    color: var(--dark);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
}

.text-label-caps {
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.text-label-caps-page {
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding-top: 40px;
}

/* ==========================================================================
    RESPONSIVE SETUP
   ========================================================================== */
/*Fluid Image*/
img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: cover; /* Helps prevent image distortion */
}

/*Layout and Containers*/
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

/* Sections and spacing*/
section, .section {
    padding-top: var(--section-gap-mobile);
    padding-bottom: var(--section-gap-mobile);
}

@media (min-width: 768px) {
    section, .section {
        padding-top: var(--section-gap-desktop);
        padding-bottom: var(--section-gap-desktop);
    }
}

/* Responsive typography */
/* Using clamp() for fluid typography that scales automatically between mobile and desktop */
h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.25rem;
    color: var(--primary);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: var(--primary);
    text-align: center;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1rem;
    color: var(--dark);
}

h4, h5, h6 {
    font-family: var(--font-body);
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

p {
    margin-bottom: 1.5rem;
}

/* Drop margin on the last element inside a container to prevent awkward spacing */
p:last-child, 
h1:last-child, 
h2:last-child, 
h3:last-child {
    margin-bottom: 0;
}

/*Links and buttons*/
a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

a:hover {
    color: var(--dark);
}

/* button Style */
.btn {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    font-family: var(--font-body);
    font-weight: 700;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: var(--border-radius-button);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--dark);
    color: var(--primary-light);
}

/* Secondary/Outline Button */
.btn-secondary {
    background-color: transparent;
    border-color: var(--secondary);
    color: var(--secondary);
}

.btn-secondary:hover {
    background-color: var(--secondary);
    color: var(--white);
}

/* ==========================================================================
   BASIC WORDPRESS ALIGNMENTS (Gutenberg Prep)
   ========================================================================== */
.aligncenter {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.alignwide {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* ==========================================================================
   MODERN CSS GRID (For overall page layouts & cards)
   ========================================================================== */
.grid {
    display: grid;
    gap: var(--gutter); 
}

/* Stacks to 1 column on mobile automatically. Below dictates desktop behavior. */
.grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
}

/* Tablet Layouts */
@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    /* 4 columns drop to 2 on tablet for better readability */
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop Layouts */
@media (min-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Magic Auto-Grid: Automatically figures out how many columns fit! 
   Perfect for blog post cards or service icons. */
.grid-auto {
    display: grid;
    gap: var(--gutter);
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}


/* ==========================================================================
   FLEXBOX UTILITIES (For component alignment, navbars, and buttons)
   ========================================================================== */
.flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

/* Flex Alignment Tools */
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.align-end { align-items: flex-end; }
.align-stretch { align-items: stretch; }

.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }

/* Flex Gaps (Using your brandbook gutter as the base) */
.gap-sm { gap: calc(var(--gutter) / 2); }   /* 12px */
.gap-md { gap: var(--gutter); }             /* 24px */
.gap-lg { gap: calc(var(--gutter) * 2); }   /* 48px */



/* ==========================================================================
   HEADER & NAVIGATION STYLES
   ========================================================================== */

/* Sticky Header & Blurred Glass Effect */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(241, 190, 211, 0.80); /* Translucent --primary-light */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(72, 39, 17, 0.08);
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Logo */
.site-branding .site-logo,
.site-branding img {
    max-height: 48px;
    width: auto;
    object-fit: contain;
}

/* Desktop Navigation Layout */
.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu > li {
    position: relative;
    display: flex;
    align-items: center;
}

/* Vertical Divider Lines between top menu links */
.nav-menu > li:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 16px;
    background-color: var(--dark);
    opacity: 0.25;
    margin: 0 18px;
}

/* Base Top Link Styling */
.nav-menu a {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--dark);
    text-decoration: none;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu > li > a {
    display: flex;
    align-items: center;
    height: 100%;
}

/* Animated Underline Effect on Hover & Active Links */
.nav-menu > li > a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-menu > li > a:hover::after,
.nav-menu > li.current-menu-item > a::after,
.nav-menu > li.current-menu-parent > a::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-menu > li.current-menu-item > a {
    color: var(--primary);
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu .arrow {
    font-size: 0.8em;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.nav-menu li:hover > a .arrow {
    transform: rotate(180deg);
}

/* Expanded Submenu Dropdown */
.sub-menu {
    position: absolute;
    top: 100%;
    left: -16px;
    min-width: 220px;
    background-color: var(--dark);
    padding: 12px 0;
    margin-top: 14px;
    list-style: none;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 25px rgba(72, 39, 17, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 99;
    transition-delay: 0.45s;
}

/* ==========================================================================
   3RD LEVEL SUB-MENU (Nested Accordion Style)
   ========================================================================== */

/* 1. Desktop Styles for the Nested Menu */
.nav-menu .sub-menu .sub-menu {
    position: static; /* Removes the absolute positioning from the parent rules */
    display: none; /* Hidden by default */
    background-color: var(--primary-light); 
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.15); /* Adds a subtle inner depth */
    width: 100%;
    margin-top: 0;
    padding: 8px 0;
    opacity: 1;
    visibility: visible;
    transform: none; /* Removes the slide-up animation for the accordion */
    border-radius: 0;
}

/* 2. Show the nested menu when hovering over its parent ("1 na 1 podpora") */
.nav-menu .sub-menu li.menu-item-has-children:hover > .sub-menu {
    display: block;
    animation: fadeIn 0.3s ease; /* Smooth appearance */
}

/* 3. Style the 3rd level links to show hierarchy */
.nav-menu .sub-menu .sub-menu a {
    padding-left: 32px; /* Indents the text further right */
    font-size: 0.85rem; /* Slightly smaller to indicate sub-level */
    color: var(--dark)
}

.nav-menu .sub-menu .sub-menu a:hover {
    padding-left: 36px;
    background-color: transparent;
    color: var(--primary);
}

/* 4. Add an automatic dropdown arrow to the parent item in the list */
.nav-menu .sub-menu li.menu-item-has-children > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 20px;
}

.nav-menu .sub-menu li.menu-item-has-children > a::after {
    content: '▾';
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.nav-menu .sub-menu li.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

/* Simple fade animation for the accordion effect */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ==========================================================================
   MOBILE RESPONSIVENESS FOR 3RD LEVEL
   ========================================================================== */
@media (max-width: 991px) {
    .nav-menu .sub-menu .sub-menu {
        /* Uses a transparent tint of your dark brown since the mobile background is light pink */
        background-color: var(--primary-light); 
        border-left: 2px solid var(--primary); /* Adds a berry pink line to show depth */
        margin-left: 12px;
        margin-bottom: 0;
        width: calc(100% - 12px);
        padding: 4px 0;
        border-radius: 0 4px 4px 0;
        box-shadow: none;
    }

    .nav-menu .sub-menu .sub-menu a {
        padding-left: 20px;
        font-size: 0.95rem; /* Adjusts beautifully for mobile reading */
        color: var(--dark);
    }

    .nav-menu .sub-menu .sub-menu a:hover {
        padding-left: 24px;
    }
}

/* Creates an invisible hover bridge to prevent the submenu from closing */
.sub-menu::before {
    content: "";
    position: absolute;
    top: -15px; /* Covers your 14px margin-top gap completely */
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent; /* Keeps it invisible */
}

/* Show Submenu on Hover */
.nav-menu li.menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.sub-menu li {
    width: 100%;
}

.sub-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--primary-light);
    font-weight: 400;
    font-size: 0.9rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.sub-menu a::after {
    display: none; /* Disable main underline effect inside dropdown */
}

.sub-menu a:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--white);
    padding-left: 24px;
}

/* Header Button Adjustments */
.header-cta .btn-header {
    padding: 10px 22px;
    font-size: 0.9rem;
}

/* Mobile Hamburger Toggle */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
}

.mobile-menu-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: var(--dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Open Animation for Burger Icon */
.mobile-menu-toggle.is-active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.is-active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Mobile Drawer Navigation)
   ========================================================================== */
@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-light);
        border-bottom: 2px solid var(--primary);
        padding: 24px;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
        display: none;
    }

    .main-navigation.is-active {
        display: block;
    }

    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .nav-menu > li {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-menu > li:not(:last-child)::after {
        display: none;
    }

    .nav-menu a {
        padding: 12px 0;
        width: 100%;
        font-size: 1.1rem;
    }

    .nav-menu > li > a {
        display: flex;
        align-items: center;
        height: 100%;
    }


    /* Mobile Dropdown Menu */
    .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        top: 100%;
        margin-top: 0px;
        margin-bottom: 12px;
        width: 100%;
        display: none;
    }

    /* Creates an invisible hover bridge to prevent the submenu from closing */
    .sub-menu::before {
        content: "";
        position: absolute;
        top: -12px; /* Matches your margin-top value */
        left: 0;
        width: 100%;
        height: 12px;
    }

    .nav-menu li.menu-item-has-children:hover > .sub-menu {
        display: block;
    }

    .nav-menu .sub-menu a {
        padding: 10px 24px; /* Adds 24px space from the left and right edges */
        font-size: 1rem; /* Slightly smaller than main links to show hierarchy */
    }

    .nav-menu .sub-menu a:hover {
        padding-left: 28px; 
    }

    .header-cta {
        display: none; /* Button moves inside mobile nav or hides on small screens */
    }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    width: 100vw;
    max-width: 100%;
    min-height: 90vh; /* Takes up most of the screen */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: -80px; /* Pulls the hero up under your sticky header */
    padding-top: 80px; /* Pushes content down so header doesn't cover it */
}

/* Background Image Layer */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* Interactive Spotlight Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    
    /* Default variables for the center of the spotlight (used before JS kicks in) */
    --x: 50%;
    --y: 50%;
    
    /* 
      The radial gradient creates the spotlight. 
      The inner circle is a soft --primary tint, fading into a darker --dark tint.
    */
    background: radial-gradient(
        circle 500px at var(--x) var(--y), 
        rgba(160, 42, 92, 0.45), /* --primary with 65% opacity */
        rgba(72, 39, 17, 0.75)   /* --dark with 85% opacity */
    );
}

/* Foreground Content */
.hero-content {
    position: relative;
    z-index: 2; /* Keeps text above the overlay */
    color: var(--white);
    max-width: 800px;
    padding-top: 40px;
    padding-bottom: 40px;
    text-align: center;
}

.hero-tag {
    color: var(--primary-light);
    margin-bottom: 1rem;
    display: inline-block;
}

.hero-title {
    color: var(--white); /* Overrides the default H1 primary color */
    text-align: center;
}

.hero-title .highlight-text {
    color: var(--primary-light); /* The second color for the title */
    font-style: italic;
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 600px;
    text-align: center;
}

/* White outline button specific to the dark hero overlay */
.hero-btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.hero-btn-outline:hover {
    background-color: var(--white);
    color: var(--dark);
}

/* Mobile Adjustments for Hero */
@media (max-width: 767px) {
    .hero-section {
        min-height: 80vh;
    }
    
        .hero-bg {
        background-position: 60% center;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .hero-buttons .btn {
        width: 100%;
    }
}

/* ==========================================================================
   BENEFITS / INFOGRAPHIC SECTION
   ========================================================================== */
.benefits-section {
    display: flex;
    flex-wrap: wrap;
    background-color: var(--secondary-light);
    width: 100vw;
    max-width: 100%;
    /* We remove padding here because we handle it inside the text area */
    padding: 0; 
}

/* LEFT SIDE: Text Area (2/3 of the screen) */
.benefits-text-area {
    width: 66.666%;
    display: flex;
    justify-content: center; /* Centers the content block horizontally */
    align-items: center; /* Centers vertically */
    padding: var(--section-gap-desktop) var(--gutter);
    text-align: center;
}

.benefits-content {
    max-width: 800px; /* Prevents text from stretching too wide on huge screens */
    width: 100%;
}

.benefits-tag {
    color: var(--secondary);
    display: inline-block;
    margin-bottom: 1rem;
}

/* Highlights the second part of the H2. You can change this to var(--dark) if preferred */
.highlight-secondary {
    color: var(--secondary);
    font-style: italic; 
}

/* RIGHT SIDE: Image Area (1/3 of the screen) */
.benefits-image-area {
    width: 33.333%;
    position: relative;
    /* Optional: Sets a minimum height so the image looks good even if text is short */
    min-height: 100%; 
}

.benefits-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* INFOGRAPHIC GRID (Inside the text area) */
.infographic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--gutter) * 1.5); /* Slightly larger gap between columns */
    margin-top: 3rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers text and numbers */
}

/* The third item that spans across the bottom */
.info-item.item-wide {
    grid-column: 1 / -1; /* Tells it to span all columns */
    max-width: 650px;
    margin: 0 auto; /* Centers it beautifully under the top two */
}

/* Numbered Circle Icons */
.info-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--primary);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.5rem;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.info-item h4 {
    color: var(--dark);
}

.info-item p {
    margin-bottom: 0;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS FOR BENEFITS SECTION
   ========================================================================== */
@media (max-width: 991px) {
    /* Stack layout: Image moves below the text on smaller screens */
    .benefits-text-area,
    .benefits-image-area {
        width: 100%;
    }

    .benefits-text-area {
        padding: var(--section-gap-mobile) var(--gutter);
    }

    /* Give the image a fixed height on mobile so it doesn't collapse */
    .benefits-image-area {
        min-height: 400px;
    }

    .benefits-img {
        position: relative; /* Switch away from absolute positioning on mobile */
    }
}

@media (max-width: 767px) {
    /* On small phones, stack the infographic points into 1 column */
    .infographic-grid {
        grid-template-columns: 1fr;
        gap: var(--gutter);
    }
}

/* ==========================================================================
   QUOTE SECTION
   ========================================================================== */
.quote-section {
    position: relative;
    width: 100vw;
    max-width: 100%;
    /* Reduced vertical padding to keep the section thin */
    padding: 70px 0; 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Background Image Layer */
.quote-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* Translucent Color Overlay */
.quote-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Uses --dark with 75% opacity for solid contrast against white text */
    background-color: rgba(72, 39, 17, 0.75);
    z-index: 1;
}

/* Text Container */
.quote-container {
    position: relative;
    z-index: 2;
    max-width: 850px; /* Keeps long quotes readable and naturally wrapped */
}

.quote-text {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-style: italic;
    color: var(--white);
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.quote-author {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-light);
    font-style: normal;
}

/* Mobile Adjustments */
@media (max-width: 767px) {
    .quote-section {
        padding: 48px 0;
    }
}

/* ==========================================================================
   OFFER / SERVICES SECTION
   ========================================================================== */
.section-header {
    margin-bottom: 3rem;
}

.header-description {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.offer-tag {
    color: var(--dark);
    display: inline-block;
    margin-bottom: 1rem;
}

/* Base Card Styling */
.offer-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(72, 39, 17, 0.05); /* Very subtle shadow */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%; /* Ensures all cards in the row are the same height */
    z-index: 1;
}

/* The Animated Border (Hidden by default) */
.offer-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid var(--primary);
    border-radius: var(--border-radius);
    opacity: 0;
    transform: scale(0.95); /* Starts slightly smaller */
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none; /* Prevents the border from blocking clicks */
    z-index: 3;
}

/* Image Wrapper and Image */
.offer-image-wrapper {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    overflow: hidden; /* Keeps the zoomed image inside the box */
}

.offer-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease; /* Smooth image zoom */
}

/* Card Content Area */
.offer-content {
    padding: 24px;
    flex-grow: 1; /* Pushes the bottom content down */
    position: relative;
    z-index: 2;
    background-color: var(--white-article);
}

.offer-content h4 {
    margin-bottom: 12px;
    color: var(--primary);
}

.offer-content p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

/* Helper to push links to the very bottom of the card */
.mt-auto {
    margin-top: auto;
}

/* Custom Link Style inside Card */
.offer-link {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.offer-link .arrow {
    margin-left: 6px;
    transition: transform 0.3s ease;
}

/* ==========================================================================
   OFFER CARD HOVER ANIMATIONS
   ========================================================================== */

/* 1. Size Changes (Card lifts up and gets a stronger shadow) */
.offer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(72, 39, 17, 0.12);
}

/* 2. Animated Border becomes visible (Fades in and scales up to match edges) */
.offer-card:hover::after {
    opacity: 1;
    transform: scale(1);
}

/* 3. Image enlarges slightly */
.offer-card:hover .offer-image-wrapper img {
    transform: scale(1.08);
}

/* 4. Link hover effect */
.offer-card:hover .offer-link {
    color: var(--primary);
}

.offer-card:hover .offer-link .arrow {
    transform: translateX(4px); /* Arrow nudges right */
}

/* ==========================================================================
   TESTIMONIALS / OPINIONS SECTION
   ========================================================================== */
.testimonials-section {
    background-color: var(--secondary); /* Deep olive background */
    color: var(--white);
    width: 100vw;
    max-width: 100%;
}

.testimonials-tag {
    color: var(--secondary-light);
    margin-bottom: 1rem;
}

.testimonials-title {
    color: var(--white); /* White title for readability on dark background */
    margin-bottom: 3.5rem;
}

/* Individual Opinion Items (Plain text layout) */
.testimonial-item {
    display: flex;
    flex-direction: column;
    padding: 0 1rem; /* Clean spacing without cards */
}

.testimonial-category {
    color: var(--secondary-light);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    margin-bottom: 0.75rem;
}

.testimonial-item h3 {
    color: var(--white);
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.testimonial-item p {
    color: var(--white);
    opacity: 0.9; /* Softens body text slightly for hierarchy */
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary-light);
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: auto; /* Pushes author name cleanly to the bottom */
}

/* Vertical dividing lines between opinions on desktop */
@media (min-width: 768px) {
    .testimonials-grid {
        gap: 2.5rem;
    }
    
    .testimonial-item:not(:last-child) {
        border-right: 1px solid rgba(211, 211, 161, 0.25); /* Subtle line in --secondary-light */
        padding-right: 2.5rem;
    }
}

/* Mobile Divider lines (Horizontal stacks) */
@media (max-width: 767px) {
    .testimonial-item {
        padding: 0;
        padding-bottom: 2rem;
        border-bottom: 1px solid rgba(211, 211, 161, 0.2);
    }
    
    .testimonial-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

/* ==========================================================================
   SHORT ABOUT ME SECTION
   ========================================================================== */
.about-short-section {
    display: flex;
    flex-wrap: wrap;
    background-color: var(--white); /* Soft pale blush */
    width: 100vw;
    max-width: 100%;
    padding: 0; 
    text-align: center;

}

/* LEFT SIDE: Image Area (1/3 of the screen) */
.about-image-area {
    width: 33.333%;
    position: relative;
    min-height: 100%; 
}

.about-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* RIGHT SIDE: Text Area (2/3 of the screen) */
.about-text-area {
    width: 66.666%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--section-gap-desktop) var(--gutter);
}

.about-content {
    max-width: 700px; /* Slightly narrower to keep centered paragraphs easy to read */
    width: 100%;
}

.about-tag {
    color: var(--dark); /* Olive text on pale background */
    margin-bottom: 1rem;
}

.about-title {
    color: var(--primary);
}

/* Optional highlight color for her name */
.highlight-primary {
    color: var(--primary); 
}

.about-content p {
    color: var(--dark);
    /*font-size: 1.05rem; /* Slightly larger text for the intro */
}

/* ==========================================================================
   MOBILE RESPONSIVENESS FOR ABOUT SECTION
   ========================================================================== */
@media (max-width: 991px) {
    /* Stack layout: Image and Text take full width */
    .about-image-area,
    .about-text-area {
        width: 100%;
    }

    /* Give the image a fixed height on mobile */
    .about-image-area {
        min-height: 400px;
        max-height: 600px;
    }

    .about-img {
        position: relative; /* Returns image to normal flow */
    }

    .about-text-area {
        padding: var(--section-gap-mobile) var(--gutter);
    }
}

/* ==========================================================================
   BLOG ARCHIVE (home.php)
   ========================================================================== */
/* Blog Hero (Slightly shorter version of the front-page hero) */
.page-hero {
    position: relative;
    width: 100vw;
    max-width: 100%;
    min-height: 50vh; /* Shorter than the home page hero */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: -80px; 
    padding-top: 80px;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(72, 39, 17, 0.7); /* Solid dark tint */
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 700px;
}

/* Reusing hero text styles */
.page-hero .hero-tag { color: var(--primary-light); margin-bottom: 1rem; display: inline-block;}
.page-hero .hero-title { color: var(--white); margin-bottom: 1rem;}
.page-hero .hero-description { font-size: 1.125rem; }

/* Blog Cards Specific Fixes */
.blog-category a {
    color: var(--secondary);
    text-decoration: none;
}

.blog-category a:hover {
    color: var(--primary);
}

.blog-card h4 a {
    color: var(--primary);
    text-decoration: none;
}

.blog-card h4 a:hover {
    color: var(--dark);
}

.blog-excerpt {
    font-size: 0.95rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.blog-excerpt p {
    margin-bottom: 0; /* Prevents awkward gaps inside the card */
}

/* Pagination Styling */
.blog-pagination {
    margin-top: 4rem;
    text-align: center;
}

.blog-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.blog-pagination a, 
.blog-pagination span.current {
    padding: 10px 18px;
    border: 1px solid var(--primary);
    border-radius: var(--border-radius-button);
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    transition: all 0.3s ease;
}

.blog-pagination span.current,
.blog-pagination a:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Force the blog archive background to white */
body.blog,
body.blog .site-main {
    background-color: var(--white);
}

/* ==========================================================================
   SINGLE POST (single.php)
   ========================================================================== */
.single-post-main {
    background-color: var(--white); /* Keeps reading background light */
    /*padding-bottom: var(--section-gap-desktop);*/
}

.single-header {
    padding: calc(var(--section-gap-mobile) + 20px) 0 40px;
}

.single-header-container {
    max-width: 800px;
}

.single-category a {
    color: var(--secondary);
    text-decoration: none;
}

.single-title {
    color: var(--primary);
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.single-meta {
    font-size: 0.9rem;
    color: var(--dark);
    opacity: 0.7;
}

.single-featured-image {
    max-width: 1000px;
    margin: 0 auto 3rem auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.single-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* The actual reading content area */
.single-content-container {
    max-width: 750px; /* Perfect width for comfortable reading */
    margin: 0 auto;
}

/* Styles generated by WordPress Editor (Gutenberg) */
.single-content h2, 
.single-content h3 {
    margin-top: 2.5rem;
    color: var(--primary);
}

.single-content img {
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.single-content blockquote {
    border-left: 4px solid var(--secondary);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--dark);
}

/* ==========================================================================
   SINGLE POST NAVIGATION & RELATED POSTS
   ========================================================================== */
.single-post-navigation {
    display: flex;
    align-items: center; /* Vertically centers the text with the button */
    justify-content: space-between; /* Spreads Left, Center, Right */
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    gap: 1rem;
    margin-bottom: 4rem;
}

.single-post-navigation .nav-side {
    flex: 1;
}

.single-post-navigation .nav-center {
    flex: 0 0 auto;
    text-align: center;
}

/* Styling the Next/Prev text links */
.single-post-navigation .nav-side a {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.single-post-navigation .nav-side a:hover {
    color: var(--primary);
}

/* Tiny hover micro-interactions for the arrows */
.single-post-navigation .nav-side.text-left a:hover {
    transform: translateX(-3px);
}

.single-post-navigation .nav-side.text-right a:hover {
    transform: translateX(3px);
}

/* Related Posts Section Spacing */
.related-posts-section {
    margin-top: 4rem;
    padding: var(--section-gap-desktop) 0;
}

/* Mobile Adjustments for Navigation */
@media (max-width: 768px) {
    .single-post-navigation {
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
    }
    
    .single-post-navigation .nav-side {
        width: 100%;
        text-align: center !important;
    }
    
    /* Reorder so the button stays in the middle on mobile too */
    .single-post-navigation .nav-side.text-left { order: 1; }  /* Next post on top */
    .single-post-navigation .nav-center { order: 2; }          /* Button in middle */
    .single-post-navigation .nav-side.text-right { order: 3; } /* Previous post on bottom */
}

/* ==========================================================================
   ABOUT PAGE STORY SECTIONS
   ========================================================================== */
.about-story-section {
    padding: var(--section-gap-desktop) 0;
}

/* Default Grid: Title (1fr) + Text (2fr) */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: flex-start; /* Keeps title aligned with top of the text */
}

/* Reversed Grid: Text (2fr) + Title (1fr) */
.story-grid-reverse {
    grid-template-columns: 2fr 1fr;
}

.story-heading {
    color: var(--primary);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 1rem;
    position: sticky;
    top: 100px; /* Optional: if the text is long, the title stays on screen while scrolling */
}

.story-content-col p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.story-content-col p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS (Below 768px)
   ========================================================================== */
@media (max-width: 768px) {
    .about-story-section {
        padding: var(--section-gap-mobile) 0;
    }

    .story-grid,
    .story-grid-reverse {
        grid-template-columns: 1fr; /* Stack everything into 1 column */
        gap: 1.5rem;
    }

    /* Force the title column to always be on top on mobile screens */
    .story-title-col {
        order: -1;
    }

    .story-heading {
        position: static; /* Disable sticky scrolling on small screens */
    }
}

/* ==========================================================================
   ABOUT PAGE CREDENTIALS SECTION (Koristi Badge Style)
   ========================================================================== */
.story-credentials-section {
    background-color: var(--secondary); /* Deep olive background */
    padding: var(--section-gap-desktop) 0;
    width: 100vw;
    max-width: 100%;
}

.credentials-intro {
    font-family: var(--font-body);
    /*font-size: clamp(1.15rem, 2vw, 1.35rem);*/
    font-weight: 700;
    color: var(--secondary-light);
    max-width: 800px;
    margin: 0 auto 3.5rem auto;
    line-height: 1.5;
    text-align: center;
}

.credentials-grid {
    width: 100%;
}

.credential-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1rem;
}

/* Circular Number Badge (Matching 'Koristi' design pattern) */
.credential-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--secondary-light);
    color: var(--dark);
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.credential-text {
    /*font-size: 1.05rem;*/
    color: var(--secondary-light);
    line-height: 1.5;
    margin: 0;
    text-align: center;
}

/* Desktop vertical dividers */
@media (min-width: 768px) {
    .credentials-grid {
        gap: 2.5rem;
    }
    
    .credential-item:not(:last-child) {
        border-right: 1px solid rgba(211, 211, 161, 0.25);
        padding-right: 2.5rem;
    }
}

/* Mobile vertical stack dividers */
@media (max-width: 767px) {
    .credential-item {
        padding: 0;
        padding-bottom: 2rem;
        border-bottom: 1px solid rgba(211, 211, 161, 0.2);
    }
    
    .credential-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

/* ==========================================================================
   EDGE BLEED SPLIT SECTIONS (1/3 Image, 2/3 Text)
   ========================================================================== */
.edge-split-section {
    position: relative;
    padding: var(--section-gap-desktop) 0;
    background-color: var(--white);
    display: flex;
    align-items: center;
}

/* The Image Container - anchored to the screen edges */
.edge-split-image {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 33.333vw; /* Exactly 1/3 of the viewport width */
    z-index: 1;
}

.edge-image-right {
    right: 0;
}

.edge-image-left {
    left: 0;
}

.edge-split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* The Text Container - constrained to 2/3 within the container */
.edge-split-content {
    position: relative;
    z-index: 2;
    width: 60%; /* Roughly 2/3, leaves a safe gap so text doesn't touch the image */
}

/* Push text to the left when image is on the right */
.edge-content-left {
    margin-right: auto;
    padding-right: 2rem;
}

/* Push text to the right when image is on the left */
.edge-content-right {
    margin-left: auto;
    padding-left: 2rem;
}

/* Text Styling */
.edge-split-content .section-title {
    color: var(--primary);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.edge-split-content p {
    /*font-size: 1.05rem;*/
    line-height: 1.8;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

/* Turning Point Quote */
.turning-point-quote {
    margin-top: 2.5rem;
    padding-left: 1.5rem;
    border-left: 4px solid var(--primary);
}

.turning-point-quote p {
    /*font-size: 1.15rem;*/
    font-style: italic;
    color: var(--secondary);
    margin-bottom: 0;
}

.turning-point-quote strong {
    color: var(--primary);
    display: block;
    margin-top: 0.5rem;
    font-style: normal;
}

/* Banner Styling */
.about-banner-section {
    background-color: var(--secondary-light); 
    padding: 6rem 0;
}

.banner-title {
    color: var(--primary);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 1.5rem;
}

.banner-text {
    /*font-size: clamp(1.1rem, 2vw, 1.25rem);*/
    /*line-height: 1.7;*/
    color: var(--dark);
    max-width: 800px;
    margin: 0;
    /*font-style: italic;*/
}

/* ==========================================================================
   MOBILE RESPONSIVENESS (Below 768px)
   ========================================================================== */
@media (max-width: 768px) {
    .edge-split-section {
        padding: 0; /* Remove padding so image can stack flush if needed */
        flex-direction: column;
    }

    /* Make image static and full width on mobile */
    .edge-split-image {
        position: relative;
        width: 100vw;
        height: 300px; /* Fixed height on mobile */
    }

    /* Ensure text goes under the image on mobile */
    .edge-image-left,
    .edge-image-right {
        order: 1; 
    }

    .container {
        order: 2;
    }

    /* Make text full width */
    .edge-split-content {
        width: 100%;
        padding: var(--section-gap-mobile) 0;
        margin: 0;
    }

    .about-banner-section {
        padding: 4rem 1rem;
    }
}

/* ==========================================================================
   JOURNEY SECTION (EDGE SPLIT + RIGHT-ALIGNED TIMELINE)
   ========================================================================== */

.journey-edge-section {
    min-height: 550px;
}

/* Timeline Layout */
.journey-timeline {
    display: flex;
    flex-direction: column;
}

/* Right-aligned specific modifiers */
.timeline-right .journey-item {
    justify-content: flex-end; /* Pushes content to the right */
    text-align: right;         /* Aligns the text itself to the right */
}

.journey-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    position: relative;
    padding-bottom: 1.75rem;
}

.journey-item:last-child {
    padding-bottom: 0;
}

/* Berry pink dot */
.journey-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--primary);
    flex-shrink: 0;
    margin-top: 6px;
    position: relative;
    z-index: 2;
}

/* Connecting vertical line - Flipped to the RIGHT side */
.timeline-right .journey-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 6px; /* Exactly centers the 2px line inside the 14px dot on the right side */
    top: 20px;
    bottom: 0;
    width: 2px;
    background-color: rgba(160, 42, 92, 0.25);
    z-index: 1;
}

.journey-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--dark);
    margin: 0;
    font-weight: 500;
}

/* Helper Class for Text Alignment */
.text-right {
    text-align: right;
}

/* ==========================================================================
   MOBILE STACKING ADJUSTMENTS (Below 991px)
   ========================================================================== */
@media (max-width: 991px) {
    .journey-edge-section {
        flex-direction: column;
        padding: 0;
    }

    .journey-edge-section .container {
        order: 1;
        width: 100%;
        padding: var(--section-gap-mobile) var(--gutter);
    }

    .journey-edge-section .edge-split-image {
        order: 2;
        position: relative;
        width: 100vw;
        height: 400px; 
        right: auto;
    }

    .journey-edge-section .edge-split-content {
        width: 100%;
        padding: 0;
    }
}

/* ==========================================================================
   ABOUT PAGE: FINAL DEDICATION SECTION
   ========================================================================== */
.about-final-section {
    padding: 8rem 0;
}

.final-intro {
    color: var(--secondary); /* Dark olive */
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    margin-bottom: 4rem;
    font-weight: 700;
}

/* The "Tebi" List Styling */
.tebi-list {
    max-width: 800px;
    margin: 0 auto 5rem auto;
    gap: 1.5rem;
    text-align: center;
}

.tebi-item {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--dark);
    margin: 0;
    transition: transform 0.3s ease;
}

/* Hover effect on desktop for interactivity */
.tebi-item:hover {
    transform: translateX(10px);
}

/* The anchor word "Tebi" styled like the numbers in 'Koristi' */
.tebi-word {
    font-family: var(--font-display);
    color: var(--primary); /* Berry pink */
    font-size: 1.5rem;
    font-weight: 700;
    font-style: italic;
    margin-right: 0.5rem;
}

/* Conclusion Block */
.final-conclusion {
    max-width: 700px;
    margin: 0 auto;
    padding-top: 4rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1); /* Subtle dividing line */
}

.final-conclusion p {
    /*font-size: 1.1rem;*/
    line-height: 1.8;
    color: var(--dark);
    font-weight: 500;
    margin-bottom: 2rem;
    text-align: center;
}

/* Huge Signature Text */
.welcome-signature {
    font-family: var(--font-display);
    color: var(--secondary);
    font-size: clamp(3rem, 6vw, 4.5rem);
    margin: 0;
    line-height: 1;
    text-align: center;
    font-style: italic;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS (Below 768px)
   ========================================================================== */
@media (max-width: 768px) {
    .about-final-section {
        padding: var(--section-gap-mobile) 0;
    }
    
    .tebi-item:hover {
        transform: none; /* Disable hover movement on touch screens */
    }

    .final-conclusion {
        padding-top: 3rem;
    }
}

/* ==========================================================================
   CONTACT PAGE LAYOUT (50/50 Split)
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Exact 50/50 split */
    gap: 6rem; /* Slightly wider gap since columns are equal */
    align-items: center; /* Centers the form vertically against the text */
}

/* Uniform SVG Icons */
.contact-svg-icon {
    width: 24px;
    height: 24px;
    stroke: var(--primary); /* Keeps them consistently on-brand */
    flex-shrink: 0;
}

.contact-detail-item a {
    color: var(--dark); 
    text-decoration: none; 
    font-size: 1.1rem; 
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-detail-item a:hover {
    color: var(--primary);
}

/* ==========================================================================
   INTERACTIVE FORM CARD
   ========================================================================== */
.interactive-card {
    background-color: var(--white-article); /* Your new variable */
    padding: 3.5rem;
    border-radius: var(--border-radius, 12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* Soft, elegant shadow */
    transition: transform 0.4s ease, box-shadow 0.4s ease; /* Card hover animation */
}

.interactive-card:hover {
    transform: translateY(-8px); /* Lifts up exactly like the article cards */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); /* Deepens shadow on hover */
}

/* ==========================================================================
   CONTACT FORM 7 CUSTOM STYLING
   ========================================================================== */
.custom-contact-form {
    width: 100%;
}

.custom-contact-form .form-row {
    gap: 1.5rem;
    margin-bottom: 0rem;
}

.custom-contact-form .half {
    width: 50%;
}

.custom-contact-form .form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

/* Form Labels */
.custom-contact-form label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Inputs & Textarea */
.custom-contact-form .input-field {
    width: 100%;
    background-color: var(--white-article); /* Pure white fields popping off the tinted background */
    border: 1px solid rgba(72, 39, 17, 0.5);
    border-radius: var(--border-radius, 8px);
    padding: 1rem 1.25rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--dark);
    transition: all 0.3s ease;
}

/* Placeholder Styling */
.custom-contact-form .input-field::placeholder {
    color: rgba(0, 0, 0, 0.3); /* Soft grey placeholder text */
    font-style: italic;
}

/* Textarea specific height */
.custom-contact-form textarea.input-field {
    min-height: 150px;
    resize: vertical;
}

/* Focus State (When user clicks inside) */
.custom-contact-form .input-field:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(160, 42, 92, 0.1);
}

/* Submit Button Wrapper */
.custom-contact-form .form-submit {
    margin-top: 2rem;
    margin-bottom: 0;
}

/* Force CF7 Submit button to use your brand button style */
.custom-contact-form input[type="submit"].btn {
    border: none;
    cursor: pointer;
    width: 100%; /* Makes button stretch full width of the card for a modern look */
    text-align: center;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS (Below 991px)
   ========================================================================== */
@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr; /* Stack into 1 column on tablets/mobile */
        gap: 3rem;
    }

    .custom-contact-form .form-row {
        flex-direction: column;
        gap: 1.5rem;
    }

    .custom-contact-form .half {
        width: 100%;
    }

    .interactive-card {
        padding: 2.5rem 1.5rem; /* Smaller padding on mobile */
    }
}

/* ==========================================================================
   CONTACT FORM 7 CHECKBOX STYLING
   ========================================================================== */

/* Shared Layout & Mechanics for ALL Checkboxes */
.custom-contact-form .wpcf7-acceptance label,
.newsletter-transparent-wrapper .wpcf7-acceptance label,
.form-checkbox-item label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.88rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
    line-height: 1.4;
}

/* Custom Checkbox Input Styling */
.custom-contact-form input[type="checkbox"],
.newsletter-transparent-wrapper input[type="checkbox"] {
    appearance: auto;
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
    margin-top: 0.15rem;
    cursor: pointer;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   1. MAIN CONTACT FORM (Dark Text)
   -------------------------------------------------------------------------- */
.custom-contact-form .wpcf7-acceptance label,
.custom-contact-form .form-checkbox-item label {
    color: var(--dark);
}

.custom-contact-form .form-checkbox-item a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.custom-contact-form .form-checkbox-item a:hover {
    color: var(--dark);
}

/* --------------------------------------------------------------------------
   2. NEWSLETTER FORM (Light Text for Dark Background)
   -------------------------------------------------------------------------- */
.newsletter-transparent-wrapper .wpcf7-acceptance label,
.newsletter-transparent-wrapper label {
    color: rgba(255, 255, 255, 0.85); /* Light text for readability */
}

.newsletter-transparent-wrapper a {
    color: var(--white);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.newsletter-transparent-wrapper a:hover {
    color: var(--primary-light);
}
/* ==========================================================================
   NEWSLETTER SECTION
   ========================================================================== */

/* Main Section Structure */
.newsletter-section {
    position: relative;
    padding: 6rem 0; /* Adjust to match your standard section padding */
    overflow: hidden;
}

/* Grid Layout ensuring content sits above the absolute-positioned overlay */
.newsletter-grid {
    position: relative;
    z-index: 10; 
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* TEXT STYLING */
.newsletter-tag {
    color: var(--white); 
    display: block;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.newsletter-heading {
    color: var(--white);
    margin-bottom: 1rem;
    text-align: left;
    /* Font size inherits naturally from your standard styling / .quote-text */
}

.newsletter-paragraph {
    color: var(--white);
    opacity: 0.85;
    margin-bottom: 0;
}

/* FORM STYLING (Transparent, Inline) */
.newsletter-transparent-wrapper {
    width: 100%;
}

.newsletter-form-title {
    color: var(--white);
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.1rem; 
    font-weight: 600;
}

/* Side-by-side Layout for Input and Button */
.newsletter-inline-row {
    display: flex;
    flex-direction: row;
    gap: 1rem; /* Adds explicit space between the email field and the button */
    margin-bottom: 1rem;
    width: 100%;
    align-items: stretch; /* Forces the input wrapper and button to be the exact same height */
}

/* Contact Form 7 hidden wrapper needs to stretch */
.newsletter-inline-row .wpcf7-form-control-wrap {
    flex: 1; /* Takes up all available space next to the button */
    display: flex;
}

/* Explicitly styling the email field so it never looks like a default box */
.newsletter-inline-row .input-field,
.newsletter-inline-row input[type="email"] {
    width: 100%;
    height: 100%; /* Forces it to perfectly match the button's height */
    min-height: 48px; /* Safe minimum height in case the button is small */
    padding: 0 1.2rem;
    margin: 0;
    font-family: inherit;
    font-size: 1rem;
    color: var(--dark, #1e293b);
    background-color: var(--white, #ffffff);
    border: 1px solid transparent; 
    border-radius: 4px; /* Adjust to 0px if your buttons are perfectly square */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); /* Very subtle shadow for depth */
    outline: none;
    transition: all 0.3s ease;
}

/* Adding a nice focus effect when the user clicks inside */
.newsletter-inline-row .input-field:focus,
.newsletter-inline-row input[type="email"]:focus {
    border: 1px solid var(--white, #ffffff);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Checkbox and Link styling */
.newsletter-checkbox {
    font-size: 0.85rem;
    color: var(--white);
    opacity: 0.85;
}

.newsletter-checkbox a {
    color: var(--white);
    text-decoration: underline;
}

.newsletter-checkbox a:hover {
    text-decoration: none;
    opacity: 1;
}

.newsletter-checkbox .wpcf7-list-item {
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.newsletter-checkbox input[type="checkbox"] {
    margin-top: 0.25rem;
    cursor: pointer;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .newsletter-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    /* Stack the input and button on smaller phone screens */
    @media (max-width: 480px) {
        .newsletter-inline-row {
            flex-direction: column;
            align-items: stretch;
        }
        
        .newsletter-inline-row .btn {
            width: 100%;
        }
    }
}

/* ==========================================================================
   SITE FOOTER STYLES
   ========================================================================== */
.site-footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 5rem 0 2.5rem 0;
    font-family: var(--font-body);
}

/* 4-Column Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
    gap: 3.5rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* Brand Column */
.footer-logo {
    max-width: 170px;
    height: auto;
    margin-bottom: 1.25rem;
    display: block;
}

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    max-width: 290px;
}

/* Headings */
.footer-heading {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--secondary); /* Matches your brand highlight color */
    margin-bottom: 1.5rem;
}

/* Lists & Links */
.footer-menu,
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 0.75rem;
}

.footer-menu a,
.footer-contact-list a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-menu a:hover,
.footer-contact-list a:hover {
    color: var(--primary); /* Hover color accent */
    transform: translateX(3px);
}

/* Contact List SVG Icons */
.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.footer-icon {
    width: 20px;
    height: 20px;
    stroke: var(--primary); /* Berry pink SVG icons */
    flex-shrink: 0;
}

/* ==========================================================================
   BOTTOM BAR (Desktop)
   ========================================================================== */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.footer-legal p,
.footer-credit p {
    margin: 0;
}

/* The little divider line between copyright and privacy */
.separator {
    color: rgba(255, 255, 255, 0.3);
}

.credit-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.credit-link:hover {
    color: var(--primary);
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVENESS
   ========================================================================== */

/* Tablet Landscape (Under 1024px) */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr; /* Switch to 2x2 Grid */
        row-gap: 3.5rem;
        column-gap: 2rem;
    }
}

/* Tablet Portrait (Under 768px) */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 1.25rem;
    }

    .footer-legal {
        justify-content: center;
        flex-direction: column; /* Stacks copyright and privacy on smaller screens */
        gap: 0.5rem;
    }

    /* Hide the vertical separator when items stack */
    .separator {
        display: none; 
    }
}

/* Mobile Devices (Under 576px) */
@media (max-width: 576px) {
    .site-footer {
        padding: 4rem 0 2rem 0;
    }

    .footer-grid {
        grid-template-columns: 1fr; /* Switch to 1 Single Column */
        gap: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .footer-logo {
        max-width: 140px; /* Scales logo down slightly for mobile */
    }
    
    .footer-bottom {
        align-items: flex-start; /* Aligns all text cleanly to the left edge */
        text-align: left;
    }

    .footer-legal {
        align-items: flex-start;
    }
}

/* TIMELINE LEFT (Pika levo, besedilo desno - za alineje v ponudbi) */
.journey-timeline.timeline-left {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.journey-timeline.timeline-left .journey-item {
    display: flex;
    align-items: flex-start;
    flex-direction: row; /* Prisili piko na levo stran */
    gap: 1.5rem;
}

.journey-timeline.timeline-left .journey-dot {
    margin-top: 0.4rem; /* Sredinsko poravna piko s prvo vrstico besedila */
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    background-color: var(--primary); /* Privzeta barva */
    border-radius: 50%;
}

.journey-timeline.timeline-left .journey-text {
    margin: 0;
    text-align: left;
    line-height: 1.5;
}

/* SERVICES GRID & ITEMS */
.services-grid {
    gap: 3rem; /* Odmik med stolpci */
}

.service-item {
    background-color: var(--white-article); /* Rahla barva ozadja, da se vizualno ločijo. Lahko izbrišeš, če želiš čisto belo. */
    padding: 3rem 2rem;
    border-radius: 12px;
    height: 100%; /* Poskrbi, da so vsi okvirji enako visoki */
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px); /* Rahel dvig ob prehodu z miško */
}

.service-category {
    color: var(--secondary);
    display: block;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.service-title {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    line-height: 1.3;
}

.service-excerpt {
    margin-bottom: 2rem;
    line-height: 1.7;
    color: #444;
}

/* Tekstovni gumb (brez okvirja), ki izgleda elegantno */
.btn-text {
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.3s ease;
    align-self: flex-start; /* Gumb se poravna levo */
}

.btn-text:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/* LECTURES GRID & CARDS */
.lectures-grid {
    gap: 2.5rem;
}

.lecture-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.lecture-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.lecture-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.lecture-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.lecture-card:hover .lecture-image img {
    transform: scale(1.04);
}

.lecture-content {
    padding: 2rem;
}

.lecture-category {
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
    display: block;
}

.lecture-title {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    line-height: 1.4;
}

.lecture-title a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.lecture-title a:hover {
    color: var(--secondary);
}

.lecture-excerpt {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.archive-card {
    background-color: #ffffff;
}

/* ==========================================================================
   CUSTOM GUTENBERG BLOCK STYLES
   ========================================================================== */

/* 1. Paragraph: Highlight Box */
p.is-style-althea-highlight-box {
    background-color: var(--white-article);
    border-left: 4px solid var(--primary); /* Uses your main brand color */
    padding: 1.5rem 2rem;
    border-radius: 0 8px 8px 0;
    font-size: 1.05rem;
    color: var(--dark);
    margin-top: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

/* 2. Quote: Elegant Quote */
blockquote.is-style-althea-elegant-quote {
    border: none; /* Removes default WordPress quote border */
    text-align: center;
    padding: 2.5rem 1rem;
    position: relative;
    margin: 3rem 0;
}

blockquote.is-style-althea-elegant-quote p {
    font-size: 1rem;
    font-style: italic;
    color: var(--primary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Optional: Adds decorative quotation marks using CSS */
blockquote.is-style-althea-elegant-quote::before {
    content: "“";
    font-size: 4rem;
    color: var(--secondary-light); /* Very faint version of your dark brown */
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-family: Georgia, serif;
}

/* 3. Image: Soft Shadow */
.wp-block-image.is-style-althea-soft-shadow img {
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

/* ==========================================================================
   ALTHEA BLOCK PATTERNS STYLES
   ========================================================================== */

/* 1. Recipe Card Pattern */
.althea-recipe-card {
    background-color: var(--white-article);
    border: 1px solid rgba(72, 39, 17, 0.08);
    border-radius: 12px;
    padding: 2.5rem;
    margin: 2.5rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.althea-recipe-card .recipe-title {
    color: var(--primary);
    margin-bottom: 0.25rem;
    font-size: 1.5rem;
}

.althea-recipe-card .recipe-meta {
    font-size: 0.9rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding-bottom: 1rem;
}

.althea-recipe-card .recipe-image img {
    border-radius: 8px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.althea-recipe-card .recipe-ingredients-list {
    padding-left: 1.2rem;
    line-height: 1.7;
    color: var(--dark);
}

.althea-recipe-card .recipe-ingredients-list li {
    margin-bottom: 0.4rem;
}

/* 2. Image & Text Row Pattern */
.althea-image-text-block {
    margin: 3rem 0;
    gap: 2.5rem;
}

.althea-image-text-block .althea-featured-img img {
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    width: 100%;
}

.althea-image-text-block h3 {
    color: var(--primary);
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.althea-image-text-block p {
    line-height: 1.7;
    color: var(--dark);
}

/* ==========================================================================
   ALTHEA CUSTOM BUTTON STYLE
   ========================================================================== */

.wp-block-button.is-style-althea-brand-button .wp-block-button__link {
    background-color: var(--primary);
    color: var(--white);
    border-radius: 30px; /* Adjust to match your theme's roundness */
    padding: 0.8rem 2.2rem;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    border: 1px solid var(--primary);
    transition: all 0.3s ease;
}

.wp-block-button.is-style-althea-brand-button .wp-block-button__link:hover {
    background-color: transparent;
    color: var(--primary);
}

/* ==========================================================================
   ALTHEA EVENT META PATTERN (Thin Line Tags)
   ========================================================================== */

.althea-event-meta {
    gap: 1.5rem !important; /* Forces spacing between items */
    padding: 1rem 0;
    border-top: 1px solid rgba(72, 39, 17, 0.1);    /* Faint dark brown border */
    border-bottom: 1px solid rgba(72, 39, 17, 0.1);
    margin: 2rem 0;
    color: var(--secondary);
}

.althea-event-meta p {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 !important;
    font-size: 0.95rem;
    font-weight: 500;
}

.althea-event-meta .material-symbols-outlined {
    font-size: 1.15rem;
    color: var(--primary); /* Makes the icons pop in your primary brand color */
}

/* ==========================================================================
   ALTHEA TIMELINE CARD (RECIPE STYLE)
   ========================================================================== */

.althea-timeline-card {
    border-radius: 20px;
    overflow: hidden;
    max-width: 1000px; /* Makes it a focused "card" rather than full-width */
    margin: 4rem auto !important; 
    box-shadow: 0 10px 40px rgba(72, 39, 17, 0.08); /* Soft shadow using brand color */
}

/* Force the columns to sit flush against each other with zero gap */
.althea-timeline-card .wp-block-columns {
    margin-bottom: 0;
}

/* Text Column Setup */
.althea-timeline-card .timeline-card-text-col {
    padding: 4rem 3rem 4rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* The Timeline Line Container */
.timeline-card-list {
    border-right: 2px solid var(--primary); /* The vertical line */
    padding-right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* The individual items (Just normal Gutenberg paragraphs!) */
.timeline-card-list p {
    margin: 0 !important;
    position: relative;
    text-align: right;
    font-weight: 500;
    font-size: 1.05rem;
    padding-top: 20px;
}

/* The Dots (Automatically attached via CSS) */
.timeline-card-list p::after {
    content: '';
    position: absolute;
    top: 50%;
    /* Math perfectly aligns the dot over the vertical border line */
    right: calc(-2rem - 10px); 
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-color: var(--primary);
    border: 3px solid var(--secondary-light); /* Matches card background to "cut" the line */
    border-radius: 50%;
    box-sizing: content-box;
    z-index: 2;
}

/* Image Column Setup */
.althea-timeline-card .timeline-card-img-col {
    display: flex;
}

.althea-timeline-card .timeline-card-img-col .wp-block-image {
    margin: 0;
    width: 100%;
    display: flex;
}

.althea-timeline-card .timeline-card-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px; /* Safety fallback if text is short */
}

/* ==========================================================================
   Mobile Adaptations (Stacks nicely and swaps timeline to the left)
   ========================================================================== */
@media (max-width: 781px) {
    .althea-timeline-card {
        border-radius: 12px;
        margin: 2rem 1rem !important;
    }

    .althea-timeline-card .timeline-card-text-col {
        padding: 3rem 2rem;
    }

    /* Move the timeline line to the left side on mobile */
    .timeline-card-list {
        border-right: none;
        border-left: 2px solid var(--primary);
        padding-right: 0;
        padding-left: 1.5rem;
    }

    /* Read left-to-right on mobile */
    .timeline-card-list p {
        text-align: left;
    }
    
    .althea-timeline-card .has-text-align-right {
        text-align: left !important;
    }

    /* Move the dots to the left line */
    .timeline-card-list p::after {
        right: auto;
        left: calc(-1.5rem - 10px);
    }

    .althea-timeline-card .timeline-card-img-col img {
        min-height: 300px;
    }
}

/* Moved from inline styles to prevent Block Validation errors */
.althea-timeline-card {
    background-color: var(--secondary-light);
}

.althea-timeline-cols {
    gap: 0 !important; 
}

.timeline-card-heading {
    color: var(--primary) !important;
    margin-bottom: 2.5rem !important;
}

/* ==========================================================================
   ALTHEA TEXT TIMELINE CARD (NO IMAGE)
   ========================================================================== */

.althea-text-timeline-card {
    background-color: var(--primary-light);
    border-radius: 20px;
    padding: 4rem;
    max-width: 800px; /* Constrains width so text doesn't stretch too far */
    margin: 4rem auto !important; 
    box-shadow: 0 10px 40px rgba(72, 39, 17, 0.08);
}

.text-timeline-heading {
    color: var(--primary) !important;
    margin-bottom: 2.5rem !important;
    text-align: left;
}

.text-timeline-list {
    border-left: 2px solid var(--primary); /* Line is on the left now */
    padding-left: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.text-timeline-list p {
    margin: 0 !important;
    position: relative;
    text-align: left;
    font-weight: 500;
    font-size: 1.05rem;
    padding-top: 20px;
}

/* The Dots (Automatically attached via CSS) */
.text-timeline-list p::after {
    content: '';
    position: absolute;
    top: 50%;
    left: calc(-1.8rem - 10px); /* Aligns perfectly with the left border */
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-color: var(--primary);
    border-radius: 50%;
    box-sizing: content-box;
    z-index: 2;
}

/* ==========================================================================
   Mobile Adaptations for Text Timeline
   ========================================================================== */
@media (max-width: 781px) {
    .althea-text-timeline-card {
        padding: 3rem 2rem;
        margin: 2rem 1rem !important;
        border-radius: 12px;
    }
    
    .text-timeline-list {
        padding-left: 1.5rem;
    }

    .text-timeline-list p::after {
        left: calc(-1.5rem - 10px);
    }
}

/* ==========================================================================
   ALTHEA STYLED BULLET LIST CARD
   ========================================================================== */

.althea-bullet-card {
    background-color: var(--white);
    border-radius: 20px;
    /*padding: 3.5rem 4rem;*/
    max-width: 800px;
    margin: 4rem auto !important;
   /* box-shadow: 0 10px 40px rgba(72, 39, 17, 0.08);*/
}

.bullet-card-heading {
    color: var(--primary) !important;
    margin-bottom: 2rem !important;
    font-size: 1.5rem;
}

.althea-styled-list {
    padding-left: 1.5rem !important;
    margin: 0 !important;
}

.althea-styled-list li {
    color: var(--dark);
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 1rem !important;
}

.althea-styled-list li:last-child {
    margin-bottom: 0 !important;
}

/* Colors and scales the bullet points automatically using your primary brand color */
.althea-styled-list li::marker {
    color: var(--primary);
    font-size: 1.3rem;
}

/* ==========================================================================
   Mobile Adaptations for Bullet Card
   ========================================================================== */
@media (max-width: 781px) {
    .althea-bullet-card {
        padding: 2.5rem 2rem;
        margin: 2rem 1rem !important;
        border-radius: 12px;
    }
}

/* ==========================================================================
   E-BOOKS GRID & ACCORDION
   ========================================================================== */

.ebooks-library {
    padding: 5rem 0;
}

.ebooks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 3rem;
}

.ebook-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.ebook-image {
    width: 100%;
    height: 350px; /* Adjust based on book cover aspect ratio */
    overflow: hidden;
    background-color: var(--secondary-light);
}

.ebook-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ebook-summary {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ebook-category {
    color: var(--secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
    display: block;
}

.ebook-title {
    color: var(--primary);
    font-size: 1.4rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

/* Accordion Button Styling */
.btn-accordion {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: inherit;
    margin-top: auto; /* Pushes button to bottom if titles vary in height */
}

.accordion-icon {
    display: inline-block;
    transition: transform 0.3s ease;
}

/* When the accordion is open, flip the arrow */
.btn-accordion.active .accordion-icon {
    transform: rotate(180deg);
}

/* Hidden Content Logic */
.ebook-expanded-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease;
}

.ebook-expanded-content.is-open {
    grid-template-rows: 1fr;
}

.ebook-expanded-inner {
    overflow: hidden;
}

/* Give the inner content some spacing when open */
.ebook-expanded-inner p {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--dark);
    border-top: 1px solid rgba(0,0,0,0.05);
}

.ebook-form-wrapper {
    background-color: var(--white-article);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .ebooks-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .ebook-image {
        height: 300px;
    }
}

/* ==========================================================================
   EVENT / LECTURE LANDING PAGE

   ========================================================================== */

/* ---- HERO META ROW (date / time / location / price pills) ---- */
.event-meta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.event-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 0.6rem 1.1rem;
    border-radius: var(--border-radius-button);
    font-size: 0.9rem;
    font-weight: 700;
    backdrop-filter: blur(4px);
}

.event-meta-icon {
    width: 18px;
    height: 18px;
    stroke: var(--white);
    flex-shrink: 0;
}

.event-price-old {
    text-decoration: line-through;
    opacity: 0.6;
    font-weight: 400;
    margin-right: 0.35rem;
}

.event-price-new {
    font-weight: 700;
}

.event-badge-early {
    display: inline-block;
    background-color: var(--primary-light);
    color: var(--dark);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.55rem;
    border-radius: var(--border-radius-button);
    margin-left: 0.5rem;
}

.event-hero-note {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 1.5rem;
}

@media (max-width: 767px) {
    .event-meta-row {
        gap: 0.5rem;
    }
    .event-meta-item {
        font-size: 0.82rem;
        padding: 0.5rem 0.85rem;
    }
}

/* ---- HOOK / QUESTIONS SECTION ---- */
.event-hook-section {
    text-align: center;
}

.event-hook-intro,
.event-hook-outro {
    max-width: 700px;
    margin: 0 auto 1.5rem auto;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
}

.event-hook-list {
    list-style: none;
    max-width: 620px;
    margin: 0 auto 1.5rem auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    align-items: center;
}

.event-hook-list li {
    position: relative;
    padding-left: 1.75rem;
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.5;
    color: var(--dark);
    text-align: left;
}

.event-hook-list li::before {
    content: "–";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-style: normal;
    font-weight: 700;
}

/* ---- TWO SOURCE CARDS ("od kod pridejo vetrovi") ---- */
.event-source-card {
    background-color: var(--white-article);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    height: 100%;
}

.event-source-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--primary);
    margin-bottom: 1.25rem;
}

.event-source-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--white);
}

.event-source-card h4 {
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.event-source-card p {
    margin-bottom: 0;
    color: var(--dark);
}

/* ---- TIPS GRID ("kaj lahko narediš že danes") ---- */
.event-tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

.event-tip-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    background-color: var(--white-article);
    border-radius: var(--border-radius);
    padding: 1.1rem 1.35rem;
}

.event-tip-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    font-family: var(--font-display);
    font-weight: 700;
    flex-shrink: 0;
}

.event-tip-item p {
    margin: 0;
    font-weight: 500;
    color: var(--dark);
    font-size: 0.98rem;
}

/* ---- 7 TOPICS GRID ---- */
.event-topics-section {
    background-color: var(--secondary);
    width: 100vw;
    max-width: 100%;
}

.event-topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem 2rem;
    margin-top: 3rem;
}

.event-topic-item {
    text-align: center;
}

.event-topic-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem auto;
    border-radius: 50%;
    background-color: var(--secondary-light);
    color: var(--dark);
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
}

.event-topic-item h4 {
    color: var(--white);
    margin-bottom: 0.6rem;
}

.event-topic-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.92rem;
    margin-bottom: 0;
}

.event-topics-tagline {
    text-align: center;
    color: var(--secondary-light);
    font-style: italic;
    margin-top: 3rem;
    margin-bottom: 0;
    font-size: 1rem;
}

/* ---- CHECKLISTS ("zate, če ..." / "kaj boš odnesla") ---- */
.event-checklist {
    list-style: none;
    max-width: 700px;
    margin: 2rem auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.event-checklist.event-checklist-2col {
    max-width: 900px;
}

.event-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 1.05rem;
    color: var(--dark);
    text-align: left;
}

.event-check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

@media (min-width: 768px) {
    .event-checklist-2col {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 2.5rem;
        row-gap: 1rem;
    }
}

/* ---- BONUS SECTION ---- */
.event-bonus-section {
    background-color: var(--primary-light);
}

.event-bonus-tag {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    border-radius: var(--border-radius-button);
    margin-bottom: 1rem;
}

.event-bonus-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2.25rem;
    height: 100%;
    box-shadow: 0 4px 15px rgba(72, 39, 17, 0.06);
}

.event-bonus-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary-light);
    margin-bottom: 1.25rem;
}

.event-bonus-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--primary);
}

.event-bonus-card h4 {
    color: var(--primary);
    margin-bottom: 0.6rem;
    font-size: 1.05rem;
}

.event-bonus-card p {
    margin-bottom: 0;
    color: var(--dark);
    font-size: 0.92rem;
}

/* ---- EVENT DETAILS CARD ---- */
.event-details-section {
    background-color: var(--secondary-light);
}

.event-details-card {
    background-color: var(--white-article);
    max-width: 820px;
    margin: 3rem auto 0 auto;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(72, 39, 17, 0.08);
}

.event-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 2rem;
}

.event-detail-row {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
}

.event-detail-row.event-detail-full {
    grid-column: 1 / -1;
}

.event-detail-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--secondary);
    margin-bottom: 0.25rem;
}

.event-detail-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
}

.event-details-note {
    grid-column: 1 / -1;
    margin-top: 0.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(72, 39, 17, 0.1);
    font-size: 0.9rem;
    color: var(--dark);
    opacity: 0.85;
}

.event-details-cta {
    text-align: center;
    margin-top: 2.5rem;
}

@media (max-width: 767px) {
    .event-details-card {
        padding: 2rem 1.5rem;
        border-radius: 12px;
    }
    .event-details-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ---- FINAL CTA BAND ---- */
.event-final-cta {
    background-color: var(--dark);
    text-align: center;
}

.event-final-cta h2 {
    color: var(--white);
    max-width: 750px;
    margin: 0 auto 1rem auto;
}

.event-final-cta p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 650px;
    margin: 0 auto 2.5rem auto;
}

.event-final-cta .event-hero-note {
    margin-top: 1.5rem;
    margin-bottom: 0;
}

/* ---- MOBILE ADJUSTMENTS (shared) ---- */
@media (max-width: 768px) {
    .event-topics-grid {
        gap: 2rem 1.5rem;
    }
    .event-source-card,
    .event-bonus-card {
        padding: 2rem 1.5rem;
    }
}

/* ==========================================================================
   ALTHEA REGISTERED EVENT PATTERNS STYLES
   ========================================================================== */

/* 1. Event Hero Header */
.althea-event-hero {
    background-color: var(--secondary-light); /* Soft background */
    padding: 5rem 2rem;
    border-radius: 20px;
    margin: 2rem 0 4rem 0;
}

.althea-event-hero-title {
    color: var(--primary);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    line-height: 1.15;
    margin-bottom: 1.5rem !important; /* Forces spacing under title */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.althea-event-hero-subtitle {
    color: var(--dark);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 500;
    max-width: 750px;
    margin: 0 auto 2rem auto !important;
    line-height: 1.5;
}

/* 2. Numbered 7-Areas Grid */
.althea-numbered-grid-wrapper {
    margin: 5rem 0;
}

.althea-numbered-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3.5rem;
}

.althea-numbered-card {
    background-color: var(--white-article);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.althea-numbered-card:hover {
    transform: translateY(-4px);
}

/* Updated to style the Gutenberg paragraph properly */
p.althea-numbered-card-num {
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: var(--primary);
    opacity: 0.15;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    margin: 0 !important;
    line-height: 1;
    font-style: italic;
}

.althea-numbered-card h4 {
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
}

.althea-numbered-card p:not(.althea-numbered-card-num) {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    color: var(--dark);
    position: relative;
    z-index: 2;
}

/* 3. Checkmark List Modifier */
.althea-bullet-card.althea-check-list .althea-styled-list {
    list-style: none !important;
    padding-left: 0 !important;
}

.althea-bullet-card.althea-check-list .althea-styled-list li {
    position: relative;
    padding-left: 2.2rem;
    margin-bottom: 1rem;
}

/* Hides the default marker added by your older CSS rules */
.althea-bullet-card.althea-check-list .althea-styled-list li::marker {
    content: ''; 
    display: none;
}

.althea-bullet-card.althea-check-list .althea-styled-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: 800;
    font-size: 1.2rem;
}

/* 4. Bonus Card */
.althea-bonus-card {
    background-color: var(--primary-light);
    border: 2px dashed var(--primary);
    border-radius: 12px;
    padding: 3rem;
    margin: 4rem auto;
    max-width: 800px;
}

.althea-bonus-card h3 {
    color: var(--primary);
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.althea-bonus-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.althea-bonus-card li {
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
    color: var(--dark);
}

/* 5. Instructor Profile Box */
.althea-instructor-box {
    display: flex;
    gap: 3.5rem;
    background-color: var(--white-article);
    border-radius: 20px;
    padding: 4rem;
    align-items: center;
    margin: 4rem 0;
}

.althea-instructor-img {
    flex-shrink: 0;
    width: 220px;
    height: 220px;
    margin: 0 !important;
}

.althea-instructor-img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--secondary-light);
}

.althea-instructor-info h4 {
    color: var(--secondary);
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.althea-instructor-info h3 {
    color: var(--primary);
    margin-bottom: 0.2rem;
    font-size: 1.8rem;
}

.althea-instructor-info .instructor-title {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: block;
}

/* 6. Bottom CTA Box */
.althea-event-cta {
    background-color: var(--primary);
    color: var(--white);
    padding: 4rem 2rem;
    border-radius: 20px;
    margin: 4rem 0;
}

.althea-event-cta h2, 
.althea-event-cta p {
    color: var(--white);
}

.althea-event-cta h2 {
    margin-bottom: 1.5rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .althea-event-hero { padding: 3.5rem 1.5rem; }
    
    .althea-instructor-box { 
        flex-direction: column; 
        text-align: center; 
        padding: 3rem 1.5rem; 
        gap: 2rem;
    }
    
    .althea-bonus-card { padding: 2.5rem 1.5rem; }
    .althea-event-cta { padding: 3.5rem 1.5rem; }
}

/* ==========================================================================
   E-KNJIGE — Stanje po uspešni prijavi (zahvala + rezervna povezava za prenos)
   ========================================================================== */
.ebook-success {
    background-color: var(--primary-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
}

.ebook-success p {
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.ebook-success p:last-child {
    margin-bottom: 0;
}

.ebook-download-link {
    font-weight: 700;
    text-decoration: underline;
    color: var(--primary);
}

/* ==========================================================================
   E-KNJIGE — POPRAVEK #1: kartice naj rastejo neodvisno druga od druge
   Privzeto CSS Grid vse elemente v isti vrstici raztegne na višino
   najvišjega. Ko se ena kartica razširi, to brez tega popravka "napihne"
   tudi sosednje kartice v isti vrstici.
   ========================================================================== */
.ebooks-grid {
    align-items: start;
}

/* ==========================================================================
   E-KNJIGE — POPRAVEK #2: kompakten, na znamko usklajen prijavni obrazec
   Vse spodaj je namensko omejeno na .ebook-form-wrapper, zato ne vpliva na
   glavni kontaktni obrazec ali novičnik drugje na strani.
   ========================================================================== */
.ebook-form-wrapper .wpcf7-form p {
    margin-bottom: 0.85rem;
}

.ebook-form-wrapper .input-field {
    width: 100%;
    background-color: var(--white);
    border: 1px solid rgba(72, 39, 17, 0.35);
    border-radius: var(--border-radius, 8px);
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--dark);
    transition: all 0.3s ease;
}

.ebook-form-wrapper .input-field::placeholder {
    color: rgba(0, 0, 0, 0.35);
    font-style: italic;
}

.ebook-form-wrapper .input-field:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(160, 42, 92, 0.1);
}

.ebook-form-wrapper .wpcf7-acceptance label,
.ebook-form-wrapper .form-checkbox-item label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--dark);
    cursor: pointer;
    line-height: 1.4;
}

.ebook-form-wrapper input[type="checkbox"] {
    appearance: auto;
    accent-color: var(--primary);
    width: 15px;
    height: 15px;
    margin-top: 0.15rem;
    cursor: pointer;
    flex-shrink: 0;
}

.ebook-form-wrapper .form-checkbox-item a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
}

.ebook-form-wrapper .form-submit {
    margin-top: 0.25rem;
    margin-bottom: 0;
}

.ebook-form-wrapper input[type="submit"].btn {
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: center;
    padding: 0.7rem 1.5rem;
}

