body {
    /*font-family: 'Segoe UI', Arial, sans-serif;*/
    color: #1a1a2e;
    margin: 0;
   
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    height: 100svh;
    width: 100%;
    /*background-image: url('../images/hero-img.jpg');*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/*.hero-overlay {*/
/*    position: absolute;*/
/*    inset: 0;*/
/*    background: linear-gradient(to bottom, rgba(10, 15, 30, 0.1) 0%, rgba(10, 15, 30, 0.15) 55%, rgba(10, 15, 30, 0.6) 100%);*/
/*    z-index: 1;*/
/*}*/

/* Sparkle vector icon */
.sparkle-icon {
    width: 179px;
    height: 209px;
    filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.65));
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.25s ease;
    margin-bottom: 65px;
}

/* Once the header has collapsed to its icon mark, hide the duplicate
   sparkle in the hero so only the header's icon is showing. */
.site-header.scrolled ~ .hero-section .sparkle-icon {
    opacity: 0;
}

.sparkle-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-title {
    margin: 0;
    color: #ffffff;
    font-size: 25px;
    line-height: 25px;
    font-weight: 300;
    letter-spacing: 4%;
    text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
    font-family: var(--secondary-font);
}

/* Background video */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    pointer-events: none;
}

/* Show the still image instead for users who prefer reduced motion */
/*@media (prefers-reduced-motion: reduce) {*/
/*    .hero-video {*/
/*        display: none;*/
/*    }*/
/*}*/

/* SECTION TWO */

.section-two{
    position: relative;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.15) 45%, rgba(0, 0, 0, 0.82) 100%), url(../images/section-two.jpg);
    background-size: cover, cover;
    object-fit: cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    height: 100vh;
}

.section-two::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -50%;
    width: 100%;
    aspect-ratio: 1920 / 1044;
    background-image: url(../images/blur-img.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 1;
}
.section-two .content{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: end;
    gap: 40px;
    height: 100vh;
    align-items: center;
    padding-bottom: 60px;
    z-index: 2;
}

.section-two h2{
    margin: 0;
    color: var(--primary-color);
    font-family: var(--primary-font);
    font-weight: 400;
    font-size: 40px;
    line-height: 40px;
    letter-spacing: 4%;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.section-two .elyra-logo{
    width: 106px;
}
.section-three{
    background: #1f1614 url(../images/bg-clean.jpg) center / cover no-repeat;
    position: relative;
    z-index: 9;
    padding: 60px 0;
    
    --card: 483px;        /* change this to resize cards */
    --min-space: 24px;    /* smallest space on small screens */

}

.section-three .container{
    max-width: 100%;                 /* full width, so the outer spaces can match the gap */
    padding-left: 0;
    padding-right: 0;
}
.section-three .section_title{
   box-sizing: border-box;
    width: calc((100% + 4 * min(var(--card), calc((100% - 3 * var(--min-space)) / 2))) / 3);
    max-width: none;
    margin: 0 auto 24px;
    font-size: 34px;
    font-weight: 500;
    font-family: var(--secondary-font);
    line-height: 41px;
    letter-spacing:2px;
    padding: 13px;
    text-align: center;
    background: rgba(200, 187, 149, 0.06);
    color: var(--primary-color);
    border: 1px solid rgba(222, 211, 179, 0.18);
    border-radius: 9px;
}

.project_grid{
    --card: 483px;                   /* change this to resize cards */
    --min-space: 24px;               /* smallest space on small screens */
    display: grid;
    grid-template-columns: repeat(2, min(var(--card), calc((100% - 3 * var(--min-space)) / 2)));
    justify-content: space-evenly;   /* left = middle = right, always */
    gap: 0;
}
.project_grid .project_item{
    padding: 17px;
    background: rgba(200, 187, 149, 0.06);
    border: 1px solid rgba(222, 211, 179, 0.18);
    border-radius: 12px;
}
.project_grid .project_item .project_image{
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}
/* Hover overlay: dark tint slides up from the bottom */
.project_grid .project_item .project_image::after{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(44, 44, 44, 0.34) 0%, rgba(44, 44, 44, 0.37) 75%);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}
.project_grid .project_item .project_image:hover::after{
    transform: translateY(0);
}
.project_grid .project_item .project_image img{
    width: 100%;
    height: auto;                    /* keeps image proportions — no stretching */
    display: block;
}

