/*
Theme Name: Charlotte
Theme URI: https://example.com/charlotte
Author: Charlotte Studio
Author URI: https://example.com
Description: A refined, high-end WordPress theme crafted for photographers, creative studios, and luxury brands. Inspired by editorial design — elegant serif typography, generous whitespace, and a soft neutral palette. Fully compatible with Elementor and the WordPress block editor.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: charlotte
Tags: photography, portfolio, blog, elegant, minimal, editorial, elementor, block-editor, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, wide-blocks
*/

/* =========================================================
   Charlotte — Design Tokens
   ========================================================= */
:root {
    /* Palette — warm editorial neutrals */
    --c-ivory:        #FBF8F4;
    --c-cream:        #F4EFE7;
    --c-sand:         #E8DFD2;
    --c-blush:        #E9D7CE;
    --c-rose:         #C9A99B;
    --c-clay:         #8C6A5D;
    --c-charcoal:     #2A2622;
    --c-ink:          #14110F;
    --c-muted:        #6E6760;
    --c-line:         rgba(20, 17, 15, 0.12);

    /* Typography */
    --f-display: "Cormorant Garamond", "Playfair Display", "Times New Roman", Georgia, serif;
    --f-serif:   "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --f-sans:    "Inter", "Helvetica Neue", Arial, sans-serif;
    --f-mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

    /* Type scale (fluid) */
    --fs-xs:   clamp(0.75rem,  0.72rem + 0.15vw, 0.85rem);
    --fs-sm:   clamp(0.875rem, 0.84rem + 0.18vw, 0.95rem);
    --fs-base: clamp(1rem,     0.96rem + 0.25vw, 1.075rem);
    --fs-lg:   clamp(1.125rem, 1.08rem + 0.3vw,  1.25rem);
    --fs-xl:   clamp(1.5rem,   1.35rem + 0.6vw,  2rem);
    --fs-2xl:  clamp(2rem,     1.7rem + 1.4vw,   3rem);
    --fs-3xl:  clamp(2.75rem,  2.2rem + 2.5vw,   4.5rem);
    --fs-4xl:  clamp(3.5rem,   2.6rem + 4vw,     6.5rem);

    /* Spacing scale */
    --s-1: 0.25rem;
    --s-2: 0.5rem;
    --s-3: 0.75rem;
    --s-4: 1rem;
    --s-5: 1.5rem;
    --s-6: 2rem;
    --s-7: 3rem;
    --s-8: 4rem;
    --s-9: 6rem;
    --s-10: 8rem;
    --s-11: 12rem;

    /* Layout */
    --container:      1280px;
    --container-wide: 1480px;
    --container-narrow: 760px;
    --gutter: clamp(1.25rem, 3vw, 2.5rem);

    /* Motion */
    --ease:        cubic-bezier(0.22, 0.61, 0.36, 1);
    --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
    --dur-fast:    240ms;
    --dur:         480ms;
    --dur-slow:    900ms;

    /* Misc */
    --radius:   2px;
    --shadow:   0 30px 60px -30px rgba(20, 17, 15, 0.18);
}

/* =========================================================
   Reset & base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--c-ivory);
    color: var(--c-ink);
    font-family: var(--f-sans);
    font-size: var(--fs-base);
    line-height: 1.65;
    font-weight: 400;
    overflow-x: hidden;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}

a:hover { color: var(--c-clay); }

::selection {
    background: var(--c-charcoal);
    color: var(--c-ivory);
}

/* =========================================================
   Typography
   ========================================================= */
h1, h2, h3, h4, h5, h6,
.h-display {
    font-family: var(--f-display);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.01em;
    color: var(--c-ink);
    margin: 0 0 var(--s-5);
}

h1, .h1 { font-size: var(--fs-4xl); font-weight: 300; letter-spacing: -0.025em; }
h2, .h2 { font-size: var(--fs-3xl); }
h3, .h3 { font-size: var(--fs-2xl); }
h4, .h4 { font-size: var(--fs-xl); }
h5, .h5 { font-size: var(--fs-lg); }
h6, .h6 { font-size: var(--fs-base); letter-spacing: 0.18em; text-transform: uppercase; font-family: var(--f-sans); font-weight: 500; }

p { margin: 0 0 var(--s-5); }

.eyebrow {
    display: inline-block;
    font-family: var(--f-sans);
    font-size: var(--fs-xs);
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--c-clay);
    margin-bottom: var(--s-5);
}

.lead {
    font-family: var(--f-serif);
    font-size: var(--fs-xl);
    font-style: italic;
    line-height: 1.5;
    color: var(--c-charcoal);
    max-width: 60ch;
}

