/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra Child Theme for Belmeade Men's Wear
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* ============================================================
   BELMEADE MEN'S WEAR - WIDE BLOG POST & LUXURY STYLING
   ============================================================ */

/* 1. Neutral Greyish Page Background (Replaces Light Blue) */
body,
body.single-post,
body.blog,
body.archive,
.site,
#page,
.site-content,
.ast-separate-container,
.ast-separate-container #page,
.ast-separate-container .site-content {
    background-color: #f2f3f5 !important; /* Clean, modern neutral grey */
}

/* 2. Crisp White Cards for Blog Content & Sidebar */
.ast-separate-container .ast-article-single,
.ast-separate-container .ast-article-post,
.ast-separate-container .site-main > article,
.ast-separate-container #primary {
    background-color: #ffffff !important;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.ast-separate-container .sidebar-main .widget,
.ast-separate-container #secondary .widget {
    background-color: #ffffff !important;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #e8eaed;
}

/* 3. Make the Blog Post Container Wider */
.single-post .site-content .ast-container,
.single-post.ast-narrow-container .site-content .ast-container,
.single-post .ast-container {
    max-width: 1200px !important; /* Expands container width */
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Ensure post content fills the widened container cleanly */
.single-post .ast-article-single,
.single-post .ast-article-post {
    width: 100%;
    max-width: 100%;
}

.single-post .entry-content {
    max-width: 100% !important;
    font-size: 1.125rem;
    line-height: 1.8;
    color: #2b2f33;
}

/* Ensure images scale crisply with the wider layout */
.single-post .entry-content img,
.single-post .entry-content .wp-block-image img,
.single-post .entry-content figure img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    display: block;
    margin: 2rem auto;
}

/* 2. Luxury Editorial Typography */
.single-post h1.entry-title,
.single-post .entry-content h1 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    color: #15221b;
    line-height: 1.25;
    margin-bottom: 1.5rem;
}

.single-post .entry-content h2 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 600;
    color: #1b4d3e;
    line-height: 1.3;
    margin-top: 2.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5ede8;
}

/* 3. Lead Paragraph */
.belmeade-lead-text,
.single-post .entry-content > p:first-of-type {
    font-size: 1.28rem;
    font-weight: 500;
    line-height: 1.65;
    color: #1b382b;
    margin-bottom: 2rem;
}

/* 4. Category / Location Badge */
.belmeade-badge {
    display: inline-block;
    background: #eef5f1;
    color: #1b4d3e;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 1.25rem;
    border: 1px solid #cfe3d6;
}

/* 5. Responsive Feature Grid (Cards instead of plain bullets) */
.belmeade-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.belmeade-feature-card {
    background: #f8faf9;
    border: 1px solid #e1ece5;
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.belmeade-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(27, 77, 62, 0.09);
}

.belmeade-feature-card h4 {
    margin: 0 0 0.5rem 0;
    color: #1b4d3e;
    font-size: 1.1rem;
    font-weight: 600;
}

.belmeade-feature-card p {
    margin: 0;
    font-size: 0.96rem;
    color: #4b5563;
    line-height: 1.55;
}

/* 6. Editorial Pullquote */
.belmeade-quote {
    border-left: 4px solid #1b4d3e;
    background: #f4f8f5;
    padding: 1.5rem 2rem;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    font-size: 1.2rem;
    color: #163326;
    margin: 2.5rem 0;
}

/* 7. Appointment / Booking CTA Card */
.belmeade-cta-box {
    background: linear-gradient(135deg, #1b4d3e 0%, #0c261e 100%);
    color: #ffffff;
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    margin: 3.5rem 0 2rem;
    box-shadow: 0 16px 36px rgba(27, 77, 62, 0.25);
}

.belmeade-cta-box h3 {
    color: #ffffff;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.belmeade-cta-box p {
    color: #d1e7dd;
    max-width: 600px;
    margin: 0 auto 1.75rem;
    font-size: 1.05rem;
}

.belmeade-btn-primary {
    display: inline-block;
    background-color: #d4af37;
    color: #111111 !important;
    font-weight: 700;
    text-decoration: none;
    padding: 15px 32px;
    border-radius: 50px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.9rem;
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.35);
    transition: all 0.25s ease;
}

.belmeade-btn-primary:hover {
    background-color: #e5c158;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(212, 175, 55, 0.45);
}

/* ============================================================
   8. BELMEADE BLOG POSTS SHORTCODE GRID & CARD STYLING
   ============================================================ */

