/*
=========================================================
DRESSZKÓD – MODERN VINTAGE MEGJELENÉS
Verzió: 2026-07-22
=========================================================
*/

:root {
    --bg: #f8f3ee;
    --surface: #fffdfb;
    --surface-soft: #f2e7e1;
    --surface-accent: #ead8df;

    --text: #2f2a2c;
    --text-soft: #6f6267;

    --primary: #8c3f5b;
    --primary-dark: #6d2f46;
    --primary-light: #b76b85;

    --accent: #c79a3b;
    --accent-soft: #f2dfb5;

    --border: #e4d7d1;
    --shadow: 0 12px 30px rgba(71, 42, 50, 0.10);
    --shadow-soft: 0 6px 18px rgba(71, 42, 50, 0.08);

    --radius-small: 10px;
    --radius: 16px;
    --radius-large: 24px;
}


/* ALAPBEÁLLÍTÁSOK */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(199, 154, 59, 0.08), transparent 28%),
        linear-gradient(180deg, #fbf8f5 0%, var(--bg) 100%);
    color: var(--text);
    line-height: 1.65;
    min-height: 100vh;
}

img {
    max-width: 100%;
}

a {
    color: var(--primary);
    transition: color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

a:hover {
    color: var(--primary-dark);
}


/* FEJLÉC */

header {
    background:
        linear-gradient(135deg, rgba(140, 63, 91, 0.98), rgba(109, 47, 70, 0.98));
    color: #fffaf7;
    padding: 18px 24px 16px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 25px rgba(82, 37, 54, 0.20);
    border-bottom: 3px solid var(--accent);
}

header h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
    letter-spacing: 2px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.16);
}
.site-logo {
    width: 76px;
    height: 76px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.9);
    background: #ffffff;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.22);
}
.site-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 0 auto 12px;
    color: #fffaf7;
    text-decoration: none;
}

.site-title {
    color: #fffaf7;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    letter-spacing: 2px;
}


/* NAVIGÁCIÓ */

nav {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 10px;
}

nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fffaf7;
    margin: 0;
    padding: 8px 13px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
}

nav a:hover {
    color: #3a2b20;
    background: var(--accent-soft);
    border-color: var(--accent-soft);
    transform: translateY(-1px);
}


/* HERO / FŐOLDALI NYITÓRÉSZ */

.hero {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: clamp(62px, 9vw, 105px) 22px;
    background:
        radial-gradient(circle at 18% 20%, rgba(199, 154, 59, 0.22), transparent 24%),
        radial-gradient(circle at 84% 12%, rgba(140, 63, 91, 0.15), transparent 30%),
        linear-gradient(135deg, #fffaf5, #efe0e3);
    border-bottom: 1px solid var(--border);
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -80px auto;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(140, 63, 91, 0.08);
}

.hero h2 {
    position: relative;
    z-index: 1;
    margin: 0 0 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 6vw, 58px);
    line-height: 1.12;
    color: var(--primary-dark);
}

.hero p {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    font-size: clamp(17px, 2.3vw, 21px);
    color: var(--text-soft);
}


/* GOMBOK */

.btn,
button,
input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    padding: 12px 22px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    text-decoration: none;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 7px 18px rgba(109, 47, 70, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn:hover,
button:hover,
input[type="submit"]:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(109, 47, 70, 0.24);
    filter: brightness(1.04);
}

.btn:active,
button:active,
input[type="submit"]:active {
    transform: translateY(0);
}


/* ÁLTALÁNOS TARTALMI DOBOZ */

.container {
    max-width: 1100px;
    margin: 34px auto;
    padding: clamp(22px, 4vw, 38px);
    background: rgba(255, 253, 251, 0.96);
    border: 1px solid rgba(228, 215, 209, 0.86);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow);
}

.container > h1,
.container > h2,
.container > h3 {
    color: var(--primary-dark);
}

h1,
h2,
h3 {
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.25;
}

h2 {
    font-size: clamp(25px, 3vw, 36px);
}

h3 {
    font-size: clamp(20px, 2.4vw, 27px);
}


/* ŰRLAPOK / ADMIN */