blockquote {
    border-left: 1px solid var(--c-rose);
    padding: var(--s-3) 0 var(--s-3) var(--s-6);
    margin: var(--s-7) 0;
    font-family: var(--f-serif);
    font-style: italic;
    font-size: var(--fs-xl);
    line-height: 1.5;
    color: var(--c-charcoal);
}

blockquote cite {
    display: block;
    margin-top: var(--s-4);
    font-family: var(--f-sans);
    font-size: var(--fs-xs);
    letter-spacing: 0.24em;
    text-transform: uppercase;
    font-style: normal;
    color: var(--c-muted);
}

code, pre, kbd {
    font-family: var(--f-mono);
    font-size: 0.92em;
}

hr {
    border: 0;
    border-top: 1px solid var(--c-line);
    margin: var(--s-8) 0;
}

/* =========================================================
   Layout primitives
   ========================================================= */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding-inline: var(--gutter);
}

.container--wide   { max-width: var(--container-wide); }
.container--narrow { max-width: var(--container-narrow); }
.container--full   { max-width: none; }

.section {
    padding-block: clamp(4rem, 8vw, 9rem);
}

.section--tight { padding-block: clamp(2.5rem, 5vw, 5rem); }

/* Editorial split layouts */
.split {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-7);
    align-items: center;
}

@media (min-width: 900px) {
    .split { grid-template-columns: 1fr 1fr; gap: var(--s-9); }
    .split--7-5 { grid-template-columns: 7fr 5fr; }
    .split--5-7 { grid-template-columns: 5fr 7fr; }
}

/* =========================================================
   Site header
   ========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(251, 248, 244, 0.78);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.site-header.is-scrolled {
    border-bottom-color: var(--c-line);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-6);
    padding-block: var(--s-5);
}

.site-brand {
    font-family: var(--f-display);
    font-size: clamp(1.5rem, 1.2rem + 0.6vw, 2rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--c-ink);
    line-height: 1;
}

.site-brand a { display: inline-block; }
.site-brand img { max-height: 48px; width: auto; }

.site-tagline {
    display: block;
    font-family: var(--f-sans);
    font-size: 0.7rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--c-muted);
    margin-top: 4px;
}

/* Primary nav */
.primary-nav { display: none; }

@media (min-width: 900px) {
    .primary-nav { display: block; }
}

.primary-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: var(--s-6);
    align-items: center;
}

.primary-nav a {
    position: relative;
    font-family: var(--f-sans);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--c-charcoal);
    padding-block: var(--s-2);
}

.primary-nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: var(--c-clay);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur) var(--ease);
}

.primary-nav a:hover::after,
.primary-nav .current-menu-item > a::after {
    transform: scaleX(1);
}

/* Mobile toggle */
.menu-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: 0;
    padding: var(--s-3);
    cursor: pointer;
    color: var(--c-ink);
}

@media (min-width: 900px) { .menu-toggle { display: none; } }

.menu-toggle span {
    display: block;
    width: 26px;
    height: 1px;
    background: currentColor;
    transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.is-menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.is-menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.is-menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
    position: fixed;
    inset: 0;
    background: var(--c-ivory);
    z-index: 40;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
}

.is-menu-open .mobile-nav { opacity: 1; visibility: visible; }

.mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.mobile-nav li { margin-block: var(--s-4); }

.mobile-nav a {
    font-family: var(--f-display);
    font-size: var(--fs-2xl);
    color: var(--c-ink);
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--s-3);
    padding: 1.05rem 2.25rem;
    font-family: var(--f-sans);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--c-ivory);
    background: var(--c-ink);
    border: 1px solid var(--c-ink);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--dur) var(--ease);
}

.btn:hover {
    background: var(--c-clay);
    border-color: var(--c-clay);
    color: var(--c-ivory);
    transform: translateY(-1px);
}

.btn--ghost {
    background: transparent;
    color: var(--c-ink);
}

.btn--ghost:hover {
    background: var(--c-ink);
    color: var(--c-ivory);
}

.btn--link {
    background: none;
    border: 0;
    padding: 0;
    color: var(--c-ink);
    position: relative;
}

.btn--link::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: currentColor;
    margin-top: 6px;
    transform-origin: left;
    transition: transform var(--dur) var(--ease);
}

.btn--link:hover::after { transform: scaleX(0.6); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
    position: relative;
    min-height: min(92vh, 960px);
    display: grid;
    align-items: end;
    overflow: hidden;
    background: var(--c-cream);
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: heroZoom 14s var(--ease-out) forwards;
}

@keyframes heroZoom {
    to { transform: scale(1); }
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20,17,15,0.0) 35%, rgba(20,17,15,0.45) 100%);
    z-index: 1;
}

.hero__inner {
    position: relative;
    z-index: 2;
    padding-block: var(--s-9);
    color: var(--c-ivory);
}

