/*
Theme Name: dds_disneygiveawaypriceline.com
Theme URI: https://disneygiveawaypriceline.com/
Author: Воробьева Александра
Author URI: https://disneygiveawaypriceline.com/
Description: Тема для информационного сайта «Кредиты и ипотека: советы по займам». Доверительный финансовый стиль, бледно-мятные блоки советов, янтарные акценты, встроенный датчик финансовой нагрузки и ипотечный калькулятор.
Version: 1.1
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dgpl
*/

/* ---------------------------------------------------------------
   1. RESET / BASE
---------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, -apple-system, "San Francisco", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: #4A5568;
    background-color: #F8F9FA;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: #1E6F5C;
    text-decoration: none;
    transition: color .15s ease;
}

a:hover,
a:focus {
    color: #0F4C3F;
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    color: #2C3E50;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 .6em;
}

h1 { font-size: 2.05em; }
h2 { font-size: 1.6em; }
h3 { font-size: 1.3em; }
h4 { font-size: 1.12em; }

p {
    margin: 0 0 1em;
}

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

li { margin-bottom: .35em; }

blockquote {
    margin: 1.4em 0;
    padding: 1em 1.25em;
    border-left: 4px solid #1E6F5C;
    background: #E6F4F1;
    color: #2C3E50;
    border-radius: 0 8px 8px 0;
}

code, pre {
    font-family: "SFMono-Regular", Menlo, Consolas, monospace;
    font-size: .95em;
}

pre {
    background: #2C3E50;
    color: #F8F9FA;
    padding: 1em 1.2em;
    border-radius: 8px;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.2em 0;
    border: 1px solid #d8dee4;
}

th, td {
    padding: .65em .9em;
    border: 1px solid #d8dee4;
    text-align: left;
}

th {
    background: #E6F4F1;
    color: #2C3E50;
    font-weight: 600;
}

tr:nth-child(even) td { background: #fafbfc; }

hr {
    border: 0;
    border-top: 1px solid #d8dee4;
    margin: 2em 0;
}

/* ---------------------------------------------------------------
   2. LAYOUT
---------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-main {
    padding: 36px 0 60px;
}

.layout {
    display: grid;
    gap: 32px;
    grid-template-columns: minmax(0, 1fr);
}

.layout--with-sidebar {
    grid-template-columns: minmax(0, 67%) minmax(0, 27%);
    gap: 6%;
}

.layout--full {
    grid-template-columns: minmax(0, 85%);
    margin: 0 auto;
}

@media (max-width: 960px) {
    .layout--with-sidebar {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }
    .layout--full {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ---------------------------------------------------------------
   3. HEADER
---------------------------------------------------------------- */
.site-header {
    background: #FFFFFF;
    border-bottom: 1px solid #e3e6eb;
}

.site-header-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 18px 0;
    flex-wrap: wrap;
}

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

.brand:hover { text-decoration: none; }

.brand-logo {
    width: 52px;
    height: 52px;
    display: block;
    flex-shrink: 0;
}

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

.brand-name {
    font-weight: 700;
    color: #2C3E50;
    font-size: 1.05em;
}

.brand-desc {
    font-size: .82em;
    color: #6b7280;
    max-width: 360px;
}

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

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

.primary-nav li { margin: 0; }