.project_item .project_title{
    font-size: 28px;
    font-weight: 400;
    line-height: 32px;
    letter-spacing: 0.05em;
    color: var(--primary-color);
    font-family: var(--primary-font);
    text-transform: uppercase;
    margin: 0 0 12px 0;
}
.project_item .project_desc_location{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.project_desc_location .desc{
    flex: 1 1 auto;
    max-width: 255px;
}
.project_item .project_desc_location p{
    width: 100%;
    color: rgba(198, 181, 154, .7);
    font-weight: 400;
    font-family: var(--secondary-font);
    font-size: 12px;
    line-height: 19px;
    margin-bottom: 0;
    letter-spacing: 0;
}

.project_item .project_desc_location .location{
    cursor: pointer;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-left: auto;
    padding: 0 12px;
    gap: 6px;
    border: 1px solid var(--primary-color);
    border-radius: 50px;
    white-space: nowrap;
}
.project_item .project_desc_location .location img{
    width: 11px;
    height: 13px;
}
.project_item .project_desc_location .location h6{
    color: var(--primary-color);
    font-family: var(--secondary-font);
    font-size: 10px;
    line-height: 24px;
    padding-bottom: 0;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.section-three .view_all_btn{
    margin: 34px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tablet */
@media (max-width: 991px){
    .project_item .project_desc_location{
        flex-direction: column;
        align-items: flex-start;
    }
    .project_item .project_desc_location .location{ margin-left: 0; }
}

/* Mobile: one card per row, equal space on both sides */
@media (max-width: 767px) {
    

    .section-three .section_title {
        width:100%;
        
    }
}

/* SECTION FOUR */

.section-four{
    position: relative;
    /* padding: 50px 0; */
}

.section-4-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 130px;
}

.section-4-image{
    height: 600px;
}

.section-4-image img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position:right top;
}

.section-4-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 130px;
}

.section-4-content h2{
    margin: 0 0 28px 0;
    color: var(--primary-color);
    font-family: var(--primary-font);
    font-weight: 500;
    font-size: 40px;
    line-height:40px;
    letter-spacing: 4%;
    text-transform: uppercase;
}

.section-4-content p{
    color: var(--primary-color);
    font-family: var(--secondary-font);
    font-weight: 400;
    font-size: 12px;
    line-height: 20px;
    letter-spacing: 0%;
    text-align: justify;
    margin: 0 0 22px 0;
}

.section-4-content p:last-child{
    margin-bottom: 0;
}

/* SECTION FIVE */

.section-five{
    position: relative;
    padding: 50px 0;
}

/* Card lines up with section four above: left edge = image's right edge,
   right edge = text's right edge (130px from the viewport edge) */
.section-five .container-fluid{
    padding-left: 0;
    padding-right: 90px;
}

.section-5-grid{
    display: grid;
    /* 50% of (viewport - 130px) = where the section-four image ends */
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 0;
}

