/* Amaze Manors — Desktop-First Reorganized Stylesheet */

/* ─── Base Styles (Desktop) ─────────────────────────────── */
/* ═══════════════════════════════════════════════════════════════
   Amaze Manors — Main Stylesheet
   Converts Tailwind/React design to pure CSS
   ═══════════════════════════════════════════════════════════════ */

/* ─── Custom Scrollbar ─────────────────────────────────────────── */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brown);
}

/* ─── Design Tokens ───────────────────────────────────────────── */
:root {
    --primary: #8c6e4c;
    --am-primary: #8c6e4c;
    --dark: #a38263;
    --brown: #5a4021;
    --gold: #8c6e4c;
    --tan: #a88d6d;
    --light: #f3f3f3;
    --white: #ffffff;
    --ink: #111111;
    --font-sans: "Montserrat", ui-sans-serif, system-ui, sans-serif;
    --font-serif: "Playfair Display", ui-serif, Georgia, serif;
    --max-w: 1200px;
    --transition: 300ms ease;
}

/* ─── Reset & Base ────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--light);
    color: #333333;
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

::selection {
    background-color: var(--primary);
    color: var(--white);
}

/* ─── Typography ──────────────────────────────────────────────── */
.am-serif {
    font-family: var(--font-serif);
}

h1 {
    font-size: 60px;
    line-height: 1.1;
}

h2 {
    font-size: 40px !important;
    line-height: 1.1;
    font-weight: 500;
    color: var(--primary);
}

h3,
h4 {
    line-height: 1.1;
    color: var(--primary);
}

.am-hero__heading,
.am-page-hero__heading {
    color: #ffffff !important;
}

/* ─── Layout Utilities ────────────────────────────────────────── */
.am-container {
    width: 100%;
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: 0px;
}

.am-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 600;
    color: #aba3a3;
    display: block;
}

.page-template-page-about .am-label {
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.am-label svg {
    margin-bottom: -4px;
}

.am-divider {
    width: 2.5rem;
    height: 1px;
    background: var(--primary);
    opacity: 0.8;
}

/* ─── Scroll Animation ────────────────────────────────────────── */
.am-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.am-reveal.am-reveal--left {
    transform: translateX(-24px);
}

.am-reveal.am-reveal--right {
    transform: translateX(24px);
}

.am-reveal.am-reveal--scale {
    transform: scale(0.96);
}

.am-reveal.is-visible {
    opacity: 1;
    transform: none;
}

.am-reveal-delay-1 {
    transition-delay: 0.1s;
}

.am-reveal-delay-2 {
    transition-delay: 0.2s;
}

.am-reveal-delay-3 {
    transition-delay: 0.3s;
}

.am-reveal-delay-4 {
    transition-delay: 0.4s;
}

/* ─── Buttons ─────────────────────────────────────────────────── */
.am-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 1.25rem 2.5rem;
    transition: background var(--transition), color var(--transition);
    white-space: nowrap;
}

.am-btn--primary {
    background: var(--primary);
    color: var(--white);
    border: 1px solid var(--primary);
}

.am-btn--primary:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.am-btn--outline {
    background: transparent;
    border: 1px solid var(--am-primary) !important;
    color: var(--am-primary);
    transition: all var(--transition);
}

.am-btn--outline:hover {
    background: var(--am-primary);
    color: var(--white);
}

.am-btn--dark {
    background: var(--dark);
    color: var(--white);
}

.am-btn--dark:hover {
    background: var(--primary);
}

.am-btn--nav {
    display: inline-flex;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    padding: .75rem 2rem;
}

.am-btn--nav:hover {
    background: var(--white);
    color: var(--dark);
}

.am-header.is-scrolled .am-btn--nav {
    background: var(--dark);
    border-color: var(--dark);
    color: var(--white);
}

.am-header.is-scrolled .am-btn--nav:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.am-btn--outline-white {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
}

.am-btn--outline-white:hover {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
}

.am-btn svg {
    transition: transform var(--transition);
}

.am-btn:hover svg {
    transform: translateX(4px);
}

/* ════════════════════════════════════════════════════════════════
   HEADER / NAVBAR
   ════════════════════════════════════════════════════════════════ */
.am-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 2rem;
    transition: background var(--transition), padding var(--transition), border-color var(--transition);
    color: var(--white);
}

.am-header.is-scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 3rem;
    color: var(--ink);
}

.am-header__inner {
    max-width: var(--max-w);
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

@media (max-width: 1200px) {
    .am-header__inner {
        gap: 1.5rem;
    }
}

.am-header__logo {
    margin-right: auto;
    display: flex;
    align-items: center;
}



.am-logo {
    height: 70px;
}

/* Show/hide logo versions */
.am-logo--light {
    display: block;
}

.am-logo--dark {
    display: none;
}

.am-header.is-scrolled .am-logo--light {
    display: none;
}

.am-header.is-scrolled .am-logo--dark {
    display: block;
}

h2.am-blog-card__title {
    font-size: 50px;
    font-weight: 500;
    color: var(--primary);
}

/* Nav */
.am-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.am-nav__link {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.9);
    transition: color var(--transition);
    background: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.am-nav__link:hover,
.am-nav__link.is-active {
    color: var(--white);
}

.am-header.is-scrolled .am-nav__link {
    color: var(--ink);
}

.am-header.is-scrolled .am-nav__link:hover,
.am-header.is-scrolled .am-nav__link.is-active {
    color: var(--primary);
}

.am-header.is-scrolled .am-btn--nav {
    background: var(--dark);
    color: var(--white);
}

/* Dropdown */
.am-nav__dropdown-wrap {
    position: relative;
}

.am-nav__chevron {
    transition: transform var(--transition);
}

.am-nav__dropdown-wrap.is-open .am-nav__chevron {
    transform: rotate(180deg);
}

/* ── Dropdown ────────────────────────────────────────────────────── */
.am-nav__dropdown {
    position: absolute;
    top: calc(100% + 2.7rem);
    left: 30%;
    transform: translateX(-50%) translateY(-8px);
    width: 280px;
    background: #fff;
    box-shadow: 0 16px 48px rgba(0,0,0,0.13);
    border-top: none;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.24s ease, visibility 0.24s ease, transform 0.24s ease;
    z-index: 50;
    overflow: visible;
}

.am-nav__dropdown-bridge {
    position: absolute;
    top: -1.5rem;
    left: 0;
    width: 100%;
    height: 1.5rem;
    background: transparent;
}

.am-nav__dropdown-wrap:hover .am-nav__dropdown,
.am-nav__dropdown-wrap.is-open .am-nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.am-nav__dropdown-inner {
    position: relative;
    overflow: hidden;
    display: flex;
    transition: height 0.28s cubic-bezier(0.4,0,0.2,1);
}

/* Hide old structure (JS rebuilds it) */
.am-nav__dropdown-links,
.am-nav__sub-dropdown-wrap,
.am-nav__sub-dropdown,
.am-nav__sub-dropdown-bridge,
.am-nav__dropdown-item { display: none !important; }

/* ── Slide Panel: Main ───────────────────────────────────────────── */
.am-dp-main {
    width: 100%;
    flex-shrink: 0;
    padding: 0.5rem 0;
    transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
}

.am-dp-main.is-shifted {
    transform: translateX(-100%);
}

.am-dp-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.4rem;
    cursor: pointer;
    gap: 0.75rem;
}

.am-dp-row__label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #1a1a1a;
    font-weight: 500;
    flex: 1;
}

.am-dp-row__arrow {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    display: flex;
    align-items: center;
    color: #bbb;
    flex-shrink: 0;
    transition: color 0.16s ease, transform 0.16s ease;
}

.am-dp-row__arrow:hover {
    color: #8c6e4c;
    transform: translateX(2px);
}

.am-dp-row:hover .am-dp-row__label {
    color: #8c6e4c;
}

/* ── Slide Panel: Sub ────────────────────────────────────────────── */
.am-dp-sub {
    position: absolute;
    top: 0; left: 100%;
    width: 100%;
    min-height: 100%;
    background: #fff;
    padding: 0;
    transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
}

.am-dp-sub.is-active {
    transform: translateX(-100%);
}

.am-dp-back {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem 1.4rem;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #8c6e4c;
    font-weight: 700;
    background: #f3f3f3;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    cursor: pointer;
    text-align: left;
}

.am-dp-sub__item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.4rem;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #444;
    font-weight: 500;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    transition: background 0.16s ease, color 0.16s ease;
}

.am-dp-sub__item:last-child { border-bottom: none; }

.am-dp-sub__item:hover {
    color: #8c6e4c;
}

