/*
Theme Name: dds_saratovsw.ru
Theme URI: https://saratovsw.ru
Author: Виноградова Полина
Author URI: https://saratovsw.ru
Description: Тема для информационного сайта об организации свадеб под ключ. Тёплая, элегантная и практичная стилистика для пар, планирующих своё торжество.
Version: 1.1
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: dds_saratovsw_ru
*/

/* ============================================================
   1. Базовые переменные и сброс
   ============================================================ */
:root {
    --bg-base: #FEF9F0;
    --bg-soft: #FBE9E4;
    --accent-rose: #C27A6B;
    --accent-rose-dark: #A76253;
    --accent-olive: #7D8B6B;
    --accent-olive-dark: #5F6C50;
    --text-main: #2E2E2A;
    --text-mute: #5A5A55;
    --error: #D86A5F;
    --line: #E6D9C8;
    --shadow-soft: 0 1px 3px rgba(46, 46, 42, 0.06);
    --radius-pill: 40px;
    --radius-soft: 12px;
    --radius-cap: 20px;
    --transition: 0.2s ease;
    --container: 1200px;
    --font-head: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-script: 'Caveat', 'Brush Script MT', cursive;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-base);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--accent-rose);
    text-decoration: none;
    transition: color var(--transition);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    color: var(--text-main);
    line-height: 1.25;
    margin: 1.4em 0 0.6em;
    letter-spacing: 0.01em;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }

p {
    margin: 0 0 1em;
}

ul, ol {
    margin: 0 0 1em;
    padding-left: 1.4em;
}

li { margin-bottom: 0.35em; }

blockquote {
    margin: 1.5em 0;
    padding: 1em 1.4em;
    border-left: 3px solid var(--accent-olive);
    background: rgba(125, 139, 107, 0.07);
    color: var(--text-mute);
    font-style: italic;
    border-radius: 0 var(--radius-soft) var(--radius-soft) 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    border: 1px solid var(--line);
}

th, td {
    border: 1px solid var(--line);
    padding: 0.7em 1em;
    text-align: left;
}

th {
    background: var(--bg-soft);
    font-family: var(--font-head);
    font-weight: 600;
}

code {
    background: var(--bg-soft);
    padding: 0.15em 0.4em;
    border-radius: 4px;
    font-size: 0.92em;
}

pre {
    background: #2A241E;
    color: #f5ecdf;
    padding: 1em 1.2em;
    border-radius: var(--radius-soft);
    overflow-x: auto;
}

pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

hr {
    border: none;
    border-top: 1px dashed var(--line);
    margin: 2em 0;
}

/* ============================================================
   2. Контейнеры и сетка
   ============================================================ */
.wrap {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.layout {
    display: flex;
    gap: 40px;
    margin: 40px auto;
}

.layout .content {
    flex: 0 0 67%;
    min-width: 0;
}

.layout .sidebar {
    flex: 0 0 27%;
}

.layout.no-sidebar .content {
    flex: 0 0 85%;
    margin: 0 auto;
}

@media (max-width: 960px) {
    .layout {
        flex-direction: column;
    }
    .layout .content,
    .layout .sidebar,
    .layout.no-sidebar .content {
        flex: 1 1 auto;
        width: 100%;
    }
}

/* ============================================================
   3. Шапка
   ============================================================ */
.site-top {
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 16px 0;
}

.site-top-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
}

.brand-logo {
    width: 56px;
    height: 56px;
    display: block;
    border-radius: 50%;
    background: var(--bg-soft);
    padding: 4px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-main);
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.brand-desc {
    font-size: 0.82rem;
    color: var(--text-mute);
    margin-top: 2px;
}

.primary-nav {
    margin-left: auto;
}

.primary-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
}