input[type="text"],
input[type="search"],
input[type="date"],
input[type="email"],
input[type="password"],
input[type="file"],
select,
textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-small);
    background: #fff;
    color: var(--text);
    font: inherit;
    box-shadow: inset 0 1px 2px rgba(50, 35, 40, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.55;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(140, 63, 91, 0.12);
    background: #fffdfd;
}

label,
form p {
    color: var(--text);
    font-weight: 700;
}


/* GALÉRIA */

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.gallery img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: var(--radius);
    cursor: pointer;
    border: 4px solid #fff;
    box-shadow: var(--shadow-soft);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.gallery img:hover {
    transform: translateY(-5px) scale(1.015);
    box-shadow: 0 16px 34px rgba(74, 43, 52, 0.18);
}


/* LIGHTBOX */

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 25, 30, 0.94);
    justify-content: center;
    align-items: center;
    padding: 24px;
    backdrop-filter: blur(5px);
}

.lightbox img {
    max-width: 92%;
    max-height: 90%;
    border-radius: var(--radius);
    border: 5px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    cursor: zoom-out;
}


/* HÍREK – BEVEZETŐ DOBOZ */

body .news-intro-box {
    max-width: 1000px;
    margin: 34px auto 24px;
    padding: clamp(24px, 4vw, 42px);
    background:
        linear-gradient(145deg, rgba(255, 253, 251, 0.98), rgba(244, 231, 234, 0.96));
    border: 1px solid var(--border);
    border-left: 6px solid var(--accent);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow);
}

body .news-intro-box h2 {
    color: var(--primary-dark);
    margin-top: 0;
}

body .news-intro-box .lead {
    font-size: 1.12rem;
    color: var(--primary-dark);
}

body .info-box {
    margin: 24px 0;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: grid;
    gap: 10px;
}

body .info-box p {
    margin: 4px 0;
}

body .signature {
    margin-top: 24px;
    color: var(--primary);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.08rem;
    font-style: italic;
}


/* HÍREK – KERESŐ ÉS SZŰRŐ */

body .news-filter-box {
    background: linear-gradient(145deg, #fffdfb, #f6ece8) !important;
    border: 1px solid var(--border);
    border-top: 4px solid var(--primary);
    border-radius: var(--radius-large) !important;
    box-shadow: var(--shadow) !important;
}

body .news-filter-field label {
    color: var(--primary-dark);
}

body .news-filter-field input,
body .news-filter-field select {
    border-color: var(--border) !important;
    border-radius: var(--radius-small) !important;
}

body .news-filter-buttons a {
    color: var(--primary-dark);
    background: var(--accent-soft);
    border: 1px solid rgba(199, 154, 59, 0.35);
}

body .news-filter-buttons a:hover {
    color: #3d2c1f;
    transform: translateY(-1px);
}


/* HÍREK – KÁRTYÁK */

body .news-container {
    max-width: 920px !important;
}

body .news-item {
    position: relative;
    overflow: hidden;
    background: var(--surface) !important;
    border: 1px solid var(--border);
    border-radius: var(--radius-large) !important;
    box-shadow: var(--shadow) !important;
    padding: clamp(20px, 4vw, 34px) !important;
    margin-bottom: 28px !important;
}

body .news-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

body .news-item img {
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow-soft);
}

body .news-item h1,
body .news-item h2 {
    color: var(--primary-dark);
}

body .news-title-link {
    color: var(--primary-dark) !important;
}

body .news-title-link:hover {
    color: var(--primary) !important;
}

body .meta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 14px !important;
    padding: 6px 11px;
    color: var(--primary-dark) !important;
    background: var(--surface-soft);
    border-radius: 999px;
    font-size: 13px !important;
    font-weight: 700;
}

body .news-intro,
body .news-content {
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal !important;
    line-height: 1.7 !important;
    color: var(--text);
}

body .news-content p,
body .news-intro p {
    margin: 0 0 1em;
}

body .tags {
    margin-top: 20px !important;
    padding: 12px 14px;
    color: var(--text-soft) !important;
    background: #f8f0e8;
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    font-size: 13px !important;
}

body .readmore,
body .back {
    color: var(--primary-dark) !important;
    background: var(--accent-soft);
    padding: 9px 15px;
    border-radius: 999px;
    text-decoration: none !important;
}