/* Mobile toggle */
.am-mobile-toggle {
    display: flex;
    color: var(--white);
    padding: 0.5rem;
}

.am-header.is-scrolled .am-mobile-toggle {
    color: var(--dark);
}

.am-mobile-toggle {
    display: none;
}

/* Mobile Menu */
.am-mobile-menu {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 400px;
    max-width: 100%;
    z-index: 200;
    background: var(--light);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.15);
}

.am-mobile-menu.is-open {
    transform: translateX(0);
}

.am-mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 199;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}

.am-mobile-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.am-mobile-menu__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.am-mobile-menu__logo {
    height: 60px;
    object-fit: contain;
}

.am-mobile-close {
    color: var(--dark);
    padding: 0.5rem;
    display: flex;
}

.am-mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    text-align: left;
}

.am-mobile-nav__link {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--dark);
    transition: color var(--transition);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    text-align: left;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(140, 110, 76, 0.1);
}

.am-mobile-nav__link:hover {
    color: var(--primary);
}

.am-mobile-chevron {
    transition: transform var(--transition);
}

.am-mobile-dropdown {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 0.75rem;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.am-mobile-dropdown.is-open {
    max-height: 1000px;
}

.am-mobile-dropdown__item {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    color: var(--dark);
    transition: color var(--transition);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.4rem 0;
    text-align: left;
    background: none;
    border: none;
    border-bottom: 1px solid rgba(140, 110, 76, 0.05);
}

.am-mobile-dropdown__item:hover {
    color: var(--primary);
}

/* Nested submenus under mobile dropdown */
.am-mobile-dropdown .am-mobile-dropdown {
    gap: 0.85rem;
    margin-top: 0.6rem;
    margin-bottom: 0.6rem;
    padding-left: 1.25rem;
    border-left: 1px solid rgba(140, 110, 76, 0.2);
}

.am-mobile-dropdown .am-mobile-dropdown .am-mobile-dropdown__item {
    font-family: var(--font-serif);
    font-size: 1rem;
    text-transform: none;
    letter-spacing: normal;
    color: rgba(17, 17, 17, 0.65);
    font-weight: 400;
    padding: 0.3rem 0;
    border-bottom: none;
    justify-content: flex-start;
}

.am-mobile-dropdown .am-mobile-dropdown .am-mobile-dropdown__item:hover {
    color: var(--primary);
}

.am-mobile-nav__cta {
    margin-top: 2rem;
    width: 100%;
    justify-content: center;
}

/* ════════════════════════════════════════════════════════════════
   HOME PAGE
   ════════════════════════════════════════════════════════════════ */
/* Hero */

/* Home Page styles moved to assets/css/front-page.css */


/* ════════════════════════════════════════════════════════════════
   INNER PAGE HERO (About, Blog, FAQ, Contact)
   ════════════════════════════════════════════════════════════════ */
.am-page-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 3rem 5rem;
    background: var(--dark);
    color: var(--white);
    overflow: hidden;
    text-align: center;
}

.am-page-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.am-page-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.am-page-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(90, 64, 33, 0.8), rgb(90 64 33 / 99%));
}

.am-page-hero__content {
    position: relative;
    z-index: 1;
    max-width: var(--max-w);
    margin-inline: auto;
}

.am-page-hero__eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.am-page-hero__heading {
    font-family: var(--font-serif);
    font-size: 60px;
    font-weight: 500;
    width: 900px;
    margin: 0 auto 1rem;
    line-height: 1.1;
    color: #ffffff !important;
}

.am-page-hero__heading em {
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
}

.am-page-hero__subtext {
    color: rgb(255 255 255 / 79%);
    font-weight: 400;
    font-size: 18px;
    max-width: 800px;
    margin-inline: auto;
    line-height: 1.7;
}

/* ════════════════════════════════════════════════════════════════
   ABOUT PAGE
   ════════════════════════════════════════════════════════════════ */
.page-template-page-about .am-about-vision {
    padding: 80px 0px;
    background: var(--white);
}

.page-template-page-about .am-about-vision__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: center;
    max-width: var(--max-w);
    margin-inline: auto;
}

.page-template-page-about .am-about-vision__heading {
    font-family: var(--font-serif);
    color: var(--dark);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2.5rem;
    line-height: 1.1;
    font-weight: 400;
}

.page-template-page-about .am-about-vision__heading em {
    font-style: italic;
    color: var(--primary);
}

.page-template-page-about .am-about-vision__body {
    color: rgba(17, 17, 17, 0.7);
    font-weight: 400;
    line-height: 1.9;
    font-size: 1rem;
}

.page-template-page-about .am-about-vision__body p+p {
    margin-top: 2rem;
}

.page-template-page-about .am-about-vision__img {
    position: relative;
    aspect-ratio: 4/5;
    height: auto;
}

.page-template-page-about .am-about-vision__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
}

.page-template-page-about .am-about-vision__img-border {
    position: absolute;
    inset: -1.5rem;
    border: 1px solid rgba(140, 110, 76, 0.15);
    z-index: -1;
    pointer-events: none;
}

.page-template-page-about .am-about-pillars {
    padding: 5rem 3rem;
    background: #ebebeb;
}

.page-template-page-about .am-about-pillars .am-container {
    max-width: var(--max-w);
}

.page-template-page-about .am-about-pillars__header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-template-page-about .am-about-pillars__heading {
    font-family: var(--font-serif);
    color: var(--primary);
    font-size: 40px;
    font-weight: 400;
}

.page-template-page-about .am-about-pillars__grid {
    display: grid;
    grid-template-columns: repeat(2, 2fr);
    gap: 2rem;
}

.page-template-page-about .am-pillar-card {
    background: var(--white);
    padding: 2.5rem;
    border: 1px solid rgba(140, 110, 76, 0.05);
    transition: all var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.page-template-page-about .am-pillar-card:hover {
    transform: none;
    box-shadow: 0 30px 70px rgba(140, 110, 76, 0.12);
    border: 1px solid var(--primary);
}

.page-template-page-about .am-pillar-card__icon {
    color: var(--primary);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
}

.page-template-page-about .am-pillar-card__title {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.page-template-page-about .am-pillar-card__desc {
    color: rgba(17, 17, 17, 0.6);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.8;
}

.page-template-page-about .am-about-quote {
    padding: 5rem 3rem;
    position: relative;
    overflow: hidden;
    background: var(--white);
    text-align: center;
}

.page-template-page-about .am-about-quote__decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-serif);
    font-size: clamp(200px, 40vw, 500px);
    color: rgba(90, 63, 32, 0.04);
    pointer-events: none;
    line-height: 1;
    user-select: none;
}

.page-template-page-about .am-about-quote__inner {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin-inline: auto;
}

.page-template-page-about .am-about-quote__text {
    font-family: var(--font-serif);
    font-size: 34px;
    line-height: 1.3;
    margin-bottom: 4rem;
    font-weight: 400;
    color: var(--primary);
}

.page-template-page-about .am-about-quote__divider {
    width: 60px;
    height: 1px;
    background: var(--primary);
    margin: 0 auto 3rem;
}

.page-template-page-about .am-about-quote__attribution {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: rgba(17, 17, 17, 0.5);
    font-weight: 600;
}

/* ════════════════════════════════════════════════════════════════
   CONTACT PAGE
   ════════════════════════════════════════════════════════════════ */
.am-contact-section {
    padding: 80px 1.5rem;
    background: var(--light);
    position: relative;
    z-index: 2;
}


.am-contact-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 6rem;
    max-width: var(--max-w);
    margin-inline: auto;
}

.am-contact-heading {
    font-family: var(--font-serif);
    margin-bottom: 2.5rem;
    line-height: 1.2;
}

.am-contact-heading em {
    font-style: italic;
    color: var(--primary);
}

