/**
 * Editorial polish — offentlige sider. Loader efter atg-theme-contrast.css.
 */

/* Heroes */
.atg-public-template-shell .atg-page-hero {
    min-height: clamp(38vh, 40vw, 48vh);
}

.atg-page-hero-content {
    padding-bottom: clamp(2.25rem, 4vw, 3.25rem);
}

.atg-page-hero-title {
    max-width: 14ch;
    font-weight: 600;
    text-shadow: 0 12px 32px rgba(14, 11, 9, 0.32);
}

.atg-page-hero-subtitle {
    font-size: clamp(1.05rem, 1.2vw, 1.15rem);
    max-width: 38rem;
    line-height: 1.68;
}

.atg-home-title {
    font-weight: 600;
}

/* Canvas section intros */
.atg-section-intro .atg-section-title,
.atg-home-menus-intro .atg-section-title {
    text-shadow: 0 8px 28px rgba(14, 11, 9, 0.22);
}

.atg-references-wall-section .atg-section-intro .atg-section-title,
.atg-delivery-questions-section .atg-section-intro .atg-section-title {
    text-shadow: none;
}

/* Lyse flader: typografi-rytme */
.atg-public-template-shell .atg-main-content [class$="-story-card"] .atg-eyebrow,
.atg-public-template-shell .atg-main-content .atg-occasion-story-card .atg-eyebrow,
.atg-public-template-shell .atg-main-content .atg-newsletter-panel .atg-eyebrow,
.atg-public-template-shell .atg-main-content .atg-public-intro-card .atg-eyebrow {
    display: block;
    margin-bottom: 0.65rem;
}

.atg-public-template-shell .atg-main-content [class$="-story-card"] .atg-section-title,
.atg-public-template-shell .atg-main-content .atg-occasion-story-card .atg-section-title {
    letter-spacing: -0.025em;
}

.atg-public-template-shell .atg-main-content [class$="-story-card"] .atg-section-lead,
.atg-public-template-shell .atg-main-content .atg-occasion-story-card .atg-section-lead {
    margin-top: 0.85rem;
    max-width: 40rem;
}

/* Elevated surfaces */
.atg-public-intro-card,
.atg-public-note-card,
.atg-public-template-shell .atg-main-content [class$="-story-card"],
.atg-occasion-story-card,
.atg-surface-elevated.atg-newsletter-panel {
    transition: border-color 0.2s ease, box-shadow 0.25s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .atg-public-intro-card:hover,
    .atg-public-note-card:hover,
    .atg-public-template-shell .atg-main-content [class$="-story-card"]:hover,
    .atg-occasion-story-card:hover {
        border-color: rgba(155, 129, 91, 0.22);
        box-shadow: var(--atg-shadow-strong);
    }
}

/* Public knapper */
.atg-public-template-shell .atg-main-content .mud-button-root {
    border-radius: 6px !important;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.atg-public-template-shell .atg-main-content .mud-button-outlined.mud-button-inherit {
    border-color: rgba(246, 239, 228, 0.38) !important;
    color: #f6efe4 !important;
}

.atg-public-template-shell .atg-main-content .mud-button-outlined.mud-button-inherit:hover {
    border-color: rgba(246, 239, 228, 0.58) !important;
    background: rgba(246, 239, 228, 0.07) !important;
}

/* Prose / festmenuer */
.atg-festmenu-course-lists h3.atg-prose-course-heading {
    margin-top: 2rem;
    margin-bottom: 0.45rem;
    font-size: clamp(1.35rem, 2vw, 1.6rem);
    font-weight: 600;
    color: var(--atg-on-surface, #1a1410);
    letter-spacing: -0.02em;
}

.atg-festmenu-course-lists h3.atg-prose-course-heading:first-child {
    margin-top: 1.1rem;
}

.atg-festmenu-footnote {
    font-size: 0.95rem;
    margin-top: 1.5rem;
    line-height: 1.68;
    color: var(--atg-on-surface-soft, #2e2720);
}

.atg-public-intro-card .atg-prose ul {
    margin: 0.35rem 0 0;
    padding-left: 1.2rem;
}

.atg-public-intro-card .atg-prose li {
    padding-left: 0.12rem;
    line-height: 1.72;
    color: var(--atg-on-surface-soft, #2e2720);
}

/* Menu cards */
.atg-menu-card {
    border-radius: 24px;
}

/* CTA & nyhedsbrev */
.atg-cta-section {
    border-top: 1px solid rgba(201, 169, 106, 0.14);
}

.atg-newsletter-signup .atg-newsletter-panel {
    border-radius: 24px;
}

/* Fakta-kort på info-sider */
.atg-delivery-fact-card,
.atg-references-fact-card,
.atg-occasion-fact-card {
    background: linear-gradient(180deg, #fffdf8 0%, #f8f2e9 100%);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .atg-delivery-fact-card:hover,
    .atg-references-fact-card:hover,
    .atg-occasion-fact-card:hover {
        border-color: rgba(155, 129, 91, 0.2);
        box-shadow: 0 20px 40px rgba(33, 25, 18, 0.08);
    }
}

/* Links i story-body */
.atg-occasion-story-body .atg-link,
[class$="-story-body"] .atg-link {
    font-weight: 600;
    text-underline-offset: 0.18em;
}