/* General styles */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-playfair);
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 30px 0;
}

@media screen and (max-width: 767px) {
    section {
        padding: 15px 0;
    }
}

/* Top Bar */
.top-bar {
    background: #000000;
    color: #ffffff;
    padding: 0.75rem 0;
    font-size: 0.9rem;
}

.top-bar-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hotline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hotline-label {
    color: rgb(68, 203, 136);
    font-weight: 600;
}

.hotline-number {
    color: #ffffff;
    font-weight: 400;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.account-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.account-section:hover {
    color: rgb(68, 203, 136);
}

.cart-icon {
    cursor: pointer;
    transition: color 0.2s ease;
    position: relative;
}

.cart-icon:hover {
    color: rgb(68, 203, 136);
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.flag {
    width: 20px;
    height: 15px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.flag:hover {
    opacity: 0.8;
}

.flag.uk {
    background: linear-gradient(to bottom, #012169 33%, #ffffff 33%, #ffffff 66%, #c8102e 66%);
    position: relative;
}

.flag.uk::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(45deg, transparent 40%, #ffffff 40%, #ffffff 45%, transparent 45%),
        linear-gradient(-45deg, transparent 40%, #ffffff 40%, #ffffff 45%, transparent 45%),
        linear-gradient(45deg, transparent 47%, #c8102e 47%, #c8102e 53%, transparent 53%),
        linear-gradient(-45deg, transparent 47%, #c8102e 47%, #c8102e 53%, transparent 53%);
}

.flag.vietnam {
    background: #da251d;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flag.vietnam::before {
    content: '★';
    color: #ffff00;
    font-size: 10px;
}

/* Main Navigation Bar */
.main-nav {
    background: rgb(26, 82, 92);
    padding: 1rem 0;
    position: relative;
    z-index: 9;
    transition: all 0.3s ease;
}

.main-nav.fixed {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    /* hoặc màu nền bạn muốn khi cố định */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.main-nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    max-width: 300px;
    width: 100%;
}

a.logo img {
    width: 100%;
}


.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.2rem;
    transition: color 0.2s ease;
    position: relative;
}

.nav-menu a:hover {
    color: rgb(68, 203, 136);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: rgb(68, 203, 136);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.search-container {
    position: relative;
}

.search-bar {
    background: #ffffff;
    border: none;
    padding: 0.6rem 2.5rem 0.6rem 1rem;
    border-radius: 25px;
    width: 200px;
    font-size: 0.9rem;
    outline: none;
    transition: width 0.3s ease;
}

.search-bar:focus {
    width: 250px;
}

.search-bar::placeholder {
    color: #999999;
}

.search-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #666666;
    cursor: pointer;
}

.search-icon:hover {
    color: rgb(26, 82, 92);
}

/* Slogan Bar */
.slogan-bar {
    background: #d4b896;
    padding: 1rem 0;
    text-align: center;
}

.slogan-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: #5d4037;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    a.logo img {
        max-width: 200px;
    }

    .slogan-bar {
        display: none;
    }

    .top-bar-container {
        padding: 0 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .main-nav-container {
        padding: 0 1rem;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .search-bar {
        width: 150px;
    }

    .search-bar:focus {
        width: 180px;
    }

    .logo {
        font-size: 1.5rem;
    }

    .slogan-text {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .hotline {
        font-size: 0.8rem;
    }

    .top-bar-right {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .top-bar-container {
        font-size: 0.8rem;
    }

    .nav-right {
        gap: 1rem;
    }

    .search-bar {
        width: 120px;
    }

    .search-bar:focus {
        width: 150px;
    }

    .slogan-text {
        font-size: 0.9rem;
    }
}

/* Navbar styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: #fff;
    color: #000;
    position: relative;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    /* Subtle shadow for separation */
}

.navbar-left .logo h1 {
    margin: 0;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    font-weight: normal;
    text-transform: uppercase;
}

.navbar-left .logo p {
    margin: 0;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    position: relative;
    padding-bottom: 0.2rem;
    text-transform: uppercase;
}

.navbar-left .logo p::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: #000;
}

.navbar-center ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
    /* Spacing between links */
}

.navbar-center a {
    text-decoration: none;
    color: #000;
    font-size: 0.9rem;
    position: relative;
    padding-bottom: 0.3rem;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.navbar-center a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: #000;
    transform: scaleX(0);
    transform-origin: bottom left;
    transition: transform 0.3s ease-out;
}

.navbar-center a:hover::after,
.navbar-center a.active::after {
    transform: scaleX(1);
}

.navbar-right {
    display: flex;
    gap: 1.5rem;
}

.navbar-right a {
    color: #000;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.navbar-right svg {
    width: 18px;
    height: 18px;
}

.navbar-right a span {
    font-size: 0.7rem;
    margin-left: 0.2rem;
}

/* Hero section styles */
.hero-section {
    position: relative;
    width: 100vw;
    height: calc(100vh - 200px);
    /* Full viewport height minus navbar height */
    background-image: url("http://customtailoryhoian.com/wp-content/uploads/2025/08/banner.jpg");
    background-size: cover;
    background-position: right center;
    /* Align image to the right */
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    /* Vertically center content */
    justify-content: flex-start;
    /* Align content to the left */
    padding-left: 10%;
    /* 10-15% from left edge */
    box-sizing: border-box;
    /* Include padding in width/height */
}

.hero-content {
    color: #fff;
    text-align: left;
    z-index: 1;
}

.hero-heading {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 7rem;
    /* Large font size */
    line-height: 0.8;
    /* Tight line spacing */
    margin: 0;
    font-weight: 400;
    /* Regular weight for elegance */
    text-transform: capitalize;
}

.hero-divider {
    width: 50px;
    height: 1px;
    background-color: #fff;
    margin-top: 1rem;
    /* Space below heading */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-heading {
        font-size: 5rem;
        /* Adjust for smaller screens */
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 5%;
    }

    .navbar-center ul {
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 1rem;
        align-items: flex-start;
    }

    .navbar-right {
        margin-top: 1rem;
        width: 100%;
        justify-content: space-around;
    }

    .hero-section {
        background-position: center center;
        /* Center image on mobile */
        justify-content: center;
        /* Center content horizontally */
        padding-left: 0;
        /* Remove left padding */
        text-align: center;
        /* Center text on mobile */
        height: calc(100vh - 250px);
        min-height: 300px;
        /* Adjust height for stacked navbar */
    }

    .hero-content {
        text-align: center;
        /* Center text on mobile */
    }

    .hero-heading {
        font-size: 4rem;
        /* Further adjust for mobile */
        line-height: 1;
    }

    .hero-divider {
        margin-left: auto;
        /* Center divider on mobile */
        margin-right: auto;
        /* Center divider on mobile */
    }
}

@media (max-width: 480px) {
    .hero-heading {
        font-size: 3rem;
        /* Smallest font size for very small screens */
    }

    .navbar-left .logo h1 {
        font-size: 1rem;
    }

    .navbar-left .logo p {
        font-size: 0.6rem;
    }

    .navbar-center a {
        font-size: 0.8rem;
    }

    .hero-section {
        height: calc(100vh - 400px);
        min-height: 300px;
        /* Adjust height for smaller mobile navbar */
    }
}

/* About Section Styles */
.about-section {
    /* padding: 80px 5%; */
    background-color: #fff;
    overflow: hidden;
    /* For absolute positioning of background blocks */
}

.about-section .inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

.about-header {
    text-align: center;
    max-width: 800px;
}

.about-subtitle {
    color: #888;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.about-subtitle::before,
.about-subtitle::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background-color: #888;
}

.about-subtitle::before {
    left: -40px;
}

.about-subtitle::after {
    right: -40px;
}

.about-content-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    position: relative;
    gap: 40px;
    padding: 40px 0;
    /* Add padding to ensure blocks don't touch edges */
}

.about-image-column {
    flex: 1;
    position: relative;
    min-width: 300px;
    /* Ensure image has a minimum width */
    z-index: 2;
    /* Image on top of its background block */
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 3;
    position: relative;
    border-radius: 8px;
}

.about-image-bg-block {
    position: absolute;
    top: -40px;
    left: -40px;
    width: calc(100% + 80px);
    height: calc(100% + 80px);
    background-color: #f8f8f8;
    /* Light beige/off-white */
    z-index: 1;
    border-radius: 8px;
}

.about-text-column {
    flex: 1;
    background-color: rgb(26, 82, 92);
    /* Soft blush pink */
    padding: 60px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 450px;
    /* Ensure text column has a decent height */
    position: relative;
    z-index: 2;
    /* Text on top of its background block */
}

.about-intro-paragraph {
    font-family: "Lato", sans-serif;
    font-size: 1.2rem;
    color: #fff;
    line-height: 1.6;
    z-index: 3;
}

.about-cta-box {
    background-color: rgb(26, 82, 92);
    /* Same blush pink */
    padding: 30px;
    color: #fff;
    font-family: "Open Sans", sans-serif;
    line-height: 1.6;
}

.about-button {
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 12px 25px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.about-button:hover {
    background-color: #fff;
    color: rgb(26, 82, 92);
}

.about-text-bg-block {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: calc(100% + 80px);
    height: calc(100% + 80px);
    background-color: rgb(26, 82, 92);
    /* Dark muted blue/grey */
    z-index: 1;
    border-radius: 0 8px 8px 0;
}

/* Responsive adjustments for About section */
@media (max-width: 1024px) {
    .about-main-heading {
        font-size: 2.8rem;
    }

    .about-content-wrapper {
        flex-direction: column;
        gap: 60px;
        padding: 20px 0;
    }

    .about-image-column,
    .about-text-column {
        width: 90%;
        max-width: 600px;
        /* Constrain width on smaller screens */
        min-width: unset;
    }

    .about-image-bg-block,
    .about-text-bg-block {
        top: -20px;
        left: -20px;
        width: calc(100% + 40px);
        height: calc(100% + 40px);
    }

    .about-text-bg-block {
        bottom: -20px;
        right: -20px;
    }

    .about-text-column {
        padding: 40px;
        min-height: unset;
    }
}

@media (max-width: 768px) {
    .about-section {
        /* padding: 60px 5%; */
        gap: 20px;
    }

    .about-main-heading {
        font-size: 2.2rem;
    }

    .about-intro-paragraph {
        font-size: 1rem;
    }

    .about-cta-box {
        padding: 20px;
    }

    .about-button {
        padding: 10px 20px;
        font-size: 0.8rem;
    }

    .about-subtitle::before,
    .about-subtitle::after {
        width: 20px;
        left: -30px;
        right: -30px;
    }
}

@media (max-width: 480px) {
    .about-main-heading {
        font-size: 1.8rem;
    }

    .about-text-column {
        padding: 30px;
    }

    .about-image-bg-block,
    .about-text-bg-block {
        top: -10px;
        left: -10px;
        width: calc(100% + 20px);
        height: calc(100% + 20px);
    }

    .about-text-bg-block {
        bottom: -10px;
        right: -10px;
    }
}

/* Services Section Styles */
.services-section {
    /* padding: 40px 0; */
    background-color: #fff;
}

.services-section .inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.services-header {
    text-align: center;
    max-width: 800px;
}

.services-subtitle {
    color: #888;
    /* Soft gray */
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.services-subtitle::before,
.services-subtitle::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background-color: #888;
}

.services-subtitle::before {
    left: -40px;
}

.services-subtitle::after {
    right: -40px;
}

.services-main-heading {
    margin: 0;
}

.services-image-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    /* Allow images to wrap on smaller screens */
    gap: 20px;
    /* Spacing between images */
    width: 100%;
    max-width: 1200px;
}

.service-image {
    width: 100%;
    /* 5 images, accounting for gap */
    height: auto;
    display: block;
    object-fit: cover;
    /* Ensure images cover their area */
    aspect-ratio: 1 / 1.2;
    /* Slightly portrait aspect ratio */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
}

.service-image:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.services-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    /* 3 columns, responsive */
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    /* Space between image grid and details */
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.service-number {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 3rem;
    color: rgb(26, 82, 92);
    /* Blush pink */
    margin: 0 0 10px 0;
    font-weight: 700;
}

.service-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    /* Dark gray */
    margin: 0 0 15px 0;
}

.service-description {
    font-family: "Open Sans", sans-serif;
    font-size: 0.95rem;
    color: #666;
    /* Light gray */
    line-height: 1.6;
    margin: 0;
}


@media (max-width: 768px) {
    .services-main-heading {
        font-size: 2.2rem;
    }

    .services-details-grid {
        grid-template-columns: 1fr;
        /* Stack columns vertically */
        gap: 30px;
    }

    .service-item {
        align-items: center;
        /* Center text on mobile */
        text-align: center;
    }
}

@media (max-width: 480px) {
    .services-main-heading {
        font-size: 1.8rem;
    }

    .service-number {
        font-size: 2.5rem;
    }

    .service-title {
        font-size: 1.3rem;
    }

    .service-description {
        font-size: 0.9rem;
    }
}

/* Stories Section Styles */
.stories-section {
    background-color: rgb(26, 82, 92);
    /* Dark blue background */
    /* padding: 100px 5%; */
    /* Generous padding */
    display: flex;
    justify-content: center;
    align-items: center;
}

.stories-content-wrapper {
    display: flex;
    width: 100%;
    gap: 20px;
    align-items: center;
    flex-direction: column;
}

.stories-text-block {
    flex: 1;
    color: #fff;
    text-align: center;
    /* Space from images */
}

section .main-heading.stories-heading {
    color: #fff;
}

.stories-paragraph {
    font-family: "Open Sans", sans-serif;
    font-size: 1.1rem;
    color: #aaa;
    /* Light gray for paragraph */
    line-height: 1.6;
    margin-bottom: 30px;
}

.stories-button {
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 12px 30px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.stories-button:hover {
    background-color: #fff;
    color: #19253c;
}

.stories-image-grid {
    flex: 1;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    /* Gap between images */
    position: relative;
    /* For the divider line */
    justify-content: center;
    /* Center images if space allows */
}

.stories-image-frame {
    border: 5px solid #fff;
    /* White frame */
    padding: 5px;
    /* Inner padding for the frame effect */
    display: inline-block;
    /* To make border wrap content */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: calc(26% - 30px);
    position: relative;
    border-radius: 8px;
}

.stories-image-frame .overlay {
    display: none;
}

.stories-image-frame:hover .overlay {
    display: block;
    position: absolute;
    top: 10px;
    left: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    padding: 10px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: end;
    background-color: #44cb88e3;
}

.stories-image-frame .overlay p {
    color: #fff;
    font-size: 18px;
    line-height: 1.2em;
    text-align: center;
    margin-bottom: 0;
}

.stories-image-frame .overlay h4 {
    color: #fff;
    font-size: 26px;
}

.stories-image-frame:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.stories-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.stories-image-divider {
    position: absolute;
    bottom: -40px;
    /* Position below images */
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    /* Length of the divider */
    height: 1px;
    background-color: #fff;
}

/* Blog and News Section Styles */
.blog-news-section {
    background-color: #fff;
    /* padding: 80px 5%; */
    display: flex;
    justify-content: center;
}

.blog-content-wrapper {
    display: flex;
    width: 100%;
    max-width: 1200px;
    gap: 30px;
}

.blog-sidebar {
    flex: 0 0 280px;
    /* Fixed width for sidebar */
    background-color: rgb(26, 82, 92);
    /* Soft pink/light beige */
    padding: 40px;
    color: #fff;
    /* Light text color */
    border-radius: 8px;
}

.blog-sidebar-heading {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 30px 0;
    color: #fff;
}

.blog-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-categories li {
    margin-bottom: 15px;
}

.blog-categories a {
    font-family: "Lato", sans-serif;
    text-decoration: none;
    color: #fff;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.blog-categories a:hover {
    color: #f0f0f0;
}

.blog-posts-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* Two columns, responsive */
    gap: 30px;
}

.blog-post-card {
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 15px;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
}

.blog-post-image {
    width: 100%;
    height: 200px;
    /* Fixed height for square/portrait effect */
    object-fit: cover;
    margin-bottom: 15px;
}

.blog-post-date {
    font-family: "Open Sans", sans-serif;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
}

.blog-post-title {
    font-family: "Lato", sans-serif;
    /* Sans-serif for title */
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.3;
}

.blog-post-excerpt {
    font-family: "Open Sans", sans-serif;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-read-more {
    font-family: "Lato", sans-serif;
    text-decoration: none;
    color: rgb(26, 82, 92);
    /* Soft pink */
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.blog-read-more:hover {
    color: #b8a29e;
}

/* Responsive adjustments for Blog and News section */
@media (max-width: 1024px) {
    .blog-content-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .blog-sidebar {
        flex: none;
        /* Remove fixed width */
        width: 100%;
        max-width: 600px;
        /* Constrain width */
        margin: 0 auto;
        /* Center sidebar */
        text-align: center;
    }

    .blog-categories {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 20px;
    }

    .blog-posts-grid {
        grid-template-columns: 1fr;
        /* Stack blog posts vertically */
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .stories-image-frame {
        width: calc(50% - 10px);
    }

    .blog-news-section {
        padding: 60px 5%;
    }

    .blog-sidebar {
        padding: 30px;
    }

    .blog-sidebar-heading {
        font-size: 2rem;
    }

    .blog-categories a {
        font-size: 1rem;
    }

    .blog-post-card {
        padding: 15px;
    }

    .blog-post-title {
        font-size: 1.2rem;
    }

    .blog-post-excerpt {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .blog-sidebar-heading {
        font-size: 1.8rem;
    }

    .blog-categories {
        gap: 10px;
    }

    .blog-categories a {
        font-size: 0.9rem;
    }

    .blog-post-image {
        height: 180px;
    }
}

/* Contact & Map Section Styles */
.contact-map-section {
    display: flex;
    width: 100%;
    height: 600px;
    /* Fixed height for the section */
}

.map-column {
    flex: 1;
    position: relative;
    height: 100%;
}

.map-column iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.address-label {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px 15px;
    font-family: "Open Sans", sans-serif;
    font-size: 0.9rem;
    color: #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.contact-form-column {
    flex: 1;
    background-color: rgb(26, 82, 92);
    /* Soft, light pink background */
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.contact-subtitle {
    font-family: "Lato", sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
    /* Light color */
    margin-bottom: 10px;
}

section .main-heading.contact-heading {
    color: #fff;
    margin: 0 0 15px 0;
}

.contact-description {
    font-family: "Open Sans", sans-serif;
    font-size: 1.1rem;
    color: #f0f0f0;
    /* Slightly lighter white for description */
    margin-bottom: 30px;
    line-height: 1.6;
}

.form-wrapper .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    /* Subtle white border */
    background-color: transparent;
    color: #fff;
    font-family: "Open Sans", sans-serif;
    font-size: 1rem;
    outline: none;
    box-sizing: border-box;
    max-height: 120px;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.send-message-button {
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 12px 30px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    align-self: flex-start;
    /* Align button to the left */
}

.send-message-button:hover {
    background-color: #fff;
    color: rgb(26, 82, 92);
}

/* Instagram Feed Section Styles */
.instagram-feed-section {
    background-color: #fff;
    /* padding: 80px 5%; */
    text-align: center;
}

.instagram-heading {
    font-family: "Lato", sans-serif;
    /* Sans-serif for consistency */
    font-size: 1.5rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #333;
    margin-bottom: 40px;
}

.instagram-image-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    /* Allow images to wrap */
    gap: 15px;
    /* Slight gap between images */
    max-width: 1200px;
    margin: 0 auto;
}

img.instagram-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instagram-image-grid a {
    /* width: calc(20% - 12px); */
    /* 5 columns, accounting for gap */
    height: auto;
    aspect-ratio: 1 / 1;
    /* Square aspect ratio */
    object-fit: cover;
    display: block;
    /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    padding: 5px;
}

.instagram-image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments for Contact & Map and Instagram Feed */
@media (max-width: 1024px) {
    .contact-map-section {
        flex-direction: column;
        /* Stack columns vertically */
        height: auto;
        /* Auto height for stacked content */
    }

    .map-column,
    .contact-form-column {
        width: 100%;
        height: 400px;
        /* Fixed height for map on mobile */
    }

    .contact-form-column {
        padding: 40px;
    }

    .contact-heading {
        font-size: 2.5rem;
    }

    .form-row {
        flex-direction: column;
        /* Stack form inputs */
        gap: 15px;
    }

    .send-message-button {
        align-self: center;
        /* Center button on mobile */
    }

    .instagram-image {
        width: calc(33.33% - 10px);
        /* 3 images per row */
    }
}

@media (max-width: 768px) {
    .contact-map-section {
        padding: 0;
        /* Remove padding for full-width map */
    }

    .contact-form-column {
        padding: 30px;
    }

    .contact-heading {
        font-size: 2rem;
    }

    .contact-description {
        font-size: 1rem;
    }

    .form-input,
    .form-textarea {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .send-message-button {
        padding: 10px 25px;
        font-size: 0.8rem;
    }

    .instagram-heading {
        font-size: 1.2rem;
    }

    .instagram-image {
        width: calc(50% - 8px);
        /* 2 images per row */
    }
}

@media (max-width: 480px) {
    .contact-form-column {
        padding: 20px;
    }

    .contact-heading {
        font-size: 1.8rem;
    }

    .instagram-heading {
        font-size: 1rem;
    }

    .instagram-image {
        width: 100%;
        /* Single image per row */
    }
}

/* Testimonials Section Styles */
.testimonials-section {
    /* padding: 80px 5%; */
    background-color: #fff;
}

.testimonials-section .inner {
    text-align: center;
}

.testimonials-section .swiper-wrapper {
    padding-bottom: 40px;
}

.testimonials-header {
    margin-bottom: 30px;
}

.testimonials-subtitle {
    font-family: "Lato", sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #888;
    /* Light gray */
    margin-bottom: 10px;
}

.testimonials-main-heading {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: #000;
    margin: 0;
}

.testimonial-slide {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.testimonial-quote {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.5;
    color: #333;
    margin: 0;
    padding: 0 20px;
    overflow: hidden; /* Hides any overflowing content */
    text-overflow: ellipsis; /* Displays an ellipsis (...) for truncated text */
    display: -webkit-box; /* Enables the flexible box layout model */
    -webkit-line-clamp: 3; /* Limits the text to 3 lines */
    -webkit-box-orient: vertical; /* Stacks the content vertically */
    line-clamp: 3;
    /* Add some horizontal padding for smaller screens */
}

.client-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.client-info a,
.client-info a img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    position: relative;
}

.client-info a::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='white'><polygon points='25,18 25,46 46,32'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50%;
    pointer-events: none;
}

.client-info a:hover::after {
    transform: translate(-50%, -50%) scale(1.15);
    /* background: rgba(0,0,0,0.8); */
    animation: pulsePlay 1.5s ease-in-out infinite;
}

/* Keyframe cho pulse */
@keyframes pulsePlay {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(255, 255, 255, 0);
    }
}

.client-profile-pic {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.client-details {
    font-family: "Open Sans", sans-serif;
    color: #666;
    font-size: 0.95rem;
}

.client-name {
    font-weight: 600;
    margin: 0;
}

.review-date {
    margin: 0;
    font-size: 0.85rem;
}

.testimonial-divider {
    width: 80px;
    height: 1px;
    background-color: #dcc6c2;
    /* Soft blush pink */
    margin-top: 15px;
}

/* Màu mặc định của bullet */
.testimonials-section .swiper-pagination-bullet {
    background-color: rgba(68, 203, 136, 0.4);
    /* Màu xanh nhạt khi chưa active */
    opacity: 1;
    /* Giữ nguyên màu, không mờ */
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Bullet đang active */
.testimonials-section .swiper-pagination-bullet-active {
    background-color: #44CB88;
    /* Màu xanh chính */
    transform: scale(1.2);
    /* Phóng to nhẹ khi active */
}

.btn-read-more {
    display: inline-block;
    padding: 10px 20px;
    background-color: #44CB88;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-read-more:hover {
    background-color: #37a971;
    /* Màu hover đậm hơn */
    transform: translateY(-2px);
    /* Hiệu ứng nhấc nhẹ */
}

/* Responsive adjustments for Testimonials section */
@media (max-width: 1024px) {
    .testimonials-main-heading {
        font-size: 2.8rem;
    }

    .testimonial-quote {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .testimonials-main-heading {
        font-size: 2.2rem;
    }

    .testimonial-quote {
        font-size: 1.4rem;
        padding: 0 10px;
    }

    .client-profile-pic {
        width: 70px;
        height: 70px;
    }

    .client-details {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .testimonials-main-heading {
        font-size: 1.8rem;
    }

    .testimonial-quote {
        font-size: 1.2rem;
    }

    .client-profile-pic {
        width: 60px;
        height: 60px;
    }

    .client-details {
        font-size: 0.8rem;
    }

    .testimonial-divider {
        margin-top: 30px;
    }
}

/* Footer Styling */
.footer {
    background-color: #0a0a0a;
    /* Dark background */
    color: #e0e0e0;
    /* Light gray text */
    padding: 1.5rem 0 0;
    /* Responsive padding */
}

.footer-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    /* Single column on small screens */
    gap: 2rem;
    /* Inner padding */
}

/* Column Styling */
.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-column h3 {
    color: #ffffff;
    /* White heading text */
    font-size: 1.25rem;
    /* Larger font for headings */
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Company Info Column */
.footer .company-logo {
    margin-bottom: 1.5rem;
    aspect-ratio: 236 / 51;
    height: auto;
    max-width: 320px;
    margin-bottom: 0.5rem;
}

.footer .company-name {
    font-size: 1.35rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.footer .company-description {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Services Column */
.footer .services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.footer .services-list li {
    margin-bottom: 0.5rem;
}

.footer .services-list a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer .services-list a:hover {
    color: #ffffff;
}

/* Social Media Column */
.footer .facebook-preview {
    width: 100%;
    background-color: #1a1a1a;
    /* Slightly lighter dark for the box */
    padding: 1rem;
    border-radius: 0.375rem;
    /* Rounded corners */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 10rem;
    /* Fixed height for preview box */
    text-align: center;
    color: #888;
    /* Lighter gray for placeholder text */
    border: 1px solid #333;
    /* Subtle border */
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.footer .social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer .social-icon {
    color: #a0a0a0;
    /* Gray for icons */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer .social-icon:hover {
    color: #ffffff;
    /* White on hover */
}

.footer .social-icon svg {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    /* Align icon with text if any */
}

/* Copyright Section */
.footer .footer-bottom {
    border-top: 1px solid #1a1a1a;
    /* Darker line for separation */
    margin-top: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    text-align: center;
    font-size: 0.8rem;
    color: #888;
    /* Lighter gray for copyright text */
}

/* Responsive Design for Tablets and Desktops */
@media (min-width: 768px) {
    .footer-wrapper {
        grid-template-columns: 2fr 1fr 1.5fr;
        /* 3 columns on larger screens */
        gap: 3rem;
    }

    .footer {
        padding: 2rem 0 0;
    }
}

/* Main Content Area */
.single .main-content-wrapper {
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.single .main-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Single column on small screens */
    gap: 2rem;
}

.single .post-article {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.single .featured-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0.25rem;
    margin-bottom: 1.5rem;
}

.single .post-meta {
    font-size: 0.875rem;
    color: var(--color-text-medium);
    margin-bottom: 1.5rem;
}

.single .post-meta a {
    color: var(--color-text-medium);
}

.single .post-body p {
    margin-bottom: 1rem;
    color: var(--color-text-dark);
}

.single .social-share {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.single .social-icon-button {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 1px solid var(--color-text-light);
    color: var(--color-text-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: background-color 0.2s, color 0.2s;
}

.single .social-icon-button:hover {
    background-color: var(--color-light-gray);
    color: var(--color-text-dark);
}

/* Sidebar */
.single .sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.single .sidebar-card {
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.single .sidebar-card .card-header {
    background-color: #d4b896;
    color: #fff;
    padding: 1rem 1.5rem;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.single .sidebar-card .card-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
    color: #fff;
}

.single .sidebar-card .card-content {
    padding: 1.5rem;
}

.single .about-me-card .author-avatar {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    display: block;
}

.single .about-me-card p {
    font-size: 0.875rem;
    color: var(--color-text-medium);
    margin-bottom: 1rem;
    text-align: center;
}

.single .about-me-card .read-more {
    font-size: 0.875rem;
    color: var(--color-blue-link);
    display: block;
    text-align: center;
}

.single .categories-card .category-button {
    width: 100%;
    text-align: left;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-text-light);
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-dark);
    transition: background-color 0.2s, color 0.2s;
}

.single .categories-card .category-button:hover {
    background-color: var(--color-light-gray);
}

.single .search-input-wrapper {
    position: relative;
    display: flex;
}

.single .search-input {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border: 1px solid var(--color-text-light);
    border-radius: 0.25rem;
    font-size: 1rem;
}

.single .search-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-light);
}

.single .tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.single .tag-button {
    background-color: var(--color-light-gray);
    color: var(--color-text-medium);
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    text-transform: uppercase;
    transition: background-color 0.2s, color 0.2s;
}

.single .tag-button:hover {
    background-color: var(--color-text-light);
    color: var(--color-text-dark);
}

.single .comments-list p {
    font-size: 0.875rem;
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
}

.single .comments-list .comment-author {
    font-weight: bold;
}

.single .comments-list a {
    color: var(--color-blue-link);
}

/* Author Bio Section */
.single .author-bio-section {
    background-color: #d4b896;
    padding: 2.5rem 1rem;
    margin-top: 3rem;
}

.single .author-bio-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.single .author-bio-avatar {
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.single .author-bio-text h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 0.5rem;
}

.single .author-bio-text p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin: 0;
}

/* Related Posts Section */
.single .related-posts-section {
    padding: 2rem 1rem;
}

.single .related-posts-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.875rem;
}

.single .related-posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Single column on small screens */
    gap: 1rem;
}

.single .related-post-card {
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.single .related-post-image {
    width: 100%;
    height: auto;
    max-height: 235px;
    object-fit: cover;
    display: block;
    aspect-ratio: 619 / 928;
}

.single .related-post-info {
    padding: 1rem;
}

.single .related-post-date {
    font-size: 0.875rem;
    color: var(--color-text-medium);
    margin-bottom: 0.5rem;
}

.single .related-post-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.single .related-post-info h3 a {
    color: var(--color-text-dark);
}

/* Comments Section */
.single .comments-section {
    padding: 2rem 1rem;
}

.single .comments-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.875rem;
}

.single .comment-form-wrapper {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.single .comment-form .form-row {
    display: grid;
    grid-template-columns: 1fr;
    /* Single column on small screens */
    gap: 1rem;
    margin-bottom: 1rem;
}

.single .form-input,
.single .form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-text-light);
    border-radius: 0.25rem;
    font-size: 1rem;
    box-sizing: border-box;
    /* Include padding in width */
}

.single .form-textarea {
    resize: vertical;
    margin-bottom: 1rem;
}

.single .privacy-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--color-text-medium);
}

.single .privacy-checkbox input[type="checkbox"] {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.single .submit-comment-button {
    background-color: var(--color-dark-grey);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.25rem;
    font-weight: bold;
    transition: background-color 0.2s;
}

.single .submit-comment-button:hover {
    background-color: #333333;
}

/* Hero Section */
.single .hero-section {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    width: 100%;
    padding: 0;
}

.single .hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(0 0 0 / 67%);
    /* Dark overlay */
    z-index: 1;
}

.single .hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
}

.single .hero-content h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #fff;
}

.single .hero-content p {
    font-size: 1.25rem;
    font-weight: 300;
    opacity: 0.9;
    margin: 0;
    color: #fff;
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    .single .buy-now-button {
        display: inline-flex;
        /* Show buy now button on medium screens and up */
    }

    .single .hero-content h1 {
        font-size: 4.5rem;
    }

    .single .hero-content p {
        font-size: 1.5rem;
    }

    .single .main-content-grid {
        grid-template-columns: 2fr 1fr;
        /* Two columns on medium screens and up */
    }

    .single .author-bio-content {
        flex-direction: row;
        text-align: left;
        gap: 2rem;
    }

    .single .author-bio-text h2 {
        font-size: 2rem;
    }

    .single .related-posts-grid {
        grid-template-columns: repeat(3, 1fr);
        /* Two columns on medium screens and up */
    }

    .single .comment-form .form-row {
        grid-template-columns: 1fr 1fr;
        /* Two columns for name/email on medium screens and up */
    }
}

@media (min-width: 1024px) {
    .single .hero-content h1 {
        font-size: 3rem;
    }

    .single .main-content-wrapper {
        padding: 3rem 1rem;
    }

    .single .author-bio-section {
        padding: 4rem 1rem;
    }

    .single .related-posts-section {
        padding: 3rem 1rem;
    }

    .single .comments-section {
        padding: 3rem 1rem;
    }
}

/* Hero Section */
.page-template-page-blog .hero-section {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    margin-bottom: 3rem;
    padding: 0;
}

.page-template-page-blog .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    /* Dark overlay */
    z-index: 1;
}

.page-template-page-blog .hero-title {
    position: relative;
    z-index: 2;
    font-size: 4rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
}

/* Main Content Layout */
.page-template-page-blog .main-content {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.page-template-page-blog .blog-layout-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Single column on mobile */
    gap: 1.5rem;
}

/* Featured Post Section */
.page-template-page-blog .featured-post {
    background-color: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-bottom: 3rem;
    padding: 0;
}

.page-template-page-blog .featured-post-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.page-template-page-blog .featured-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.page-template-page-blog .featured-post:hover .featured-post-image img {
    transform: scale(1.05);
}

.page-template-page-blog .featured-post-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.page-template-page-blog .featured-post .post-category {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-burgundy);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.page-template-page-blog .featured-post .post-title {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--color-charcoal);
}

.page-template-page-blog .featured-post .post-excerpt {
    font-size: 1.1rem;
    color: var(--color-text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.page-template-page-blog .featured-post .post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    /* Pushes meta to bottom */
}

.page-template-page-blog .featured-post .post-date {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.page-template-page-blog .read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-burgundy);
    font-weight: 500;
    font-size: 0.95rem;
}

.page-template-page-blog .read-more-btn:hover {
    text-decoration: underline;
}

/* Blog Post Grid */
.page-template-page-blog .blog-post-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Single column on mobile */
    gap: 1rem;
    padding: 0;
}

.page-template-page-blog .blog-card {
    background-color: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-template-page-blog .blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-template-page-blog .blog-card-link {
    display: block;
    overflow: hidden;
}

.page-template-page-blog .blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.page-template-page-blog .blog-card:hover .blog-card-image {
    transform: scale(1.05);
}

.page-template-page-blog .blog-card-content {
    padding: 1.2rem;
}

.page-template-page-blog .blog-card .post-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-burgundy);
    text-transform: uppercase;
    margin-bottom: 0.4rem;
    display: block;
}

.page-template-page-blog .blog-card-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.6rem;
    line-height: 1.4;
}