.am-contact-intro {
    color: #333;
    font-weight: 400;
    font-size: 16px;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.am-contact-offices {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.am-contact-office {
    display: flex;
    gap: 1.5rem;
}

.am-contact-office__icon {
    width: 3rem;
    height: 3rem;
    background-color: transparent !important;
    border-radius: 50%;
    border: 1px solid rgba(140, 110, 76, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.am-contact-office__label {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.am-contact-office__city {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.am-contact-office__note {
    color: #333;
    font-weight: 400;
    margin-bottom: 1rem;
}

.am-contact-office__links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.am-contact-office__link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--dark);
    font-weight: 400;
    transition: color var(--transition);
    font-size: 0.9375rem;
}

.am-contact-office__link:hover {
    color: var(--primary);
}

.am-contact-office__link svg {
    color: var(--primary);
}

/* Contact Form */
.am-contact-form-wrap {
    background: var(--white);
    padding: 2.5rem;
    border: 1px solid rgba(140, 110, 76, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    position: relative;
}

.am-contact-form-wrap {
    padding: 4rem;
}

.am-contact-form-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4rem;
    height: 4rem;
    border-top: 1px solid rgba(140, 110, 76, 0.3);
    border-right: 1px solid rgba(140, 110, 76, 0.3);
    transform: translate(8px, -8px);
}

.am-contact-form-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 4rem;
    height: 4rem;
    border-bottom: 1px solid rgba(140, 110, 76, 0.3);
    border-left: 1px solid rgba(140, 110, 76, 0.3);
    transform: translate(-8px, 8px);
}

.am-contact-form-title {
    font-family: var(--font-serif);
    font-size: 30px;
    color: var(--primary);
    font-weight: 400;
    margin-bottom: 2rem;
}

.am-form {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.am-form__row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.am-form__group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.am-form__label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.0;
    font-weight: 500;
    color: #606060;
    opacity: 1;
}

.am-form__input,
.am-form__select,
.am-form__textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(140, 110, 76, 0.2);
    padding: 0.75rem 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 400;
    color: var(--ink);
    outline: none;
    transition: all var(--transition);
    border-radius: 0;
    -webkit-appearance: none;
}

.am-form__input::placeholder,
.am-form__textarea::placeholder {
    color: rgba(17, 17, 17, 0.3);
    font-weight: 300;
}

.am-form__input:focus,
.am-form__select:focus,
.am-form__textarea:focus {
    border-bottom-color: var(--primary);
}

.am-form__textarea {
    resize: none;
    height: 120px;
}

.am-form__select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235a4021' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 2rem;
}

.am-form__submit-wrap {
    margin-top: 1rem;
}

.am-form__submit {
    width: auto;
    min-width: 100%;
    background: var(--primary);
    color: var(--white);
    padding: 1.25rem 3rem;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}

.am-form__submit:hover {
    background: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(90, 64, 33, 0.15);
}

.am-form__message {
    margin-top: 1rem;
    font-size: 0.875rem;
    padding: 0.75rem;
    text-align: center;
}

.am-form__message--success {
    background: rgba(140, 110, 76, 0.1);
    color: var(--dark);
}

.am-form__message--error {
    background: rgba(220, 50, 50, 0.1);
    color: #c00;
}

/* Contact Form 7 Compatibility */
.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.wpcf7-spinner {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
}

.wpcf7-not-valid-tip {
    font-size: 0.75rem;
    color: #c00;
    margin-top: 0.25rem;
}

.wpcf7-response-output {
    margin: 1.5rem 0 0 !important;
    padding: 1rem !important;
    border: 1px solid rgba(140, 110, 76, 0.2) !important;
    font-size: 0.875rem;
    text-align: center;
    color: var(--dark);
}

/* ════════════════════════════════════════════════════════════════
   FAQ PAGE
   ════════════════════════════════════════════════════════════════ */
.am-faq-section {
    padding: 80px 1.5rem 80px;
    background: var(--light);
    border-bottom: 1px solid rgba(140, 110, 76, 0.2);
}

.am-faq-wrap {
    max-width: 900px;
    margin-inline: auto;
}

.am-faq-category {
    margin-bottom: 4rem;
}

.am-faq-category__title {
    font-family: var(--font-serif);
    color: var(--primary);
    margin-bottom: 0.5rem;
    padding-bottom: 1rem;
    display: block;
    width: fit-content;
    padding-right: 2rem;
}

.am-faq-item {
    border-bottom: 1px solid rgba(140, 110, 76, 0.2);
}

.am-faq-item__trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding: 1.5rem 0;
    cursor: pointer;
    background: none;
    border: none;
    gap: 2rem;
}

.am-faq-item__question {
    font-family: var(--font-serif);
    font-size: 22px;
    color: var(--dark);
    transition: color var(--transition);
    line-height: 1.4;
    text-transform: capitalize;
}

.am-faq-item__trigger:hover .am-faq-item__question {
    color: var(--primary);
}

.am-faq-item__icon {
    color: var(--primary);
    flex-shrink: 0;
    font-size: 1.5rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.am-faq-item__icon .icon-minus {
    display: none;
}

.am-faq-item.is-open .am-faq-item__icon .icon-plus {
    display: none;
}

.am-faq-item.is-open .am-faq-item__icon .icon-minus {
    display: block;
}

.am-faq-item__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.am-faq-item.is-open .am-faq-item__body {
    max-height: 600px;
}

.am-faq-item__answer {
    padding-bottom: 1.5rem;
    color: var(--ink);
    font-size: 16px;
    line-height: 1.9;
}

/* ════════════════════════════════════════════════════════════════
   BLOG
   ════════════════════════════════════════════════════════════════ */
.am-blog-grid-section {
    padding: 5rem 1.5rem 8rem;
    background: var(--light);
}

.am-blog-grid-section {
    padding: 6rem 3rem 8rem;
    padding: 10rem 3rem;
}

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

.am-blog-card {
    background: transparent;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: none;
    transition: transform var(--transition);
}

.am-blog-card__img {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    display: block;
}

.am-blog-card__category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--white);
    color: var(--dark);
    padding: 0.5rem 1rem;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    z-index: 2;
}

.am-blog-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.am-blog-card__body {
    padding: 1.5rem 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.am-blog-card__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    /* High letter-spacing as in image */
    font-weight: 500;
}

.am-blog-card__date {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(17, 17, 17, 0.4);
    margin-bottom: 1rem;
}

.am-blog-card__title {
    font-size: 20px;
    line-height: 1.5;
    font-family: var(--font-serif);
    margin: 0;
    font-weight: 400;
}

.am-blog-card__title a {
    color: var(--brown);
    transition: color var(--transition);
}

.am-blog-card__title a:hover {
    color: var(--primary);
}

.am-blog-card__desc {
    font-size: 0.9375rem;
    color: rgba(17, 17, 17, 0.6);
    line-height: 1.7;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.am-blog-card__footer-line {
    width: 3rem;
    height: 1.5px;
    background: var(--primary);
    margin-top: auto;
}

.am-blog-card__link:hover {
    color: var(--primary);
    color: var(--primary);
}

.am-blog-card__link svg {
    transition: transform var(--transition);
    transition: transform var(--transition);
}

.am-blog-card:hover .am-blog-card__link svg {
    transform: translateX(4px);
}

/* Pagination */



.am-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 4rem;
}

.am-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--dark);
    border: 1px solid rgba(90, 63, 32, 0.2);
    transition: background var(--transition), color var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: var(--white);
    border: 1px solid rgba(29, 35, 39, 0.1);
    color: var(--dark);
    font-weight: 500;
    transition: all var(--transition);
}

.am-pagination .page-numbers:hover,
.am-pagination .page-numbers.current {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}

/* Single Post */
.am-single-hero {
    padding: 10rem 1.5rem 4rem;
    background: var(--dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.am-single-hero {
    padding: 12rem 3rem 5rem;
}

.am-single-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.am-single-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.am-single-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(90, 63, 32, 0.8), var(--dark));
}

.am-single-hero__content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin-inline: auto;
}

.am-single-hero__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.am-single-hero__category {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--primary);
    font-weight: 500;
}

.am-single-hero__date {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.am-single-hero__title {
    font-family: var(--font-serif);
    line-height: 1.2;
    margin-bottom: 2rem;
}

.am-single-content {
    padding: 6rem 3rem 8rem;
}

.am-single-content__inner {
    max-width: 760px;
    margin-inline: auto;
}

.am-single-content__inner p {
    color: rgba(17, 17, 17, 0.8);
    font-weight: 400;
    font-size: 1.0625rem;
    line-height: 1.9;
    margin-bottom: 1.75rem;
}

.am-single-content__inner h2 {
    font-family: var(--font-serif);
    color: var(--dark);
    margin: 3rem 0 1.5rem;
}

.am-single-content__inner h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--dark);
    margin: 2.5rem 0 1rem;
}

.am-single-content__inner img {
    width: 100%;
    height: auto;
    margin: 2.5rem 0;
}

.am-single-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--dark);
    font-weight: 500;
    margin-bottom: 3rem;
    transition: color var(--transition);
}

.am-single-back:hover {
    color: var(--primary);
}

.am-single-back svg {
    transition: transform var(--transition);
}

.am-single-back:hover svg {
    transform: translateX(-4px);
}

/* ════════════════════════════════════════════════════════════════
   PROPERTY PAGES (Las Vegas, Torrey Pines, Winchester)
   ════════════════════════════════════════════════════════════════ */