body .readmore:hover,
body .back:hover {
    color: #3c2b1f !important;
    transform: translateY(-1px);
}

body .share {
    margin-top: 24px !important;
    margin-bottom: 14px !important;
}

body .share a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #fff !important;
    background: #4267b2;
    padding: 9px 14px;
    border-radius: 999px;
    box-shadow: 0 5px 14px rgba(66, 103, 178, 0.18);
}

body .share a:hover {
    color: #fff !important;
    transform: translateY(-1px);
    opacity: 0.92;
}

body .news-empty,
body .news-error {
    background: var(--surface) !important;
    border: 1px solid var(--border);
    border-radius: var(--radius-large) !important;
    box-shadow: var(--shadow) !important;
}


/* ADMIN HÍRKÁRTYÁK ÉS ÁLTALÁNOS FEHÉR DOBOZOK */

.container > div[style*="background:#fff"],
.container > div[style*="background: #fff"] {
    border: 1px solid var(--border);
    border-left: 5px solid var(--primary);
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow-soft);
}


/* LÁBLÉC */

footer {
    background:
        linear-gradient(135deg, #5e293e, #3f2430);
    color: #fff8f4;
    text-align: center;
    padding: 32px 20px;
    margin-top: 60px;
    border-top: 4px solid var(--accent);
}

footer a {
    display: inline-block;
    color: #fff8f4;
    margin: 5px 8px;
    padding: 6px 10px;
    text-decoration: none;
    border-radius: 999px;
}

footer a:hover {
    color: #3c2b1f;
    background: var(--accent-soft);
}


/* KIJELÖLÉS */

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


/* MOBIL */

@media (max-width: 760px) {

    header {
        position: relative;
        padding: 16px 14px;
    }

    nav {
        gap: 7px;
    }

    nav a {
        padding: 8px 11px;
        font-size: 14px;
    }

    .container {
        width: auto;
        margin: 20px 12px;
        padding: 20px 16px;
        border-radius: var(--radius);
    }

    .hero {
        padding: 56px 18px;
    }

    .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .gallery img {
        height: 190px;
    }

    body .news-intro-box {
        margin: 20px 12px;
        padding: 22px 18px;
    }

    body .news-item {
        padding: 20px 16px !important;
        border-radius: var(--radius) !important;
    }
}


@media (max-width: 430px) {

    header h1 {
        font-size: 28px;
    }

    nav a {
        flex: 1 1 calc(50% - 8px);
    }

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

    .gallery img {
        height: 260px;
    }

    .btn,
    button,
    input[type="submit"] {
        width: 100%;
    }
}


/* =========================================================
   KORÁBBI DRESSZKÓD-KINCSEK
   ========================================================= */

.dk-treasure-strip {
    max-width: 1320px;
    margin: 56px auto 0;
    padding: clamp(24px, 4vw, 42px);
    background:
        radial-gradient(circle at 10% 0%, rgba(199, 154, 59, 0.13), transparent 28%),
        linear-gradient(145deg, rgba(255, 253, 251, 0.98), rgba(242, 231, 225, 0.98));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.dk-treasure-strip-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.dk-treasure-strip-heading h2,
.dk-treasure-archive-intro h1,
.dk-treasure-contact-box h2 {
    color: var(--primary-dark);
    margin: 0 0 10px;
}

.dk-treasure-strip-heading p {
    max-width: 820px;
    margin: 0;
    color: var(--text-soft);
}

.dk-treasure-eyebrow {
    margin: 0 0 7px !important;
    color: var(--accent) !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.dk-treasure-controls {
    display: flex;
    flex: 0 0 auto;
    gap: 9px;
}

.dk-treasure-arrow {
    width: 46px;
    height: 46px;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    font-size: 30px;
    line-height: 1;
}

.dk-treasure-arrow:disabled {
    opacity: 0.28;
    cursor: default;
    transform: none;
    filter: none;
}

.dk-treasure-viewport {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-light) var(--surface-soft);
    padding: 4px 2px 14px;
}

.dk-treasure-viewport:focus-visible {
    outline: 3px solid rgba(140, 63, 91, 0.22);
    outline-offset: 5px;
    border-radius: var(--radius);
}

.dk-treasure-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(250px, 310px);
    gap: 18px;
    width: max-content;
}

.dk-treasure-card {
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-soft);
}

