/* =====================================================
   BLOG PAGE — NoidaLuxury
   Theme: Dark green + gold luxury
   ===================================================== */

:root {
    --dark: #0b1e14;
    --dark-mid: #112a1c;
    --accent: #1b6b5a;
    --gold: #c9a84c;
    --gold-light: #e8cc7e;
    --cream: #faf6ed;
    --light-green: #f0f7f3;
    --text-dark: #1a2622;
    --text-muted: #5a6b65;
    --border: #e0ede9;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    color: var(--text-dark);
    margin: 0;
    background: #fff;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* =====================================================
   PAGE HERO
   ===================================================== */
.page-hero {
    background: linear-gradient(135deg, #0b1e14 0%, #112a1c 55%, #0b1e14 100%);
    padding: 64px 0 48px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle,
        rgba(201, 168, 76, 0.1) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.page-hero::after {
    content: "";
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 300px;
    height: 300px;
    background: radial-gradient(
        circle,
        rgba(201, 168, 76, 0.07) 0%,
        transparent 70%
    );
    pointer-events: none;
}

.page-hero-inner {
    position: relative;
    z-index: 1;
}

.page-eyebrow {
    display: inline-block;
    font-family: "DM Sans", sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 10px;
}

.page-hero h1 {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 10px;
}

.page-hero h1 span {
    color: var(--gold);
    font-style: normal;
}

.page-hero p {
    font-family: "DM Sans", sans-serif;
    font-size: 14.5px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.65;
    margin: 0;
    max-width: 520px;
}

/* =====================================================
   STICKY SEARCH BAR
   ===================================================== */
.search-bar {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.search-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.search-wrap {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.search-wrap i {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 13px;
    pointer-events: none;
}

#blogSearch {
    width: 100%;
    padding: 10px 14px 10px 36px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 400;
    font-family: "DM Sans", sans-serif;
    color: var(--text-dark);
    outline: none;
    transition: border 0.2s;
    background: #fff;
}

#blogSearch:focus {
    border-color: var(--gold);
}

#blogSearch::placeholder {
    color: var(--text-muted);
}

.cat-chip {
    font-family: "DM Sans", sans-serif;
    padding: 7px 14px;
    border-radius: 20px;
    border: 1.5px solid var(--border);
    background: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.cat-chip:hover,
.cat-chip.active {
    background: var(--dark);
    border-color: var(--dark);
    color: #fff;
}

.results-note {
    font-family: "DM Sans", sans-serif;
    font-size: 12.5px;
    font-weight: 400;
    color: var(--text-muted);
    margin-left: auto;
    white-space: nowrap;
}

/* =====================================================
   LAYOUT
   ===================================================== */
.blog-page {
    padding: 48px 0 72px;
}

/* =====================================================
   FEATURED POST
   ===================================================== */
.featured-post {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.09);
    border: 1px solid var(--border);
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    margin-bottom: 36px;
    text-decoration: none;
    color: inherit;
    transition:
        transform 0.28s,
        box-shadow 0.28s;
}

.featured-post:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.13);
}

.featured-post-img {
    position: relative;
    overflow: hidden;
    min-height: 280px;
}

.featured-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s;
}

.featured-post:hover .featured-post-img img {
    transform: scale(1.05);
}

.featured-label {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--gold);
    color: #0b1e14;
    font-family: "DM Sans", sans-serif;
    font-size: 9.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.featured-body {
    padding: 28px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-cat {
    font-family: "DM Sans", sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 8px;
}

.featured-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.25;
    margin-bottom: 10px;
}

.featured-excerpt {
    font-family: "DM Sans", sans-serif;
    font-size: 13.5px;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 18px;
    flex: 1;
}

.featured-meta {
    font-family: "DM Sans", sans-serif;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 11.5px;
    font-weight: 500;
    color: var(--text-muted);
}

.featured-cta {
    font-family: "DM Sans", sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    background: var(--gold);
    color: #0b1e14;
    border-radius: 7px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: all 0.2s;
    margin-top: 14px;
    align-self: flex-start;
}

.featured-cta:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

/* =====================================================
   BLOG GRID
   ===================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
    border: 1px solid var(--border);
    transition:
        transform 0.28s,
        box-shadow 0.28s;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.blog-card.hidden {
    display: none !important;
}

.blog-img {
    overflow: hidden;
    aspect-ratio: 16/9;
    position: relative;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

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

.blog-body {
    padding: 16px 18px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-cat {
    font-family: "DM Sans", sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 5px;
}

.blog-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 8px;
}

.blog-excerpt {
    font-family: "DM Sans", sans-serif;
    font-size: 12.5px;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}

.blog-date {
    font-family: "DM Sans", sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
}

.blog-read {
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s;
}

.blog-card:hover .blog-read {
    gap: 8px;
}

/* =====================================================
   SIDEBAR
   ===================================================== */