.section-5-vector{
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-5-vector img{
    display: block;
    width: 100%;
    max-width: 340px;
    height: auto;
}

.section-5-card{
    background: rgba(200, 187, 149, 0.06);
    border: 1px solid rgba(222, 211, 179, 0.25);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    margin-left:68px;
}

.section-5-card h2{
    margin: 0 0 20px 0;
    color: var(--primary-color);
    font-family: var(--primary-font);
    font-weight: 500;
    font-size: 40px;
    line-height: 40px;
    letter-spacing: 4%;
    text-transform: uppercase;
}

.section-5-card p{
    color: var(--primary-color);
    font-family: var(--secondary-font);
    font-weight: 400;
    font-size: 12px;
    line-height: 20px;
    letter-spacing: 0;
    text-align: justify;
    margin: 0 0 18px 0;
}

.section-5-card p:last-of-type{
    margin-bottom: 32px;
}

.btn-discover{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 32px;
    background: var(--primary-color);
    color: #2B1D15;
    font-family: var(--secondary-font);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 2%;
    text-transform: uppercase;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
}

.btn-discover img{
    width: 13px;
    height: 11px;
}

/* SECTION SIX */

.section-six{
    position: relative;
    background-image: url(../images/bottom-sec.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
}

.section-6-inner{
    max-width: 1670px;
    margin: 0 auto;
    padding: 0 35px;
}

.form-panel{
    display: grid;
    grid-template-columns: 1fr 1.7fr;
    gap: 100px;
    background: #F7F2E7;
    padding: 32px 70px;
}

.form-title{
    margin: 0;
    color: rgba(43, 29, 28, 1);
    font-family: var(--primary-font);
    font-weight: 400;
    font-size: 68px;
    line-height: 68px;
    letter-spacing: 4%;
    text-transform: uppercase;
}

.interest-form{
    width: 100%;
}

.form-row{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 130px;
    margin-bottom: 50px;
}

.form-group{
    position: relative;
}

.form-group input,
.form-group select{
    width: 100%;
    border: none;
    border-bottom: 1px solid rgba(36, 28, 21, 0.25);
    background: transparent;
    padding: 0 0 14px 0;
    font-family: var(--secondary-font);
    font-weight: 400;
    font-size: 14px;
    color: #241C15;
    border-radius: 0;
    outline: none;
}

.form-group input::placeholder{
    color: rgba(36, 28, 21, 0.55);
    font-size: 14px;
    line-height: 120%;
    letter-spacing: 0%;
    font-weight: 400;
}

.form-group input:focus,
.form-group select:focus{
    border-bottom-color: rgba(36, 28, 21, 0.6);
}

.form-group select{
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    color: rgba(36, 28, 21, 0.55);
    background-image: url(../images/select-arrow.svg);
    background-repeat: no-repeat;
    background-position: right 4px center;
    background-size: 13px 8px;
    padding-right: 24px;
    cursor: pointer;
}

.form-group select:invalid{
    color: rgba(36, 28, 21, 0.55);
}

/* Remove browser autofill background */
.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus,
.form-group select:-webkit-autofill{
    -webkit-text-fill-color: #241C15;
    -webkit-box-shadow: 0 0 0 1000px #F7F2E7 inset;
    box-shadow: 0 0 0 1000px #F7F2E7 inset;
    transition: background-color 9999s ease-out 0s;
}
.form-group input:autofill{
    background: transparent;
}

/* Mobile field: country code + number */
.form-group.phone-group{
    display: flex;
    align-items: flex-end;
    gap: 14px;
}
.form-group.phone-group .country-code{
    flex: 0 0 auto;
    width: auto;
    color: #241C15;
}
.form-group.phone-group input{
    flex: 1 1 auto;
    min-width: 0;
}

.form-actions{
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.btn-submit,
.btn-reset{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 21px;
    padding: 14px 40px;
    background: #241C15;
    color: #FCF8EE;
    font-family: var(--secondary-font);
    font-weight: 500;
    font-size: 14px;
    line-height: 120%;
    letter-spacing: 2%;
    border: none;
    border-radius: 0px;
    cursor: pointer;
}

.btn-submit img,
.btn-reset img{
    width: 13px;
    height: 13px;
}

/* FOOTER */

.site-footer{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 77px;
    padding: 0 41px;
    background: #F7F2E7;
}

/* keep the copyright clear of the floating Contact Us button */
.site-footer .footer-right{
    padding-right: 110px;
}

@media (max-width: 767px){
    .site-footer .footer-right{
        padding-right: 0;
    }
}

.footer-left{
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-link{
    color: #2B1D1C;
    font-family: var(--secondary-font);
    font-weight: 400;
    font-size: 15.6px;
    line-height: 25.99px;
    letter-spacing: 4%;
    text-transform: uppercase;
    text-decoration: none;
}

.footer-divider{
    color: rgba(43, 29, 28, 0.3);
    font-size: 14px;
}

.social-icons{
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-icons a{
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons img{
    display: block;
    width: 19px;
    height: 19px;
}

.footer-right p{
    margin: 0;
    color: #2B1D1C;
    font-family: var(--secondary-font);
    font-weight: 400;
    font-size: 14px;
    line-height: 25.99px;
    letter-spacing: 4%;
    text-transform: uppercase;
}
/* Blog & blog detail page background:
   top 720px = tan/white/tan gradient + monotone noise, fading into white */
body.blog-page {
    position: relative;
    isolation: isolate;
    background: #ffffff;
}

body.blog-page::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 720px;
    z-index: -1;
    pointer-events: none;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.729 0 0 0 0 0.596 0 0 0 0 0.498 0 0 0 0.51 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
        linear-gradient(90deg, rgba(186, 152, 127, 1) 0%, rgba(250, 250, 250, 1) 50%, rgba(186, 152, 127, 1) 100%);
    opacity: 0.35;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 100%);
}

/* Blog pages: header needs a solid tint on the light background */
.blog-page .site-header {
    background-color: rgba(0, 0, 0, 0.48);
    padding: 24px 0 !important;
}

/* Blog hero */
.blog-container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 45px;
}

.blog-hero {
    padding: 170px 0 48px;
}

.blog-hero-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 32px;
}

.blog-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    /* padding: 13px 22px; */
    height: 50px;
    width: 274px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.45);
    box-shadow: 0 2px 10px rgba(141, 100, 70, 0.12);
    color: #2B1D1C;
    font-family: var(--secondary-font);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.blog-hero-title {
    margin: 0;
    color: #2B1D1C;
    font-family: var(--primary-font);
    font-weight: 400;
    font-size: 48px;
    line-height: 40px;
    letter-spacing: 6%;
    text-transform: uppercase;
    width: 809px;
}

.blog-hero-desc {
    /* max-width: 520px; */
    margin: 0 0 12px;
    color: #2B1D1C;
    font-family: var(--secondary-font);
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 3%;
}

/* Featured slider */
.blog-featured-frame {
    padding: 10px;
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 4px 24px rgba(43, 29, 28, 0.06);
}

.blog-featured-frame .carousel-inner {
    border-radius: 18px;
}

.blog-featured-slide {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 18px;
}

.blog-featured-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-featured-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0) 75%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 45%);
    pointer-events: none;
}