.am-property-hero {
    position: relative;
    height: 100svh;
    min-height: 640px;
    display: flex;
    align-items: flex-end;
    background: var(--dark);
    overflow: hidden;
}

.am-property-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.am-property-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.am-property-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(90, 63, 32, 0.95) 0%, rgba(90, 63, 32, 0.4) 60%, transparent 100%);
}

.am-property-hero__overlay2 {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5), transparent);
}

.am-property-hero__content {
    padding: 0 3rem 5rem;
}

.am-property-hero__inner {
    max-width: var(--max-w);
    margin-inline: auto;
}

.am-property-hero__label {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.am-property-hero__title {
    font-family: var(--font-serif);
    color: var(--white);
    line-height: 1;
    margin-bottom: 1.5rem;
}

.am-property-hero__location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.am-property-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.am-property-hero__stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.am-property-hero__stat svg {
    color: var(--primary);
}

.am-property-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Property Sections */
.am-property-desc {
    padding: 5rem 1.5rem;
    background: var(--white);
}

.am-property-desc {
    padding: 6rem 3rem;
}

.am-property-desc__inner {
    grid-template-columns: 7fr 5fr;
    gap: 6rem;
}

.am-property-desc__heading {
    font-family: var(--font-serif);
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.am-property-desc__body {
    color: rgba(17, 17, 17, 0.7);
    font-weight: 400;
    font-size: 1.0625rem;
    line-height: 1.8;
}

.am-property-desc__body p+p {
    margin-top: 1.25rem;
}

.am-property-price {
    background: var(--light);
    padding: 2rem;
}

.am-property-price__label {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.am-property-price__amount {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.am-property-price__note {
    font-size: 0.75rem;
    color: rgba(17, 17, 17, 0.5);
    margin-bottom: 1.5rem;
}

.am-property-price .am-btn {
    width: 100%;
    justify-content: center;
}

/* Amenities */
.am-amenities {
    padding: 5rem 1.5rem;
    background: var(--light);
}

.am-amenities {
    padding: 6rem 3rem;
}

.am-amenities__inner {
    max-width: var(--max-w);
    margin-inline: auto;
}

.am-amenities__header {
    margin-bottom: 3rem;
}

.am-amenities__heading {
    font-family: var(--font-serif);
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.am-amenities__grid {
    grid-template-columns: repeat(4, 1fr);
}

.am-amenity {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: rgba(17, 17, 17, 0.8);
}

.am-amenity::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary);
    flex-shrink: 0;
}

/* Services Cards */
.am-services {
    padding: 5rem 1.5rem;
    background: var(--white);
}

.am-services {
    padding: 6rem 3rem;
}

.am-services__inner {
    max-width: var(--max-w);
    margin-inline: auto;
}

.am-services__heading {
    font-family: var(--font-serif);
    color: var(--dark);
    margin-bottom: 3rem;
}

.am-services__grid {
    grid-template-columns: repeat(3, 1fr);
}

.am-service-item {
    padding: 2rem;
    background: var(--light);
    border-left: 2px solid var(--primary);
}

.am-service-item__title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.am-service-item__desc {
    color: rgba(17, 17, 17, 0.7);
    font-weight: 400;
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* Gallery */
.am-gallery {
    padding: 5rem 1.5rem;
    background: var(--dark);
}

.am-gallery {
    padding: 6rem 3rem;
}

.am-gallery__inner {
    max-width: var(--max-w);
    margin-inline: auto;
}

.am-gallery__heading {
    font-family: var(--font-serif);
    color: var(--white);
    margin-bottom: 3rem;
}

.am-gallery__grid {
    grid-template-columns: repeat(4, 1fr);
}

.am-gallery__item {
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
}

.am-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.am-gallery__item:hover img {
    transform: scale(1.08);
}

/* Locations / Nearby */
.am-locations {
    padding: 6rem 3rem;
    background: var(--light);
}

.am-locations__inner {
    max-width: var(--max-w);
    margin-inline: auto;
}

.am-locations__heading {
    font-family: var(--font-serif);
    color: var(--dark);
    margin-bottom: 3rem;
}

.am-locations__grid {
    grid-template-columns: repeat(3, 1fr);
}

.am-location-card {
    background: var(--white);
    overflow: hidden;
}

.am-location-card__img {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.am-location-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.am-location-card:hover .am-location-card__img img {
    transform: scale(1.05);
}

.am-location-card__body {
    padding: 1.5rem;
}

.am-location-card__title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.am-location-card__desc {
    color: rgba(17, 17, 17, 0.6);
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.7;
}

/* Property FAQ */
.am-property-faq {
    padding: 5rem 1.5rem 8rem;
    background: var(--white);
}

.am-property-faq {
    padding: 6rem 3rem 8rem;
}

.am-property-faq__inner {
    max-width: 860px;
    margin-inline: auto;
}

.am-property-faq__heading {
    font-family: var(--font-serif);
    color: var(--dark);
    margin-bottom: 3rem;
}

/* ════════════════════════════════════════════════════════════════
   HOME PAGE: MISSING SECTIONS
   ════════════════════════════════════════════════════════════════ */

/* Home Locale */

/* Additional Home Page sections moved to assets/css/front-page.css */


/* ════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════ */
.am-footer {
    background: var(--dark);
    color: var(--white);
    padding: 6rem 3rem 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.am-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(to bottom, rgb(90 63 32), rgb(90 63 32 / 90%), #5a3f20);
}

.am-footer__glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: rgba(140, 110, 76, 0.1);
    filter: blur(120px);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.am-footer__inner {
    position: relative;
    z-index: 1;
    max-width: var(--max-w);
    margin-inline: auto;
}

.am-footer__top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 3.5rem;
    margin-bottom: 3.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.am-featured-stories article.am-blog-card.am-blog-card--featured {
    flex-direction: row;
}

.am-featured-stories .am-blog-card__date {
    margin-bottom: 0px;
}

.am-footer__logo {
    height: 7rem;
}

.am-footer__logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 1.5rem;
    max-width: 460px;
}

.am-footer__tagline--centered {
    font-family: var(--font-serif);
    font-size: 16px;
    color: rgb(255 255 255 / 70%);
    line-height: 1.5;
}

.am-footer__contact--right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-end;
    text-align: right;
}

.am-footer__contact--border-left {
    border-left: 1px solid rgb(255 255 255 / 42%);
}

.am-footer__phone {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    transition: color var(--transition);
}

.am-footer__phone:hover {
    color: var(--primary);
}

.am-footer__email {
    color: rgba(255, 255, 255, 0.863);
    font-size: 0.9375rem;
    transition: color var(--transition);
}

.am-footer__email:hover {
    color: var(--white);
}

.am-footer__newsletter {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.am-footer__newsletter-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.am-footer__newsletter-form {
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 100%;
    width: 320px;
    margin-inline: auto;
    padding: 10px;
    transition: border-color var(--transition);
}

.am-footer__newsletter-form:focus-within {
    border-bottom-color: var(--primary);
}

.am-footer__newsletter-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    font-family: var(--font-sans);
    font-size: 14px;
    color: #ffffff;
    opacity: 1;
    text-align: center;
}

.am-footer__newsletter-input::placeholder {
    color: rgb(255, 255, 255);
}

.am-footer__newsletter-form svg {
    width: 50px;
    height: 20px;
}

.am-footer__newsletter-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0 0.5rem;
    transition: color var(--transition);
}

.am-footer__newsletter-btn:hover {
    color: var(--white);
}

.am-footer__newsletter-msg {
    margin-top: 0.75rem;
    font-size: 0.8125rem;
    color: var(--primary);
    min-height: 1.25rem;
}

.am-footer__bottom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 2rem;
}

.am-footer__social {
    display: flex;
    gap: 0.75rem;
}

.am-footer__social-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.am-footer__social-icon:hover {
    background: var(--dark);
    border-color: var(--dark);
    color: var(--white);
}

.am-footer__nav {
    display: flex;
    gap: 1.5rem;
}

.am-footer__nav a {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1px;
    font-weight: 500;
    color: rgb(255 255 255 / 73%);
    transition: color var(--transition);
}

.am-footer__nav a:hover {
    color: var(--dark);
}

.am-footer__legal {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
}

.am-footer__legal-links {
    display: flex;
    gap: 1.5rem;
}

.am-footer__legal-links a {
    transition: color var(--transition);
}

.am-footer__legal-links a:hover {
    color: var(--white);
}

/* ════════════════════════════════════════════════════════════════
   BLOG & ARCHIVE
   ════════════════════════════════════════════════════════════════ */
.am-featured-stories {
    padding: 8rem 0;
    background: #f8f8f8;
}

.am-blog-featured-wrap {
    max-width: var(--max-w);
    margin-inline: auto;
}

.am-blog-card--featured {
    display: flex;
    flex-direction: row;
    background: var(--white);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    min-height: 500px;
}

.am-blog-card--featured .am-blog-card__img {
    flex: 0 0 60%;
    aspect-ratio: auto;
}

.am-blog-card__featured-badge {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: var(--white);
    color: var(--ink);
    padding: 0.6rem 1.2rem;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.am-blog-card--featured .am-blog-card__body {
    flex: 0 0 40%;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.am-blog-card--featured .am-blog-card__meta {
    margin-bottom: 2rem;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--dark);
    font-weight: 600;
}

.am-blog-card--featured .am-blog-card__title {
    font-size: 30px;
    line-height: 1.3;
    margin-bottom: 0rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-family: var(--font-serif);
}

.am-blog-card--featured .am-blog-card__title a {
    color: inherit;
}

.am-blog-card--featured .am-blog-card__desc {
    font-size: 16px;
    color: rgba(17, 17, 17, 0.6);
    margin-bottom: 2.5rem;
    border: none;
}

.am-blog-card__read-more {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--primary);
    transition: all var(--transition);
}

.am-blog-card__read-more:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
    gap: 1.25rem;
    color: var(--primary);
    gap: 1.5rem;
}

.am-blog-grid-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.am-blog-filters {

    display: flex;
    gap: 2rem;
    list-style: none;
}

.am-blog-filter-btn {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(17, 17, 17, 0.4);
    font-weight: 500;
    transition: color var(--transition);
    position: relative;
    padding: 0 0 0.5rem 0;
    background: none;
    border: none;
    cursor: pointer;
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
}

.am-blog-filter-btn:hover,
.am-blog-filter-btn.is-active {
    color: var(--primary);
}

.am-blog-filter-btn.is-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 20px;
    height: 1px;
    background: var(--primary);
}

