
/*
Theme Name: Ceylon Storycraft
Author: Ceylon Storycraft
Version: 1.0
Text Domain: ceylon-storycraft
*/

/* ==============================
   GLOBAL
============================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');


/* ==============================
   BODY TYPOGRAPHY
============================== */

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: "Source Sans 3", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16.4px;
    line-height: 26px;
    color: #78716C;
}

/* ==============================
   CUSTOM HEADING FONT
============================== */

.custom-font-style {
    font-family: "Playfair Display", serif;
}


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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}
section{
    padding: 50px 0;
    width: 100%;
}

/* ==============================
   CONTAINER
============================== */

.container {
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    width: 100%;
    padding: 0 20px;
}

/* ==============================
   ROW
============================== */

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.row > * {
    padding: 0 10px;
    min-width: 0;
}

/* ==============================
   COLUMNS
============================== */

.col {
    flex: 1 0 0%;
}

.col-1  { width: 8.333333%; }
.col-2  { width: 16.666667%; }
.col-3  { width: 25%; }
.col-4  { width: 33.333333%; }
.col-5  { width: 41.666667%; }
.col-6  { width: 50%; }
.col-7  { width: 58.333333%; }
.col-8  { width: 66.666667%; }
.col-9  { width: 75%; }
.col-10 { width: 83.333333%; }
.col-11 { width: 91.666667%; }
.col-12 { width: 100%; }

/* ==============================
   TABLET - 768px+
============================== */

@media (min-width: 768px) {

    .col-md-1  { width: 8.333333%; }
    .col-md-2  { width: 16.666667%; }
    .col-md-3  { width: 25%; }
    .col-md-4  { width: 33.333333%; }
    .col-md-5  { width: 41.666667%; }
    .col-md-6  { width: 50%; }
    .col-md-7  { width: 58.333333%; }
    .col-md-8  { width: 66.666667%; }
    .col-md-9  { width: 75%; }
    .col-md-10 { width: 83.333333%; }
    .col-md-11 { width: 91.666667%; }
    .col-md-12 { width: 100%; }

}

/* ==============================
   DESKTOP - 992px+
============================== */

@media (min-width: 992px) {

    .col-lg-1  { width: 8.333333%; }
    .col-lg-2  { width: 16.666667%; }
    .col-lg-3  { width: 25%; }
    .col-lg-4  { width: 33.333333%; }
    .col-lg-5  { width: 41.666667%; }
    .col-lg-6  { width: 50%; }
    .col-lg-7  { width: 58.333333%; }
    .col-lg-8  { width: 66.666667%; }
    .col-lg-9  { width: 75%; }
    .col-lg-10 { width: 83.333333%; }
    .col-lg-11 { width: 91.666667%; }
    .col-lg-12 { width: 100%; }

}

/* ==============================
   LARGE DESKTOP - 1200px+
============================== */

@media (min-width: 1200px) {

    .col-xl-1  { width: 8.333333%; }
    .col-xl-2  { width: 16.666667%; }
    .col-xl-3  { width: 25%; }
    .col-xl-4  { width: 33.333333%; }
    .col-xl-5  { width: 41.666667%; }
    .col-xl-6  { width: 50%; }
    .col-xl-7  { width: 58.333333%; }
    .col-xl-8  { width: 66.666667%; }
    .col-xl-9  { width: 75%; }
    .col-xl-10 { width: 83.333333%; }
    .col-xl-11 { width: 91.666667%; }
    .col-xl-12 { width: 100%; }

}

/* ==============================
   MOBILE
============================== */

@media (max-width: 767px) {

    .container,
    .container-fluid {
        padding: 0 15px;
    }

    .row {
        margin: 0 -7.5px;
    }

    .row > * {
        padding: 0 7.5px;
    }

}





/* =====================================
   CEYLON STORYCRAFT HEADER
===================================== */

.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 9999;
    background: #f5f3f0;
    transition: box-shadow .3s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 5px 25px rgba(0,0,0,.12);
}

/* =====================================
   TOP BAR
===================================== */

.header-top {
    background: #542506;
    color: #f5e9dc;
    max-height: 50px;
    overflow: hidden;
    transition: max-height .35s ease, opacity .3s ease;
}