.hero__title {
    color: var(--c-ivory);
    font-size: clamp(2.75rem, 1.5rem + 5.5vw, 7rem);
    line-height: 0.96;
    letter-spacing: -0.03em;
    font-weight: 300;
    max-width: 18ch;
    margin-bottom: var(--s-5);
}

.hero__title em {
    font-style: italic;
    color: var(--c-blush);
}

.hero__subtitle {
    max-width: 48ch;
    font-size: var(--fs-lg);
    color: rgba(251,248,244,0.85);
    margin-bottom: var(--s-6);
}

.hero__eyebrow {
    color: var(--c-blush);
    border-color: var(--c-blush);
}

/* Scroll indicator */
.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: var(--s-6);
    transform: translateX(-50%);
    z-index: 3;
    writing-mode: vertical-rl;
    font-size: 0.7rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--c-ivory);
    opacity: 0.8;
}

.scroll-cue::after {
    content: "";
    display: block;
    width: 1px;
    height: 56px;
    background: currentColor;
    margin: var(--s-3) auto 0;
    animation: scrollPulse 2.6s var(--ease) infinite;
    transform-origin: top;
}

@keyframes scrollPulse {
    0%, 100% { transform: scaleY(0.4); opacity: 0.3; }
    50%      { transform: scaleY(1);   opacity: 1; }
}

/* =========================================================
   Portfolio / gallery grid
   ========================================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--s-4);
}

.gallery-grid__item {
    position: relative;
    overflow: hidden;
    grid-column: span 12;
    aspect-ratio: 4 / 5;
}

.gallery-grid__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease-out);
}

.gallery-grid__item:hover img { transform: scale(1.04); }

.gallery-grid__caption {
    position: absolute;
    left: var(--s-5);
    bottom: var(--s-5);
    right: var(--s-5);
    color: var(--c-ivory);
    z-index: 2;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.gallery-grid__item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(20,17,15,0.55) 100%);
    opacity: 0;
    transition: opacity var(--dur) var(--ease);
}

.gallery-grid__item:hover::after,
.gallery-grid__item:hover .gallery-grid__caption {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 700px) {
    .gallery-grid__item            { grid-column: span 6; }
    .gallery-grid__item--wide      { grid-column: span 12; aspect-ratio: 16/9; }
}

@media (min-width: 1000px) {
    .gallery-grid__item            { grid-column: span 4; }
    .gallery-grid__item--wide      { grid-column: span 8; aspect-ratio: 4/3; }
    .gallery-grid__item--tall      { grid-column: span 4; aspect-ratio: 3/4; }
    .gallery-grid__item--feature   { grid-column: span 6; aspect-ratio: 4/5; }
}

/* =========================================================
   Cards & post lists
   ========================================================= */
.post-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-8);
}

@media (min-width: 760px)  { .post-grid { grid-template-columns: 1fr 1fr; gap: var(--s-7); } }
@media (min-width: 1100px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }

.post-card { display: block; }

.post-card__media {
    overflow: hidden;
    margin-bottom: var(--s-5);
    aspect-ratio: 4/5;
    background: var(--c-cream);
}

.post-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease-out);
}

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

.post-card__meta {
    display: flex;
    gap: var(--s-4);
    font-size: 0.72rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--c-muted);
    margin-bottom: var(--s-3);
}

.post-card__title {
    font-family: var(--f-display);
    font-size: var(--fs-xl);
    line-height: 1.2;
    margin: 0 0 var(--s-3);
    color: var(--c-ink);
}

.post-card__excerpt {
    color: var(--c-charcoal);
    font-size: var(--fs-base);
    margin: 0;
}

/* =========================================================
   Single post
   ========================================================= */
.entry-header {
    padding-block: clamp(4rem, 8vw, 9rem) var(--s-7);
    text-align: center;
}

.entry-header__meta {
    display: inline-flex;
    gap: var(--s-4);
    font-size: 0.72rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--c-muted);
    margin-bottom: var(--s-5);
}

.entry-title {
    font-size: var(--fs-4xl);
    line-height: 1.05;
    max-width: 22ch;
    margin: 0 auto var(--s-5);
}

.entry-featured {
    margin-block: var(--s-7);
}

.entry-featured img { width: 100%; }

.entry-content {
    max-width: 68ch;
    margin: 0 auto;
    padding-inline: var(--gutter);
    font-size: var(--fs-lg);
    line-height: 1.8;
    color: var(--c-charcoal);
}

.entry-content > * + * { margin-top: var(--s-5); }

.entry-content h2 { margin-top: var(--s-8); }
.entry-content h3 { margin-top: var(--s-7); }

.entry-content a {
    color: var(--c-clay);
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 100% 1px;
    background-repeat: no-repeat;
    background-position: 0 100%;
}