.am-blog-card__badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--white);
    padding: 0.5rem 1rem;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
    color: var(--dark);
    z-index: 2;
}

@keyframes am-spin {
    to { transform: rotate(360deg); }
}

/* ── Infinite Scroll Sentinel ──────────────────────────────────── */
.am-infinite-sentinel {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 0 5rem;
    min-height: 80px;
}

.am-infinite-spinner {
    display: inline-block;
    width: 32px;
    height: 32px;
    border: 2px solid rgba(140, 110, 76, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: am-spin 0.8s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.am-infinite-sentinel.is-loading .am-infinite-spinner {
    opacity: 1;
}

.am-blog-section-header {
    max-width: var(--max-w);
    margin-inline: auto;
    margin-bottom: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(140, 110, 76, 0.1);
}

.am-blog-section-header h2 {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    color: var(--dark);
}

.am-blog-grid-section {
    padding: 100px 0px 80px;
    background: #f8f8f8;
}

.am-blog-grid {
    grid-template-columns: repeat(3, 1fr);
    display: grid;
    gap: 30px;
}

.am-blog-card {
    background: var(--white);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform var(--transition), box-shadow var(--transition);
}

/* ─── Large Newsletter Section ─────────────────────────────────── */
.am-newsletter-section {
    padding: 10rem 0;
    background: var(--white);
    text-align: center;
    border-top: 1px solid #eee;
}

.am-newsletter-wrap {
    max-width: 700px;
    margin-inline: auto;
}

.am-newsletter-wrap .am-serif {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin: 1.5rem 0 2rem;
    color: var(--ink);
}

.am-newsletter-desc {
    font-size: 1.125rem;
    color: rgba(17, 17, 17, 0.6);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.am-newsletter-form-large {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin-inline: auto;
}

.am-newsletter-form-large input {
    flex: 1;
    padding: 1.25rem 1.5rem;
    border: 1px solid #ddd;
    font-size: 1rem;
    outline: none;
    transition: border var(--transition);
}

.am-newsletter-form-large input:focus {
    border-color: var(--primary);
}

.am-newsletter-form-large button {
    padding: 0 3rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    font-weight: 600;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background var(--transition);
}

.am-newsletter-form-large button:hover {
    background: var(--dark);
}

.am-newsletter-msg {
    margin-top: 1.5rem;
    font-size: 0.875rem;
}


.am-blog-card__img {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

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

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

.am-blog-card__body {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.am-blog-card__date {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #999;
    margin-bottom: 0.5rem;
    display: block;
    font-weight: 600;
}

.am-blog-card__title {
    font-family: var(--font-serif);
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.am-blog-card__title a {
    color: inherit;
    text-decoration: none;
}

.am-blog-card__title a:hover {
    color: var(--dark);
}

.am-blog-card__desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(17, 17, 17, 0.6);
    margin-bottom: 2rem;
    flex: 1;
    padding-top: 0px;
    border-top: none;
}

.am-blog-card__link:hover svg {
    transform: translateX(4px);
}

/* SINGLE POST REIMAGINED */
/* Header Force Dark on Single Post */
.single-post .am-header {
    color: var(--ink);
}

.single-post .am-header .am-logo--light {
    display: none;
}

.single-post .am-header .am-logo--dark {
    display: block;
}

.single-post .am-header .am-nav__link {
    color: var(--ink);
}

.single-post .am-header .am-nav__link:hover,
.single-post .am-header .am-nav__link.is-active {
    color: var(--primary);
}

.single-post .am-header .am-btn--nav {
    background: var(--dark);
    color: var(--white);
}

.single-post .am-header .am-btn--nav:hover {
    background: var(--primary);
}

.single-post .am-header .am-mobile-toggle {
    color: var(--dark);
}

/* ─── Single Post Page ────────────────────────────────────────── */
.am-single-page {
    background: var(--light);
    color: var(--ink);
}

/* Blend header with background */
.single-post .am-header:not(.is-scrolled) {
    background: transparent;
    box-shadow: none;
}

.am-sp-page-hero {
    min-height: 580px;
}

.am-sp-page-hero .am-page-hero__heading {
    font-size: clamp(30px, 4.5vw, 52px);
    width: 100%;
    max-width: 920px;
}

.am-sp-hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
}

.am-sp-hero-cat {
    color: #e8d5b7;
}

.am-sp-hero-dot {
    color: rgba(255,255,255,0.4);
}

.am-sp-hero-date {
    color: rgba(255,255,255,0.7);
}

/* Legacy — kept for backward compat */
.am-sp-hero {
    position: relative;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 3rem 5rem;
    background: var(--light);
    text-align: center;
}

.am-sp-hero__inner {
    max-width: 900px;
    margin-inline: auto;
}

.am-sp-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-weight: 600;
}

.am-sp-cat {
    color: var(--primary);
}

.am-sp-dot {
    color: rgba(17, 17, 17, 0.3);
}

.am-sp-date {
    color: rgba(17, 17, 17, 0.5);
}

.am-sp-title {
    font-family: var(--font-serif);
    font-size: 60px;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 500;
}

.am-sp-desc {
    font-size: 1.125rem;
    line-height: 1.6;
    color: rgba(17, 17, 17, 0.5);
    max-width: 700px;
    margin-inline: auto;
    font-weight: 400;
}

.am-sp-body {
    padding: 0rem 0 3rem;
    border-bottom: 1px solid #8c6e4c38;
}

.am-sp-meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 4rem;
}

.am-sp-back {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 600;
    color: rgba(17, 17, 17, 0.5);
    transition: all 0.3s;
}

.am-sp-back:hover {
    color: var(--primary);
}

.am-sp-share {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.am-sp-share__label {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 600;
    color: rgba(17, 17, 17, 0.3);
}

.am-sp-share__links {
    display: flex;
    gap: 1rem;
    color: rgba(17, 17, 17, 0.4);
}

.am-sp-share__link {
    transition: color 0.3s;
}

.am-sp-share__link:hover {
    color: var(--primary);
}

.am-sp-feat-img {
    width: 100%;
    margin-bottom: 3rem;
    border-radius: 0px;
    overflow: hidden;
}

.am-sp-feat-img img {
    width: 100%;
    height: auto;
    display: block;
}

.am-sp-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    align-items: start;
}

.am-sp-content {
    font-size: 16px;
    line-height: 1.9;
    color: #333;
}

.wp-block-heading strong {
    font-weight: 400;
}

.am-sp-content p {
    margin-bottom: 1rem;
}

.am-sp-content h2,
.am-sp-content h3 {
    font-family: var(--font-serif);
    color: var(--primary);
    line-height: 1.4;
    margin: 4rem 0 2rem;
    font-weight: 400;
}

.am-sp-content h2 {
    font-size: 2.5rem;
}

.am-sp-content h3 {
    font-size: 1.875rem;
}

.am-sp-content blockquote {
    padding: 3rem;
    background: #fdfaf7;
    border-left: 2px solid var(--primary);
    margin: 4rem 0;
    font-family: var(--font-serif);
    font-size: 1.75rem;
    line-height: 1.4;
    color: var(--primary);
}

.am-sp-content img {
    border-radius: 4px;
    margin: 4rem 0;
}

/* Author Bio */
.am-sp-author {
    margin-top: 2rem;
    padding: 2rem;
    background: #fdfaf7;
    display: flex;
    gap: 3rem;
    align-items: center;
}

.am-sp-author__avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--white);
    padding: 20px;
    border: 1px solid rgba(140, 110, 76, 0.1);
    flex-shrink: 0;
}