.primary-nav a {
    color: var(--text-main);
    font-family: var(--font-head);
    font-size: 0.96rem;
    font-weight: 500;
    padding: 6px 0;
    border-bottom: 1.5px dashed transparent;
    transition: border-color var(--transition), color var(--transition);
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a {
    color: var(--accent-rose);
    border-bottom-color: var(--accent-rose);
}

.menu-burger {
    display: none;
    background: transparent;
    border: 1px solid var(--accent-rose);
    color: var(--accent-rose);
    border-radius: var(--radius-soft);
    padding: 8px 14px;
    font-family: var(--font-head);
    cursor: pointer;
    margin-left: auto;
}

@media (max-width: 768px) {
    .primary-nav {
        flex: 1 1 100%;
        order: 3;
        margin-left: 0;
    }
    .primary-nav[hidden] { display: none !important; }
    .primary-nav ul {
        flex-direction: column;
        gap: 4px;
        padding: 12px 0 0;
        border-top: 1px dashed var(--line);
        margin-top: 12px;
    }
    .menu-burger {
        display: inline-block;
    }
}

/* ============================================================
   4. Хлебные крошки
   ============================================================ */
.crumbs {
    font-size: 0.86rem;
    color: var(--text-mute);
    padding: 14px 0;
    border-bottom: 1px dashed var(--line);
}

.crumbs a {
    color: var(--text-mute);
    border-bottom: 1px dotted transparent;
}

.crumbs a:hover {
    color: var(--accent-rose);
    border-bottom-color: var(--accent-rose);
}

.crumbs .sep {
    margin: 0 8px;
    color: var(--accent-olive);
}

.crumbs .here {
    color: var(--text-main);
}

/* ============================================================
   5. Карточки записей
   ============================================================ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
    margin: 30px 0;
}

.card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-soft);
    overflow: hidden;
    transition: transform var(--transition), border-color var(--transition);
}

.card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-rose);
}

.card-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.card-body {
    flex: 1;
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
}

.card-meta {
    font-size: 0.78rem;
    color: var(--text-mute);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.card-title {
    font-family: var(--font-head);
    font-size: 1.12rem;
    margin: 0 0 10px;
    line-height: 1.3;
}

.card-title a {
    color: var(--text-main);
}

.card-title a:hover {
    color: var(--accent-rose);
}

.card-excerpt {
    color: var(--text-mute);
    font-size: 0.94rem;
    margin-bottom: 14px;
}

.card-excerpt p {
    margin: 0 0 0.5em;
    background: none;
}

.card-more {
    margin-top: auto;
    align-self: flex-start;
    font-family: var(--font-head);
    font-weight: 500;
    color: var(--accent-rose);
    border-bottom: 1px dashed var(--accent-rose);
    padding: 2px 0;
    font-size: 0.92rem;
}

.card-more:hover {
    color: var(--accent-rose-dark);
    border-bottom-color: var(--accent-rose-dark);
}

/* ============================================================
   6. Кнопки
   ============================================================ */
.btn,
.btn-primary,
button.btn-primary {
    display: inline-block;
    background: var(--accent-rose);
    color: var(--bg-base);
    font-family: var(--font-head);
    font-weight: 500;
    padding: 12px 28px;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    transition: background var(--transition), box-shadow var(--transition);
    font-size: 0.96rem;
    text-align: center;
    line-height: 1.2;
}

.btn-primary:hover,
.btn:hover {
    background: var(--accent-rose-dark);
    box-shadow: inset 0 1px 6px rgba(0, 0, 0, 0.15);
    color: var(--bg-base);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--accent-rose);
    border: 1.5px solid var(--accent-rose);
    padding: 10px 24px;
    border-radius: var(--radius-soft);
    font-family: var(--font-head);
    transition: background var(--transition);
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(194, 122, 107, 0.1);
    color: var(--accent-rose);
}

.chip {
    display: inline-block;
    background: rgba(125, 139, 107, 0.2);
    color: var(--accent-olive-dark);
    font-family: var(--font-head);
    font-size: 0.85rem;
    padding: 6px 16px;
    border-radius: var(--radius-cap);
    margin: 2px 4px 2px 0;
    transition: background var(--transition), color var(--transition);
}

.chip:hover,
.chip.is-active {
    background: var(--accent-olive);
    color: #fff;
}

/* ============================================================
   7. Главная страница
   ============================================================ */
.front-section {
    margin: 50px 0;
}

.front-hero {
    background: linear-gradient(135deg, var(--bg-soft) 0%, var(--bg-base) 100%);
    padding: 60px 40px;
    border-radius: var(--radius-soft);
    text-align: center;
    border: 1px dashed var(--line);
}

.front-hero h1 {
    margin-top: 0;
    font-size: 2.4rem;
}

.front-hero .lead {
    font-size: 1.1rem;
    color: var(--text-mute);
    max-width: 720px;
    margin: 0 auto 26px;
}

.section-title {
    font-family: var(--font-head);
    font-size: 1.7rem;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.section-title::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 28px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C27A6B' stroke-width='1.5'><circle cx='9' cy='12' r='5'/><circle cx='15' cy='12' r='5'/></svg>");
    background-size: contain;
    background-repeat: no-repeat;
}

.section-lead {
    color: var(--text-mute);
    margin-bottom: 24px;
    max-width: 760px;
}

.timeline {
    position: relative;
    padding-left: 36px;
    margin: 30px 0;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background-image: linear-gradient(to bottom, var(--accent-rose) 50%, transparent 50%);
    background-size: 2px 8px;
    background-repeat: repeat-y;
}