.header-top-inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-top-left,
.header-top-right {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 14px;
    white-space: nowrap;
}

.header-top a {
    color: inherit;
    text-decoration: none;
    transition: color .3s;
}

.header-top a:hover {
    color: #e99c18;
}

.top-separator {
    color: #ac6f22;
    font-size: 18px;
}

/* =====================================
   MAIN HEADER
===================================== */

.header-main {
    position: relative;
    z-index: 10;
    background: #f5f3f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .08);
}

.header-inner {
    min-height: 94px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    transition: min-height .35s ease;
}

/* LOGO */

.header-logo {
    flex-shrink: 0;
}

.header-logo a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #542506;
}

.header-logo img {
    display: block;
    width: auto;
    max-width: 255px;
    max-height: 75px;
    object-fit: contain;
    transition: max-height .35s ease;
}

/* =====================================
   NAVIGATION
===================================== */

.header-navigation {
   
    min-width: 0;
}

.header-menu,
.header-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-menu {
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.5vw, 30px);
}

.header-menu li {
    position: relative;
}

.header-menu a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 0;
    color: #444;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    white-space: nowrap;
    transition: color .3s ease;
}

/* ANIMATED BOTTOM LINE */

.header-menu > li > a::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 100%;
    height: 2px;
    background: #843908;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}

.header-menu > li:hover > a::before,
.header-menu > li > a:focus-visible::before,
.header-menu > .current-menu-item > a::before,
.header-menu > .current-menu-ancestor > a::before {
    transform: scaleX(1);
}

.header-menu li:hover > a,
.header-menu .current-menu-item > a,
.header-menu .current-menu-ancestor > a {
    color: #843908;
}

/* Hide JavaScript-created dropdown controls on desktop.
   Desktop dropdowns use CSS hover/focus instead. */
.submenu-toggle {
    display: none;
}

/* =====================================
   SUB MENU
===================================== */

.header-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    padding: 10px 0;
    background: #fff;
    box-shadow: 0 12px 35px rgba(0,0,0,.12);
    border-radius: 5px;
    border-top: 3px solid #843908;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .25s ease,
                transform .25s ease,
                visibility .25s ease;
    z-index: 100;
}

.header-menu li:hover > .sub-menu,
.header-menu li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-menu .sub-menu a {
    display: flex;
    padding: 11px 18px;
    font-size: 13px;
    white-space: normal;
}

.header-menu .sub-menu a:hover {
    color: #843908;
    background: #f9f4ef;
}

/* THIRD LEVEL */

.header-menu .sub-menu .sub-menu {
    top: -13px;
    left: 100%;
}

/* SUBMENU ARROWS */

.header-menu .menu-item-has-children > a::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    margin-left: 4px;
    transition: transform .3s ease;
}

.header-menu > .menu-item-has-children:hover > a::after {
    transform: rotate(225deg);
}

.header-menu .sub-menu .menu-item-has-children > a::after {
    margin-left: auto;
    transform: rotate(-45deg);
}

/* =====================================
   HEADER BUTTONS
===================================== */
.custom--button{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    min-height: 41px;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .3px;
    text-decoration: none;
    white-space: nowrap;
}




