/*
 Theme Name:   Malmskillnadsgatan
 Theme URI:    https://www.malmskillnadsgatan.se
 Description:  GeneratePress child theme for Malmskillnadsgatan.se.
               Premium editorial magazine aesthetic combining deep
               Stockholmiana historical narrative with modern luxury
               hospitality directory.
 Author:       ATDT
 Template:     generatepress
 Version:      1.0.0
 License:      Proprietary
 Text Domain:  malmskillnadsgatan
*/

/* ==========================================================================
   DESIGN SYSTEM TOKENS
   ========================================================================== */

:root {
    /* Palette */
    --color-bg:           #FAF8F5;   /* Warm editorial sandstone/paper     */
    --color-bg-dark:      #1A1814;   /* Deep night — footer, hero overlays */
    --color-text:         #1A1A1A;   /* Midnight charcoal, high contrast   */
    --color-text-muted:   #6E6A75;   /* Sophisticated slate grey           */
    --color-accent-gold:  #C5A880;   /* Refined metallic brass / gold      */
    --color-accent-red:   #E65C40;   /* Vivid vermilion — neon / Röda Huset */
    --color-border:       #E8E4DE;   /* Subtle warm divider                */
    --color-card-bg:      #FFFFFF;   /* Pure card background               */
    --color-card-hover:   #F5F1EC;   /* Warm hover tint                    */

    /* Typography */
    --font-display:  'Lora', Georgia, serif;
    --font-body:     'Space Grotesk', system-ui, sans-serif;

    /* Sizes */
    --text-xs:   0.75rem;
    --text-sm:   0.875rem;
    --text-base: 1rem;
    --text-lg:   1.125rem;
    --text-xl:   1.25rem;
    --text-2xl:  1.5rem;
    --text-3xl:  1.875rem;
    --text-4xl:  2.25rem;
    --text-5xl:  3rem;
    --text-6xl:  3.75rem;

    /* Spacing */
    --space-1:  0.25rem;
    --space-2:  0.5rem;
    --space-3:  0.75rem;
    --space-4:  1rem;
    --space-6:  1.5rem;
    --space-8:  2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Layout */
    --container-max: 1200px;
    --container-narrow: 760px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md:  0 4px 12px rgba(0,0,0,0.10), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg:  0 10px 30px rgba(0,0,0,0.14), 0 4px 8px rgba(0,0,0,0.08);
    --shadow-xl:  0 20px 50px rgba(0,0,0,0.18);

    /* Transitions */
    --transition-fast:   150ms ease;
    --transition-base:   250ms ease;
    --transition-slow:   400ms ease;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.7;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-text);
    margin-top: 0;
}

h1 { font-size: clamp(var(--text-3xl), 5vw, var(--text-6xl)); }
h2 { font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl)); }
h3 { font-size: clamp(var(--text-xl), 2.5vw, var(--text-3xl)); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); text-transform: uppercase; letter-spacing: 0.08em; }

p {
    margin-top: 0;
    margin-bottom: var(--space-4);
}

/* Decorative section labels */
.eyebrow {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent-gold);
}

/* Lede / ingress */
.lede {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    line-height: 1.6;
    max-width: var(--container-narrow);
}

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */

.container {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--space-6);
}

.container--narrow {
    max-width: var(--container-narrow);
    margin-inline: auto;
    padding-inline: var(--space-6);
}

.section {
    padding-block: var(--space-20);
}

.section--dark {
    background-color: var(--color-bg-dark);
    color: #FAF8F5;
}

.section--dark h1,
.section--dark h2,
.section--dark h3 {
    color: #FAF8F5;
}

/* Grid systems */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr));
    gap: var(--space-8);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: var(--space-6);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
    gap: var(--space-6);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: var(--space-4);
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--space-6);
}

.site-logo {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.site-logo span {
    color: var(--color-accent-gold);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav a {
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
    position: relative;
}

.site-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent-gold);
    transition: width var(--transition-base);
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--color-text);
}

.site-nav a:hover::after,
.site-nav a.active::after {
    width: 100%;
}

/* ==========================================================================
   HERO — HOMEPAGE MAGAZINE COVER
   ========================================================================== */

.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: flex-end;
    background-color: var(--color-bg-dark);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-image: url('/wp-content/themes/malmskillnadsgatan/assets/hero-bg.jpg');
    background-size: cover;
    background-position: center 30%;
    transform: scale(1.05);
    transition: transform 8s ease;
    filter: brightness(0.45);
}

.hero:hover .hero__bg {
    transform: scale(1);
}

.hero__gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(26, 24, 20, 0.98) 0%,
        rgba(26, 24, 20, 0.60) 40%,
        rgba(26, 24, 20, 0.10) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--space-6);
    padding-block: var(--space-20) var(--space-16);
}

.hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent-gold);
    margin-bottom: var(--space-6);
}

.hero__kicker::before {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background: var(--color-accent-gold);
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #FAF8F5;
    margin-bottom: var(--space-6);
    max-width: 14ch;
}

