:root {
    --bg: #f7f2ea;
    --bg-soft: #ffffff;
    --card: rgba(255, 255, 255, 0.86);
    --card-border: rgba(18, 18, 22, 0.10);
    --text: #121216;
    --muted: #6f675d;
    --gold: #978668;
    --gold-light: #b5a17f;
    --white: #ffffff;
    --shadow: 0 24px 80px rgba(38, 31, 22, 0.12);
    --shadow-strong: 0 36px 110px rgba(38, 31, 22, 0.18);
    --radius: 28px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 2%, rgba(151, 134, 104, 0.23), transparent 34%),
        radial-gradient(circle at 92% 8%, rgba(151, 134, 104, 0.12), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #faf7f0 28%, var(--bg) 58%, #ffffff 100%);
    color: var(--text);
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(18, 18, 22, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(18, 18, 22, 0.028) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), transparent 78%);
    z-index: 0;
}

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

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

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Header */

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 0;
}

.logo {
    display: inline-flex;
    align-items: center;
}

.logo img {
    width: 170px;
    height: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 700;
}

.nav-links a {
    transition: color 0.25s ease, transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
    transform: translateY(-1px);
}

.nav-links a.active {
    font-weight: 900;
}

/* Buttons */

.nav-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(18, 18, 22, 0.10);
    border-radius: 999px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--text);
    backdrop-filter: blur(18px);
    box-shadow: 0 12px 35px rgba(38, 31, 22, 0.06);
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.nav-cta:hover,
.button:hover {
    transform: translateY(-2px);
    background: #ffffff;
    border-color: rgba(151, 134, 104, 0.38);
    box-shadow: 0 16px 42px rgba(38, 31, 22, 0.09);
}

.button-primary {
    background: var(--gold);
    color: #ffffff;
    border: none;
    font-weight: 900;
    box-shadow: 0 18px 45px rgba(151, 134, 104, 0.25);
}

.button-primary:hover {
    background: #85765c;
    color: #ffffff;
}

/* Typography */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.76rem;
    font-weight: 900;
    margin-bottom: 22px;
}

.eyebrow::before {
    content: "";
    width: 42px;
    height: 1px;
    background: var(--gold);
}

h1,
.page-hero h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(4.5rem, 8vw, 8.8rem);
    line-height: 0.84;
    letter-spacing: -0.078em;
    margin-bottom: 30px;
    color: var(--text);
}

/* Hero */

.hero,
.page-hero {
    min-height: 740px;
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 72px;
    align-items: center;
    padding: 64px 0 96px;
}

.hero-copy,
.page-hero-copy {
    max-width: 650px;
}

.hero p,
.page-hero p {
    max-width: 620px;
    color: var(--muted);
    font-size: 1.12rem;
    margin-bottom: 34px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.hero-visual,
.hero-image-wrap {
    position: relative;
    min-height: 640px;
}

.hero-image-wrap::before {
    content: "";
    position: absolute;
    right: -70px;
    top: 60px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(151, 134, 104, 0.18), transparent 68%);
    filter: blur(4px);
}

.hero-orbit {
    position: absolute;
    inset: 36px 0 auto auto;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(151, 134, 104, 0.18), transparent 66%);
    filter: blur(3px);
    z-index: 0;
}

.hero-card-stack {
    position: relative;
    width: 100%;
    min-height: 640px;
    isolation: isolate;
}

.hero-image-card {
    position: absolute;
    overflow: hidden;
    border-radius: 42px;
    border: 1px solid rgba(18, 18, 22, 0.10);
    background: #ffffff;
    box-shadow: var(--shadow-strong);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hero-image-card:hover {
    transform: translateY(-8px) rotate(0deg);
    box-shadow: 0 42px 130px rgba(38, 31, 22, 0.24);
}

.hero-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.96) contrast(1.04);
}

.hero-image-card.main {
    top: 28px;
    right: 0;
    width: 430px;
    height: 520px;
    z-index: 3;
    transform: rotate(2deg);
}

.hero-image-card.side-left {
    left: 0;
    bottom: 36px;
    width: 300px;
    height: 410px;
    z-index: 2;
    transform: rotate(-4deg);
}