.blog-featured-content {
    position: absolute;
    left: 52px;
    bottom: 60px;
    z-index: 1;
    max-width: 860px;
}

.blog-featured-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    gap: 13px;
    height: 50px;
    padding: 11px 24px;
    border-radius: 50px;
    background: rgba(43, 29, 28, 0.62);
    border: .4px solid rgba(186, 152, 127, 0.37);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #FCF8EE;
    font-family: var(--secondary-font);
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 2%;
    margin-bottom: 16px;
    font-weight: 400;
}

.blog-featured-title {
    margin: 0 0 44px;
    color: rgba(252, 248, 238, 1);
    font-family: var(--primary-font);
    font-weight: 400;
    font-size: 36px;
    line-height: 42px;
    letter-spacing: 0;
    text-transform: uppercase;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: rgba(252, 248, 238, 1);
    font-family: var(--secondary-font);
    font-size: 18px;
    line-height: 22px;
    letter-spacing: -2%;
}

.blog-read-more span:first-child {
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 1px;
}

.blog-read-more:hover {
    color: #ffffff;
}

.blog-read-more-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(252, 248, 238, 1);
    transition: transform 0.3s ease;
}

.blog-read-more:hover .blog-read-more-icon {
    transform: translateX(4px);
}

/* Slider dots */
.blog-featured-dots {
    position: static;
    margin: 30px 0 0;
    gap: 10px;
    align-items: center;
}

.blog-featured-dots [data-bs-target] {
    width: 8px;
    height: 8px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50px;
    background-color: #2B1D1C;
    opacity: 0.45;
    transition: width 0.3s ease, opacity 0.3s ease;
}

.blog-featured-dots .active {
    width: 28px;
    opacity: 1;
}