.page-template-page-blog .blog-card-title a {
    color: var(--color-charcoal);
}

.page-template-page-blog .blog-card-title a:hover {
    color: var(--color-burgundy);
}

.page-template-page-blog .blog-card-excerpt {
    font-size: 0.9rem;
    color: var(--color-text-medium);
    margin-bottom: 0.8rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.page-template-page-blog .blog-card .post-date {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

/* Sidebar */
.page-template-page-blog .sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.page-template-page-blog .sidebar-card {
    background-color: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.page-template-page-blog .sidebar-header {
    background-color: #d4b896;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.page-template-page-blog .sidebar-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: var(--color-charcoal);
}

.page-template-page-blog .sidebar-content {
    padding: 1.5rem;
}

.page-template-page-blog .search-bar {
    display: flex;
    border: 1px solid var(--color-border);
    border-radius: 5px;
    overflow: hidden;
}

.page-template-page-blog .search-bar input {
    flex-grow: 1;
    padding: 0.75rem 1rem;
    border: none;
    outline: none;
    font-size: 0.95rem;
    color: var(--color-text-dark);
}

.page-template-page-blog .search-bar input::placeholder {
    color: var(--color-text-light);
}

.page-template-page-blog .search-bar button {
    background-color: #d4b896;
    padding: 0.75rem 1rem;
    color: var(--color-charcoal);
    font-size: 1rem;
    border-left: 1px solid var(--color-border);
}

.page-template-page-blog .search-bar button:hover {
    background-color: var(--color-border);
}

.page-template-page-blog .recent-posts-list,
.page-template-page-blog .categories-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.page-template-page-blog .recent-posts-list li,
.page-template-page-blog .categories-list li {
    margin-bottom: 0.75rem;
}

.page-template-page-blog .recent-posts-list li:last-child,
.page-template-page-blog .categories-list li:last-child {
    margin-bottom: 0;
}

.page-template-page-blog .recent-posts-list a,
.page-template-page-blog .categories-list a {
    font-size: 0.95rem;
    color: var(--color-charcoal);
    display: block;
}

.page-template-page-blog .recent-posts-list a:hover,
.page-template-page-blog .categories-list a:hover {
    color: var(--color-burgundy);
    text-decoration: underline;
}

.page-template-page-blog .newsletter-cta {
    background-color: var(--color-burgundy);
    color: var(--color-white);
    text-align: center;
}

.page-template-page-blog .newsletter-cta h3 {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.page-template-page-blog .newsletter-cta p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.page-template-page-blog .newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.page-template-page-blog .newsletter-form input {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    font-size: 0.95rem;
    outline: none;
}

.page-template-page-blog .newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.page-template-page-blog .newsletter-form input:focus {
    border-color: var(--color-white);
}

.page-template-page-blog .newsletter-form button {
    background-color: var(--color-white);
    color: var(--color-burgundy);
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
}

.page-template-page-blog .newsletter-form button:hover {
    background-color: #d4b896;
}

/* Pagination */
.page-template-page-blog .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    padding-bottom: 3rem;
}

.page-template-page-blog .pagination-btn {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    color: var(--color-charcoal);
    padding: 0.75rem 1rem;
    border-radius: 5px;
    font-weight: 500;
    min-width: 40px;
    text-align: center;
}

.page-template-page-blog .pagination-btn:hover:not(.active):not(.disabled) {
    background-color: #d4b896;
    border-color: var(--color-burgundy);
}

.page-template-page-blog .pagination-btn.active {
    background-color: var(--color-burgundy);
    color: var(--color-white);
    border-color: var(--color-burgundy);
}

.page-template-page-blog .pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    .page-template-page-blog .hero-title {
        font-size: 5rem;
    }

    .page-template-page-blog .blog-layout-grid {
        grid-template-columns: 2fr 1fr;
        /* Two columns for main content and sidebar */
    }

    .page-template-page-blog .featured-post {
        flex-direction: row;
        height: 400px;
        /* Fixed height for desktop featured post */
    }

    .page-template-page-blog .featured-post-image {
        width: 50%;
        height: 100%;
    }

    .page-template-page-blog .featured-post-info {
        width: 50%;
        padding: 2rem;
    }

    .page-template-page-blog .featured-post .post-title {
        font-size: 2.5rem;
    }

    .page-template-page-blog .blog-post-grid {
        grid-template-columns: 1fr 1fr;
        /* Two columns for blog cards */
    }
}

@media (min-width: 1024px) {
    .page-template-page-blog .hero-title {
        font-size: 3rem;
    }

    .page-template-page-blog .blog-post-grid {
        grid-template-columns: 1fr 1fr 1fr;
        /* Three columns for blog cards */
    }
}

.srch-hero {
    width: 100%;
    background: var(--bg-subtle);
    padding: clamp(1.5rem, 4vw, 3rem) 0;
}

.srch-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .75rem;
    align-items: center;
}

.srch-input {
    width: 100%;
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    padding: .9rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    outline: none;
    box-shadow: var(--shadow);
}

.srch-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(68, 203, 136, .2);
}