.hero-image-card.side-right {
    right: 52px;
    bottom: 0;
    width: 270px;
    height: 330px;
    z-index: 4;
    transform: rotate(-2deg);
}

/* Sections */

.section {
    padding: 82px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: end;
    margin-bottom: 32px;
}

.section-title {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.5rem, 4.2vw, 4.35rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
    color: var(--text);
}

.section-subtitle {
    color: var(--muted);
    max-width: 500px;
    font-size: 0.98rem;
}

/* Categories / filters */

.categories,
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.filter-section {
    padding: 8px 0 56px;
}

.chip {
    padding: 11px 16px;
    border: 1px solid rgba(18, 18, 22, 0.10);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--muted);
    box-shadow: 0 10px 30px rgba(38, 31, 22, 0.05);
    transition: all 0.25s ease;
    font-weight: 700;
}

.chip:hover,
.chip.active {
    color: #ffffff;
    border-color: var(--gold);
    background: var(--gold);
    transform: translateY(-2px);
}

/* Blog / post cards */

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

.post-card,
.blog-card {
    overflow: hidden;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(18, 18, 22, 0.09);
    box-shadow: 0 22px 72px rgba(38, 31, 22, 0.10);
    transition:
        transform 0.32s ease,
        border-color 0.32s ease,
        background 0.32s ease,
        box-shadow 0.32s ease;
}

.post-card:hover,
.blog-card:hover {
    transform: translateY(-10px);
    border-color: rgba(151, 134, 104, 0.48);
    background: #ffffff;
    box-shadow: 0 34px 105px rgba(38, 31, 22, 0.16);
}

.post-image,
.blog-image {
    position: relative;
    display: block;
    height: 420px;
    overflow: hidden;
}

.post-image::after,
.blog-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(0, 0, 0, 0.32), transparent 58%),
        radial-gradient(circle at 30% 0%, rgba(255, 255, 255, 0.15), transparent 36%);
    opacity: 0.82;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.post-card:hover .post-image::after,
.blog-card:hover .blog-image::after {
    opacity: 1;
}

.post-image img,
.blog-image img {
    height: 100%;
    object-fit: cover;
    filter: saturate(0.98) contrast(1.04);
    transition: transform 0.55s ease, filter 0.55s ease;
}

.post-card:hover .post-image img,
.blog-card:hover .blog-image img {
    transform: scale(1.07);
    filter: saturate(1.05) contrast(1.08);
}

.post-content,
.blog-content {
    padding: 26px;
}

.post-meta,
.blog-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 0.82rem;
    margin-bottom: 15px;
}

.post-category,
.blog-category {
    color: var(--gold);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.post-card h3,
.blog-card h3 {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.7rem, 2.1vw, 2.25rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
    margin-bottom: 14px;
    color: var(--text);
}

.post-card p,
.blog-card p {
    color: var(--muted);
    font-size: 0.96rem;
    margin-bottom: 20px;
}

.post-card .post-meta:last-child,
.blog-card .blog-meta:last-child {
    margin-top: 22px !important;
    padding-top: 18px;
    border-top: 1px solid rgba(18, 18, 22, 0.08);
}

.post-card .post-meta:last-child span:last-child,
.blog-card .blog-meta:last-child span:last-child {
    color: var(--gold);
    font-weight: 900;
}

/* Blog page specific */

#latest {
    padding-top: 70px;
}

#latest .section-header {
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(18, 18, 22, 0.07);
}

/* Homepage featured post look */

#blogs .post-grid .post-card:first-child {
    grid-column: span 2;
}

#blogs .post-grid .post-card:first-child .post-image {
    height: 520px;
}

#blogs .post-grid .post-card:first-child h3 {
    font-size: clamp(2.15rem, 3.2vw, 3.3rem);
    max-width: 680px;
}

#blogs .post-grid .post-card:first-child p {
    max-width: 700px;
    font-size: 1.02rem;
}

/* Editorial / events feature */

.editorial {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 22px;
    align-items: stretch;
}

.editorial-panel {
    padding: 36px;
    border-radius: 34px;
    background:
        linear-gradient(145deg, #ffffff, rgba(151, 134, 104, 0.12)),
        radial-gradient(circle at 0% 0%, rgba(151, 134, 104, 0.18), transparent 42%);
    border: 1px solid rgba(151, 134, 104, 0.20);
    box-shadow: 0 24px 80px rgba(38, 31, 22, 0.10);
}

.editorial-panel h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.35rem, 4vw, 4.4rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
    margin-bottom: 20px;
    color: var(--text);
}