.header-buttons {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.header-trip-btn,
.header-contact-btn {
        display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    min-height: 41px;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .3px;
    text-decoration: none;
    white-space: nowrap;
    transition: background .3s ease,
                color .3s ease,
                transform .3s ease,
                box-shadow .3s ease;
}

.header-trip-btn {
    color: #fff;
    background: #783408;
    padding: 8px 27px;
    box-shadow: 0 3px 6px rgba(0,0,0,.15);
}

.header-trip-btn span {
   
}

.header-trip-btn span svg{
   display: block;
}

.header-trip-btn:hover {
    color: #fff;
    background: #542506;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,.15);
}

.header-contact-btn {
    color: #783408;
    border: 1px solid #d4b5a0;
}

.header-contact-btn:hover {
    color: #fff;
    background: #783408;
    border-color: #783408;
}

/* =====================================
   STICKY SCROLL EFFECT
===================================== */

.site-header.is-scrolled .header-top {
    max-height: 0;
    opacity: 0;
}

.site-header.is-scrolled .header-inner {
    min-height: 72px;
}

.site-header.is-scrolled .header-logo img {
    max-height: 58px;
}

/* =====================================
   MOBILE TOGGLE
===================================== */

.header-toggle,
.mobile-header-buttons {
    display: none;
}

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

@media (max-width: 1199px) {

    .header-inner {
        gap: 15px;
    }

    .header-logo img {
        max-width: 190px;
    }

    .header-menu {
        gap: 15px;
    }

    .header-trip-btn {
        padding: 8px 17px;
    }

    .header-buttons {
        gap: 10px;
    }

}

/* TABLET & MOBILE */

@media (max-width: 991px) {

    .header-top {
        display: none;
    }

    .header-inner,
    .site-header.is-scrolled .header-inner {
        min-height: 75px;
    }

    .header-logo img,
    .site-header.is-scrolled .header-logo img {
        max-width: 210px;
        max-height: 60px;
    }

    .header-buttons {
        display: none;
    }

    /* HAMBURGER */

    .header-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 42px;
        height: 42px;
        padding: 9px;
        border: 1px solid #e4d4c6;
        border-radius: 5px;
        background: transparent;
        cursor: pointer;
        margin-left: auto;
        z-index: 11;
    }

    .header-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background: #783408;
        transition: transform .3s ease,
                    opacity .3s ease;
    }

    .header-toggle.is-active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .header-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }

    .header-toggle.is-active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* MOBILE NAVIGATION */

    .header-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-height: calc(100dvh - 75px);
        overflow-y: auto;
        background: #f5f3f0;
        box-shadow: 0 12px 25px rgba(0,0,0,.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        pointer-events: none;
        transition: opacity .3s ease,
                    transform .3s ease,
                    visibility .3s ease;
    }

    .header-navigation.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .header-menu {
        display: block;
        padding: 15px 20px;
    }

    .header-menu > li {
        border-bottom: 1px solid #e7ded5;
    }

    .header-menu a {
        display: flex;
        width: 100%;
        padding: 14px 0;
        font-size: 15px;
    }

    .header-menu > li > a::before,
    .header-menu .menu-item-has-children > a::after {
        display: none;
    }

    /* MOBILE SUBMENU */

    .header-menu .sub-menu,
    .header-menu .sub-menu .sub-menu {
        position: static;
        display: none;
        min-width: 0;
        padding: 0 0 10px 15px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }

    .header-menu li:hover > .sub-menu,
    .header-menu li:focus-within > .sub-menu {
        display: none;
    }

    .header-menu li.submenu-open > .sub-menu {
        display: block;
    }

    .header-menu .sub-menu a {
        padding: 10px 0;
        font-size: 14px;
    }

    .header-menu .menu-item-has-children {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    .header-menu .menu-item-has-children > a {
        flex: 1;
        width: auto;
        min-width: 0;
    }

    .header-menu .menu-item-has-children > .sub-menu {
        flex-basis: 100%;
    }

    /* DROPDOWN ARROW BUTTON */

    .submenu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        padding: 0;
        border: 0;
        background: transparent;
        color: #783408;
        cursor: pointer;
    }

    .submenu-toggle::after {
        content: "";
        width: 8px;
        height: 8px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        transition: transform .3s ease;
    }

    .submenu-open > .submenu-toggle::after {
        transform: rotate(225deg);
    }

    /* MOBILE BUTTONS */

    .mobile-header-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        padding: 5px 20px 25px;
    }

    .mobile-header-buttons .header-trip-btn,
    .mobile-header-buttons .header-contact-btn {
        flex: 1;
        text-align: center;
    }

}

/* SMALL MOBILE */

@media (max-width: 480px) {

    .header-logo img {
        max-width: 185px;
    }

    .mobile-header-buttons {
        flex-direction: column;
    }

    .mobile-header-buttons a {
        width: 100%;
    }

}

/* WORDPRESS ADMIN BAR */

@media (min-width: 783px) {
    body.admin-bar .site-header {
        top: 32px;
    }
}

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

@media (max-width: 600px) {
    body.admin-bar .site-header {
        top: 0;
    }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    .site-header *,
    .site-header *::before,
    .site-header *::after {
        transition-duration: .01ms !important;
    }
}