.hero__subtitle {
    font-size: clamp(var(--text-base), 2vw, var(--text-xl));
    color: rgba(250, 248, 245, 0.75);
    max-width: 55ch;
    line-height: 1.65;
    margin-bottom: var(--space-10);
}

.hero__meta {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    flex-wrap: wrap;
}

.hero__stat {
    text-align: left;
}

.hero__stat-value {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--color-accent-gold);
    line-height: 1;
}

.hero__stat-label {
    font-size: var(--text-xs);
    color: rgba(250, 248, 245, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: var(--space-1);
}

/* ==========================================================================
   CARDS — PLATS / VENUE
   ========================================================================== */

.card {
    background: var(--color-card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition:
        transform var(--transition-base),
        box-shadow var(--transition-base);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card__image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--color-border);
}

.card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.card:hover .card__image {
    transform: scale(1.06);
}

.card__category-badge {
    position: absolute;
    top: var(--space-3);
    left: var(--space-3);
    background: rgba(26, 24, 20, 0.82);
    backdrop-filter: blur(8px);
    color: var(--color-accent-gold);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
}

.card__rating-badge {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    background: var(--color-accent-gold);
    color: var(--color-bg-dark);
    font-size: var(--text-xs);
    font-weight: 800;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 3px;
}

.card__body {
    padding: var(--space-6);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card__title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-2);
    line-height: 1.3;
}

.card__title a {
    color: var(--color-text);
    transition: color var(--transition-fast);
}

.card__title a:hover {
    color: var(--color-accent-red);
}

.card__excerpt {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    line-height: 1.65;
    margin-bottom: var(--space-4);
    flex: 1;
}

.card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-border);
}

.card__meta-address {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.card__status-open {
    color: #22A06B;
    font-weight: 600;
}

.card__status-closed {
    color: var(--color-accent-red);
    font-weight: 600;
}

/* ==========================================================================
   HISTORY TIMELINE
   ========================================================================== */

.timeline {
    position: relative;
    padding-left: var(--space-10);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--color-accent-gold) 10%,
        var(--color-accent-gold) 90%,
        transparent
    );
}

.timeline__item {
    position: relative;
    padding-bottom: var(--space-10);
}

.timeline__item:last-child {
    padding-bottom: 0;
}

.timeline__dot {
    position: absolute;
    left: calc(-1 * var(--space-10) - 5px);
    top: 8px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--color-accent-gold);
    border: 2px solid var(--color-bg);
    box-shadow: 0 0 0 2px var(--color-accent-gold);
    transition: transform var(--transition-base);
}

.timeline__item:hover .timeline__dot {
    transform: scale(1.4);
}

.timeline__decade {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--color-accent-gold);
    opacity: 0.25;
    line-height: 1;
    margin-bottom: var(--space-2);
}

.timeline__heading {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-3);
}

.timeline__text {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    line-height: 1.75;
}

/* ==========================================================================
   SECTION HEADINGS — EDITORIAL DIVIDERS
   ========================================================================== */

.section-header {
    margin-bottom: var(--space-12);
}

.section-header__line {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.section-header__line::before,
.section-header__line::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--color-border);
}

.section-header__line::before {
    max-width: 48px;
    background: var(--color-accent-gold);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition:
        background var(--transition-fast),
        color var(--transition-fast),
        transform var(--transition-fast),
        box-shadow var(--transition-fast);
    text-decoration: none;
}

.btn:active {
    transform: translateY(1px);
}

.btn--primary {
    background: var(--color-accent-gold);
    color: var(--color-bg-dark);
}

.btn--primary:hover {
    background: #B8966E;
    box-shadow: 0 4px 16px rgba(197, 168, 128, 0.4);
}

.btn--ghost {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn--ghost:hover {
    background: var(--color-card-hover);
    border-color: var(--color-accent-gold);
    color: var(--color-accent-gold);
}

.btn--dark {
    background: var(--color-bg-dark);
    color: #FAF8F5;
}

.btn--dark:hover {
    background: #2A2820;
}

/* ==========================================================================
   SINGLE PLATS — VENUE DETAIL PAGE
   ========================================================================== */

.plats-hero {
    position: relative;
    height: 60vh;
    min-height: 420px;
    overflow: hidden;
    background: var(--color-bg-dark);
}

.plats-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
    transition: transform var(--transition-slow);
}

.plats-hero:hover .plats-hero__img {
    transform: scale(1.03);
}

.plats-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,24,20,0.9) 0%, transparent 60%);
}

.plats-hero__meta {
    position: absolute;
    bottom: var(--space-10);
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--container-max);
    padding-inline: var(--space-6);
    color: #FAF8F5;
}

.plats-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: var(--space-12);
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--space-6);
    padding-block: var(--space-12);
    align-items: start;
}

@media (max-width: 900px) {
    .plats-layout {
        grid-template-columns: 1fr;
    }
}