.blog-sidebar {
    position: sticky;
    top: 68px;
}

.sb-widget {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 18px;
}

.sb-title {
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-dark);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sb-title i {
    color: var(--gold);
    font-size: 11px;
}

.sb-cats a {
    font-family: "DM Sans", sans-serif;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    text-decoration: none;
    transition: color 0.2s;
}

.sb-cats a:last-child {
    border-bottom: none;
}

.sb-cats a:hover {
    color: var(--accent);
}

.sb-cats .count {
    font-family: "DM Sans", sans-serif;
    font-size: 10.5px;
    font-weight: 500;
    background: var(--cream);
    color: var(--text-muted);
    padding: 1px 7px;
    border-radius: 10px;
    letter-spacing: 0.2px;
}

.sb-recent a {
    display: flex;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    text-decoration: none;
}

.sb-recent a:last-child {
    border-bottom: none;
}

.sb-recent-thumb {
    width: 54px;
    height: 40px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.sb-recent-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sb-recent-title {
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sb-recent-date {
    font-family: "DM Sans", sans-serif;
    font-size: 10.5px;
    font-weight: 400;
    color: var(--text-muted);
    margin-top: 3px;
    letter-spacing: 0.2px;
}

.sb-cta {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-mid) 100%);
    border-radius: 12px;
    padding: 22px 18px;
    text-align: center;
}

.sb-cta h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.3;
}

.sb-cta p {
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 14px;
    line-height: 1.6;
}

.sb-cta-btn {
    display: block;
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    font-family: "DM Sans", sans-serif;
    letter-spacing: 0.2px;
    border: none;
    cursor: pointer;
    margin-bottom: 8px;
    transition: all 0.2s;
    text-decoration: none;
    text-align: center;
}

.sb-cta-btn.gold {
    background: var(--gold);
    color: #0b1e14;
}

.sb-cta-btn.gold:hover {
    background: var(--gold-light);
    color: #0b1e14;
}

.sb-cta-btn.wa {
    background: #25d366;
    color: #fff;
}

/* =====================================================
   NO RESULTS
   ===================================================== */
.no-results {
    display: none;
    text-align: center;
    padding: 60px 24px;
}

.no-results i {
    font-size: 2.5rem;
    color: var(--border);
    margin-bottom: 14px;
}

.no-results h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.no-results p {
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-muted);
}

/* =====================================================
   ENQUIRY MODAL
   ===================================================== */
.nl-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.nl-modal.active {
    display: flex;
}

.nl-modal-inner {
    background: #fff;
    border-radius: 16px;
    padding: 30px 28px 26px;
    max-width: 440px;
    width: 100%;
    position: relative;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.nl-modal-inner h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 16px;
    padding-right: 30px;
    line-height: 1.3;
}

.modal-close-btn {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    transition:
        color 0.2s,
        transform 0.2s;
    padding: 4px 8px;
    border-radius: 6px;
}

.modal-close-btn:hover {
    color: var(--dark);
    transform: rotate(90deg);
}

/* =====================================================
   MODAL FORM — exact match to Astralis enquiry form
   White inputs · Green submit · No labels (placeholder-only)
   ===================================================== */
.nl-modal-inner form {
    display: block;
}

.nl-modal-inner form .form-group,
.nl-modal-inner form .mb-3 {
    margin-bottom: 0;
}

/* Hide labels — Astralis uses placeholder-only inputs */
.nl-modal-inner form label:not(.error):not(.form-check-label) {
    display: none;
}

.nl-modal-inner form input[type="text"],
.nl-modal-inner form input[type="email"],
.nl-modal-inner form input[type="tel"],
.nl-modal-inner form input[type="number"],
.nl-modal-inner form input[type="search"],
.nl-modal-inner form select,
.nl-modal-inner form textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 13.5px;
    font-family: "DM Sans", sans-serif;
    color: var(--text-dark);
    background: #fff;
    outline: none;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
    margin-bottom: 11px;
    appearance: none;
    -webkit-appearance: none;
    line-height: 1.4;
}

.nl-modal-inner form textarea {
    min-height: 96px;
    resize: vertical;
    line-height: 1.5;
}

.nl-modal-inner form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%235a6b65' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 38px;
    cursor: pointer;
}

.nl-modal-inner form input::placeholder,
.nl-modal-inner form textarea::placeholder {
    color: #9aada8;
    font-size: 13px;
    opacity: 1;
}

.nl-modal-inner form input:focus,
.nl-modal-inner form select:focus,
.nl-modal-inner form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(27, 107, 90, 0.1);
}

/* Validation error states */
.nl-modal-inner form input.error,
.nl-modal-inner form select.error,
.nl-modal-inner form textarea.error,
.nl-modal-inner form input.is-invalid {
    border-color: #d64545;
    background: #fff7f7;
}