/* =====================================
   CEYLON STORYCRAFT FOOTER
===================================== */

.site-footer {
    background: #0e0c0b;
    color: #a7a3a1;
    padding: 75px 0 35px;
    border-top: 4px solid #733909;
    font-family: "Source Sans 3", sans-serif;
}

.site-footer *,
.site-footer *::before,
.site-footer *::after {
    box-sizing: border-box;
}

.site-footer a {
    text-decoration: none;
    transition: color .3s ease,
                background .3s ease,
                transform .3s ease;
}

/* =====================================
   GRID LAYOUT
===================================== */

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr .92fr 1.6fr;
    gap: 35px;
    align-items: stretch;
}

/* =====================================
   FOOTER CARDS
===================================== */

.footer-card {
    background: #1a1717;
    border: 1px solid #302b2b;
    border-radius: 28px;
    padding: 38px;
    min-width: 0;
}

/* =====================================
   BRAND SECTION
===================================== */

.footer-about {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 25px;
}

.footer-logo img {
    display: block;
    width: 255px;
    max-width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
}

.footer-description {
    margin: 0;
    color: #aaa5a3;
    font-size: 14px;
    line-height: 27px;
}

/* SOCIAL MEDIA */

.footer-social-area {
    margin-top: auto;
    padding-top: 45px;
}

.footer-social-area h4 {
    margin: 0 0 15px;
    color: #ded9d7;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #2b2727;
    border-radius: 14px;
    color: #d9d5d4;
    font-size: 18px;
}

.footer-social-links a:hover {
    background: #783408;
    color: #fff;
    transform: translateY(-4px);
}

/* =====================================
   COMMON HEADINGS
===================================== */

.footer-heading {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 24px;
    color: #fff;
    font-family: "Playfair Display", serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
}

.footer-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dot-orange {
    background: #f49b08;
}

.dot-green {
    background: #57c916;
}

/* =====================================
   QUICK NAVIGATION
===================================== */

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu li:last-child {
    margin-bottom: 0;
}

.footer-menu a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #aaa5a3;
    font-size: 14px;
    line-height: 25px;
}

.footer-menu a::before {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #00aebd;
    font-size: 13px;
    transition: transform .3s ease;
}

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

.footer-menu a:hover::before {
    transform: translateX(5px);
    color: #f49b08;
}

/* =====================================
   CONTACT SECTION
===================================== */

.footer-contact-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: 12px 18px;
}

.footer-contact-box {
    min-width: 0;
    background: #262121;
    border: 1px solid #393232;
    border-radius: 19px;
    padding: 16px 18px;
    transition: border-color .3s ease,
                background .3s ease;
}

.footer-contact-box:hover {
    background: #2c2525;
    border-color: #69503c;
}

.footer-contact-box h4 {
    margin: 0 0 2px;
    color: #f1eded;
    font-size: 15px;
    font-weight: 600;
    line-height: 23px;
}

.footer-contact-box a,
.footer-contact-box p {
    display: block;
    margin: 0;
    color: #e5e1df;
    font-size: 14px;
    line-height: 21px;
    overflow-wrap: anywhere;
}

.footer-contact-box a:hover {
    color: #f49b08;
}

/* COLORED HEADINGS */

.footer-contact-box .contact-orange {
    color: #f39200;
}

.footer-contact-box .contact-cyan {
    color: #00b2be;
}

.footer-contact-box .contact-yellow {
    color: #ffe083;
}

/* FULL WIDTH CONTACT BOXES */

.footer-contact-box.contact-full {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 17px;
}

.footer-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    flex-shrink: 0;
    background: #403b3b;
    color: #fbd050;
    border-radius: 12px;
    font-size: 18px;
}

.footer-contact-box:last-child .footer-contact-icon {
    color: #f6f5f2;
}

.footer-contact-text {
    flex: 1;
    min-width: 0;
}

/* =====================================
   BOTTOM COPYRIGHT BAR
===================================== */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 75px;
    padding-top: 32px;
    border-top: 1px solid #252121;
}

