/* Amorosa public content: pages, contacts, feedback, journal and 404. */
.content-page {
    padding-top: 26px;
    padding-bottom: 96px;
}

.content-heading {
    max-width: 820px;
    margin: 42px 0 54px;
}

.content-heading--wide {
    max-width: 1040px;
}

.content-eyebrow {
    margin: 0 0 14px;
    color: var(--ag-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    line-height: 1.2;
    text-transform: uppercase;
}

.content-heading h1,
.article-header h1 {
    margin: 0;
    color: var(--ag-ink);
    font-family: inherit;
    font-size: clamp(42px, 5.2vw, 74px);
    font-weight: 400;
    letter-spacing: -.035em;
    line-height: .98;
}

.content-heading > p:last-child,
.content-intro {
    max-width: 680px;
    margin: 22px 0 0;
    color: var(--ag-muted);
    font-size: 17px;
    line-height: 1.7;
}

.content-prose {
    max-width: 820px;
    color: var(--ag-ink);
    font-size: 17px;
    line-height: 1.78;
}

.content-prose > :first-child { margin-top: 0; }
.content-prose > :last-child { margin-bottom: 0; }
.content-prose p { margin: 0 0 1.35em; }
.content-prose h2,
.content-prose h3,
.content-prose h4 {
    margin: 2.1em 0 .7em;
    font-family: inherit;
    font-weight: 400;
    line-height: 1.15;
}
.content-prose h2 { font-size: clamp(30px, 3.3vw, 44px); }
.content-prose h3 { font-size: clamp(24px, 2.5vw, 32px); }
.content-prose h4 { font-size: 21px; }
.content-prose a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.content-prose ul,
.content-prose ol { margin: 0 0 1.5em; padding-left: 1.35em; }
.content-prose li + li { margin-top: .5em; }
.content-prose blockquote {
    margin: 2em 0;
    padding: 4px 0 4px 26px;
    border-left: 1px solid var(--ag-ink);
    font-family: inherit;
    font-size: 25px;
    line-height: 1.45;
}
.content-prose img,
.content-prose video,
.content-prose iframe { max-width: 100%; height: auto; }
.content-prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.content-prose th,
.content-prose td { padding: 12px 16px; border-bottom: 1px solid var(--ag-line); text-align: left; }

.content-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.content-actions .amorosa-button { width: auto; }

.feedback-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, .72fr);
    gap: clamp(40px, 7vw, 110px);
    align-items: start;
}
.contact-layout { max-width: 1040px; }