.am-sp-author__avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.am-sp-author__text h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0.5rem 0 1rem;
}

.am-sp-author__text p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(17, 17, 17, 0.6);
    margin: 0;
}

/* Sidebar Widgets */
.am-sp-sidebar {
    position: sticky;
    top: 100px;
}

.am-sp-widget {
    margin-bottom: 2rem;
}

.am-sp-widget--cta {
    background: var(--primary);
    color: var(--white);
    padding: 2rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}

.am-sp-widget--cta::before {
    content: '';
    width: 60px;
    height: 2px;
    background: rgb(90 64 33);
    position: absolute;
    top: 1.5rem;
    left: 2rem;
}

.am-sp-widget--cta h3 {
    font-size: 32px;
    color: var(--white);
    margin: 1rem 0 0;
    line-height: 1.1;
    font-family: var(--font-serif);
    font-weight: 400;
}

.am-sp-widget--cta p {
    font-size: 1rem;
    opacity: 0.7;
    line-height: 1.6;
    margin: 0;
}

.am-sp-widget--cta .am-btn {
    background: #fff !important;
    border: none !important;
    color: var(--primary) !important;
    padding: 1.25rem 2rem !important;
    font-size: 12px !important;
    letter-spacing: 0.2em !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    transition: all 0.3s;
    margin: 0px auto;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.am-sp-widget--cta .am-btn:hover {
    background: #ffffff !important;
    color: var(--primary) !important;
}

.am-sp-widget--cats {
    background: var(--white);
    padding: 2rem;
    box-shadow: none;
}

.am-sp-widget--cats h3 {
    font-size: 32px;
    color: #5a4021;
    margin-bottom: 1rem;
    font-family: var(--font-serif);
    font-weight: 400;
}

.am-sp-widget--cats ul li a {
    color: rgba(17, 17, 17, 0.6);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.am-sp-widget--cats ul li:last-child a {
    border-bottom: none;
}

.am-sp-widget--cats ul li a:hover {
    color: var(--primary);
}

.am-sp-cat-count {
    font-size: 0.6875rem;
    color: rgba(0, 0, 0, 0.4);
    font-weight: 500;
}

/* Related Section */
.am-sp-related {
    padding: 3rem 0;
    background: #ebebeb;
}

.am-sp-section-header {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.am-sp-section-header::before {
    content: '';
    width: 60px;
    height: 1px;
    background: var(--primary);
}

.am-sp-section-header h2 {
    font-size: 2rem;
    color: var(--primary);
    font-family: var(--font-serif);
    margin: 0;
    text-align: left;
}

.am-sp-grid--related {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

/* Blog Card (Editorial Style) */
.am-blog-card {
    background: var(--white);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
}

.am-blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.am-blog-card__img {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

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

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

.am-blog-card__category {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--white);
    padding: 0.5rem 1rem;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--ink);
    z-index: 2;
}

.am-blog-card__body {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-grow: 1;
}

.am-blog-card__date {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(17, 17, 17, 0.3);
    font-weight: 600;
}

.am-blog-card__title {
    font-size: 1.5rem;
    line-height: 1.3;
    font-family: var(--font-serif);
    margin: 0;
}

.am-blog-card__title a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

.am-blog-card__title a:hover {
    color: var(--dark);
}

.am-blog-card__excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(17, 17, 17, 0.5);
    margin-top: 0.5rem;
}

/* Prev/Next Nav */
.am-sp-nav {
    padding: 3rem 0;
    background: white;
}

.am-sp-nav__wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.am-sp-nav__item {
    max-width: 40%;
}

.am-sp-nav__item a {
    text-decoration: none;
}

.am-sp-nav__item--next {
    text-align: right;
}

.am-sp-nav__item h3 {
    font-weight: 300;
    font-size: 18px;
    margin-top: 0.5rem;
    line-height: 1.5;
    transition: color 0.3s;
}

.am-sp-nav__item a:hover h3 {
    color: var(--primary);
}

.am-sp-nav__divider {
    width: 1px;
    height: 100px;
    background: #eee;
}

/* ─── Concierge CTA ─────────────────────────────────────────────── */
.am-concierge-cta {
    padding: 80px 0;
    background: var(--light);
}

.am-concierge-cta__inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 0;
}

.am-concierge-cta__image {
    position: relative;
    z-index: 1;
}

.am-concierge-cta__image img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.am-concierge-cta__frame {
    position: absolute;
    top: 2rem;
    left: 2rem;
    right: 2rem;
    bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    pointer-events: none;
}

.am-concierge-cta__content {
    margin-left: -15%;
}

.am-concierge-cta__box {
    background: var(--primary);
    color: var(--white);
    padding: 5rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
}

.am-concierge-cta__eyebrow {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.am-concierge-cta__eyebrow .am-label {
    color: rgba(255, 255, 255, 0.6);
}

.am-concierge-cta__eyebrow .am-divider {
    background: rgba(255, 255, 255, 0.3);
}

.am-concierge-cta__title {
    margin-bottom: 2rem;
    line-height: 1;
    color: var(--white);
}

.am-concierge-cta__title i {
    font-style: italic;
    font-weight: 400;
    opacity: 1;
    color: var(--dark);
}

.am-concierge-cta__desc {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 480px;
}

.am-concierge-cta__link {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform var(--transition);
    width: fit-content;
}

.am-concierge-cta__link:hover {
    transform: translateX(10px);
}

.am-concierge-cta__link .am-label {
    color: var(--white);
    letter-spacing: 0.2em;
}

.am-concierge-cta__link .am-divider {
    background: var(--white);
}


.am-header {
    padding: 1.25rem 1.5rem;
}

.am-journal-newsletter__inner {
    max-width: 600px;
    margin-inline: auto;
}

.am-journal-newsletter__eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.am-journal-newsletter__heading {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.am-journal-newsletter__desc {
    color: rgba(17, 17, 17, 0.6);
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.am-journal-newsletter__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.am-journal-newsletter__input {
    flex: 1;
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(140, 110, 76, 0.2);
    background: var(--light);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color var(--transition);
}

.am-journal-newsletter__input:focus {
    outline: none;
    border-color: var(--primary);
}

/* ─── Media Query: 1366px ────────────────────────────────── */
@media (max-width: 1366px) {
    /* Wide laptop screen overrides */
}

/* ─── Media Query: 1024px ────────────────────────────────── */
@media (max-width: 1024px) {

    .am-header {
        padding: 1rem 1.5rem !important;
    }

    .am-header.is-scrolled {
        padding: 0.75rem 1.5rem !important;
    }

    .am-header__inner {
        gap: 1rem !important;
    }

    .am-nav,
    .am-header .am-btn--nav {
        display: none !important;
    }

    .am-mobile-toggle {
        display: flex !important;
        margin-left: auto;
    }

    .am-btn--nav {
        background: var(--dark);
        color: var(--white);
        padding: .75rem 2rem;
        font-size: 12px;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.2em;
        transition: background var(--transition);
        display: none;
    }

    .am-home-about__grid {
        max-width: var(--max-w);
        margin-inline: auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 4rem;
        align-items: center;
        position: relative;
        z-index: 1;
    }

    .am-home-about__content {
        padding-top: 3rem;
    }

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

    .am-featured-manor {
        position: relative;
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .am-featured-manor__image-side {
        position: relative;
        width: 100%;
        min-height: 50vh;
        overflow: hidden;
    }

    .am-featured-manor__content-side {
        position: relative;
        z-index: 10;
        width: 100%;
        max-width: var(--max-w);
        margin-inline: auto;
        display: flex;
        padding: 5rem 1.5rem;
    }

    .am-featured-manor__content-inner {
        width: 100%;
    }

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

    .am-about-vision__grid {
        max-width: var(--max-w);
        margin-inline: auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 4rem;
        align-items: center;
    }

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

    .am-contact-grid {
        max-width: var(--max-w);
        margin-inline: auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 4rem;
    }

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

    .am-property-desc__inner {
        max-width: var(--max-w);
        margin-inline: auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .am-amenities__grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .am-gallery__grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .am-locale-card {
        min-width: 400px;
    }

    .am-footer__mid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 3rem;
        border-top: 1px solid rgb(255 255 255 / 42%);
        border-bottom: 1px solid rgb(255 255 255 / 42%);
        padding: 2rem 0;
    }

    .am-footer__contact--border-right {
        border-right: none;
    }

    .am-footer__contact--border-left {
        border-left: none;
    }

    .am-sp-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .am-concierge-cta__inner {
        display: grid;
        grid-template-columns: 1fr;
        align-items: center;
        position: relative;
        gap: 3rem;
    }

    .am-concierge-cta__content {
        position: relative;
        z-index: 2;
    }

    .am-concierge-cta__box-frame {
        display: none;
    }
}

/* ─── Media Query: 600px ─────────────────────────────────── */
@media (max-width: 600px) {
    .am-featured-stories {
        padding: 80px 0px;
    }

    .am-contact-section {
        padding: 50px 15px;
    }

    .am-logo {
        height: 60px;

        object-fit: contain;
    }

    .am-contact-heading {
        font-family: var(--font-serif);
        margin-bottom: 1.5rem;
        line-height: 1.2;
    }

    .am-blog-grid-section {
        padding: 50px 15px;
        background: #ffffff;
        /* Pure white for the grid section to contrast with grey featured section */
        border-top: 1px solid rgba(140, 110, 76, 0.1);
    }

    .am-page-hero {
        position: relative;
        min-height: 600px;
        display: flex;
    }

    .page-template-page-about .am-about-quote {
        padding: 50px 15px;

    }

    .page-template-page-about .am-about-quote__text {
        font-family: var(--font-serif);
        font-size: 20px;
        line-height: 1.7;
        margin-bottom: 4rem;
        font-weight: 400;
        color: var(--primary);
    }

    .page-template-page-about .am-about-pillars {
        padding: 50px 15px;
        background: #ebebeb;
    }

    .am-blog-grid {
        max-width: var(--max-w);
        margin-inline: auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 4rem 2rem;
    }

    .am-blog-grid-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .am-blog-filters {
        flex-wrap: wrap;
        gap: 1rem 1.5rem;
        justify-content: flex-start;
    }

    .am-blog-filter-btn {
        white-space: nowrap;
    }

    .am-single-content {
        padding: 5rem 1.5rem 8rem;
        background: var(--white);
    }

    .am-property-hero__content {
        position: relative;
        z-index: 1;
        padding: 0 1.5rem 4rem;
        width: 100%;
    }

    .am-sp-body {
        padding: 0 15px 3rem !important;
    }

    .am-sp-author {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .am-sp-meta-bar {
        flex-direction: row;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .am-sp-feat-img {
        margin-bottom: 1rem;

    }

    .single-post li {
        margin-left: 15px;
    }

    .am-sp-content h2,
    .am-sp-content h3 {
        margin: 2rem 0px 1rem;
    }

    .am-sp-nav {
        padding: 3rem 16px;
        background: white;
    }

    .am-sp-related {
        padding: 3rem 15px;
        background: #ebebeb;
    }

    .am-amenities__grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .am-services__grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .am-gallery__grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .am-locations__grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }


    .am-footer__top {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        margin-bottom: 4rem;

        border-bottom: 1px solid rgb(255 255 255 / 42%);
    }

    .am-footer__logo {
        height: 7rem;
        height: 7rem;
        object-fit: contain;
    }

    .am-footer__bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        margin-top: 0px;
    }

    .am-footer__legal {
        margin-top: 2rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgb(255 255 255 / 42%);
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        gap: 1rem;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.1px;
        color: rgb(255 255 255);
    }

    .am-blog-card--featured {
        flex-direction: column;
        min-height: auto;
    }

    .am-blog-card--featured .am-blog-card__img {
        flex: 0 0 auto;
        aspect-ratio: 16/10;
    }

    .am-blog-card--featured .am-blog-card__body {
        flex: 0 0 auto;
        padding: 2.5rem 1.5rem;
    }

    .am-blog-card--featured .am-blog-card__title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .am-blog-card--featured .am-blog-card__meta {
        margin-bottom: 1.5rem;
    }

    .am-blog-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .am-blog-card__body {
        padding: 2rem 1.5rem;
    }

    .am-sp-hero {
        padding: 8rem 1.5rem 3rem;
        min-height: 400px;
        text-align: center;
        background: var(--light);
        color: var(--dark);
    }

    .am-sp-nav {
        display: flex;
        flex-direction: column;
        gap: 3rem;
        align-items: center;
        justify-content: space-between;
    }

    .am-sp-nav__divider {
        display: none;
        width: 1px;
        height: 6rem;
        background: rgba(203, 168, 118, 0.2);
    }

    .am-concierge-cta__box {
        background: var(--primary);
        padding: 2rem;
        color: var(--white);
        position: relative;
        z-index: 2;
        box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
    }

    .am-form__row {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    /* Additional Global Mobile Fixes */
    h1 {
        font-size: 40px !important;
    }

    h2 {
        font-size: 32px !important;
    }

    .am-page-hero__heading {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 2.5rem !important;
    }

    .am-page-hero {
        padding: 6rem 15px 4rem !important;
    }

    .am-contact-form-wrap {
        padding: 2rem !important;
    }

    .am-page-hero__subtext {
        color: rgb(255 255 255 / 79%);
        font-weight: 400;
        font-size: 16px;
        max-width: 800px;
        margin-inline: auto;
        line-height: 1.7;
    }

    .am-contact-form-wrap::before,
    .am-contact-form-wrap::after {
        width: 2rem !important;
        height: 2rem !important;
    }

    .page-template-page-about .am-about-vision__grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        padding: 0 1.5rem;
    }

    .page-template-page-about .am-about-pillars__grid {
        grid-template-columns: 1fr;
    }

    .am-header {
        padding: 1rem 15px !important;
    }

    .am-header.is-scrolled {
        padding: 0.75rem 15px !important;
    }

    .am-faq-section {
        padding: 50px 15px;
    }

    .am-faq-item__question {
        font-family: var(--font-serif);
        font-size: 20px;
    }

    .am-concierge-cta {
        padding: 50px 15px;
        background: var(--light);
    }

    .am-concierge-cta__content {
        margin-left: 0%;
        width: 95%;
        margin: -183px auto 0px;
    }

    /* Responsive header is controlled by max-width: 1024px media query */



    .am-footer__mid {
        grid-template-columns: 1fr !important;
        text-align: center;
    }

    .am-footer__contact--border-right,
    .am-footer__contact--border-left {
        border: none !important;
    }

    .am-footer {
        background: var(--dark);
        color: var(--white);
        padding: 4rem 2rem 4rem;
        text-align: center;
        border-top: 1px solid rgb(255 255 255 / 42%);
        position: relative;
        overflow: hidden;
    }

    .am-footer__tagline--centered {
        text-align: center;
    }

    .am-footer__logo-wrap {
        align-items: center;
    }

    .am-footer__contact--right {
        display: flex;
        flex-direction: column;
        gap: 5.2px;
        align-items: center;
        padding-top: 40px;
        width: 100%;
        text-align: center;
        border-top: 1px solid #ffffff40;
    }

    .am-footer__nav {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
}

/* ════════════════════════════════════════════════════════════════
   404 PAGE
   ════════════════════════════════════════════════════════════════ */
.am-404-hero {
    min-height: 380px;
}

.am-404-overlay {
    background: linear-gradient(to bottom, rgba(40, 28, 14, 0.75), rgba(40, 28, 14, 0.96)) !important;
}

.am-404-number {
    display: block;
    font-family: var(--font-serif);
    font-size: clamp(100px, 18vw, 200px);
    font-weight: 400;
    line-height: 1;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: -0.02em;
}

.am-404-title {
    font-family: var(--font-serif);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 400;
    color: var(--primary);
    margin-bottom: 1rem;
}

.am-404-desc {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(17, 17, 17, 0.55);
    margin-bottom: 2.5rem;
}

.am-404-section {
    padding: 70px 0 100px;
    background: var(--light);
}

.am-404-body {
    max-width: 600px;
    margin-inline: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.am-404-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.am-404-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 0.9rem 2rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.am-404-btn--primary {
    background: var(--primary);
    color: var(--white);
}

.am-404-btn--primary:hover {
    background: var(--brown);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(90,64,33,0.22);
}

.am-404-btn--outline {
    background: transparent;
    color: var(--brown);
    border: 1px solid rgba(90,64,33,0.35);
}

.am-404-btn--outline:hover {
    background: var(--brown);
    color: var(--white);
    border-color: var(--brown);
    transform: translateY(-2px);
}

.am-404-divider {
    width: 40px;
    height: 1px;
    background: rgba(90,64,33,0.25);
    margin: 0 auto 2rem;
}

.am-404-search-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 600;
    color: rgba(17,17,17,0.4);
    margin-bottom: 1rem;
}

.am-404-section .search-form {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 440px;
    margin-inline: auto;
}

.am-404-section .search-field {
    flex: 1;
    padding: 0.85rem 1.25rem;
    border: 1px solid rgba(90,64,33,0.25);
    border-right: none;
    font-family: var(--font-sans);
    font-size: 14px;
    background: var(--white);
    color: #333;
    outline: none;
}

.am-404-section .search-field:focus {
    border-color: var(--primary);
}

.am-404-section .search-submit {
    padding: 0.85rem 1.5rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: background 0.3s ease;
    font-family: var(--font-sans);
}

.am-404-section .search-submit:hover {
    background: var(--brown);
}

@media (max-width: 600px) {
    .am-404-section {
        padding: 50px 0 70px;
    }

    .am-404-links {
        flex-direction: column;
        align-items: stretch;
    }

    .am-404-btn {
        justify-content: center;
    }

    .am-404-section .search-form {
        flex-direction: column;
    }

    .am-404-section .search-field {
        border-right: 1px solid rgba(90,64,33,0.25);
        border-bottom: none;
    }
}

/* ════════════════════════════════════════════════════════════════
   TERMS & CONDITIONS PAGE
   ════════════════════════════════════════════════════════════════ */
.am-terms-section {
    padding: 80px 0 100px;
    background: var(--white);
}

.am-terms-content {
    color: #444;
    font-size: 16px;
    line-height: 1.8;
}

.am-terms-content h2 {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 400;
    color: var(--primary);
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(90, 64, 33, 0.15);
}

.am-terms-content h2:first-child {
    margin-top: 0;
}

.am-terms-content h3 {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 400;
    color: var(--primary);
    margin: 2rem 0 0.75rem;
}

.am-terms-content h4 {
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 400;
    color: var(--primary);
    margin: 1.5rem 0 0.5rem;
}

.am-terms-content p {
    margin-bottom: 1.1rem;
}

.am-terms-content ul,
.am-terms-content ol {
    margin: 0.75rem 0 1.25rem 1.5rem;
    padding-left: 1.25rem;
}

.am-terms-content ul {
    list-style: disc;
}

.am-terms-content ol {
    list-style: decimal;
}

.am-terms-content li {
    margin-bottom: 0.5rem;
}

.am-terms-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.am-terms-content a:hover {
    color: var(--brown);
}

.am-terms-content strong {
    color: #333;
    font-weight: 600;
}

@media (max-width: 768px) {
    .am-terms-section {
        padding: 50px 0 70px;
    }

    .am-terms-content h2 {
        font-size: 22px;
    }

    .am-terms-content h3 {
        font-size: 18px;
    }
}

/* ════════════════════════════════════════════════════════════════
   PROPERTY CATEGORY (TAXONOMY) PAGE
   ════════════════════════════════════════════════════════════════ */

/* Intro / description */
.am-taxcat-intro {
    padding: 60px 0 10px;
    background: var(--white);
}

.am-taxcat-intro__body {
    max-width: 760px;
    font-size: 17px;
    line-height: 1.8;
    color: #555;
}

/* Category Page Section (ACF group: catgrory_page_section) */
.am-catpage-section {
    padding: 60px 0 20px;
    background: var(--white);
}

.am-catpage-section__inner {
    max-width: 820px;
}

.am-catpage-section__title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: var(--ink);
    margin-bottom: 1.25rem;
    line-height: 1.25;
}

.am-catpage-section__content {
    font-size: 16px;
    line-height: 1.85;
    color: #555;
}

.am-catpage-section__content p {
    margin-bottom: 1rem;
}

/* Properties listing section */
.am-taxcat-section {
    padding: 70px 0 100px;
    background: var(--light);
}

.am-propcat-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Individual card */
.am-propcat-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 540px;
    background: var(--white);
    overflow: hidden;
    transition: box-shadow 0.4s ease;
}

.am-propcat-card:nth-child(even) {
    background: var(--light);
}

.am-propcat-card:hover {
    box-shadow: 0 20px 60px rgba(90, 64, 33, 0.12);
    z-index: 1;
    position: relative;
}

/* Reversed card — image on right */
.am-propcat-card--reverse {
    direction: rtl;
}

.am-propcat-card--reverse > * {
    direction: ltr;
}

/* Image half */
.am-propcat-card__img-wrap {
    display: block;
    position: relative;
    overflow: hidden;
}

.am-propcat-card__img-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.am-propcat-card:hover .am-propcat-card__img-wrap img {
    transform: scale(1.05);
}

.am-propcat-card__img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(90,64,33,0.15) 0%, transparent 60%);
    pointer-events: none;
}

/* Content half */
.am-propcat-card__body {
    display: flex;
    align-items: center;
    padding: 3rem;
}

.am-propcat-card__inner {
    width: 100%;
    max-width: 460px;
}

/* Card number */
.am-propcat-card__num {
    font-family: var(--font-serif);
    font-size: 64px;
    line-height: 1;
    font-weight: 400;
    color: rgba(140, 110, 76, 0.12);
    display: block;
    margin-bottom: 0.25rem;
}

/* Location label */
.am-propcat-card__loc {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--primary);
    margin-bottom: 1.25rem;
}

/* Title */
.am-propcat-card__title {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 400;
    line-height: 1.25;
    color: var(--brown);
    margin-bottom: 1rem;
}

/* Description */
.am-propcat-card__desc {
    font-size: 15px;
    line-height: 1.75;
    color: rgba(17,17,17,0.6);
    margin-bottom: 1.75rem;
    max-width: 400px;
}

/* Specs row */
.am-propcat-card__specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    margin-bottom: 2rem;
    border-top: 1px solid rgba(140, 110, 76, 0.12);
    border-left: 1px solid rgba(140, 110, 76, 0.12);
}