.dk-treasure-card--strip {
    scroll-snap-align: start;
}

.dk-treasure-image-link {
    display: block;
    overflow: hidden;
    background: var(--surface-soft);
}

.dk-treasure-card img {
    display: block;
    width: 100%;
    height: 270px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.dk-treasure-card:hover img {
    transform: scale(1.025);
}

.dk-treasure-card-body {
    padding: 19px 19px 21px;
}

.dk-treasure-card h3 {
    margin: 3px 0 10px;
    color: var(--primary-dark);
    font-size: 22px;
}

.dk-treasure-brand {
    margin: 12px 0 0;
    color: var(--accent);
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.dk-treasure-sold,
.dk-admin-featured {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    color: var(--primary-dark);
    background: var(--accent-soft);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.dk-treasure-price {
    margin: 0 0 9px;
    color: var(--text);
}

.dk-treasure-description,
.dk-treasure-date {
    margin: 0;
    color: var(--text-soft);
}

.dk-treasure-date {
    margin-top: 12px;
    font-size: 14px;
}

.dk-treasure-strip-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 20px;
}

.dk-treasure-strip-footer p {
    max-width: 760px;
    margin: 0;
    color: var(--text-soft);
    font-size: 14px;
}

.dk-treasure-all-link {
    flex: 0 0 auto;
    margin-top: 0;
}

.dk-treasure-archive {
    max-width: 1280px;
    margin: 0 auto;
    padding: 34px 20px 10px;
}

.dk-treasure-archive-intro,
.dk-treasure-contact-box {
    max-width: 980px;
    margin: 0 auto 32px;
    padding: clamp(25px, 4vw, 42px);
    text-align: center;
    background: linear-gradient(145deg, var(--surface), var(--surface-soft));
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow);
}

.dk-treasure-archive-intro > p:not(.dk-treasure-eyebrow),
.dk-treasure-contact-box p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-soft);
}

.dk-treasure-notice {
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.72);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-small);
}

.dk-treasure-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.dk-treasure-card--archive img {
    height: 330px;
}

.dk-treasure-contact-box {
    margin-top: 46px;
}

.dk-treasure-empty {
    text-align: center;
}

/* Kincsek adminfelülete */

.dk-treasure-admin-form form {
    display: grid;
    gap: 10px;
}

.dk-treasure-admin-form label:not(.dk-checkbox-row) {
    margin-top: 8px;
}

.dk-form-help {
    margin: -3px 0 8px;
    color: var(--text-soft);
    font-size: 14px;
    font-weight: 400;
}

.dk-checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0;
    font-weight: 700;
}

.dk-checkbox-row input {
    width: auto;
    margin: 0;
}

.dk-admin-list-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.dk-admin-list-heading h1,
.dk-admin-list-heading p {
    margin-top: 0;
}

.dk-admin-treasure-grid {
    display: grid;
    gap: 18px;
}