.srch-button {
    padding: .9rem 1.2rem;
    border: none;
    border-radius: 10px;
    background: var(--accent);
    color: #0e2018;
    font-weight: 600;
    cursor: pointer;
    transition: transform .06s ease, filter .2s ease;
}

.srch-button:hover {
    filter: brightness(0.97);
}

.srch-button:active {
    transform: translateY(1px);
}

.srch-hero__summary {
    margin-top: .75rem;
    color: var(--muted);
}

/* Results layout */
.srch-results {
    margin: 1.5rem auto 3rem auto;
}

.srch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.srch-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: clip;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}

.srch-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.srch-card__thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.srch-card__body {
    padding: 1rem 1rem 1.1rem;
    display: grid;
    gap: .5rem;
}

.srch-card__title {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.3;
}

.srch-card__title a {
    text-decoration: none;
    color: var(--text);
}

.srch-card__title a:hover {
    color: var(--accent-contrast);
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.srch-card__excerpt {
    color: var(--muted);
    margin: 0;
}

.srch-card__meta {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: var(--muted);
    font-size: .9rem;
}

.srch-card__author {
    color: var(--accent-contrast);
    font-weight: 600;
}

.srch-card__dot {
    opacity: .6;
}

.srch-loadmore-wrap {
    display: flex;
    justify-content: center;
    margin-top: 1.25rem;
}

.srch-loadmore {
    background: var(--accent);
    color: #0e2018;
    border: none;
    border-radius: 999px;
    padding: .85rem 1.25rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.srch-loadmore[disabled] {
    opacity: .6;
    cursor: not-allowed;
}

.srch-empty {
    padding: 2rem 1rem;
    text-align: center;
    color: var(--muted);
}

/* Utility: screen-reader-only */
.screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0 !important;
    border: 0 !important;
    height: 1px !important;
    width: 1px !important;
    overflow: hidden;
    white-space: nowrap;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
}

.social-follow-box {
    display: grid;
    gap: 10px;
    max-width: 300px;
}

.tiktok-box,
.instagram-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
}