.primary-nav a {
    display: block;
    padding: 9px 14px;
    color: #2C3E50;
    font-weight: 500;
    border-radius: 6px;
    transition: background .15s ease, color .15s ease;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a {
    background: #E6F4F1;
    color: #1E6F5C;
    text-decoration: none;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid #d8dee4;
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    font: inherit;
    color: #2C3E50;
    margin-left: auto;
}

@media (max-width: 960px) {
    .menu-toggle { display: inline-flex; align-items: center; gap: 8px; }
    .primary-nav {
        flex-basis: 100%;
        margin-left: 0;
        display: none;
    }
    .primary-nav.is-open { display: block; }
    .primary-nav ul {
        flex-direction: column;
        gap: 2px;
    }
}

/* Mortgage calculator strip under menu */
.calc-strip {
    background: #E6F4F1;
    border-bottom: 1px solid #cfe5dd;
    padding: 14px 0;
}

.calc-strip-inner {
    display: flex;
    align-items: end;
    flex-wrap: wrap;
    gap: 12px;
}

.calc-strip-title {
    font-weight: 700;
    color: #2C3E50;
    margin-right: 10px;
    line-height: 1.2;
}

.calc-strip-title small {
    display: block;
    font-weight: 400;
    color: #6b7280;
    font-size: .75em;
}

.calc-field {
    display: flex;
    flex-direction: column;
    font-size: .82em;
    color: #4A5568;
}

.calc-field input {
    width: 130px;
    padding: 8px 10px;
    border: 1px solid #cfd6dc;
    border-radius: 6px;
    font: inherit;
    background: #fff;
    color: #2C3E50;
}

.calc-field input:focus {
    outline: 2px solid #1E6F5C;
    outline-offset: 1px;
    border-color: #1E6F5C;
}

.calc-result {
    margin-left: auto;
    background: #FFFFFF;
    border: 1px solid #cfe5dd;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 600;
    color: #1E6F5C;
}

.calc-result span {
    color: #2C3E50;
    font-size: 1.1em;
}

@media (max-width: 600px) {
    .calc-strip-inner { gap: 10px; }
    .calc-field input { width: 100%; }
    .calc-field { flex: 1 1 45%; }
    .calc-result { margin-left: 0; flex-basis: 100%; text-align: center; }
}

/* ---------------------------------------------------------------
   4. BUTTONS
---------------------------------------------------------------- */
.btn,
.button,
input[type="submit"],
button[type="submit"] {
    display: inline-block;
    padding: 11px 22px;
    background: #F4A261;
    color: #ffffff;
    font-weight: 700;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    font: 700 1em/1 Inter, -apple-system, sans-serif;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.btn:hover,
.button:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
    background: #ea914b;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(244, 162, 97, .28);
    text-decoration: none;
}

.btn--ghost {
    background: transparent;
    color: #1E6F5C;
    border: 2px solid #1E6F5C;
    padding: 9px 20px;
}

.btn--ghost:hover {
    background: #1E6F5C;
    color: #ffffff;
    box-shadow: 0 6px 14px rgba(30, 111, 92, .18);
}

.btn--calc::before {
    content: "%";
    display: inline-block;
    margin-right: 8px;
    background: rgba(255,255,255,.25);
    border-radius: 4px;
    padding: 0 6px;
    font-weight: 800;
}

/* ---------------------------------------------------------------
   5. BREADCRUMBS
---------------------------------------------------------------- */
.crumbs {
    font-size: .88em;
    color: #6b7280;
    padding: 14px 0 0;
    margin-bottom: 6px;
}

.crumbs ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
}

.crumbs li { margin: 0; }

.crumbs li + li::before {
    content: "›";
    margin-right: 8px;
    color: #adb4bc;
}