/* Floating call / WhatsApp buttons */
.blog-float-actions {
    position: fixed;
    right: 50px;
    bottom: 60px;
    z-index: 30;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.blog-float-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    /* soft white sheen over a solid dark base, so it looks the same over any section */
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0) 100%), #3A2E2C;
    border: 1.5px solid rgba(214, 196, 176, 0.7);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.blog-float-btn:hover {
    transform: translateY(-3px);
    filter: brightness(0.9);
}

/* Blog listing */
.blog-listing {
    padding: 0px 0 100px;
}

.blog-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(43, 29, 28, 0.2);
}

.blog-filters {
    display: flex;
    /* flex-wrap: wrap; */
    gap: 10px;
}

.blog-filter-btn {
    /* min-width: 200px; */
    height: 60px;
    padding: 18px 32px;
    border: 1px solid rgba(43, 29, 28, 0.2);
    border-radius: 8px;
    background: #ffffff;
    color: #2B1D1C;
    font-family: var(--secondary-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 25.14px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.blog-filter-btn[data-filter="all"] {
    min-width: 74px;
}

.blog-filter-btn:hover {
    border-color: #2B1D1C;
}

.blog-filter-btn.active {
    background: #2B1D1C;
    border-color: #2B1D1C;
    color: #ffffff;
}

.blog-search {
    position: relative;
    flex: 0 0 468px;
    max-width: 300px;
    margin: 0;
}

.blog-search-icon {
    position: absolute;
    top: 50%;
    left: 24px;
    transform: translateY(-50%);
    pointer-events: none;
}

.blog-search-input {
    width: 100%;
    height: 60px;
    padding: 0 24px 0 72px;
    border: 1px solid rgba(43, 29, 28, 0.2);
    border-radius: 8px;
    background: #ffffff;
    color: #2B1D1C;
    font-family: var(--secondary-font);
    font-size: 18px;
    outline: none;
    transition: border-color 0.3s ease;
}

.blog-search-input::placeholder {
    color: #2B1D1C;
    font-size: 16px;
    font-weight: 300;
}

.blog-search-input:focus {
    border-color: #2B1D1C;
}

/* Blog cards */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 14px;
    background: #F6F1EB;
    color: #2B1D1C;
    transition: background-color 0.35s ease, color 0.35s ease;

}

.blog-card[hidden] {
    display: none;
}

.blog-card-img {
    height: 250px;
    overflow: hidden;
}

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

.blog-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px;
}

.blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.blog-card-tag,
.blog-card-time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 37px;
    padding: 0 20px;
    border-radius: 50px;
    font-family: var(--secondary-font);
    font-size: 14px;
    line-height: 1;
    transition: background-color 0.35s ease, color 0.35s ease;
}

.blog-card-tag {
    background: #F6F1EB;
    box-shadow: 0 2px 8px rgba(141, 100, 70, 0.18);
    color: #2B1D1C;
}

.blog-card-time {
    padding: 0 14px;
    background: #2B1D1C;
    color: #FCF8EE;
}

.blog-card-time .icon-dark {
    display: none;
}

.blog-card-title {
    margin: 16px 0;
    font-family: var(--primary-font);
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0%;
    text-transform: uppercase;
}

.blog-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
}

.blog-card-date {
    font-family: var(--secondary-font);
    font-size: 16px;
    letter-spacing: 0.04em;
}

.blog-card-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2B1D1C;
    transition: background-color 0.35s ease, transform 0.35s ease;
}

.blog-card-arrow img {
    filter: invert(1);
    transition: filter 0.35s ease;
}

/* Hover: dark card */
.blog-card:hover,
.blog-card:focus-visible {
    background: #2B1D1C;
    color: #FCF8EE;
}

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

.blog-card:hover .blog-card-tag,
.blog-card:focus-visible .blog-card-tag {
    background: rgba(252, 248, 238, 0.12);
    box-shadow: none;
    color: #FCF8EE;
}

.blog-card:hover .blog-card-time,
.blog-card:focus-visible .blog-card-time {
    background: #FCF8EE;
    color: #2B1D1C;
}