.tiktok-box img,
.instagram-box img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.follow-btn {
    margin-left: auto;
    padding: 5px 10px;
    background: #1877f2;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}

.section-header {
    margin-bottom: 20px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 400;
    color: #2c5f5d;
    margin-bottom: 20px;
    letter-spacing: 1px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #2c5f5d, #4a8b87);
    margin: 20px auto;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.8;
}

.decorative-icon {
    font-size: 2rem;
    color: #4a8b87;
    margin-bottom: 30px;
    opacity: 0.8;
}

.social-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.social-card {
    background: white;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 8px 30px rgba(44, 95, 93, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(44, 95, 93, 0.08);
    text-align: center;
    width: calc(33% - 10px);
    text-decoration: none;
}

.social-image {
    aspect-ratio: 1368 / 727;
}

a.social-card-link {
    text-decoration: none;
}

.social-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--brand-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.social-card:hover::before {
    transform: scaleX(1);
}

.social-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(44, 95, 93, 0.15);
}

.social-icon {
    font-size: 3rem;
    margin-bottom: 0px;
    color: var(--brand-color);
    transition: transform 0.3s ease;
}

.social-card:hover .social-icon {
    transform: scale(1.1);
}

.platform-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    letter-spacing: 0.5px;
}

.rating-stars {
    display: flex;
    justify-content: center;
    gap: 3px;
    margin-bottom: 12px;
}

.star {
    color: #fbbf24;
    font-size: 1.1rem;
}

.review-count {
    color: #6b7280;
    font-size: 0.95rem;
    margin-bottom: 20px;
    font-weight: 400;
}

.platform-description {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.6;
    font-style: italic;
}

/* Brand-specific colors */
.tripadvisor {
    --brand-color: #00af87;
}

.tiktok {
    --brand-color: #ff0050;
}

.google {
    --brand-color: #4285f4;
}

.instagram {
    --brand-color: #e4405f;
}

.facebook {
    --brand-color: #1877f2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 2.2rem;
    }

    .social-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    .social-card {
        padding: 15px 5px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }

    .social-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Additional elegant touches */
.social-card .platform-name {
    position: relative;
}

.social-card .platform-name::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--brand-color);
    transition: width 0.3s ease;
}

.social-card:hover .platform-name::after {
    width: 60px;
}