.am-propcat-card__spec {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.1rem 1.25rem;
    border-right: 1px solid rgba(140, 110, 76, 0.12);
    border-bottom: 1px solid rgba(140, 110, 76, 0.12);
    gap: 4px;
}

.am-propcat-card__spec-icon {
    display: flex;
    margin-bottom: 0.5rem;
}

.am-propcat-card__spec-icon svg {
    width: 22px;
    height: 22px;
    color: var(--primary);
    stroke: var(--primary);
}

.am-propcat-card__spec-val {
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 400;
    color: var(--primary);
    line-height: 1.2;
}

.am-propcat-card__spec-sub {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(17,17,17,0.4);
    font-weight: 600;
}

/* CTA button */
.am-propcat-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--white);
    background: var(--primary);
    padding: 1rem 2.25rem;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.am-propcat-card__btn:hover {
    background: var(--brown);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(90,64,33,0.22);
}

.am-propcat-card__btn svg {
    transition: transform 0.3s ease;
}

.am-propcat-card__btn:hover svg {
    transform: translateX(4px);
}

/* Empty state */
.am-propcat-empty {
    text-align: center;
    padding: 80px 0;
    color: rgba(17,17,17,0.4);
    font-size: 15px;
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 960px) {
    .am-propcat-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .am-propcat-card__img-wrap {
        position: relative;
        height: 300px;
    }

    .am-propcat-card__img-wrap img {
        position: absolute;
    }

    .am-propcat-card--reverse {
        direction: ltr;
    }

    .am-propcat-card__body {
        padding: 2.5rem 2rem;
    }

    .am-propcat-card__title {
        font-size: 26px;
    }

    .am-propcat-card__num {
        font-size: 48px;
    }
}

@media (max-width: 600px) {
    .am-taxcat-section {
        padding: 50px 0 70px;
    }

    .am-propcat-card__body {
        padding: 2rem 1.25rem;
    }

    .am-propcat-card__title {
        font-size: 22px;
    }

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

/* ─── Property Card Autoplay Carousel ────────────────────────────────── */
.am-propcat-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.am-propcat-carousel__slides {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.am-propcat-carousel__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}

.am-propcat-carousel__slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.am-propcat-carousel__slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.am-propcat-card:hover .am-propcat-carousel__slide.is-active img {
    transform: scale(1.05);
}

.am-propcat-carousel__dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.am-propcat-carousel__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.am-propcat-carousel__dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.am-propcat-carousel__dot.is-active {
    background: #ffffff;
    transform: scale(1.2);
}