/* Sticky sidebar */
.plats-sidebar {
    position: sticky;
    top: calc(72px + var(--space-6));
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-md);
}

.plats-sidebar__title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--color-border);
}

.plats-sidebar__row {
    display: flex;
    gap: var(--space-3);
    align-items: flex-start;
    margin-bottom: var(--space-4);
    font-size: var(--text-sm);
}

.plats-sidebar__icon {
    width: 18px;
    flex-shrink: 0;
    color: var(--color-accent-gold);
    margin-top: 2px;
}

.plats-sidebar__label {
    font-weight: 600;
    margin-bottom: var(--space-1);
    display: block;
}

.plats-sidebar__value {
    color: var(--color-text-muted);
}

/* Review summary box */
.review-summary {
    background: linear-gradient(135deg, #FDF8F2, #FAF8F5);
    border: 1px solid var(--color-accent-gold);
    border-radius: var(--radius-md);
    padding: var(--space-6);
    margin-block: var(--space-8);
}

.review-summary__header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.review-summary__badge {
    background: var(--color-accent-gold);
    color: var(--color-bg-dark);
    font-size: var(--text-2xl);
    font-weight: 800;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    line-height: 1;
}

.review-summary__label {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.review-summary__label strong {
    display: block;
    font-size: var(--text-base);
    color: var(--color-text);
    margin-bottom: var(--space-1);
}

.review-summary__text {
    font-size: var(--text-sm);
    line-height: 1.8;
    color: var(--color-text);
    font-style: italic;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
    background: var(--color-bg-dark);
    color: rgba(250, 248, 245, 0.65);
    padding-block: var(--space-16) var(--space-8);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-12);
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--space-6);
    margin-bottom: var(--space-12);
}

@media (max-width: 768px) {
    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
}

.site-footer__brand {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: #FAF8F5;
    margin-bottom: var(--space-4);
}

.site-footer__brand span {
    color: var(--color-accent-gold);
}

.site-footer__tagline {
    font-size: var(--text-sm);
    line-height: 1.7;
    max-width: 40ch;
}

.site-footer__col-title {
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent-gold);
    margin-bottom: var(--space-4);
}

.site-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.site-footer__links a {
    font-size: var(--text-sm);
    color: rgba(250, 248, 245, 0.6);
    transition: color var(--transition-fast);
}

.site-footer__links a:hover {
    color: var(--color-accent-gold);
}

.site-footer__bottom {
    border-top: 1px solid rgba(250, 248, 245, 0.1);
    padding-top: var(--space-8);
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--space-6);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-4);
    font-size: var(--text-xs);
}

/* ==========================================================================
   CATEGORY FILTER PILLS
   ========================================================================== */

.filter-pills {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
    margin-bottom: var(--space-8);
}

.filter-pill {
    font-size: var(--text-sm);
    font-weight: 500;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border);
    background: var(--color-card-bg);
    cursor: pointer;
    transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        color var(--transition-fast);
}

.filter-pill:hover,
.filter-pill.active {
    background: var(--color-bg-dark);
    border-color: var(--color-bg-dark);
    color: var(--color-accent-gold);
}

/* ==========================================================================
   MAP SECTION
   ========================================================================== */

.map-section {
    background: var(--color-bg-dark);
    padding-block: var(--space-20);
}

.map-embed {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 480px;
    box-shadow: var(--shadow-xl);
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(20%) contrast(1.05);
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0%   { background-position: -600px 0; }
    100% { background-position: 600px 0; }
}

.animate-fade-up {
    animation: fadeUp 0.6s ease forwards;
}

.animate-fade-up:nth-child(2) { animation-delay: 0.1s; }
.animate-fade-up:nth-child(3) { animation-delay: 0.2s; }
.animate-fade-up:nth-child(4) { animation-delay: 0.3s; }

/* Loading skeleton */
.skeleton {
    background: linear-gradient(
        90deg,
        var(--color-border) 25%,
        var(--color-card-hover) 50%,
        var(--color-border) 75%
    );
    background-size: 600px 100%;
    animation: shimmer 1.5s infinite linear;
    border-radius: var(--radius-sm);
}

/* ==========================================================================
   GENERATEPRESS OVERRIDES
   ========================================================================== */

/* Remove GP default sidebar padding when we use our own layout */
.generate-columns-container {
    max-width: none;
}

/* Ensure our full-width templates truly fill the viewport */
body.page-template-front-page .site-main,
body.single-plats .site-main {
    padding: 0;
    max-width: none;
}

/* ==========================================================================
   RESPONSIVE — MOBILE FIRST ADJUSTMENTS
   ========================================================================== */

@media (max-width: 768px) {
    .site-nav {
        display: none; /* replaced by burger menu */
    }

    .hero {
        min-height: 70vh;
    }

    .hero__title {
        max-width: 100%;
    }

    .hero__meta {
        gap: var(--space-6);
    }

    .section {
        padding-block: var(--space-12);
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .plats-layout {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}