.timeline-item {
    position: relative;
    padding: 10px 0 22px 14px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -32px;
    top: 16px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg-base);
    border: 2px solid var(--accent-rose);
}

.timeline-date {
    font-family: var(--font-head);
    font-size: 0.85rem;
    color: var(--accent-olive-dark);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.timeline-title {
    font-family: var(--font-head);
    margin: 4px 0 6px;
    font-size: 1.1rem;
}

.timeline-text {
    color: var(--text-mute);
    font-size: 0.95rem;
    margin: 0;
}

.calc-block {
    background: #fff;
    border: 1px dashed var(--accent-rose);
    border-radius: var(--radius-soft);
    padding: 32px;
    margin: 30px 0;
}

.calc-block h3 {
    margin-top: 0;
}

.calc-row {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 18px 0;
    flex-wrap: wrap;
}

.calc-row label {
    flex: 0 0 220px;
    font-family: var(--font-head);
    color: var(--text-main);
}

.calc-row input[type="range"] {
    flex: 1 1 200px;
    accent-color: var(--accent-rose);
}

.calc-value {
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--accent-rose);
    min-width: 90px;
    text-align: right;
}

.calc-result {
    margin-top: 22px;
    padding: 18px 22px;
    background: var(--bg-soft);
    border-radius: var(--radius-soft);
    font-family: var(--font-head);
    font-size: 1.15rem;
}

.calc-result strong {
    color: var(--accent-rose);
    font-size: 1.4rem;
}

.tone-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 20px 0 30px;
}

.invitation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    margin: 24px 0;
}

.invitation {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    padding: 28px 22px 22px;
    border-radius: 6px;
    box-shadow: var(--shadow-soft);
}

.invitation::after {
    content: "";
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    background: var(--accent-rose);
    border-radius: 50%;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5'><path d='M12 2 L14 9 L21 12 L14 15 L12 22 L10 15 L3 12 L10 9 Z'/></svg>");
    background-size: 18px;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.85;
}

.invitation-title {
    font-family: var(--font-script);
    font-size: 1.6rem;
    margin: 0 0 8px;
    color: var(--accent-rose);
    line-height: 1.1;
}

.invitation-text {
    color: var(--text-mute);
    font-size: 0.95rem;
    margin: 0 0 16px;
}

/* ============================================================
   8. Запись и контент
   ============================================================ */
.entry {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-soft);
    padding: 36px 40px;
}

.entry-header {
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px dashed var(--line);
}

.entry-header h1 {
    margin-top: 0;
}

.entry-meta {
    color: var(--text-mute);
    font-size: 0.88rem;
    margin-top: 8px;
}

.entry-meta span + span::before {
    content: "·";
    margin: 0 8px;
    color: var(--accent-olive);
}

.entry-content img {
    border-radius: var(--radius-soft);
    margin: 1em 0;
}

.entry-tags {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px dashed var(--line);
}

.author-card {
    margin-top: 36px;
    padding: 22px 24px;
    background: var(--bg-soft);
    border-radius: var(--radius-soft);
    display: flex;
    gap: 18px;
    align-items: center;
}

.author-card .author-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #fff;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent-rose);
    overflow: hidden;
}

.author-card .author-name {
    font-family: var(--font-head);
    font-weight: 600;
    margin: 0 0 4px;
}

.author-card .author-bio {
    font-size: 0.92rem;
    color: var(--text-mute);
    margin: 0 0 6px;
}

.author-card .author-sign {
    font-family: var(--font-script);
    font-size: 1.7rem;
    color: var(--accent-rose);
    line-height: 1;
}

@media (max-width: 600px) {
    .entry {
        padding: 24px 20px;
    }
}

/* ============================================================
   9. Сайдбар и виджеты
   ============================================================ */
.sidebar .widget {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-soft);
    padding: 20px 22px;
    margin-bottom: 24px;
}

.widget-title {
    font-family: var(--font-head);
    font-size: 1.05rem;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--line);
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget li {
    margin-bottom: 8px;
    padding-left: 16px;
    position: relative;
    font-size: 0.95rem;
}

.widget li::before {
    content: "○";
    position: absolute;
    left: 0;
    color: var(--accent-olive);
}

.widget li a {
    color: var(--text-main);
}

.widget li a:hover {
    color: var(--accent-rose);
}

.widget select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-soft);
    background: var(--bg-base);
    font-family: inherit;
}

/* ============================================================
   10. Форма поиска и комментарии
   ============================================================ */
.search-form {
    display: flex;
    gap: 8px;
    margin: 14px 0;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    background: #fff;
    font-family: inherit;
    font-size: 0.95rem;
}

.search-form input[type="search"]:focus {
    outline: 2px solid var(--accent-rose);
    outline-offset: 1px;
}