.entry-content figure { margin: var(--s-7) 0; }

.entry-content figcaption {
    font-family: var(--f-serif);
    font-style: italic;
    font-size: var(--fs-base);
    color: var(--c-muted);
    text-align: center;
    margin-top: var(--s-3);
}

/* WordPress alignment helpers */
.alignwide   { width: 100vw; max-width: 90rem; margin-inline: calc(50% - 50vw); }
.alignfull   { width: 100vw; max-width: none;  margin-inline: calc(50% - 50vw); }
.alignleft   { float: left;  margin: 0 var(--s-5) var(--s-5) 0; }
.alignright  { float: right; margin: 0 0 var(--s-5) var(--s-5); }
.aligncenter { display: block; margin-inline: auto; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
    background: var(--c-ink);
    color: var(--c-cream);
    padding-block: var(--s-9) var(--s-6);
}

.site-footer a:hover { color: var(--c-blush); }

.site-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-7);
    margin-bottom: var(--s-8);
}

@media (min-width: 800px) {
    .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--s-8); }
}

.site-footer__brand {
    font-family: var(--f-display);
    font-size: var(--fs-2xl);
    margin-bottom: var(--s-5);
    color: var(--c-ivory);
}

.footer-heading {
    font-family: var(--f-sans);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--c-blush);
    margin-bottom: var(--s-5);
}

.footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
    font-size: var(--fs-sm);
}

.site-footer__bottom {
    border-top: 1px solid rgba(244, 239, 231, 0.12);
    padding-top: var(--s-5);
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(244, 239, 231, 0.6);
}

@media (min-width: 700px) {
    .site-footer__bottom { flex-direction: row; }
}

/* =========================================================
   Forms
   ========================================================= */
input[type="text"], input[type="email"], input[type="url"],
input[type="password"], input[type="search"], input[type="tel"],
textarea, select {
    width: 100%;
    padding: 0.95rem 1.1rem;
    background: transparent;
    border: 1px solid var(--c-line);
    border-radius: 0;
    font-family: var(--f-sans);
    font-size: var(--fs-base);
    color: var(--c-ink);
    transition: border-color var(--dur) var(--ease);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--c-ink);
}

label {
    display: block;
    margin-bottom: var(--s-2);
    font-size: 0.72rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--c-muted);
}

/* =========================================================
   Comments
   ========================================================= */
.comments-area {
    max-width: 68ch;
    margin: var(--s-9) auto 0;
    padding-inline: var(--gutter);
}

.comments-title {
    font-size: var(--fs-2xl);
    margin-bottom: var(--s-6);
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--s-7);
}

.comment-list li {
    border-top: 1px solid var(--c-line);
    padding: var(--s-5) 0;
}

.comment-meta {
    display: flex;
    gap: var(--s-3);
    align-items: center;
    margin-bottom: var(--s-3);
    font-size: var(--fs-sm);
}

.comment-author { font-weight: 500; }

/* =========================================================
   Pagination
   ========================================================= */
.pagination {
    display: flex;
    justify-content: center;
    gap: var(--s-4);
    margin-block: var(--s-8);
    font-size: 0.78rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.pagination .page-numbers {
    padding: var(--s-3) var(--s-4);
    border: 1px solid transparent;
    color: var(--c-charcoal);
}

.pagination .page-numbers.current {
    border-color: var(--c-ink);
    color: var(--c-ink);
}

.pagination .page-numbers:hover {
    border-color: var(--c-rose);
}

/* =========================================================
   Utilities
   ========================================================= */
.sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--c-ink);
    color: var(--c-ivory);
    padding: var(--s-3) var(--s-5);
    z-index: 100;
}

.skip-link:focus { left: var(--s-3); top: var(--s-3); }

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}

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

.reveal--delay-1 { transition-delay: 120ms; }
.reveal--delay-2 { transition-delay: 240ms; }
.reveal--delay-3 { transition-delay: 360ms; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Elementor compatibility
   ========================================================= */
/* Reset Elementor container max-width to match theme */
.elementor-section.elementor-section-boxed > .elementor-container { max-width: var(--container); }
.elementor-section.elementor-section-stretched > .elementor-container { max-width: var(--container-wide); }

/* Hand off button styles to Elementor when its widget is used */
.elementor-button {
    font-family: var(--f-sans);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-weight: 500;
    border-radius: var(--radius);
}

/* Match heading typography inside Elementor widgets */
.elementor-widget-heading .elementor-heading-title { font-family: var(--f-display); font-weight: 300; }

/* Single post with Elementor Pro template — remove default header padding */
.elementor-template-full-width .entry-header,
.elementor-template-canvas .entry-header { display: none; }