.crumbs a { color: #1E6F5C; }

.crumbs .crumb-current { color: #2C3E50; }

/* ---------------------------------------------------------------
   6. CARDS (POST LISTING)
---------------------------------------------------------------- */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.card {
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border: 1px solid #e3e6eb;
    border-radius: 12px;
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(44, 62, 80, .08);
}

.card-thumb-wrap {
    position: relative;
    overflow: hidden;
    background: #E6F4F1;
}

.card-thumb-wrap img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    transition: transform .25s ease;
}

.card:hover .card-thumb-wrap img { transform: scale(1.03); }

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

.card-tag {
    display: inline-block;
    align-self: flex-start;
    font-size: .72em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 4px 10px;
    border-radius: 999px;
}

.card-tag--urgent  { background: #fbe1da; color: #b94a30; }
.card-tag--important { background: #fde4c1; color: #b8742d; }
.card-tag--checklist { background: #d3eee6; color: #1E6F5C; }

.card-title {
    margin: 0;
    font-size: 1.1em;
    line-height: 1.3;
}

.card-title a {
    color: #2C3E50;
}

.card-title a:hover {
    color: #1E6F5C;
    text-decoration: none;
}

.card-meta {
    font-size: .82em;
    color: #6b7280;
    margin: 0;
}

.card-meta a { color: #6b7280; }
.card-meta a:hover { color: #1E6F5C; }

.card-excerpt {
    color: #4A5568;
    font-size: .94em;
    line-height: 1.55;
}

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

.card-more {
    margin-top: auto;
    align-self: flex-start;
    font-weight: 600;
    color: #1E6F5C;
}

.card-more::after {
    content: "→";
    margin-left: 6px;
    transition: transform .15s ease;
    display: inline-block;
}

.card-more:hover::after { transform: translateX(3px); }

/* Horizontal card layout (used on archives if desired) */
.card--row {
    flex-direction: row;
}

.card--row .card-thumb-wrap {
    flex: 0 0 280px;
    position: relative;
}

.card--row .card-thumb-wrap a {
    display: block;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
}

.card--row .card-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: auto;
}

@media (max-width: 600px) {
    .card--row { flex-direction: column; }
    .card--row .card-thumb-wrap {
        flex: none;
        width: 100%;
        position: static;
    }
    .card--row .card-thumb-wrap a { position: static; }
    .card--row .card-thumb-wrap img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }
}

/* ---------------------------------------------------------------
   7. SIDEBAR
---------------------------------------------------------------- */
.sidebar .widget {
    background: #FFFFFF;
    border: 1px solid #e3e6eb;
    border-radius: 12px;
    padding: 20px 22px;
    margin-bottom: 22px;
}

.sidebar .widget-title,
.sidebar h2.widget-title,
.sidebar h3 {
    margin-top: 0;
    color: #2C3E50;
    font-size: 1.05em;
    border-bottom: 2px solid #E6F4F1;
    padding-bottom: 9px;
    margin-bottom: 14px;
}

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

.sidebar ul li {
    padding: 7px 0;
    border-bottom: 1px solid #f0f2f5;
}

.sidebar ul li:last-child { border-bottom: 0; }

.sidebar ul li a { color: #2C3E50; }
.sidebar ul li a:hover { color: #1E6F5C; }

/* ---------------------------------------------------------------
   8. SINGLE POST / PAGE
---------------------------------------------------------------- */
.entry {
    background: #FFFFFF;
    border: 1px solid #e3e6eb;
    border-radius: 14px;
    padding: 28px 32px 32px;
}

.entry-header { margin-bottom: 18px; }

.entry-title {
    margin: 0 0 12px;
    font-size: 2em;
}

.entry-meta {
    color: #6b7280;
    font-size: .9em;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.entry-meta a { color: #6b7280; }
.entry-meta a:hover { color: #1E6F5C; }

.entry-thumb {
    margin: 0 -12px 22px;
    border-radius: 10px;
    overflow: hidden;
}

.entry-thumb img { display: block; width: 100%; height: auto; }

.entry-content p { margin: 0 0 1.1em; }

.entry-content img {
    display: block;
    border-radius: 8px;
    margin: 1em 0;
}

.entry-content blockquote { background: #E6F4F1; }

.entry-footer {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #e3e6eb;
    font-size: .9em;
    color: #6b7280;
}

.entry-tags a {
    display: inline-block;
    background: #E6F4F1;
    color: #1E6F5C;
    padding: 3px 10px;
    border-radius: 999px;
    margin: 2px 2px 2px 0;
    font-size: .85em;
}

.entry-tags a:hover { background: #1E6F5C; color: #fff; text-decoration: none; }

@media (max-width: 600px) {
    .entry { padding: 22px 18px; }
    .entry-title { font-size: 1.55em; }
}

/* ---------------------------------------------------------------
   9. PAGINATION
---------------------------------------------------------------- */
.pager {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

.pager .page-numbers {
    display: inline-block;
    min-width: 38px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    padding: 0 12px;
    margin: 0 3px;
    background: #FFFFFF;
    color: #2C3E50;
    border: 1px solid #d8dee4;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.pager .page-numbers:hover {
    background: #E6F4F1;
    color: #1E6F5C;
    border-color: #1E6F5C;
    text-decoration: none;
}

.pager .page-numbers.current {
    background: #1E6F5C;
    color: #FFFFFF;
    border-color: #1E6F5C;
}

.pager .page-numbers.dots {
    background: transparent;
    border-color: transparent;
}

/* ---------------------------------------------------------------
   10. FRONT PAGE — STRESS GAUGE & SECTIONS
---------------------------------------------------------------- */
.front-section {
    background: #FFFFFF;
    border: 1px solid #e3e6eb;
    border-radius: 14px;
    padding: 30px 32px 34px;
    margin-bottom: 36px;
}

.front-section + .front-section { margin-top: 0; }

.front-section--mint {
    background: #E6F4F1;
    border-color: #cfe5dd;
}

.front-section h2 {
    margin-top: 0;
}

.section-lead {
    font-size: 1.05em;
    color: #4A5568;
    max-width: 720px;
    margin: 0 0 18px;
}

/* Stress gauge widget */
.gauge {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 18px 22px 22px;
    border: 1px solid #cfe5dd;
}

.gauge-track {
    position: relative;
    height: 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, #2e8c6a 0%, #6cae58 35%, #F4A261 70%, #E07A5F 100%);
    margin: 22px 4px 8px;
}

.gauge-input {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    background: transparent;
    margin: -5px 0;
    cursor: pointer;
}

.gauge-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 3px solid #1E6F5C;
    box-shadow: 0 2px 6px rgba(0,0,0,.18);
}

.gauge-input::-moz-range-thumb {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 3px solid #1E6F5C;
    box-shadow: 0 2px 6px rgba(0,0,0,.18);
}

.gauge-scale {
    display: flex;
    justify-content: space-between;
    font-size: .78em;
    color: #6b7280;
    margin: 0 4px;
}

.gauge-readout {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 10px;
    background: #E6F4F1;
    color: #2C3E50;
    border-left: 4px solid #1E6F5C;
    transition: background .25s ease, border-color .25s ease, color .25s ease;
}

.gauge-readout strong { display: block; margin-bottom: 4px; }

.gauge-readout[data-level="low"]  { background: #d6ecdc; border-color: #2e8c6a; }
.gauge-readout[data-level="mid"]  { background: #fdecd6; border-color: #F4A261; color: #2C3E50; }
.gauge-readout[data-level="high"] { background: #fbe1da; border-color: #E07A5F; color: #2C3E50; }

/* Category cards */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.cat-card {
    display: block;
    padding: 22px 22px 24px;
    background: #FFFFFF;
    border: 1px solid #e3e6eb;
    border-radius: 12px;
    color: #2C3E50;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
    text-decoration: none;
}

.cat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(44,62,80,.08);
    border-color: #cfe5dd;
    color: #1E6F5C;
    text-decoration: none;
}

.cat-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E6F4F1;
    color: #1E6F5C;
    border-radius: 10px;
    font-weight: 800;
    font-size: 1.1em;
    margin-bottom: 12px;
}

.cat-name {
    font-weight: 700;
    font-size: 1.05em;
    margin-bottom: 4px;
}

.cat-text {
    font-size: .9em;
    color: #6b7280;
}

/* Steps list */
.steps {
    list-style: none;
    counter-reset: step;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.steps li {
    background: #FFFFFF;
    border: 1px solid #cfe5dd;
    border-radius: 12px;
    padding: 22px 22px 20px 60px;
    position: relative;
    counter-increment: step;
}

.steps li::before {
    content: counter(step);
    position: absolute;
    left: 18px;
    top: 18px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #1E6F5C;
    color: #FFFFFF;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.steps h3 {
    margin: 0 0 6px;
    font-size: 1.05em;
}

.steps p { margin: 0; color: #4A5568; font-size: .95em; }

/* Notice plate */
.notice {
    background: #fdecd6;
    border-left: 4px solid #F4A261;
    color: #2C3E50;
    padding: 14px 18px;
    border-radius: 0 10px 10px 0;
    margin: 18px 0;
}

.notice--alert {
    background: #fbe1da;
    border-color: #E07A5F;
}

/* ---------------------------------------------------------------
   11. FOOTER
---------------------------------------------------------------- */
.site-footer {
    background: #2C3E50;
    color: #cdd5dd;
    margin-top: 30px;
    padding: 40px 0 0;
}

.site-footer a { color: #E6F4F1; }
.site-footer a:hover { color: #F4A261; }

.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

@media (max-width: 960px) {
    .footer-cols { grid-template-columns: minmax(0, 1fr); gap: 26px; }
}

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

.footer-cols .widget-title,
.footer-cols h2.widget-title,
.footer-cols h3 {
    color: #FFFFFF;
    font-size: 1.05em;
    margin: 0 0 12px;
    padding-bottom: 9px;
    border-bottom: 2px solid #1E6F5C;
}

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

.footer-cols ul li {
    padding: 5px 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.footer-cols ul li:last-child { border-bottom: 0; }

/* Footer consultation form */
.consult {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    padding: 22px 24px;
    border-radius: 12px;
    margin-top: 28px;
}

.consult h2 {
    color: #FFFFFF;
    margin: 0 0 6px;
    font-size: 1.2em;
}

.consult p { color: #cdd5dd; margin: 0 0 14px; font-size: .95em; }

.consult-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 10px;
}

.consult-form input {
    padding: 11px 14px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 8px;
    background: rgba(255,255,255,.06);
    color: #FFFFFF;
    font: inherit;
}

.consult-form input::placeholder { color: #9aa6b2; }

.consult-form input:focus {
    outline: 2px solid #F4A261;
    outline-offset: 1px;
    background: rgba(255,255,255,.1);
}

@media (max-width: 700px) {
    .consult-form { grid-template-columns: minmax(0, 1fr); }
}

.copyright {
    border-top: 1px solid rgba(255,255,255,.08);
    margin-top: 36px;
    padding: 16px 0;
    font-size: .9em;
    text-align: center;
    color: #9aa6b2;
}

/* ---------------------------------------------------------------
   12. SEARCH FORM
---------------------------------------------------------------- */
.search-form {
    display: flex;
    gap: 8px;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #d8dee4;
    border-radius: 8px;
    background: #FFFFFF;
    font: inherit;
    color: #2C3E50;
    min-width: 0;
}

.search-form input[type="search"]:focus {
    outline: 2px solid #1E6F5C;
    outline-offset: 1px;
    border-color: #1E6F5C;
}

/* ---------------------------------------------------------------
   13. COMMENTS
---------------------------------------------------------------- */
.comments-area {
    margin-top: 32px;
    background: #FFFFFF;
    border: 1px solid #e3e6eb;
    border-radius: 14px;
    padding: 26px 30px;
}

.comments-title {
    margin: 0 0 18px;
    font-size: 1.35em;
}

.comment-list {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
}

.comment-list li {
    padding: 18px 0;
    border-bottom: 1px solid #eef0f3;
}

.comment-list li:last-child { border-bottom: 0; }

.comment-list .children {
    list-style: none;
    margin: 16px 0 0;
    padding: 0 0 0 22px;
    border-left: 2px solid #E6F4F1;
}

.comment-author {
    font-weight: 600;
    color: #2C3E50;
}

.comment-meta {
    color: #6b7280;
    font-size: .85em;
    margin-bottom: 8px;
}

.comment-content p { margin: 0 0 .5em; }

.comment-respond {
    margin-top: 10px;
    background: #E6F4F1;
    border-radius: 10px;
    padding: 18px 20px;
}

.comment-respond label {
    display: block;
    font-size: .9em;
    margin: 8px 0 4px;
    color: #2C3E50;
    font-weight: 500;
}

.comment-respond input[type=text],
.comment-respond input[type=email],
.comment-respond input[type=url],
.comment-respond textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d8dee4;
    border-radius: 8px;
    background: #FFFFFF;
    font: inherit;
    color: #2C3E50;
}

.comment-respond textarea { min-height: 110px; }

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

/* ---------------------------------------------------------------
   14. COOKIE BANNER
   IMPORTANT: [hidden] rule MUST come before main banner styles (A11)
---------------------------------------------------------------- */
.cookie-banner[hidden] { display: none !important; }

.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 9999;
    background: #2C3E50;
    color: #F8F9FA;
    border-radius: 12px;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    box-shadow: 0 14px 38px rgba(0,0,0,.22);
}

.cookie-banner p {
    margin: 0;
    flex: 1 1 320px;
    font-size: .95em;
    line-height: 1.5;
}

.cookie-banner a { color: #F4A261; }

.cookie-banner button {
    background: #F4A261;
    color: #FFFFFF;
    border: 0;
    padding: 9px 22px;
    border-radius: 8px;
    font: 600 .95em Inter, -apple-system, sans-serif;
    cursor: pointer;
    transition: background .15s ease, transform .15s ease;
}

.cookie-banner button:hover {
    background: #ea914b;
    transform: translateY(-1px);
}

/* ---------------------------------------------------------------
   15. 404
---------------------------------------------------------------- */
.error-404 {
    text-align: center;
    background: #FFFFFF;
    border: 1px solid #e3e6eb;
    border-radius: 14px;
    padding: 60px 30px;
}

.error-404 .big {
    font-size: 5em;
    margin: 0;
    color: #1E6F5C;
    letter-spacing: -.02em;
}

.error-404 h1 {
    margin: 8px 0 14px;
    font-size: 1.6em;
}

.error-404 .search-form {
    max-width: 460px;
    margin: 22px auto 18px;
}

/* ---------------------------------------------------------------
   16. UTILITIES
---------------------------------------------------------------- */
.screen-reader-text {
    border: 0;
    clip: rect(1px,1px,1px,1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.alignleft  { float: left;  margin: 0 1.4em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.4em; }
.aligncenter { display: block; margin: 1em auto; }

.wp-caption {
    max-width: 100%;
    margin: 1em 0;
}

.wp-caption-text {
    font-size: .85em;
    color: #6b7280;
    text-align: center;
    margin-top: 6px;
}

.sticky { box-shadow: 0 0 0 2px #F4A261 inset; }

/* ---------------------------------------------------------------
   17. SMALL SCREENS — refinements
---------------------------------------------------------------- */
@media (max-width: 600px) {
    body { font-size: 15.5px; }
    h1 { font-size: 1.7em; }
    h2 { font-size: 1.35em; }
    .site-header-inner { gap: 14px; }
    .brand-desc { display: none; }
    .front-section { padding: 22px 18px; }
    .entry { padding: 22px 18px; }
    .comments-area { padding: 22px 18px; }
}