.search-form button {
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius-pill);
    background: var(--accent-rose);
    color: var(--bg-base);
    cursor: pointer;
    font-family: var(--font-head);
    transition: background var(--transition);
}

.search-form button:hover {
    background: var(--accent-rose-dark);
}

.comments-area {
    margin-top: 40px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-soft);
    padding: 28px 32px;
}

.comments-area h2 {
    margin-top: 0;
}

.comments-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment {
    border-bottom: 1px dashed var(--line);
    padding: 16px 0;
}

.comment:last-child {
    border-bottom: none;
}

.comment .children {
    list-style: none;
    margin: 14px 0 0;
    padding: 14px 0 0 24px;
    border-left: 2px dashed var(--line);
}

.comment-meta {
    font-size: 0.86rem;
    color: var(--text-mute);
    margin-bottom: 6px;
}

.comment-author {
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--text-main);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-soft);
    background: var(--bg-base);
    font-family: inherit;
    font-size: 0.96rem;
    margin-top: 6px;
}

.comment-form label {
    display: block;
    font-family: var(--font-head);
    color: var(--text-main);
    margin-bottom: 4px;
    margin-top: 14px;
}

.comment-form .form-submit {
    margin-top: 18px;
}

/* ============================================================
   11. Пагинация
   ============================================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 40px 0 20px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-soft);
    color: var(--text-main);
    font-family: var(--font-head);
    background: #fff;
    transition: all var(--transition);
}

.pagination a:hover {
    background: var(--accent-rose);
    color: var(--bg-base);
    border-color: var(--accent-rose);
}

.pagination .current {
    background: var(--accent-olive);
    color: #fff;
    border-color: var(--accent-olive);
}

.pagination .dots {
    border-color: transparent;
    background: transparent;
}

/* ============================================================
   12. Подвал
   ============================================================ */
.site-bottom {
    background: #2A241E;
    color: #d6ccba;
    padding: 50px 0 20px;
    margin-top: 60px;
}

.site-bottom a {
    color: #f0d8c8;
}

.site-bottom a:hover {
    color: #fff;
}

.bottom-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
}

.bottom-cols .widget {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

.bottom-cols .widget-title {
    color: #f5ecdf;
    border-bottom-color: rgba(245, 236, 223, 0.2);
    font-family: var(--font-head);
}

.bottom-cols .widget li::before {
    color: var(--accent-rose);
}

.bottom-cols .widget li a {
    color: #d6ccba;
}

.copy {
    margin-top: 36px;
    padding-top: 18px;
    border-top: 1px solid rgba(245, 236, 223, 0.15);
    text-align: center;
    font-size: 0.86rem;
    color: #b8ad9c;
}

@media (max-width: 768px) {
    .bottom-cols {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ============================================================
   13. Cookie-баннер (правило A11 — порядок важен)
   ============================================================ */
.cookie-banner[hidden] {
    display: none !important;
}

.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 999;
    background: #2A241E;
    color: #f5ecdf;
    border-radius: var(--radius-soft);
    padding: 16px 22px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.cookie-banner p {
    margin: 0;
    flex: 1 1 280px;
    font-size: 0.92rem;
    line-height: 1.5;
}

.cookie-banner a {
    color: #f5d9c8;
    text-decoration: underline;
}

.cookie-banner button {
    background: var(--accent-rose);
    color: var(--bg-base);
    border: none;
    border-radius: var(--radius-pill);
    padding: 9px 22px;
    font-family: var(--font-head);
    cursor: pointer;
    transition: background var(--transition);
}

.cookie-banner button:hover {
    background: var(--accent-rose-dark);
}

/* ============================================================
   14. 404
   ============================================================ */
.notfound {
    text-align: center;
    padding: 60px 20px;
}

.notfound h1 {
    font-size: 4rem;
    color: var(--accent-rose);
    margin: 0;
}

.notfound p {
    color: var(--text-mute);
    font-size: 1.1rem;
}

.notfound .search-form {
    max-width: 460px;
    margin: 30px auto;
}

/* ============================================================
   15. Прочее
   ============================================================ */
.alignleft  { float: left;  margin: 0.4em 1.4em 0.6em 0; }
.alignright { float: right; margin: 0.4em 0 0.6em 1.4em; }
.aligncenter { display: block; margin: 0.6em auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.86rem; color: var(--text-mute); text-align: center; }

.screen-reader-text {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 600px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.4rem; }
    .front-hero { padding: 40px 22px; }
    .front-hero h1 { font-size: 1.8rem; }
    .calc-row label { flex: 1 1 100%; }
    .entry { padding: 24px 18px; }
    .comments-area { padding: 22px 18px; }
}