.footer-copyright {
    color: #77716e;
    font-size: 14px;
    line-height: 24px;
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.footer-bottom-links a {
    color: #827c79;
    font-size: 14px;
    white-space: nowrap;
}

.footer-bottom-links a:hover {
    color: #f49b08;
}

/* =====================================
   RESPONSIVE - 1200px
===================================== */

@media (max-width: 1199px) {

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .footer-contact {
        grid-column: 1 / -1;
    }

    .footer-card {
        padding: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 18px;
    }

    .footer-bottom-links {
        justify-content: center;
        gap: 30px;
    }

}

/* =====================================
   TABLET - 768px
===================================== */

@media (max-width: 767px) {

    .site-footer {
        padding: 50px 0 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-contact {
        grid-column: auto;
    }

    .footer-card {
        padding: 28px;
        border-radius: 20px;
    }

    .footer-logo img {
        width: 220px;
    }

    .footer-social-area {
        margin-top: 0;
        padding-top: 30px;
    }

    .footer-heading {
        font-size: 21px;
    }

    .footer-bottom {
        margin-top: 45px;
        padding-top: 25px;
    }

}

/* =====================================
   SMALL MOBILE - 480px
===================================== */

@media (max-width: 480px) {

    .footer-card {
        padding: 24px 20px;
    }

    .footer-contact-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .footer-contact-box {
        grid-column: 1 / -1;
    }

    .footer-bottom-links {
        gap: 12px 22px;
    }

    .footer-copyright,
    .footer-bottom-links a {
        font-size: 13px;
    }

}

/* =====================================
   HOME HERO + OVERLAY HEADER
===================================== */
/* Homepage header overlays the hero, and stays fixed while scrolling. */
body.home .site-header { position: fixed; top: 0; left: 0; right: 0; }
body.home.admin-bar .site-header { top: 32px; }

.story-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: clamp(590px, 78vh, 850px);
    background-color: #254735;
    background-position: center;
    background-size: cover;
    color: #fff;
}
.story-hero-inner { width: 100%; padding-top: 165px; padding-bottom: 72px; }
.story-hero-content { text-align: center; }
.story-hero-badge {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 7px 20px; border-radius: 30px; background: #e58a00;
    font-size: 13px; font-weight: 500; letter-spacing: 1.4px; text-transform: uppercase;
}
.story-hero h1 {
    margin: 18px 0 clamp(50px, 9vw, 110px);
    font: 700 clamp(42px, 5vw, 72px)/1.15 "Playfair Display", serif;
    text-shadow: 0 3px 18px rgba(0,0,0,.2);
}
.story-hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; }
.story-hero-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 16px;
    min-height: 60px; padding: 14px 32px; border-radius: 60px;
    color: #fff; font-size: 16px; font-weight: 500; text-decoration: none;
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.story-hero-btn:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 7px 20px rgba(0,0,0,.18); }
.story-hero-primary { background: #e78600; }
.story-hero-primary:hover { background: #bb6b00; }
.story-hero-glass { background: rgba(242,248,245,.23); border: 1px solid rgba(255,255,255,.65); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.story-hero-glass:hover { background: rgba(242,248,245,.36); }
.story-hero-glass i { color: #09d0d5; }
.story-hero-social { position: absolute; right: 30px; top: 50%; transform: translateY(-27%); display: grid; gap: 10px; }
.story-hero-social a {
    display: grid; place-items: center; width: 46px; height: 46px;
    background: rgba(244,249,244,.36); border-radius: 50%; color: #fff;
    font-size: 19px; text-decoration: none; transition: background .25s, transform .25s;
}
.story-hero-social a:hover { background: #783408; color: #fff; transform: translateX(-3px); }
@media (max-width: 991px) {
    .story-hero-inner { padding-top: 120px; }
    .story-hero-social { right: 18px; }
    .story-hero h1 { margin-bottom: 65px; }
}
@media (max-width: 767px) {
    .story-hero { min-height: 650px; }
    .story-hero-inner { padding-top: 125px; padding-bottom: 55px; }
    .story-hero h1 { margin: 20px 0 55px; }
    .story-hero-actions { flex-direction: column; align-items: center; gap: 12px; }
    .story-hero-btn { width: min(100%, 320px); min-height: 54px; font-size: 14px; }
    .story-hero-social { position: static; transform: none; display: flex; justify-content: center; gap: 12px; padding-bottom: 26px; }
    .story-hero { flex-direction: column; justify-content: center; }
    .story-hero-social a { width: 38px; height: 38px; font-size: 16px; }
}
@media (max-width: 782px) { body.home.admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { body.home.admin-bar .site-header { top: 0; } }
@media (prefers-reduced-motion: reduce) { .story-hero-btn, .story-hero-social a { transition: none; } }






/****=============================
 * Tabs*
 =============================****/

  .Section-tabs{
  display: flex;
    width: 100%;
    gap: 8px;
    align-items: stretch;

  }
  button.Tablinks{
 box-shadow: 3px 4px 14px 0px #0C503A66;
font-weight: 500;
    font-size: 15px;
    line-height: 28px;
    letter-spacing: 0%;
    text-align: center;
    color: #75340A;
    background: #fff;
    border: 0px;
    -webkit-border-radius: 150px;
    -moz-border-radius: 150px;
    border-radius: 150px;
      padding: 9px 15px;
    outline: none;
    border: 2px solid #75340A;

  flex: 1 1 auto;
    width: auto;
    min-width: max-content;

   white-space: nowrap;
    text-align: center;
    box-sizing: border-box;
    font-family: "Source Sans 3", sans-serif;
    cursor: pointer;
}

  button.Tablinks:hover{
    background:#75340A ;
color: #fff;
  }

  button.Tablinks.active{
background:#75340A ;
color: #fff;
  }




@media (max-width:990px) {
.Section-tabs {
 align-items: center;
 flex-wrap: wrap;
        gap: 8px;
}

.Section-tabs .Tablinks {
        flex: 1 1 calc(50% - 8px);
        min-width: 0;
        white-space: normal;
}
}

/**************/


/* =====================================
   STORYCRAFT 404 PAGE
===================================== */

.storycraft-404 {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 75vh;
    padding: 100px 20px;
    background: #faf8f5;
    box-sizing: border-box;
}

.storycraft-404 * {
    box-sizing: border-box;
}

.storycraft-404 .container {
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 20px;
}

.storycraft-404-content {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

/* 404 NUMBER */

.storycraft-404-number {
    margin: 0 0 25px;
    padding: 0;
    font-family: "Playfair Display", serif;
    font-size: clamp(130px, 18vw, 220px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -8px;
    color: #632906;
}

/* TITLE */

.storycraft-404-title {
    margin: 0 0 25px;
    padding: 0;
    font-family: "Playfair Display", serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 600;
    line-height: 1.3;
    color: #201c1a;
}

/* DESCRIPTION */

.storycraft-404-description {
    max-width: 550px;
    margin: 0 auto 35px;
    font-family: "Source Sans 3", sans-serif;
    font-size: 16px;
    line-height: 28px;
    color: #69635f;
}

/* =====================================
   SEARCH FORM - FIXED
===================================== */

.storycraft-404-search {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    justify-content: space-between !important;
    gap: 0 !important;
    width: 100%;
    max-width: 480px;
    margin: 0 auto 30px;
    padding: 0 !important;
    background: #fff;
    border: 1px solid #e4ded8;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
}

.storycraft-404-search input[type="search"] {
    display: block;
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    height: 54px;
    margin: 0;
    padding: 0 20px;
    border: none !important;
    border-radius: 0 !important;
    outline: none;
    background: transparent;
    box-shadow: none !important;
    font-family: "Source Sans 3", sans-serif;
    font-size: 15px;
    color: #333;
}

.storycraft-404-search input[type="search"]:focus {
    outline: none;
    box-shadow: none;
}

.storycraft-404-search:focus-within {
    border-color: #632906;
}

/* SEARCH BUTTON */

.storycraft-404-search button {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: auto !important;
    min-width: 110px;
    height: 54px;
    margin: 0 !important;
    padding: 0 20px !important;
    border: none !important;
    border-radius: 0 !important;
    background: #632906;
    color: #fff;
    font-family: "Source Sans 3", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: background 0.3s ease;
}

.storycraft-404-search button:hover {
    background: #873b0d;
    color: #fff;
}

.storycraft-404-search button i {
    font-size: 12px;
}

/* =====================================
   HOME BUTTON
===================================== */

.storycraft-404-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 50px;
    padding: 12px 30px;
    background: #632906;
    color: #fff;
    border-radius: 12px;
    font-family: "Source Sans 3", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    text-decoration: none;
    box-shadow: 0 5px 12px rgba(0,0,0,0.12);
    transition: background 0.3s ease, transform 0.3s ease;
}

.storycraft-404-button:hover {
    background: #873b0d;
    color: #fff;
    transform: translateY(-3px);
}

.storycraft-404-button i {
    font-size: 13px;
}

/* =====================================
   TABLET
===================================== */

@media (max-width: 1024px) {

    .storycraft-404 {
        min-height: 70vh;
        padding: 80px 20px;
    }

    .storycraft-404-number {
        font-size: 170px;
    }

    .storycraft-404-title {
        font-size: 36px;
    }
}

/* =====================================
   MOBILE
===================================== */

@media (max-width: 767px) {

    .storycraft-404 {
        min-height: 65vh;
        padding: 65px 0;
    }

    .storycraft-404-number {
        font-size: 120px;
        letter-spacing: -5px;
        margin-bottom: 20px;
    }

    .storycraft-404-title {
        font-size: 27px;
        margin-bottom: 20px;
    }

    .storycraft-404-title br {
        display: none;
    }

    .storycraft-404-description {
        font-size: 15px;
        line-height: 25px;
        margin-bottom: 30px;
    }

    .storycraft-404-search {
        max-width: 100%;
        margin-bottom: 25px;
    }

    .storycraft-404-search input[type="search"] {
        height: 50px;
        padding: 0 15px;
        font-size: 14px;
    }

    .storycraft-404-search button {
        height: 50px;
        min-width: 85px;
        padding: 0 12px !important;
        font-size: 13px;
    }

    .storycraft-404-search button i {
        display: none;
    }

    .storycraft-404-button {
        padding: 12px 25px;
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .storycraft-404-button,
    .storycraft-404-search button {
        transition: none;
    }
}




/* ==================================
   SEARCH RESULTS PAGE
================================== */

.storycraft-search-section {
    padding: 80px 0;
    background: #faf8f5;
    min-height: 70vh;
}

.storycraft-search-section * {
    box-sizing: border-box;
}

/* HEADER */

.storycraft-search-header {
    max-width: 750px;
    margin: 0 auto 55px;
    text-align: center;
}

.search-small-title {
    display: block;
    margin-bottom: 12px;
    color: #995326;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.search-page-title {
    margin: 0 0 15px;
    font-family: "Playfair Display", serif;
    font-size: 48px;
    line-height: 1.2;
    color: #201c1a;
}

.search-page-description {
    margin: 0 0 30px;
    font-size: 16px;
    line-height: 27px;
    color: #69635f;
}

/* ==================================
   SEARCH FORM
================================== */

.storycraft-search-form {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch;
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
    padding: 0 !important;
    gap: 0 !important;
    background: #fff;
    border: 1px solid #e4ded8;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px #0000000a;
}

.storycraft-search-form input[type="search"] {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    height: 55px;
    margin: 0;
    padding: 0 20px;
    border: none !important;
    border-radius: 0 !important;
    outline: none;
    background: transparent;
    box-shadow: none !important;
    font-size: 15px;
    font-family: "Source Sans 3", sans-serif;
}

.storycraft-search-form:focus-within {
    border-color: #632906;
}

.storycraft-search-form button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: auto !important;
    height: 55px;
    margin: 0 !important;
    padding: 0 25px !important;
    border: none !important;
    border-radius: 0 !important;
    background: #632906;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.storycraft-search-form button:hover {
    background: #873b0d;
    color: #fff;
}

/* RESULTS INFO */

.storycraft-search-results-info {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e8e2db;
}

.storycraft-search-results-info p {
    margin: 0;
    color: #69635f;
    font-size: 15px;
}

.storycraft-search-results-info strong {
    color: #632906;
}

/* ==================================
   RESULTS GRID
================================== */

.storycraft-search-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 35px;
    align-items: stretch;
}

/* CARD */

.storycraft-search-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 8px 25px #00000012;
    transition: transform .3s ease, box-shadow .3s ease;
}

.storycraft-search-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px #0000001c;
}

/* IMAGE */

.search-card-image {
    display: block;
    position: relative;
    height: 250px;
    width: 100%;
    flex-shrink: 0;
    overflow: hidden;
}

.search-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

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

/* POST TYPE BADGE */

.search-card-category {
    position: absolute;
    left: 18px;
    bottom: 18px;
    display: inline-block;
    padding: 7px 15px;
    background: #fff;
    color: #632906;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    box-shadow: 0 3px 10px #00000018;
}

/* CONTENT */

.search-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    padding: 28px;
}

.search-card-info {
    margin-bottom: 30px;
}

.search-card-title {
    margin: 0 0 15px;
    font-family: "Playfair Display", serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
}

.search-card-title a {
    color: #201c1a;
    text-decoration: none;
}

.search-card-title a:hover {
    color: #632906;
}

.search-card-description {
    margin: 0;
    color: #69635f;
    font-size: 15px;
    line-height: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* BOTTOM ALIGNED BUTTON */

.search-card-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
    min-height: 48px;
    margin-top: auto;
    padding: 12px 20px;
    background: #632906;
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background .3s ease;
}

.search-card-button:hover {
    background: #873b0d;
    color: #fff;
}

.search-card-button i {
    color: #f5a000;
    transition: transform .3s ease;
}

.search-card-button:hover i {
    transform: translateX(5px);
}

/* ==================================
   PAGINATION
================================== */

.storycraft-search-pagination {
    margin-top: 55px;
    text-align: center;
}

.storycraft-search-pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.storycraft-search-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid #e8e2db;
    border-radius: 9px;
    color: #632906;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.storycraft-search-pagination .page-numbers.current,
.storycraft-search-pagination a.page-numbers:hover {
    background: #632906;
    color: #fff;
    border-color: #632906;
}

/* ==================================
   NO RESULTS
================================== */

.storycraft-search-empty {
    max-width: 600px;
    margin: 20px auto 50px;
    padding: 55px 30px;
    background: #fff;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 25px #0000000a;
}

.search-empty-icon {
    margin-bottom: 22px;
    color: #632906;
    font-size: 45px;
}

.storycraft-search-empty h2 {
    margin: 0 0 15px;
    font-family: "Playfair Display", serif;
    font-size: 32px;
    color: #201c1a;
}

.storycraft-search-empty p {
    margin: 0 0 30px;
    font-size: 15px;
    line-height: 26px;
    color: #69635f;
}

.search-back-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 13px 25px;
    background: #632906;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.search-back-button:hover {
    background: #873b0d;
    color: #fff;
}

/* ==================================
   TABLET
================================== */

@media (max-width: 1024px) {

    .storycraft-search-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px;
    }

    .search-card-image {
        height: 230px;
    }

    .search-card-content {
        padding: 25px;
    }

    .search-page-title {
        font-size: 40px;
    }
}

/* ==================================
   MOBILE
================================== */

@media (max-width: 767px) {

    .storycraft-search-section {
        padding: 50px 0;
    }

    .storycraft-search-header {
        margin-bottom: 40px;
    }

    .search-page-title {
        font-size: 32px;
    }

    .search-page-description {
        font-size: 15px;
        line-height: 25px;
    }

    .storycraft-search-form input[type="search"] {
        height: 50px;
        padding: 0 12px;
        font-size: 13px;
    }

    .storycraft-search-form button {
        height: 50px;
        padding: 0 15px !important;
        font-size: 13px;
    }

    .storycraft-search-form button i {
        display: none;
    }

    .storycraft-search-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .search-card-image {
        height: 230px;
    }

    .search-card-content {
        padding: 24px;
    }

    .search-card-title {
        font-size: 23px;
    }

    .storycraft-search-pagination {
        margin-top: 40px;
    }

    .storycraft-search-empty {
        padding: 40px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .storycraft-search-card,
    .search-card-image img,
    .search-card-button,
    .search-card-button i {
        transition: none;
    }
}