.editorial-panel p {
    color: var(--muted);
    margin-bottom: 24px;
}

.quote-card {
    display: flex;
    min-height: 400px;
    align-items: end;
    border-radius: 34px;
    padding: 36px;
    background:
        linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.12)),
        url("https://images.unsplash.com/photo-1493238792000-8113da705763?auto=format&fit=crop&w=1300&q=80") center/cover;
    border: 1px solid rgba(18, 18, 22, 0.10);
    box-shadow: 0 24px 80px rgba(38, 31, 22, 0.12);
}

.quote-card blockquote {
    max-width: 680px;
    font-family: "Playfair Display", serif;
    font-size: clamp(2.1rem, 4vw, 4.1rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
    color: #ffffff;
}

/* Gallery cards */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 22px;
    align-items: stretch;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    border-radius: 34px;
    background: #ffffff;
    border: 1px solid rgba(18, 18, 22, 0.09);
    box-shadow: 0 24px 80px rgba(38, 31, 22, 0.10);
    transition:
        transform 0.32s ease,
        box-shadow 0.32s ease,
        border-color 0.32s ease;
}

.gallery-card:nth-child(1),
.gallery-card:nth-child(6) {
    grid-column: span 6;
    min-height: 620px;
}

.gallery-card:nth-child(2),
.gallery-card:nth-child(3),
.gallery-card:nth-child(4),
.gallery-card:nth-child(5) {
    grid-column: span 3;
}

.gallery-card:nth-child(2),
.gallery-card:nth-child(5) {
    min-height: 620px;
}

.gallery-card:nth-child(3),
.gallery-card:nth-child(4) {
    min-height: 420px;
}

.gallery-card:hover {
    transform: translateY(-10px);
    border-color: rgba(151, 134, 104, 0.48);
    box-shadow: 0 34px 105px rgba(38, 31, 22, 0.16);
}

.gallery-card a {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-card img {
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    filter: saturate(0.98) contrast(1.04);
    transition: transform 0.55s ease, filter 0.55s ease;
}

.gallery-card:hover img {
    transform: scale(1.07);
    filter: saturate(1.05) contrast(1.08);
}

.gallery-card::before {
    content: "";
    position: absolute;
    inset: 18px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.gallery-card:hover::before {
    opacity: 1;
}

.gallery-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(to top, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.20) 52%, rgba(0, 0, 0, 0.02)),
        radial-gradient(circle at 30% 0%, rgba(255, 255, 255, 0.16), transparent 36%);
    opacity: 0.78;
    transition: opacity 0.3s ease;
}

.gallery-card:hover::after {
    opacity: 0.9;
}

.gallery-content {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 28px;
    z-index: 3;
    color: #ffffff;
    transform: translateY(10px);
    opacity: 0.96;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-card:hover .gallery-content {
    transform: translateY(0);
    opacity: 1;
}

.gallery-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.82rem;
    margin-bottom: 13px;
}

.gallery-category {
    color: #ffffff;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.gallery-card h3 {
    max-width: 520px;
    font-family: "Playfair Display", serif;
    font-size: clamp(1.85rem, 2.5vw, 3rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
    margin-bottom: 12px;
}

.gallery-card p {
    max-width: 520px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
}

.gallery-card:nth-child(3) h3,
.gallery-card:nth-child(4) h3 {
    font-size: clamp(1.55rem, 2vw, 2.15rem);
}

.gallery-card:nth-child(3) p,
.gallery-card:nth-child(4) p {
    display: none;
}

/* Homepage gallery override */

#pictures .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
}

#pictures .gallery-card,
#pictures .gallery-card:nth-child(1),
#pictures .gallery-card:nth-child(2),
#pictures .gallery-card:nth-child(3) {
    grid-column: auto;
    min-height: 540px;
}

/* Event cards */

.event-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.event-card {
    overflow: hidden;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.90);
    border: 1px solid rgba(18, 18, 22, 0.09);
    box-shadow: 0 24px 80px rgba(38, 31, 22, 0.10);
    transition:
        transform 0.32s ease,
        box-shadow 0.32s ease,
        border-color 0.32s ease,
        background 0.32s ease;
}

