/* ========================================
   Svetlana Savu, psihoterapeut — Main Stylesheet
   Colors: see the brand palette in :root below
   Font: Inter
   ======================================== */

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

:root {
    /* --- Brand palette ---------------------------------------------------
       The only place a brand colour is written down (mirrors the designer's
       brand-colors.css). Nothing below this block uses a raw brand hex. */
    --brand-forest: #29483E;
    --brand-sage: #829577;
    --brand-champagne: #C6AD8F;
    --brand-deep-sage: #657A5C;
    --brand-ivory: #F8F5EE;
    --brand-sand: #EAE4D8;
    --brand-white: #FFFFFF;

    /* Channels, for the handful of translucent uses. */
    --brand-forest-rgb: 41, 72, 62;
    --brand-sage-rgb: 130, 149, 119;
    --brand-champagne-rgb: 198, 173, 143;
    --brand-ivory-rgb: 248, 245, 238;

    /* --- Semantic roles --------------------------------------------------
       What the site styles with. Point one of these at a different brand
       colour and every component follows. */
    --color-text: var(--brand-forest);
    /* 0.8 is the lowest opacity that still clears WCAG AA (4.5:1) on the
       darkest surface it sits on, warm sand. */
    --color-text-soft: rgba(var(--brand-forest-rgb), 0.8);
    --color-link: var(--brand-forest);
    --color-action: var(--brand-forest);
    --color-action-hover: var(--brand-deep-sage);
    --color-action-text: var(--brand-white);
    --color-accent: var(--brand-champagne);
    --color-icon: var(--brand-deep-sage);
    --color-surface: var(--brand-white);
    --color-surface-alt: var(--brand-ivory);
    --color-surface-warm: var(--brand-sand);
    --color-surface-tinted: rgba(var(--brand-sage-rgb), 0.14);
    --color-border: var(--brand-sand);
    --color-border-strong: rgba(var(--brand-forest-rgb), 0.22);
    --color-on-dark: var(--brand-ivory);

    /* --- Legacy names ----------------------------------------------------
       Used throughout this stylesheet and in the templates; kept as aliases
       of the roles above so the palette stays a single source of truth. */
    --sage: var(--color-action);
    --sage-dark: var(--color-action-hover);
    --sage-light: var(--color-surface-tinted);
    --cream: var(--color-surface-alt);
    --charcoal: var(--color-text);
    --gray-50: var(--brand-ivory);
    --gray-100: var(--brand-sand);
    --gray-200: var(--brand-sand);
    --gray-300: var(--color-border-strong);
    --gray-400: var(--color-text-soft);
    --gray-500: var(--color-text-soft);
    --gray-600: var(--color-text);
    --gray-700: var(--color-text);
    --gray-900: var(--color-text);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--charcoal);
    background-color: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