.belmeade-blog-grid {
    display: grid;
    gap: 2rem;
    margin: 2.5rem 0;
    width: 100%;
}

.belmeade-blog-grid.belmeade-cols-1 {
    grid-template-columns: 1fr;
}

.belmeade-blog-grid.belmeade-cols-2 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.belmeade-blog-grid.belmeade-cols-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.belmeade-blog-grid.belmeade-cols-4 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* Post Card Container */
.belmeade-post-card {
    background: #ffffff;
    border: 1px solid #e5eae6;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.belmeade-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(27, 77, 62, 0.12);
    border-color: #ccdcd2;
}

/* Thumbnail Image with Hover Zoom */
.belmeade-post-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eef2ef;
}

.belmeade-post-thumb a {
    display: block;
    width: 100%;
    height: 100%;
}

.belmeade-post-thumb img.belmeade-card-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: transform 0.5s ease;
}

.belmeade-post-card:hover .belmeade-card-img {
    transform: scale(1.06);
}

/* Category Badge on Top of Image */
.belmeade-card-cat {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(27, 77, 62, 0.92);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 5px 12px;
    border-radius: 50px;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

.belmeade-card-cat-inline {
    display: inline-block;
    background: #eef5f1;
    color: #1b4d3e;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 50px;
    margin-bottom: 0.5rem;
}

/* Post Content Body */
.belmeade-post-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.belmeade-post-meta {
    font-size: 0.82rem;
    color: #78858e;
    font-weight: 500;
    margin-bottom: 0.4rem;
}

.belmeade-post-title {
    font-family: 'Playfair Display', 'Georgia', serif !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin: 0 0 0.75rem 0 !important;
    padding: 0 !important;
    border: none !important;
}

.belmeade-post-title a {
    color: #15241d !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.belmeade-post-title a:hover {
    color: #1b4d3e !important;
}

.belmeade-post-excerpt {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.belmeade-post-excerpt p {
    margin: 0;
}

/* Read More Link */
.belmeade-post-footer {
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid #f0f3f1;
}

.belmeade-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #1b4d3e !important;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: all 0.2s ease;
}

.belmeade-read-more:hover {
    color: #d4af37 !important; /* Gold accent on hover */
    transform: translateX(4px);
}

/* List Layout Option */
.belmeade-blog-grid.belmeade-layout-list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.belmeade-blog-grid.belmeade-layout-list .belmeade-post-card {
    flex-direction: row;
    align-items: stretch;
}

.belmeade-blog-grid.belmeade-layout-list .belmeade-post-thumb {
    width: 38%;
    min-width: 240px;
    aspect-ratio: auto;
}

@media (max-width: 768px) {
    .belmeade-blog-grid.belmeade-layout-list .belmeade-post-card {
        flex-direction: column;
    }
    .belmeade-blog-grid.belmeade-layout-list .belmeade-post-thumb {
        width: 100%;
        aspect-ratio: 16 / 10;
    }
}

/* ============================================================
   9. BELMEADE HERO SLIDER & BANNER CAROUSEL
   ============================================================ */

.belmeade-hero-slider-wrap {
    position: relative;
    width: 100%;
    margin: 0 auto 2.5rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(12, 28, 22, 0.12);
    background-color: #121915;
}

.belmeade-hero-slider-wrap.belmeade-slider-fullwidth {
    max-width: 100% !important;
    border-radius: 0;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
}

.belmeade-hero-slider {
    position: relative;
    width: 100%;
    --slider-height: 520px;
    height: var(--slider-height);
    min-height: 420px;
    overflow: hidden;
    outline: none;
}

/* Slider Track */
.belmeade-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Individual Slide */
.belmeade-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

/* Luxury Default Background Gradients (when no custom photo URL is passed) */
.belmeade-slide:nth-child(1) {
    background: linear-gradient(135deg, #1b4d3e 0%, #0d261e 100%);
}
.belmeade-slide:nth-child(2) {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}
.belmeade-slide:nth-child(3) {
    background: linear-gradient(135deg, #38271e 0%, #1c130e 100%);
}

/* High-Contrast Gradient Overlay for crystal-clear readability */
.belmeade-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(8, 20, 15, 0.88) 0%, rgba(8, 20, 15, 0.65) 55%, rgba(8, 20, 15, 0.25) 100%);
    pointer-events: none;
    z-index: 1;
}

.belmeade-slide-align-center .belmeade-slide-overlay {
    background: radial-gradient(circle at center, rgba(8, 20, 15, 0.7) 0%, rgba(8, 20, 15, 0.88) 100%);
}

/* Slide Content Container */
.belmeade-slide-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 4rem;
}