.event-card:hover {
    transform: translateY(-10px);
    border-color: rgba(151, 134, 104, 0.48);
    background: #ffffff;
    box-shadow: 0 34px 105px rgba(38, 31, 22, 0.16);
}

.event-image {
    position: relative;
    display: block;
    height: 390px;
    overflow: hidden;
}

.event-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(0, 0, 0, 0.34), transparent 58%),
        radial-gradient(circle at 30% 0%, rgba(255, 255, 255, 0.16), transparent 36%);
    opacity: 0.8;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.event-card:hover .event-image::after {
    opacity: 1;
}

.event-image img {
    height: 100%;
    object-fit: cover;
    filter: saturate(0.98) contrast(1.04);
    transition: transform 0.55s ease, filter 0.55s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.07);
    filter: saturate(1.05) contrast(1.08);
}

.event-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--text);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(16px);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.10);
}

.event-content {
    padding: 26px;
}

.event-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 0.82rem;
    margin-bottom: 14px;
}

.event-type {
    color: var(--gold);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.event-card h3 {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.7rem, 2.1vw, 2.25rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
    margin-bottom: 14px;
    color: var(--text);
}

.event-card p {
    color: var(--muted);
    font-size: 0.95rem;
}

.event-details {
    display: grid;
    gap: 8px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(18, 18, 22, 0.08);
    color: var(--muted);
    font-size: 0.88rem;
}

.event-details strong {
    color: var(--text);
}

/* Event feature */

.event-feature {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 22px;
    align-items: stretch;
    margin-top: 58px;
}

.event-panel {
    padding: 38px;
    border-radius: 34px;
    background:
        linear-gradient(145deg, #ffffff, rgba(151, 134, 104, 0.12)),
        radial-gradient(circle at 0% 0%, rgba(151, 134, 104, 0.18), transparent 40%);
    border: 1px solid rgba(151, 134, 104, 0.20);
    box-shadow: 0 24px 80px rgba(38, 31, 22, 0.10);
}

.event-panel h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.35rem, 4vw, 4.4rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
    margin-bottom: 20px;
    color: var(--text);
}

.event-panel p {
    color: var(--muted);
    margin-bottom: 24px;
}

/* Page-specific refinements */

body:has(.gallery-grid) .page-hero,
body:has(.event-grid) .page-hero {
    padding-bottom: 70px;
}

body:has(.gallery-grid) .filter-section,
body:has(.event-grid) .filter-section {
    padding: 0 0 68px;
}

body:has(.gallery-grid) .filters,
body:has(.event-grid) .filters {
    padding: 18px;
    border: 1px solid rgba(18, 18, 22, 0.07);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(18px);
    width: fit-content;
    max-width: 100%;
    box-shadow: 0 18px 60px rgba(38, 31, 22, 0.06);
}

body:has(.gallery-grid) #galleries,
body:has(.event-grid) #events {
    padding-top: 58px;
}

body:has(.gallery-grid) #galleries .section-header,
body:has(.event-grid) #events .section-header,
#blogs .section-header,
#pictures .section-header {
    align-items: end;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(18, 18, 22, 0.07);
}

body:has(.gallery-grid) #newsletter .newsletter,
body:has(.event-grid) #newsletter .newsletter {
    margin-top: 90px;
}

/* Newsletter */

.newsletter {
    margin: 82px 0 34px;
    padding: 38px;
    border-radius: 34px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    background: #121216;
    color: #ffffff;
    box-shadow: 0 28px 90px rgba(18, 18, 22, 0.18);
}

.newsletter h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1;
    letter-spacing: -0.055em;
}

.newsletter p {
    color: #d8d1c6;
    max-width: 620px;
    margin-top: 8px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    background: white;
    padding: 8px;
    border-radius: 999px;
    min-width: min(430px, 100%);
}

.newsletter-form input {
    border: none;
    outline: none;
    flex: 1;
    padding: 0 14px;
    font: inherit;
    min-width: 0;
    color: #111;
}

.newsletter-form button {
    border: none;
    cursor: pointer;
    padding: 13px 20px;
    border-radius: 999px;
    background: var(--gold);
    color: white;
    font-weight: 900;
}