.contact-details { display: grid; gap: 1px; background: var(--ag-line); border: 1px solid var(--ag-line); }
.contact-card { display: block; min-width: 0; padding: 25px 28px; background: var(--ag-paper); color: var(--ag-ink); text-decoration: none; }
.contact-card span { display: block; margin-bottom: 8px; color: var(--ag-muted); font-size: 11px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.contact-card strong { font-family: inherit; font-size: 23px; font-weight: 400; overflow-wrap: anywhere; }
a.contact-card { transition: background-color .2s ease; }
a.contact-card:hover,
a.contact-card:focus-visible { background: var(--ag-wash); }

.contact-map { min-height: 430px; overflow: hidden; background: var(--ag-wash); }
.contact-map iframe { display: block; width: 100%; height: 430px; border: 0; }
.contact-map__heading { display: flex; justify-content: space-between; gap: 24px; align-items: end; padding: 28px; background: var(--ag-wash); }
.contact-map__heading h2 { margin: 0; font-size: 29px; font-weight: 500; letter-spacing: -.035em; }
.contact-map__heading a { color: var(--ag-ink); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.contact-map__canvas { min-height: 420px; }
.contact-layout__details { max-width: 1040px; }
.contact-layout__details > h2 { margin: 0 0 25px; font-size: 34px; font-weight: 500; letter-spacing: -.035em; }
.contact-layout__details > .content-prose { margin-bottom: 30px; }
.contact-layout__details > .amorosa-button { margin-top: 28px; }
.contact-layout__details .contact-map { margin-top: 40px; }

.feedback-form-panel,
.feedback-contacts {
    padding-top: 4px;
}
.feedback-form-panel > h2,
.feedback-contacts > h2 {
    margin: 0 0 28px;
    font-family: inherit;
    font-size: 34px;
    font-weight: 400;
}
.feedback-contacts .contact-map { margin-top: 28px; min-height: 320px; }
.feedback-contacts .contact-map iframe { height: 320px; }

.content-form { display: grid; gap: 22px; }
.content-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.content-form .amorosa-field { margin: 0; }
.content-form .amorosa-field > span { display: block; margin-bottom: 9px; }
.content-form .amorosa-field em,
.content-form .amorosa-field b { color: #9b3131; font-style: normal; }
.content-form textarea { min-height: 150px; resize: vertical; }
.content-form .amorosa-button { justify-self: start; width: auto; min-width: 180px; }
.content-captcha,
.content-form__captcha { display: flex; gap: 18px; align-items: end; }
.content-captcha img,
.content-form__captcha img { flex: 0 0 auto; width: 120px; height: 50px; border: 1px solid var(--ag-line); object-fit: cover; }
.content-captcha .amorosa-field,
.content-form__captcha .amorosa-field { width: min(100%, 230px); }

.content-empty,
.error-state {
    max-width: 760px;
    margin: 76px auto 0;
    padding: 76px 36px;
    background: var(--ag-wash);
    text-align: center;
}
.content-empty__mark,
.error-state__code { display: block; margin-bottom: 18px; color: var(--ag-muted); font-size: 12px; font-weight: 600; letter-spacing: .22em; }
.content-empty h2,
.error-state h1 { margin: 0; font-family: inherit; font-size: clamp(36px, 5vw, 62px); font-weight: 400; line-height: 1.05; }
.content-empty p,
.error-state p { max-width: 520px; margin: 20px auto 30px; color: var(--ag-muted); font-size: 16px; line-height: 1.65; }
.content-empty .amorosa-button,
.error-state .amorosa-button { width: auto; }
.error-state__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.blog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px 28px; }
.blog-card { min-width: 0; }
.blog-card__media { display: block; aspect-ratio: 1.52 / 1; overflow: hidden; background: var(--ag-wash); text-decoration: none; }
.blog-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.blog-card__media:hover img { transform: scale(1.025); }
.blog-card__placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: var(--ag-muted); font-family: inherit; font-size: 52px; letter-spacing: -.04em; }
.blog-card__body { padding: 22px 0 0; }
.blog-card__date,
.article-header time { color: var(--ag-muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.blog-card h2 { margin: 11px 0 13px; font-family: inherit; font-size: clamp(27px, 3vw, 39px); font-weight: 400; line-height: 1.08; }
.blog-card h2 a { color: inherit; text-decoration: none; }
.blog-card__summary { color: var(--ag-muted); line-height: 1.65; }
.blog-card__summary > :first-child { margin-top: 0; }
.blog-card__summary > :last-child { margin-bottom: 0; }
.blog-card__link { display: inline-flex; gap: 10px; margin-top: 18px; color: var(--ag-ink); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-decoration: none; }
.blog-card__link span { transition: transform .2s ease; }
.blog-card__link:hover span { transform: translateX(4px); }
.blog-page .catalog-pagination { margin-top: 72px; }

.article-shell { max-width: 1120px; margin: 42px auto 0; }
.article-header { max-width: 920px; margin: 0 auto 54px; text-align: center; }
.article-header time { display: block; margin-top: 24px; }
.article-hero { margin: 0 0 56px; }
.article-hero img { display: block; width: 100%; max-height: 720px; object-fit: cover; }
.article-body { margin: 0 auto; }
.article-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; max-width: 960px; margin: 76px auto 0; background: var(--ag-line); border: 1px solid var(--ag-line); }
.article-nav a { padding: 25px 28px; background: var(--ag-paper); color: var(--ag-ink); text-decoration: none; }
.article-nav a:last-child { text-align: right; }
.article-nav span { display: block; margin-bottom: 7px; color: var(--ag-muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.article-nav strong { font-family: inherit; font-size: 20px; font-weight: 400; line-height: 1.25; }

.article-comments { max-width: 820px; margin: 92px auto 0; padding-top: 46px; border-top: 1px solid var(--ag-line); }
.article-comments__heading h2 { margin: 0 0 34px; font-family: inherit; font-size: 39px; font-weight: 400; }
.article-comments__heading h2 span { color: var(--ag-muted); }
.comment-list { margin-bottom: 52px; }
.comment-item { padding: 24px 0; border-bottom: 1px solid var(--ag-line); }
.comment-item__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; margin-bottom: 10px; }
.comment-item__meta strong { font-size: 14px; }
.comment-item__meta time,
.comment-item__meta span { color: var(--ag-muted); font-size: 11px; text-transform: uppercase; }
.comment-item__text { line-height: 1.65; }
.comment-children { margin-left: 34px; padding-left: 24px; border-left: 1px solid var(--ag-line); }
.comment-form { padding: 34px; background: var(--ag-wash); }
.comment-form h3 { margin: 0; font-family: inherit; font-size: 29px; font-weight: 400; }

@media (max-width: 991px) {
    .feedback-layout { grid-template-columns: 1fr; gap: 54px; }
    .feedback-contacts { max-width: 680px; }
}

@media (max-width: 767px) {
    .content-page { padding-top: 14px; padding-bottom: 64px; }
    .content-heading { margin: 28px 0 38px; }
    .content-heading h1,
    .article-header h1 { font-size: clamp(37px, 12vw, 52px); }
    .content-heading > p:last-child,
    .content-intro,
    .content-prose { font-size: 16px; }
    .content-form__grid,
    .blog-grid,
    .article-nav { grid-template-columns: 1fr; }
    .blog-grid { gap: 46px; }
    .contact-card { padding: 21px 22px; }
    .contact-map,
    .contact-map iframe { min-height: 340px; height: 340px; }
    .contact-map__heading { padding: 22px; align-items: flex-start; flex-direction: column; }
    .content-captcha,
    .content-form__captcha { align-items: flex-start; flex-direction: column; }
    .content-empty,
    .error-state { margin-top: 42px; padding: 54px 22px; }
    .article-shell { margin-top: 30px; }
    .article-header { margin-bottom: 38px; text-align: left; }
    .article-hero { margin-bottom: 38px; }
    .article-nav { margin-top: 54px; }
    .article-nav a:last-child { text-align: left; }
    .article-comments { margin-top: 64px; padding-top: 36px; }
    .comment-form { padding: 25px 20px; }
    .comment-children { margin-left: 12px; padding-left: 14px; }
}