.blog-card:hover .blog-card-time .icon-light,
.blog-card:focus-visible .blog-card-time .icon-light {
    display: none;
}

.blog-card:hover .blog-card-time .icon-dark,
.blog-card:focus-visible .blog-card-time .icon-dark {
    display: inline;
}

.blog-card:hover .blog-card-arrow,
.blog-card:focus-visible .blog-card-arrow {
    background: #FCF8EE;
    transform: translateX(4px);
}

.blog-card:hover .blog-card-arrow img,
.blog-card:focus-visible .blog-card-arrow img {
    filter: none;
}

.blog-empty {
    margin: 60px 0 0;
    text-align: center;
    color: #2B1D1C;
    font-family: var(--secondary-font);
    font-size: 18px;
}

/* View more */
.blog-view-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 80px;
}

.blog-view-more-wrap[hidden] {
    display: none;
}

.blog-view-more {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    height: 60px;
    padding: 0 40px;
    border: 1px solid rgba(43, 29, 28, 0.2);
    border-radius: 8px;
    background: #ffffff;
    color: #2B1D1C;
    font-family: var(--secondary-font);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.blog-view-more img {
    transition: transform 0.3s ease;
}

.blog-view-more:hover {
    border-color: #2B1D1C;
}

.blog-view-more:hover img {
    transform: translateY(3px);
}

/* ==========================================================
   Blog detail
   ========================================================== */
.blog-detail-hero {
    padding: 170px 0 0;
}

.blog-detail-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto 36px;
    text-align: center;
}

.blog-detail-tag {
    display: inline-flex;
    align-items: center;
    height: 44px;
    padding: 0 24px;
    border-radius: 50px;
    background: #2B1D1C;
    color: #FCF8EE;
    font-family: var(--secondary-font);
    font-size: 16px;
    line-height: 1;
}

.blog-detail-title {
    margin: 32px 0 0;
    color: #2B1D1C;
    font-family: var(--primary-font);
    font-weight: 400;
    font-size: 48px;
    line-height: 56px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.blog-detail-updated {
    margin: 40px 0 0;
    padding-top: 14px;
    border-top: 1px solid rgba(43, 29, 28, 0.2);
    min-width: 225px;
    color: #2B1D1C;
    font-family: var(--secondary-font);
    font-size: 18px;
    line-height: 19.24px;
    letter-spacing: 2%;
    font-weight: 300;
}

.blog-detail-updated span {
    font-weight: 500;
}

.blog-detail-cover {
    height: 500px;
    overflow: hidden;
    border-radius: 20px;
}

.blog-detail-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Blog detail: article body */
html {
    scroll-behavior: smooth;
}

.blog-article {
    padding-bottom: 100px;
}

.blog-article-layout {
    display: grid;
    grid-template-columns: 413px minmax(0, 1fr);
    grid-template-rows: 1fr auto;
    border-bottom: 1px solid rgba(43, 29, 28, 0.12);
}

/* Table of contents: the wrapper fills row 1, so the sticky list
   stops at the CTA card instead of sliding over it */
.blog-toc-wrap {
    grid-column: 1;
    grid-row: 1;
}

.blog-toc {
    position: sticky;
    top: 130px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 100px 40px 60px 0;
}

.blog-toc-link {
    color: rgba(43, 29, 28, 0.7);
    font-family: var(--secondary-font);
    font-size: 16px;
    line-height: 1.35;
    transition: color 0.3s ease;
}

.blog-toc-link:hover,
.blog-toc-link.active {
    color: #2B1D1C;
}

.blog-toc-link.active {
    font-weight: 500;
}

/* CTA card */
.blog-cta-card {
    grid-column: 1;
    grid-row: 2;
    margin: 0 40px 60px 0;
    padding: 50px 40px 48px;
    border-radius: 14px;
    background: #EAE0DA;
    color: #2B1D1C;
}

.blog-cta-title {
    margin: 0 0 30px;
    font-family: var(--secondary-font);
    font-weight: 400;
    font-size: 26px;
    line-height: 1.35;
    max-width: 200px;
}

.blog-cta-text {
    margin: 0 0 40px;
    font-family: var(--secondary-font);
    font-size: 15px;
    line-height: 1.75;
    max-width: 270px;
}

.blog-cta-btn {
    display: inline-flex;
    align-items: center;
    height: 50px;
    padding: 0 22px;
    border-radius: 8px;
    background: #2B1D1C;
    color: #FCF8EE;
    font-family: var(--secondary-font);
    font-size: 15px;
    transition: background-color 0.3s ease;
}

.blog-cta-btn:hover {
    background: #4a3533;
    color: #FCF8EE;
}

/* Article content */
.blog-article-content {
    grid-column: 2;
    grid-row: 1 / span 2;
    max-width: 1330px;
    padding: 100px 0 120px 80px;
    border-left: 1px solid rgba(43, 29, 28, 0.12);
    color: #2B1D1C;
    font-family: var(--secondary-font);
    font-size: 20px;
    line-height: 1.95;
}

.blog-article-content p {
    margin: 0 0 28px;
    font-size: 14px;
}

.blog-article-content h2 {
    margin: 56px 0 40px;
    font-family: var(--secondary-font);
    font-weight: 500;
    font-size: 36px;
    line-height: 42px;
    scroll-margin-top: 140px;
}

.blog-article-content ul {
    margin: 0;
    padding-left: 22px;
    color: rgba(43, 29, 28, 0.7);
}

.blog-article-content li {
    margin-bottom: 18px;
    line-height: 24px;
    font-size: 16px;
}

.blog-article-content li::marker {
    color: rgba(43, 29, 28, 0.7);
}

.blog-article-content a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
}