.nl-modal-inner form label.error,
.nl-modal-inner form .invalid-feedback,
.nl-modal-inner form .error-message {
    display: block;
    color: #d64545;
    font-size: 11px;
    font-weight: 500;
    margin-top: -7px;
    margin-bottom: 8px;
}

/* Consent line — plain text, no checkbox (Astralis style) */
.nl-modal-inner form .consent-text,
.nl-modal-inner form p.small,
.nl-modal-inner form .form-note,
.nl-modal-inner form .consent {
    font-size: 11.5px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 4px 0 14px;
    text-align: left;
}

/* If a checkbox version is used (fallback) */
.nl-modal-inner form .form-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 6px 0 14px;
    padding: 0;
}

.nl-modal-inner form input[type="checkbox"] {
    width: 14px;
    height: 14px;
    margin-top: 3px;
    accent-color: var(--accent);
    cursor: pointer;
    flex-shrink: 0;
}

.nl-modal-inner form .form-check-label {
    font-size: 11.5px;
    color: var(--text-muted);
    line-height: 1.5;
    font-weight: 400;
    margin: 0;
    display: block;
}

/* SUBMIT BUTTON — Astralis green CTA with paper-plane icon */
.nl-modal-inner form button[type="submit"],
.nl-modal-inner form .submit-btn,
.nl-modal-inner form button:not(.modal-close-btn) {
    width: 100%;
    padding: 14px 22px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    font-family: "DM Sans", sans-serif;
    cursor: pointer;
    letter-spacing: 0.2px;
    transition:
        background 0.2s,
        transform 0.15s,
        box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(27, 107, 90, 0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 2px;
}

.nl-modal-inner form button[type="submit"]:hover,
.nl-modal-inner form .submit-btn:hover {
    background: #155547;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(27, 107, 90, 0.32);
}

.nl-modal-inner form button[type="submit"]:active {
    transform: translateY(0);
}

.nl-modal-inner form button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.nl-modal-inner form button[type="submit"] i,
.nl-modal-inner form button[type="submit"] svg {
    font-size: 13px;
}

/* Success / error feedback */
.nl-modal-inner .form-success,
.nl-modal-inner .alert-success {
    background: #ecf7f2;
    color: #1b6b5a;
    border: 1px solid #b8dcd0;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 12.5px;
    margin-bottom: 12px;
    text-align: center;
}

.nl-modal-inner .form-error,
.nl-modal-inner .alert-danger {
    background: #fdecec;
    color: #d64545;
    border: 1px solid #f5c6c6;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 12.5px;
    margin-bottom: 12px;
    text-align: center;
}

/* Hidden inputs should never push spacing */
.nl-modal-inner form input[type="hidden"] {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    border: 0 !important;
}

/* =====================================================
   NEWSLETTER BANNER
   ===================================================== */
.newsletter-banner {
    background: linear-gradient(135deg, #0b1e14, #112a1c);
    border-radius: 16px;
    padding: 36px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 40px;
}

.newsletter-banner h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.newsletter-banner p {
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
    line-height: 1.55;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.newsletter-form input {
    padding: 10px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 13px;
    font-family: "DM Sans", sans-serif;
    min-width: 220px;
    outline: none;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-form input:focus {
    border-color: var(--gold);
}

.newsletter-form button {
    padding: 10px 20px;
    border-radius: 8px;
    background: var(--gold);
    color: #0b1e14;
    border: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: "DM Sans", sans-serif;
    white-space: nowrap;
    transition: background 0.2s;
}

.newsletter-form button:hover {
    background: var(--gold-light);
}

/* =====================================================
   BACK TO TOP
   ===================================================== */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--dark);
    color: #fff;
    border: none;
    font-size: 18px;
    cursor: pointer;
    display: none;
    z-index: 999;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    transition:
        background 0.2s,
        transform 0.2s;
}

#backToTop:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

/* =====================================================
   SCROLL REVEAL
   ===================================================== */
.reveal-item {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.5s ease,
        transform 0.5s ease;
}

.reveal-item.in-view {
    opacity: 1;
    transform: none;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .featured-post {
        grid-template-columns: 1fr;
    }

    .featured-post-img {
        min-height: 220px;
    }

    .blog-sidebar {
        position: static;
        margin-top: 36px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 48px 0 36px;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .search-inner {
        gap: 8px;
    }

    .cat-chip {
        font-size: 11px;
        padding: 6px 12px;
    }

    .newsletter-banner {
        flex-direction: column;
        padding: 28px 24px;
    }

    .newsletter-form {
        width: 100%;
    }

    .newsletter-form input {
        flex: 1;
        min-width: 0;
    }
}

@media (max-width: 576px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .search-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .search-wrap {
        min-width: unset;
    }

    .cats-row {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .cats-row::-webkit-scrollbar {
        display: none;
    }

    .cat-chip {
        flex-shrink: 0;
    }

    .results-note {
        display: none;
    }
}