/* --- Utilities --- */
.font-sans { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* Colors */
.text-charcoal, .text-forest { color: var(--color-text); }
.text-sage { color: var(--color-link); }
.text-deep-sage { color: var(--color-icon); }
.text-champagne { color: var(--color-accent); }
.text-ivory { color: var(--color-on-dark); }
.text-white { color: var(--brand-white); }
.text-gray-300 { color: var(--gray-300); }
.text-gray-400 { color: var(--gray-400); }
.text-gray-500 { color: var(--gray-500); }
.text-gray-600 { color: var(--gray-600); }
.text-gray-700 { color: var(--gray-700); }
.text-gray-900 { color: var(--gray-900); }
.text-red-600 { color: #DC2626; }
.text-red-700 { color: #B91C1C; }
.text-green-700 { color: #15803D; }
.text-green-800 { color: #166534; }
.text-yellow-800 { color: #92400E; }
.text-blue-600 { color: #2563EB; }

.bg-cream, .bg-ivory { background-color: var(--color-surface-alt); }
.bg-sand { background-color: var(--color-surface-warm); }
.bg-sage { background-color: var(--sage); }
.bg-sage-dark { background-color: var(--sage-dark); }
.bg-charcoal, .bg-forest { background-color: var(--brand-forest); }
.bg-white { background-color: var(--color-surface); }
.bg-gray-50 { background-color: var(--gray-50); }
.bg-gray-100 { background-color: var(--gray-100); }
.bg-gray-200 { background-color: var(--gray-200); }
.bg-red-50 { background-color: #FEF2F2; }
.bg-green-50 { background-color: #F0FDF4; }
.bg-green-100 { background-color: #DCFCE7; }
.bg-yellow-100 { background-color: #FEF3C7; }
.bg-blue-50 { background-color: #EFF6FF; }

/* Decorative sage washes — backgrounds only, never behind small text. */
.bg-sage\/5 { background-color: rgba(var(--brand-sage-rgb), 0.08); }
.bg-sage\/10 { background-color: rgba(var(--brand-sage-rgb), 0.14); }
.bg-sage\/20 { background-color: rgba(var(--brand-sage-rgb), 0.22); }
.bg-sage\/30 { background-color: rgba(var(--brand-sage-rgb), 0.3); }
.bg-champagne\/20 { background-color: rgba(var(--brand-champagne-rgb), 0.2); }
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1); }
.bg-white\/20 { background-color: rgba(255, 255, 255, 0.2); }
.bg-white\/95 { background-color: rgba(255, 255, 255, 0.95); }

/* Decorative glyph tints — ornaments and placeholders, not readable text. */
.text-sage\/20 { color: rgba(var(--brand-sage-rgb), 0.35); }
.text-sage\/30 { color: rgba(var(--brand-sage-rgb), 0.45); }
.text-sage\/50 { color: rgba(var(--brand-sage-rgb), 0.6); }
.text-white\/80 { color: rgba(255, 255, 255, 0.85); }

.border-sage, .border-forest { border-color: var(--brand-forest); }
.border-sand { border-color: var(--color-border); }
.border-champagne { border-color: var(--color-accent); }
.border-divider { border-color: rgba(var(--brand-ivory-rgb), 0.25); }
.border-sage\/10 { border-color: var(--color-border); }
.border-sage\/30 { border-color: rgba(var(--brand-sage-rgb), 0.45); }
.border-gray-100 { border-color: var(--gray-100); }
.border-gray-200 { border-color: var(--gray-200); }
.border-gray-300 { border-color: var(--gray-300); }
.border-gray-700 { border-color: var(--gray-700); }
.border-red-200 { border-color: #FECACA; }
.border-green-200 { border-color: #BBF7D0; }
.border-white\/30 { border-color: rgba(255, 255, 255, 0.3); }

/* Sizing */
.w-4 { width: 1rem; } .h-4 { height: 1rem; }
.w-5 { width: 1.25rem; } .h-5 { height: 1.25rem; }
.w-6 { width: 1.5rem; } .h-6 { height: 1.5rem; }
.w-7 { width: 1.75rem; } .h-7 { height: 1.75rem; }
.w-8 { width: 2rem; } .h-8 { height: 2rem; }
.w-10 { width: 2.5rem; } .h-10 { height: 2.5rem; }
.w-11 { width: 2.75rem; }
.w-12 { width: 3rem; } .h-12 { height: 3rem; }
.w-14 { width: 3.5rem; } .h-14 { height: 3.5rem; }
.w-16 { width: 4rem; } .h-16 { height: 4rem; }
.w-20 { width: 5rem; } .h-20 { height: 5rem; }
.w-32 { width: 8rem; } .h-32 { height: 8rem; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.h-48 { height: 12rem; }
.h-52 { height: 13rem; }
.h-64 { height: 16rem; }
.min-h-\[400px\] { min-height: 400px; }

.max-w-none { max-width: none; }
.max-w-md { max-width: 28rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-7xl { max-width: 80rem; }

/* Spacing */
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-12 { padding: 3rem; }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }
.pb-4 { padding-bottom: 1rem; }
.pt-8 { padding-top: 2rem; }
.pl-3 { padding-left: 0.75rem; }
.pl-6 { padding-left: 1.5rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-20 { margin-top: 5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Flexbox */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.inline { display: inline; }
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex-col { flex-direction: column; }
.flex-shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-16 > * + * { margin-top: 4rem; }
.space-x-3 > * + * { margin-left: 0.75rem; }

/* Grid */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }

/* Typography */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-8xl { font-size: 6rem; line-height: 1; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-mono { font-family: ui-monospace, monospace; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.05em; }
.line-clamp-2 { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.line-clamp-3 { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.list-disc { list-style-type: disc; }
/* Lists are navigation or layout unless they opt into markers with .list-disc;
   the reset zeroes padding, so an indented list would otherwise show bullets. */
nav ul, footer ul { list-style: none; }

/* Borders & Rounded */
.border { border-width: 1px; border-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-2 { border-width: 2px; border-style: solid; }
.border-dashed { border-style: dashed; }
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

/* Positioning */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.top-28 { top: 7rem; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.-bottom-4 { bottom: -1rem; }
.-right-4 { right: -1rem; }
.z-50 { z-index: 50; }
.-z-10 { z-index: -10; }

/* Effects */
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }
.overflow-hidden { overflow: hidden; }
.object-cover { object-fit: cover; }
.object-top { object-position: top; }
.backdrop-blur-sm { backdrop-filter: blur(4px); }
.opacity-30 { opacity: 0.3; }

/* Transitions */
.transition-colors { transition: color 0.2s, background-color 0.2s, border-color 0.2s; }
.transition-shadow { transition: box-shadow 0.2s; }
.transition-all { transition: all 0.2s; }

/* Cursor & SR */
.cursor-pointer { cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }
.outline-none { outline: none; }
.resize-none { resize: none; }

/* Aspect Ratio */
.aspect-\[4\/5\] { aspect-ratio: 4/5; }
.aspect-\[3\/4\] { aspect-ratio: 3/4; }

/* Table */
table { border-collapse: collapse; }
.divide-y > * + * { border-top: 1px solid; }
.divide-gray-100 > * + * { border-top-color: var(--gray-100); }

/* --- Components --- */

/* Navigation */
.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text);
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}
.nav-link:hover, .nav-link.active {
    color: var(--color-icon);
    border-bottom-color: var(--color-icon);
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: var(--color-text);
    border-radius: 0.5rem;
    transition: background-color 0.2s, color 0.2s;
}
.mobile-nav-link:hover {
    background-color: var(--color-surface-tinted);
    color: var(--color-icon);
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    background-color: var(--color-surface-tinted);
    color: var(--color-text);
    transition: background-color 0.2s, color 0.2s;
}
.lang-switch:hover {
    background-color: var(--color-action);
    color: var(--color-action-text);
}

/* The header is fixed and 95px tall, so page content has to start below it. */
main {
    padding-top: 95px;
}

/* Full-bleed photo hero. The negative margin cancels main's offset so the
   photo runs right up under the header instead of leaving an empty band,
   and the padding puts the content back below it. */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 72vh;
    margin-top: -95px;
    padding-top: 95px;
    overflow: hidden;
}
.hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Forest wash, strongest where the text sits. Measured against the rendered
   page: the weak end had let bright parts of the photograph through at 1.95:1
   behind the headline, so it never drops below 0.72 now. */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg,
        rgba(var(--brand-forest-rgb), 0.94) 0%,
        rgba(var(--brand-forest-rgb), 0.9) 55%,
        rgba(var(--brand-forest-rgb), 0.72) 100%);
}
.hero-content {
    position: relative;
    width: 100%;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Buttons — one definition, so every page's call to action looks the same. */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 500;
    border: 1px solid transparent;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn-primary {
    background-color: var(--color-action);
    border-color: var(--color-action);
    color: var(--color-action-text);
}
.btn-primary:hover {
    background-color: var(--color-action-hover);
    border-color: var(--color-action-hover);
}
.btn-secondary {
    background-color: var(--color-surface);
    /* Deep sage, not sand: on the warm-sand CTA background a sand border
       leaves the button at 1.3:1 against its surroundings, below the 3:1
       WCAG asks of a control's boundary. */
    border-color: var(--color-icon);
    color: var(--color-text);
}
.btn-secondary:hover {
    background-color: var(--color-surface-alt);
}
/* Same button, inverted for the dark hero. */
.btn-on-dark {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 500;
    border: 1px solid var(--brand-ivory);
    background-color: var(--brand-ivory);
    color: var(--color-text);
    transition: background-color 0.2s, border-color 0.2s;
}
.btn-on-dark:hover {
    background-color: var(--brand-white);
    border-color: var(--brand-white);
}


/* Honeypot field: off-screen rather than display:none, which some bots skip. */
.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Visible to screen readers only. */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Blog Content */
.blog-content h2 { font-size: 1.5rem; font-weight: 600; margin-top: 2rem; margin-bottom: 1rem; color: var(--charcoal); }
.blog-content h3 { font-size: 1.25rem; font-weight: 600; margin-top: 1.5rem; margin-bottom: 0.75rem; color: var(--charcoal); }
.blog-content p { margin-bottom: 1rem; }
.blog-content ul, .blog-content ol { margin-bottom: 1rem; padding-left: 1.5rem; }
.blog-content li { margin-bottom: 0.5rem; }
.blog-content blockquote { border-left: 3px solid var(--color-icon); padding-left: 1rem; margin: 1.5rem 0; font-style: italic; color: var(--color-text); }
.blog-content img { border-radius: 0.75rem; margin: 1.5rem 0; }
.blog-content a { color: var(--sage); text-decoration: underline; }

/* Prose */
.prose p { margin-bottom: 1rem; }
.prose h2 { margin-top: 2rem; margin-bottom: 0.75rem; }
.prose-lg { font-size: 1.0625rem; line-height: 1.75; }

/* Cover image scrim on blog posts: keeps the title area readable and gives
   the photo a soft bottom edge. */
.bg-gradient-to-t.from-charcoal\/60.to-transparent {
    background: linear-gradient(to top, rgba(var(--brand-forest-rgb), 0.6) 0%, rgba(var(--brand-forest-rgb), 0) 60%);
}

/* Hover states */
.hover\:bg-sage:hover { background-color: var(--sage); }
.hover\:bg-sage-dark:hover { background-color: var(--sage-dark); }
.hover\:bg-cream:hover { background-color: var(--cream); }
.hover\:bg-gray-50:hover { background-color: var(--gray-50); }
.hover\:bg-gray-200:hover { background-color: var(--gray-200); }
.hover\:bg-white\/20:hover { background-color: rgba(255,255,255,0.2); }
.hover\:text-sage:hover { color: var(--sage); }
.hover\:text-white:hover { color: var(--brand-white); text-decoration: underline; }
.hover\:bg-sand:hover { background-color: var(--color-surface-warm); }
.hover\:text-red-600:hover { color: #DC2626; }
.hover\:underline:hover { text-decoration: underline; }
.hover\:shadow-md:hover { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1); }
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }
.hover\:gap-2:hover { gap: 0.5rem; }
.hover\:gap-3:hover { gap: 0.75rem; }

/* Focus */
.focus\:ring-2:focus { box-shadow: 0 0 0 2px rgba(var(--brand-forest-rgb), 0.3); }
.focus\:ring-sage:focus { --tw-ring-color: var(--sage); }
.focus\:border-sage:focus { border-color: var(--sage); }

/* Peer (toggle switch) */
.peer:checked ~ .peer-checked\:after\:translate-x-full::after { transform: translateX(100%); }
.peer:checked ~ .peer-checked\:after\:border-white::after { border-color: white; }
.peer:checked ~ .peer-checked\:bg-sage { background-color: var(--sage); }
.peer:focus ~ .peer-focus\:ring-2 { box-shadow: 0 0 0 2px rgba(var(--brand-forest-rgb), 0.3); }

/* Toggle switch styling */
label .peer ~ div {
    position: relative;
    transition: background-color 0.2s;
}
label .peer ~ div::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 1.25rem;
    height: 1.25rem;
    background: white;
    border: 1px solid var(--gray-300);
    border-radius: 9999px;
    transition: transform 0.2s;
}
label .peer:checked ~ div::after {
    transform: translateX(100%);
    border-color: white;
}
label .peer:checked ~ div {
    background-color: var(--sage);
}

/* --- Responsive --- */
@media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:flex-row { flex-direction: row; }
    .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
    .md\:col-span-3 { grid-column: span 3; }
    .md\:col-span-9 { grid-column: span 9; }
    .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
    .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
    .md\:text-5xl { font-size: 3rem; line-height: 1.1; }
    .md\:h-96 { height: 24rem; }
    .md\:pl-0 { padding-left: 0; }
    /* Sticky only from the two-column layout up: in the stacked mobile layout a
       sticky element stays pinned over the whole viewport while the rest of the
       page scrolls past it. */
    .md\:sticky { position: sticky; }
    .md\:top-28 { top: 7rem; }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:col-span-2 { grid-column: span 2; }
    .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
    .lg\:text-6xl { font-size: 3.75rem; line-height: 1.05; }
}

.review-text {
    white-space: pre-line;
    overflow-wrap: anywhere;
}