.blog-article-content a:hover {
    color: #8D6446;
}

/* Blog detail: latest from our blog slider */
.blog-latest {
    padding: 40px 0 170px;
}

.blog-latest-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
}

.blog-latest-title {
    margin: 0;
    color: #2B1D1C;
    font-family: var(--primary-font);
    font-weight: 400;
    font-size: 48px;
    line-height: 54px;
    letter-spacing: 0%;
    text-transform: uppercase;
}

.blog-latest-nav {
    display: flex;
    gap: 22px;
    flex-shrink: 0;
}

.blog-latest-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    padding: 0;
    border: 1.5px solid #2B1D1C;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: background-color 0.3s ease, opacity 0.3s ease;
}

.blog-latest-btn:hover:not(:disabled) {
    background: #2B1D1C;
}

.blog-latest-btn:hover:not(:disabled) img {
    filter: invert(1);
}

.blog-latest-btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.blog-latest-track {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.blog-latest-track::-webkit-scrollbar {
    display: none;
}

.blog-latest-track .blog-card {
    flex: 0 0 calc((100% - 80px) / 3);
    scroll-snap-align: start;
}




/* ===== Styled dropdown list for all select boxes (Chrome/Edge 135+) ===== */
@supports (appearance: base-select) {
    select,
    select::picker(select) {
        appearance: base-select !important;
        -webkit-appearance: base-select !important;
    }

    /* hide the browser's extra arrow - keep your existing one */
    select::picker-icon {
        display: none !important;
    }

    /* the list panel */
    select::picker(select) {
        margin-top: 6px;
        padding: 6px !important;
        /*background: #faf7f0 !important;*/
        border: 1px solid rgba(35, 27, 22, .14) !important;
        border-radius: 12px !important;
        box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
        max-height: 280px;
        overflow-y: auto;
    }

    /* each option */
    select option {
        padding: 10px 16px !important;
        border-radius: 8px;
        color: #231b16 !important;
        background: transparent;
        cursor: pointer;
    }

    select option:hover,
    select option:focus,
    select option:checked {
        /*background: #ece4d4 !important;*/
        outline: none;
    }

    /* check mark on the selected option */
    select option::checkmark {
        margin-right: 8px;
    }
}

/* Firefox: option padding only */
@-moz-document url-prefix() {
    select option {
        padding: 10px 16px !important;
    }
}