/* Footer */

footer {
    padding: 34px 0 44px;
    color: var(--muted);
    border-top: 1px solid rgba(18, 18, 22, 0.10);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

/* Responsive */

@media (max-width: 980px) {
    .hero,
    .page-hero,
    .editorial,
    .newsletter,
    .event-feature {
        grid-template-columns: 1fr;
    }

    .hero,
    .page-hero {
        min-height: auto;
        gap: 34px;
        padding-top: 28px;
    }

    .hero-copy,
    .page-hero-copy {
        max-width: none;
    }

    .hero-visual,
    .hero-image-wrap,
    .hero-card-stack {
        min-height: auto;
    }

    .hero-image-wrap::before,
    .hero-orbit {
        display: none;
    }

    .hero-card-stack {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }

    .hero-image-card,
    .hero-image-card.main,
    .hero-image-card.side-left,
    .hero-image-card.side-right {
        position: relative;
        inset: auto;
        width: 100%;
        height: 420px;
        transform: none;
    }

    .post-grid,
    .blog-grid,
    .event-grid,
    #pictures .gallery-grid {
        grid-template-columns: 1fr;
    }

    #blogs .post-grid .post-card:first-child {
        grid-column: auto;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-card,
    .gallery-card:nth-child(1),
    .gallery-card:nth-child(2),
    .gallery-card:nth-child(3),
    .gallery-card:nth-child(4),
    .gallery-card:nth-child(5),
    .gallery-card:nth-child(6),
    #pictures .gallery-card,
    #pictures .gallery-card:nth-child(1),
    #pictures .gallery-card:nth-child(2),
    #pictures .gallery-card:nth-child(3) {
        grid-column: auto;
        min-height: 540px;
    }

    .gallery-card:nth-child(3) p,
    .gallery-card:nth-child(4) p {
        display: block;
    }

    .event-image {
        height: 440px;
    }

    .section-header {
        align-items: start;
        flex-direction: column;
    }

    body:has(.gallery-grid) .filters,
    body:has(.event-grid) .filters {
        border-radius: 28px;
    }
}

@media (max-width: 720px) {
    .nav-links {
        display: none;
    }

    .logo img {
        width: 145px;
    }

    h1,
    .page-hero h1 {
        font-size: clamp(4rem, 18vw, 5.8rem);
    }

    .hero-card-stack {
        grid-template-columns: 1fr;
    }

    .hero-image-card,
    .hero-image-card.main,
    .hero-image-card.side-left,
    .hero-image-card.side-right {
        height: 390px;
        border-radius: 30px;
    }

    .post-image,
    .blog-image {
        height: 390px;
    }

    .gallery-card,
    .gallery-card:nth-child(1),
    .gallery-card:nth-child(2),
    .gallery-card:nth-child(3),
    .gallery-card:nth-child(4),
    .gallery-card:nth-child(5),
    .gallery-card:nth-child(6),
    #pictures .gallery-card,
    #pictures .gallery-card:nth-child(1),
    #pictures .gallery-card:nth-child(2),
    #pictures .gallery-card:nth-child(3) {
        min-height: 460px;
        border-radius: 30px;
    }

    .gallery-content {
        left: 22px;
        right: 22px;
        bottom: 22px;
    }

    .gallery-card h3 {
        font-size: 2rem;
    }

    .gallery-card p {
        font-size: 0.9rem;
    }

    .gallery-card::before {
        inset: 14px;
        border-radius: 22px;
    }

    .event-card {
        border-radius: 30px;
    }

    .event-image {
        height: 360px;
    }

    .newsletter,
    .editorial-panel,
    .quote-card,
    .event-content,
    .event-panel {
        padding: 24px;
    }

    .newsletter-form {
        border-radius: 22px;
        flex-direction: column;
    }

    .newsletter-form input {
        padding: 12px 14px;
    }

    .filter-section {
        padding-bottom: 34px;
    }

    body:has(.gallery-grid) .filter-section,
    body:has(.event-grid) .filter-section {
        padding-bottom: 42px;
    }

    body:has(.gallery-grid) .filters,
    body:has(.event-grid) .filters {
        padding: 0;
        border: none;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
    }
}