.belmeade-slide-content {
    max-width: 640px;
    color: #ffffff;
}

/* Alignment Variations */
.belmeade-slide-align-left .belmeade-slide-content {
    text-align: left;
    margin-right: auto;
}

.belmeade-slide-align-center .belmeade-slide-content {
    text-align: center;
    margin: 0 auto;
}

.belmeade-slide-align-right .belmeade-slide-content {
    text-align: right;
    margin-left: auto;
}

/* Badge Accent */
.belmeade-slide-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.18);
    color: #f3d783;
    border: 1px solid rgba(212, 175, 55, 0.45);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Slide Title */
.belmeade-slide-title {
    font-family: 'Playfair Display', 'Georgia', serif !important;
    font-size: clamp(2.2rem, 4vw, 3.4rem) !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    color: #ffffff !important;
    margin: 0 0 1rem 0 !important;
    padding: 0 !important;
    border: none !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

/* Slide Subtitle */
.belmeade-slide-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.22rem);
    line-height: 1.65;
    color: #e5ede8;
    margin: 0 0 2rem 0;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

/* Action Buttons */
.belmeade-slide-actions {
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.belmeade-slide-align-center .belmeade-slide-actions {
    justify-content: center;
}

.belmeade-slide-align-right .belmeade-slide-actions {
    justify-content: flex-end;
}

/* Primary Gold Button */
.belmeade-btn-slider-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #d4af37;
    color: #111111 !important;
    font-weight: 700;
    padding: 15px 32px;
    border-radius: 50px;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.9rem;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
    transition: all 0.25s ease;
}

.belmeade-btn-slider-primary:hover {
    background-color: #f1d37a;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(212, 175, 55, 0.48);
}

/* Secondary Translucent Button */
.belmeade-btn-slider-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(6px);
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.9rem;
    transition: all 0.25s ease;
}

.belmeade-btn-slider-secondary:hover {
    background-color: #ffffff;
    color: #15241d !important;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Accent Gold-Outline Button (e.g. Destination Weddings / Direct Delivery) */
.belmeade-btn-slider-accent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(27, 77, 62, 0.65);
    color: #f6dc8d !important;
    border: 1.5px solid #d4af37;
    backdrop-filter: blur(6px);
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.9rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.25s ease;
}

.belmeade-btn-slider-accent:hover {
    background-color: #d4af37;
    color: #111111 !important;
    border-color: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.45);
}

/* Glassmorphism Navigation Arrows */
.belmeade-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(15, 30, 23, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(8px);
    transition: all 0.25s ease;
    padding: 0;
}

.belmeade-slider-arrow:hover {
    background: #d4af37;
    color: #111111;
    border-color: #d4af37;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.35);
}

.belmeade-slider-prev {
    left: 20px;
}

.belmeade-slider-next {
    right: 20px;
}

/* Navigation Dots */
.belmeade-slider-dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.belmeade-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.35s ease;
}

.belmeade-slider-dot:hover {
    background: rgba(255, 255, 255, 0.75);
}

.belmeade-slider-dot.is-active {
    width: 32px;
    border-radius: 12px;
    background: #d4af37;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Bottom Promo Ribbon Bar */
.belmeade-slider-promo-banner {
    background: #0f1c16;
    color: #f3d783;
    text-align: center;
    padding: 13px 24px;
    border-top: 1px solid rgba(212, 175, 55, 0.25);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

/* Fade Effect Option */
.belmeade-slider-effect-fade .belmeade-slider-track {
    position: relative;
    display: block;
}

.belmeade-slider-effect-fade .belmeade-slide {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    z-index: 1;
}

.belmeade-slider-effect-fade .belmeade-slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Responsive Mobile Breakpoints */
@media (max-width: 768px) {
    .belmeade-hero-slider {
        --slider-height: 480px;
        min-height: 440px;
    }

    .belmeade-slide-container {
        padding: 2.25rem 1.5rem;
    }

    .belmeade-slider-arrow {
        display: none; /* Hide arrows on touch screens for clean full width touch swipe */
    }

    .belmeade-slide-actions {
        width: 100%;
        flex-direction: column;
        gap: 0.75rem;
    }

    .belmeade-btn-slider-primary,
    .belmeade-btn-slider-secondary,
    .belmeade-btn-slider-accent {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    .belmeade-slider-promo-banner {
        font-size: 0.82rem;
        padding: 10px 16px;
        line-height: 1.4;
    }
}