.dk-admin-treasure-card {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 22px;
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.dk-admin-treasure-card > img {
    width: 210px;
    height: 210px;
    object-fit: cover;
    border-radius: var(--radius-small);
}

.dk-admin-treasure-card h2 {
    margin: 4px 0 8px;
    color: var(--primary-dark);
}

.dk-admin-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.dk-admin-actions .btn,
.dk-admin-actions button,
.dk-admin-actions form {
    width: auto;
    margin: 0;
}

.dk-btn-secondary {
    color: var(--primary-dark);
    background: var(--surface-soft);
    box-shadow: none;
}

.dk-danger-button {
    background: #8a2633;
}

.dk-admin-message {
    margin: 18px 0;
    padding: 15px 18px;
    border-radius: var(--radius-small);
    font-weight: 700;
}

.dk-admin-message--success {
    background: #edf8ef;
    border: 1px solid #b9dfc0;
}

.dk-admin-message--error {
    background: #fff0f1;
    border: 1px solid #e6b7bc;
}

.dk-current-image {
    max-width: 420px;
    margin: 18px 0 24px;
}

.dk-current-image img {
    display: block;
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

@media (max-width: 980px) {
    .dk-treasure-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .dk-treasure-strip {
        margin-top: 36px;
        padding: 24px 14px 28px;
    }

    .dk-treasure-strip-heading,
    .dk-treasure-strip-footer,
    .dk-admin-list-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .dk-treasure-controls {
        align-self: flex-end;
    }

    .dk-treasure-track {
        grid-auto-columns: minmax(245px, 82vw);
        gap: 13px;
    }

    .dk-treasure-card img {
        height: 255px;
    }

    .dk-treasure-all-link {
        align-self: stretch;
        text-align: center;
    }

    .dk-treasure-archive {
        padding: 20px 12px 0;
    }

    .dk-treasure-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .dk-treasure-card--archive img {
        height: min(430px, 90vw);
    }

    .dk-admin-treasure-card {
        grid-template-columns: 1fr;
    }

    .dk-admin-treasure-card > img {
        width: 100%;
        height: min(390px, 85vw);
    }
}

@media (prefers-reduced-motion: reduce) {
    .dk-treasure-viewport {
        scroll-behavior: auto;
    }

    .dk-treasure-card img {
        transition: none;
    }
}


/* =========================================================
   DRESSZKÓD – HETI HELYSZÍNEK DOBOZ
   ========================================================= */

.dk-weekly-box {
    width: min(1120px, calc(100% - 32px));
    margin: 34px auto;
}

.dk-weekly-box__inner {
    position: relative;
    overflow: hidden;
    padding: clamp(26px, 5vw, 48px);
    text-align: center;
    background:
        radial-gradient(circle at 10% 10%, rgba(199, 154, 59, 0.20), transparent 27%),
        radial-gradient(circle at 90% 90%, rgba(140, 63, 91, 0.16), transparent 30%),
        linear-gradient(145deg, #fffdfb, #f3e4e7);
    border: 1px solid var(--border);
    border-top: 5px solid var(--accent);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow);
}

.dk-weekly-box__inner::after {
    content: "";
    position: absolute;
    right: -70px;
    top: -85px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: rgba(140, 63, 91, 0.07);
    pointer-events: none;
}

.dk-weekly-box__eyebrow {
    position: relative;
    z-index: 1;
    margin: 0 0 8px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.dk-weekly-box h2 {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--primary-dark);
    font-size: clamp(27px, 4vw, 42px);
}

.dk-weekly-box__period {
    position: relative;
    z-index: 1;
    display: inline-flex;
    margin: 15px 0 0;
    padding: 7px 14px;
    color: #4b382d;
    background: var(--accent-soft);
    border-radius: 999px;
    font-weight: 800;
}

.dk-weekly-locations {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    margin-top: 28px;
}

.dk-weekly-location {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    padding: 19px 18px;
    text-align: left;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(228, 215, 209, 0.95);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.dk-weekly-location__icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    font-size: 22px;
    background: var(--surface-soft);
    border-radius: 50%;
}

.dk-weekly-location strong,
.dk-weekly-location span {
    display: block;
}

.dk-weekly-location strong {
    margin-bottom: 3px;
    color: var(--primary-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
}

.dk-weekly-location span {
    color: var(--text);
    overflow-wrap: anywhere;
}

.dk-weekly-box__notice {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 9px;
    max-width: 820px;
    margin: 20px auto 0;
    padding: 14px 18px;
    color: var(--primary-dark);
    background: rgba(242, 223, 181, 0.70);
    border: 1px solid rgba(199, 154, 59, 0.30);
    border-radius: var(--radius);
}

.dk-weekly-box__notice p {
    margin: 0;
}

.dk-weekly-box__button {
    position: relative;
    z-index: 1;
    margin-top: 23px;
}

.dk-weekly-admin form > label:not(.dk-checkbox-row),
.dk-weekly-admin-grid label {
    display: block;
    margin-top: 18px;
    margin-bottom: 7px;
}

.dk-weekly-active-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 22px 0;
    padding: 15px 17px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.dk-weekly-active-row input {
    width: auto;
    margin: 0;
}

.dk-weekly-admin-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.dk-weekly-admin-tip {
    margin-top: 26px;
    padding: 15px 17px;
    color: var(--text);
    background: #f8f0e8;
    border-left: 5px solid var(--accent);
    border-radius: var(--radius-small);
}

.dk-admin-message {
    margin: 20px 0;
    padding: 15px 17px;
    border-radius: var(--radius-small);
}

.dk-admin-message--success {
    color: #225d34;
    background: #edf8ef;
    border: 1px solid #b9dfc2;
}

.dk-admin-message--error {
    color: #7c2630;
    background: #fff0f1;
    border: 1px solid #e8b9bf;
}

.dk-admin-message ul {
    margin-bottom: 0;
}

.dk-form-help {
    margin: 7px 0 0;
    color: var(--text-soft);
    font-size: 14px;
    font-weight: 400;
}

.dk-admin-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.dk-btn-secondary {
    background: var(--surface-soft);
    color: var(--primary-dark);
    box-shadow: none;
}

.dk-btn-secondary:hover {
    color: var(--primary-dark);
    background: var(--accent-soft);
}

@media (max-width: 820px) {
    .dk-weekly-locations,
    .dk-weekly-admin-grid {
        grid-template-columns: 1fr;
    }

    .dk-weekly-location {
        max-width: 620px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 430px) {
    .dk-weekly-box {
        width: auto;
        margin: 22px 12px;
    }

    .dk-weekly-box__inner {
        padding: 25px 16px;
        border-radius: var(--radius);
    }

    .dk-weekly-location {
        padding: 16px 14px;
    }

    .dk-weekly-box__button,
    .dk-admin-actions .btn,
    .dk-admin-actions button {
        width: 100%;
    }
}


/* =========================================================
   GYAKORI KÉRDÉSEK / GYIK
   ========================================================= */

.dk-faq-home,
.dk-faq-page {
    width: min(1120px, calc(100% - 32px));
    margin: 36px auto;
}

.dk-faq-home__inner,
.dk-faq-intro,
.dk-faq-group,
.dk-faq-contact,
.dk-faq-empty {
    background: rgba(255, 253, 251, 0.97);
    border: 1px solid var(--border);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow);
}

.dk-faq-home__inner {
    position: relative;
    overflow: hidden;
    padding: clamp(27px, 5vw, 48px);
    text-align: center;
    background:
        radial-gradient(circle at 8% 14%, rgba(199, 154, 59, 0.18), transparent 25%),
        radial-gradient(circle at 92% 84%, rgba(140, 63, 91, 0.13), transparent 29%),
        linear-gradient(145deg, #fffdfb, #f3e7ea);
    border-top: 5px solid var(--primary);
}

.dk-faq-home__inner::after {
    content: "?";
    position: absolute;
    right: 5%;
    top: -58px;
    color: rgba(140, 63, 91, 0.055);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 220px;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

.dk-faq-eyebrow {
    position: relative;
    z-index: 1;
    margin: 0 0 8px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.dk-faq-home h2,
.dk-faq-intro h1,
.dk-faq-group h2,
.dk-faq-contact h2,
.dk-faq-empty h2 {
    color: var(--primary-dark);
}

.dk-faq-home h2,
.dk-faq-intro h1 {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: clamp(29px, 4.5vw, 45px);
}

.dk-faq-home__lead,
.dk-faq-intro > p:last-child {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 13px auto 0;
    color: var(--text-soft);
    font-size: 1.06rem;
}

.dk-faq-list {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
    margin-top: 26px;
    text-align: left;
}

.dk-faq-item {
    overflow: hidden;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 5px 16px rgba(71, 42, 50, 0.055);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.dk-faq-item:hover {
    border-color: rgba(140, 63, 91, 0.36);
    box-shadow: var(--shadow-soft);
}

.dk-faq-item[open] {
    border-color: rgba(140, 63, 91, 0.40);
    box-shadow: var(--shadow-soft);
}

.dk-faq-item summary {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 62px;
    padding: 17px 56px 17px 20px;
    color: var(--primary-dark);
    cursor: pointer;
    list-style: none;
    font-weight: 800;
    line-height: 1.42;
}

.dk-faq-item summary::-webkit-details-marker {
    display: none;
}

.dk-faq-item summary::after {
    content: "+";
    position: absolute;
    right: 18px;
    top: 50%;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--surface-soft);
    color: var(--primary-dark);
    font-size: 22px;
    line-height: 1;
    transform: translateY(-50%);
    transition: transform 0.2s ease, background 0.2s ease;
}

.dk-faq-item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
    background: var(--accent-soft);
}

.dk-faq-item summary:focus-visible {
    outline: 3px solid rgba(140, 63, 91, 0.24);
    outline-offset: -3px;
}

.dk-faq-question {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(17px, 2vw, 20px);
}

.dk-faq-answer {
    padding: 0 20px 19px;
    color: var(--text);
    border-top: 1px solid rgba(228, 215, 209, 0.70);
}

.dk-faq-answer p {
    margin: 16px 0 0;
}

.dk-faq-home__button {
    position: relative;
    z-index: 1;
    margin-top: 24px;
}

.dk-faq-page {
    max-width: 1000px;
}

.dk-faq-intro {
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 5vw, 48px);
    text-align: center;
    background:
        radial-gradient(circle at 12% 18%, rgba(199, 154, 59, 0.17), transparent 24%),
        linear-gradient(145deg, #fffdfb, #f4e8eb);
    border-top: 5px solid var(--accent);
}

.dk-faq-group {
    margin-top: 22px;
    padding: clamp(22px, 4vw, 34px);
}

.dk-faq-group > h2 {
    margin: 0;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--border);
    font-size: clamp(23px, 3vw, 31px);
}

.dk-faq-group .dk-faq-list {
    margin-top: 18px;
}

.dk-faq-contact,
.dk-faq-empty {
    margin-top: 24px;
    padding: clamp(24px, 4vw, 38px);
    text-align: center;
    background: linear-gradient(145deg, #fffdfb, #f7eee8);
}

.dk-faq-contact h2,
.dk-faq-empty h2 {
    margin-top: 0;
}

.dk-footer-faq-link {
    margin: 0 0 10px;
}

.dk-footer-faq-link a {
    color: #fff8f4;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-weight: 700;
}


/* GYIK ADMIN */

.dk-faq-admin input[type="number"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-small);
    background: #fff;
    color: var(--text);
    font: inherit;
}

.dk-faq-admin input[type="number"]:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(140, 63, 91, 0.12);
}

.dk-faq-admin-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
}

.dk-faq-admin-form form > label:not(.dk-checkbox-row),
.dk-faq-admin-grid label {
    display: block;
    margin-top: 18px;
    margin-bottom: 7px;
}

.dk-faq-check-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0 0;
    padding: 14px 16px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.dk-faq-check-row input {
    width: auto;
    margin: 0;
}

.dk-faq-admin-cards {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.dk-faq-admin-card {
    padding: 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 5px solid var(--primary);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.dk-faq-admin-card--inactive {
    opacity: 0.72;
    border-left-color: #9d9094;
}

.dk-faq-admin-card h2 {
    margin: 12px 0 9px;
    color: var(--primary-dark);
    font-size: clamp(20px, 2.4vw, 26px);
}

.dk-faq-admin-card > p {
    margin-bottom: 0;
    white-space: normal;
}

.dk-faq-admin-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.dk-faq-admin-card__meta > span {
    display: inline-flex;
    padding: 5px 9px;
    color: var(--text-soft);
    background: var(--surface-soft);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.dk-faq-status {
    color: #225d34 !important;
    background: #edf8ef !important;
}

.dk-faq-status--off {
    color: #6c6064 !important;
    background: #eee9eb !important;
}

.dk-faq-status--featured {
    color: #674b0d !important;
    background: var(--accent-soft) !important;
}

@media (max-width: 760px) {
    .dk-faq-admin-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 430px) {
    .dk-faq-home,
    .dk-faq-page {
        width: auto;
        margin: 22px 12px;
    }

    .dk-faq-home__inner,
    .dk-faq-intro,
    .dk-faq-group,
    .dk-faq-contact,
    .dk-faq-empty {
        padding: 22px 16px;
        border-radius: var(--radius);
    }

    .dk-faq-item summary {
        padding: 15px 50px 15px 15px;
    }

    .dk-faq-answer {
        padding: 0 15px 16px;
    }

    .dk-faq-home__button,
    .dk-faq-contact .btn,
    .dk-faq-empty .btn {
        width: 100%;
    }
}
