/* EaseMyBlogs design system. Loaded after style-1.css, which it overrides where needed.
   Brand colours are unchanged: amber, black, slate. --brand-text is the same amber hue,
   darkened only where small text sits on white, so it stays readable. */
@font-face { font-family: "Manrope"; src: url("../fonts/Manrope-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/Manrope-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
    --brand: #FFB22C;
    --brand-hover: #FF9D00;
    --brand-text: #A86400;
    --brand-tint: #FFF6E5;
    --black: #000;
    --slate: #2c3e50;
    --slate-2: #34495e;
    --ink: #1a1a1a;
    --body: #3d4650;
    --muted: #5f6b76;
    --line: #e7eaee;
    --surface: #fff;
    --canvas: #f8f9fa;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .07);
    --shadow-md: 0 8px 24px rgba(16, 24, 40, .1);
    --font-head: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { font-family: var(--font-body); background: var(--canvas); color: var(--body); line-height: 1.65; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--ink); font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
a { color: inherit; transition: color .15s ease, background-color .15s ease, border-color .15s ease; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100000; background: var(--brand); color: var(--ink); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn-brand { background: var(--brand); border: 1px solid var(--brand); color: var(--ink); font-weight: 700; border-radius: var(--radius-sm); padding: .65rem 1.25rem; }
.btn-brand:hover, .btn-brand:focus { background: var(--brand-hover); border-color: var(--brand-hover); color: var(--ink); }
.btn-brand.btn-sm { padding: .4rem .9rem; font-size: .9rem; }
.btn-ghost { background: transparent; border: 1px solid rgba(255, 255, 255, .45); color: #fff; font-weight: 600; border-radius: var(--radius-sm); padding: .65rem 1.25rem; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }
.btn-primary { background: var(--brand); border-color: var(--brand); color: var(--ink); font-weight: 700; border-radius: var(--radius-sm); }
.btn-primary:hover, .btn-primary:focus, .btn-primary:active { background: var(--brand-hover) !important; border-color: var(--brand-hover) !important; color: var(--ink) !important; }

/* ---------- Header ---------- */
.site-nav.navbar { position: sticky; top: 0; background: var(--black); border-bottom: 1px solid rgba(255, 255, 255, .1); box-shadow: none; padding: 8px 0; z-index: 1030; }
.site-nav .navbar-brand { padding: 0; margin-right: 24px; }
.site-nav .navbar-brand img { height: 48px; width: auto; display: block; }
.site-nav .nav-link { color: #f1f1f1 !important; font-weight: 600; font-size: .95rem; padding: 8px 14px !important; border-radius: 8px; }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--brand) !important; }
.site-nav__toggle { border: 1px solid rgba(255, 255, 255, .35); color: #fff; font-size: 1.6rem; line-height: 1; padding: 6px 10px; }
.site-nav__toggle:focus { box-shadow: 0 0 0 3px rgba(255, 178, 44, .5); }
.site-nav__actions { display: flex; align-items: center; gap: 10px; }
.site-nav__avatar { background: none; border: 0; padding: 0; border-radius: 50%; }
.site-nav__avatar img { width: 38px; height: 38px; object-fit: cover; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); display: block; }
.site-search { position: relative; margin-right: 12px; }
.site-search i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #aab2bb; font-size: .85rem; pointer-events: none; }
.site-search input { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .15); color: #fff; border-radius: 999px; padding: 6px 14px 6px 32px; width: 190px; font-size: .9rem; }
.site-search input::placeholder { color: #aab2bb; }
.site-search input:focus { background: rgba(255, 255, 255, .16); border-color: var(--brand); outline: none; }
.site-nav .dropdown-menu { border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-md); padding: 6px; }
.site-nav .dropdown-item { border-radius: 8px; padding: 8px 12px; font-size: .95rem; }
.site-nav .dropdown-item:hover, .site-nav .dropdown-item:focus { background: var(--brand-tint); color: var(--ink); }

@media (max-width: 991.98px) {
    .site-nav .navbar-collapse { padding: 12px 0 8px; }
    .site-nav .nav-link { padding: 12px 8px !important; font-size: 1rem; }
    .site-search { margin: 8px 0 12px; }
    .site-search input { width: 100%; padding-top: 10px; padding-bottom: 10px; font-size: 16px; }
    .site-nav__actions { padding-top: 4px; }
    .site-nav__actions .btn { flex: 1; padding: .6rem; }
    .site-nav .dropdown-menu { box-shadow: none; }
}

.site-nav .nav-link.dropdown-toggle::after { font-size: .85rem; margin-left: 4px; vertical-align: .1em; }

/* ---------- Layout ---------- */
.container { padding-left: 16px; padding-right: 16px; }
.section { padding: 64px 0; }
.section--white { background: var(--surface); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.section__title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin: 0; }
.section__sub { color: var(--muted); margin: 6px 0 0; max-width: 640px; }
.section__link { color: var(--brand-text); font-weight: 700; white-space: nowrap; }
.section__link:hover { color: var(--ink); }
@media (max-width: 767.98px) { .section { padding: 44px 0; } }

/* ---------- Hero ---------- */
.hero-home { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--slate) 0%, var(--slate-2) 100%); color: #fff; padding: 72px 0; }
.hero-home::before, .page-head::before { content: ''; position: absolute; top: 0; right: 0; width: 50%; height: 100%; background: rgba(255, 178, 44, .05); border-radius: 50% 0 0 50%; pointer-events: none; }
.hero-home .container { position: relative; }
.hero-home__eyebrow { color: var(--brand); font-weight: 700; margin: 0 0 12px; }
.hero-home h1 { color: #fff; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); margin: 0 0 16px; }
.hero-home h1 span { color: var(--brand); }
.hero-home__lead { font-size: 1.125rem; color: rgba(255, 255, 255, .9); max-width: 560px; margin: 0 0 24px; }
.hero-home__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-home__image img { display: block; margin: 0 auto; width: 100%; max-width: 420px; height: auto; border-radius: var(--radius); }
.subscribe { display: flex; gap: 10px; max-width: 460px; }
.subscribe input { flex: 1; min-width: 0; padding: 12px 16px; font-size: 16px; border-radius: var(--radius-sm); border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .1); color: #fff; }
.subscribe input::placeholder { color: rgba(255, 255, 255, .7); }
.subscribe input:focus { border-color: var(--brand); outline: none; }
.subscribe__label { font-size: .9rem; color: rgba(255, 255, 255, .8); margin: 0 0 8px; }
.subscribe__error { color: #ffd98a; font-size: .9rem; margin: 8px 0 0; }
@media (max-width: 991.98px) { .hero-home { padding: 48px 0; } .hero-home__image { margin-top: 32px; } .hero-home__image img { max-width: 280px; } }
@media (max-width: 575.98px) { .subscribe { flex-direction: column; } .hero-home__cta .btn { flex: 1 1 100%; } .hero-home__image img { max-width: 220px; } }

/* ---------- Page header (lists, author, search) ---------- */
.page-head { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--slate) 0%, var(--slate-2) 100%); color: #fff; padding: 48px 0; }
.page-head .container { position: relative; }
.page-head h1 { color: #fff; font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem); margin: 0 0 8px; }
.page-head h1 span { color: var(--brand); }
.page-head p { color: rgba(255, 255, 255, .88); max-width: 640px; margin: 0; }

/* ---------- Breadcrumbs ---------- */
.crumbs { background: var(--black); padding: 10px 0; font-size: .9rem; }
.crumbs ol { list-style: none; margin: 0; padding: 0; }
.crumbs li { display: inline; color: #fff; }
.crumbs li + li::before { content: '/'; color: #8b95a0; margin: 0 8px; }
.crumbs a { color: #fff; }
.crumbs a:hover { color: var(--brand); }
.crumbs [aria-current] { color: var(--brand); font-weight: 600; }
/* Older pages keep their own breadcrumb markup. */
ol.breadcrumb { justify-content: flex-start; }
.ct-breacrum { padding: 10px 0; font-size: .9rem; }
.breadcrumb-item + .breadcrumb-item::before { color: #8b95a0; }
.ct-breacrum .account { color: var(--brand); }

/* ---------- Filter chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-size: .9rem; font-weight: 600; }
.chip:hover { border-color: var(--brand); color: var(--ink); }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: var(--ink); }

/* ---------- Blog card ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.col-lg-9 .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 991.98px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639.98px) { .card-grid, .col-lg-9 .card-grid { grid-template-columns: minmax(0, 1fr); } }
.post-card { position: relative; display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s ease, transform .2s ease; }
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.post-card__media { display: block; aspect-ratio: 16 / 10; background: #eef0f3; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px; }
.post-card__cat { align-self: flex-start; position: relative; z-index: 2; font-size: .78rem; font-weight: 700; color: var(--brand-text); background: var(--brand-tint); padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.post-card__cat:hover { background: var(--brand); color: var(--ink); }
.post-card__title { font-size: 1.1rem; margin: 0 0 8px; }
.post-card__title a { color: var(--ink); }
.post-card__title a::after { content: ''; position: absolute; inset: 0; }
.post-card:hover .post-card__title a { color: var(--brand-text); }
.post-card__text { font-size: .94rem; color: var(--muted); margin: 0 0 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__meta { position: relative; z-index: 2; margin-top: auto; display: flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--muted); }
.post-card__meta img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; }
.post-card__author { display: block; color: var(--ink); font-weight: 600; line-height: 1.3; }
.post-card__author:hover { color: var(--brand-text); }

/* ---------- Home sections ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature__icon { font-size: 1.6rem; color: var(--brand-text); display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; background: var(--brand-tint); border-radius: 12px; margin-bottom: 14px; }
.feature h3 { font-size: 1.05rem; margin: 0 0 6px; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; counter-reset: step; padding: 0; margin: 0; list-style: none; }
.steps li { counter-increment: step; background: var(--canvas); border-radius: var(--radius); padding: 22px; }
.steps li::before { content: counter(step); display: flex; width: 36px; height: 36px; align-items: center; justify-content: center; background: var(--brand); color: var(--ink); border-radius: 50%; font-weight: 800; margin-bottom: 12px; }
.steps h3 { font-size: 1.05rem; margin: 0 0 6px; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }
.about-copy { max-width: 780px; }
.about-copy p { font-size: 1.05rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 12px; text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); color: var(--ink); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .92rem; }
.band { background: var(--brand); color: var(--ink); padding: 56px 0; }
.band h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.25rem); margin: 0 0 12px; }
.band p { font-size: 1.05rem; margin: 0; max-width: 560px; }
.band__images { display: flex; gap: 14px; justify-content: center; }
.band__images img { width: 46%; max-width: 240px; border-radius: var(--radius); box-shadow: var(--shadow-md); object-fit: cover; aspect-ratio: 3 / 2; }
.cta { background: var(--black); color: #fff; padding: 56px 0; text-align: center; }
.cta h2 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.25rem); margin: 0 0 12px; }
.cta p { color: rgba(255, 255, 255, .85); max-width: 600px; margin: 0 auto 24px; }
.faq { max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; }
.faq summary { cursor: pointer; font-family: var(--font-head); font-weight: 700; color: var(--ink); padding: 16px 44px 16px 18px; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--brand-text); }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { padding: 0 18px 16px; margin: 0; color: var(--muted); }

/* ---------- Article ---------- */
.article-head { background: linear-gradient(135deg, var(--slate) 0%, var(--slate-2) 100%); color: #fff; padding: 44px 0 40px; position: relative; overflow: hidden; }
.article-head__inner { max-width: 820px; position: relative; }
.article-head__type { display: inline-block; color: var(--ink); background: var(--brand); font-size: .8rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; margin-bottom: 14px; }
.article-head h1 { color: #fff; font-size: clamp(1.75rem, 1.3rem + 2.2vw, 2.75rem); margin: 0 0 14px; overflow-wrap: anywhere; }
.article-head__lead { color: rgba(255, 255, 255, .9); font-size: 1.1rem; margin: 0 0 18px; }
.byline { display: flex; align-items: center; gap: 12px; font-size: .92rem; color: rgba(255, 255, 255, .88); }
.byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.byline__name { color: #fff; font-weight: 700; }
.byline__name:hover { color: var(--brand); }
.byline__dot { opacity: .5; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.article-main { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.article-banner { display: block; width: 100%; height: auto; background: #eef0f3; }
.article-body { padding: 32px; }
.article-aside { position: sticky; top: 88px; display: grid; gap: 20px; max-height: calc(100vh - 104px); overflow-y: auto; }
.aside-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.aside-box__title { font-size: 1rem; margin: 0 0 12px; }
.toc { list-style: none; margin: 0; padding: 0; font-size: .92rem; }
.toc li { margin-bottom: 8px; }
.toc a { color: var(--body); }
.toc a:hover { color: var(--brand-text); }
.toc .toc__sub { padding-left: 14px; font-size: .88rem; }
.toc-mobile { display: none; background: var(--canvas); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 24px; }
.toc-mobile summary { cursor: pointer; font-family: var(--font-head); font-weight: 700; color: var(--ink); padding: 12px 16px; }
.toc-mobile .toc { padding: 0 16px 12px; }
.mini-post { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.mini-post:first-of-type { border-top: 0; padding-top: 0; }
.mini-post img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; flex: none; background: #eef0f3; }
.mini-post a { color: var(--ink); font-weight: 600; font-size: .9rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mini-post a:hover { color: var(--brand-text); }

.prose { color: var(--body); font-size: 1.0625rem; line-height: 1.75; overflow-wrap: break-word; }
.prose h2 { font-size: 1.55rem; margin: 2rem 0 .75rem; }
.prose h3 { font-size: 1.25rem; margin: 1.6rem 0 .6rem; }
.prose h4, .prose h5, .prose h6 { font-size: 1.08rem; margin: 1.3rem 0 .5rem; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.1rem; }
.prose ul, .prose ol { margin: 0 0 1.1rem; padding-left: 1.4rem; list-style: revert; }
.prose li { margin-bottom: .4rem; }
.prose a { color: var(--brand-text); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--ink); }
.prose img { border-radius: var(--radius-sm); margin: 1rem 0; }
.prose blockquote { border-left: 4px solid var(--brand); background: var(--brand-tint); padding: 12px 18px; margin: 0 0 1.1rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose hr { margin: 1.8rem 0; opacity: .15; }
.prose pre { background: #1f2933; color: #f1f5f9; padding: 14px; border-radius: var(--radius-sm); overflow-x: auto; font-size: .92rem; }
.prose code { font-size: .92em; }
.prose br { display: inline; }
.table-scroll { overflow-x: auto; margin-bottom: 1.1rem; }
.table-scroll table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table-scroll th, .table-scroll td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }

.article-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 32px; border-bottom: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.article-tools__stats { display: flex; gap: 16px; flex-wrap: wrap; }
.article-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; background: var(--canvas); border: 1px solid var(--line); border-radius: 50%; color: var(--ink); font-size: 1rem; cursor: pointer; }
.icon-btn:hover { border-color: var(--brand); background: var(--brand-tint); color: var(--ink); }
.icon-btn .bi-heart-fill { color: #d6336c; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.author-box { display: flex; gap: 16px; align-items: flex-start; background: var(--canvas); border-radius: var(--radius); padding: 20px; margin-top: 28px; }
.author-box img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.author-box__label { font-size: .8rem; color: var(--muted); margin: 0; }
.author-box__name { font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: 1.05rem; }
.author-box__name:hover { color: var(--brand-text); }
.author-box p { margin: 6px 0 0; font-size: .95rem; color: var(--muted); }
.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.prev-next a { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; color: var(--ink); font-weight: 700; }
.prev-next a:hover { border-color: var(--brand); color: var(--brand-text); }
.prev-next small { display: block; color: var(--muted); font-weight: 500; margin-bottom: 4px; }
.prev-next__next { text-align: right; grid-column: 2; }

@media (max-width: 991.98px) {
    .article-layout { grid-template-columns: minmax(0, 1fr); }
    .article-aside { position: static; max-height: none; overflow: visible; }
    .article-aside__toc { display: none; }
    .toc-mobile { display: block; }
}
@media (max-width: 575.98px) {
    .article-body { padding: 20px 16px; }
    .article-tools { padding: 12px 16px; }
    .prose { font-size: 1rem; }
    .prev-next { grid-template-columns: 1fr; }
    .prev-next__next { grid-column: auto; text-align: left; }
}

/* ---------- Author profile ---------- */
.author-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; position: sticky; top: 88px; }
.author-card img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; margin-bottom: 12px; }
.author-card h2 { font-size: 1.25rem; margin: 0 0 6px; }
.author-card__facts { list-style: none; padding: 0; margin: 12px 0 0; color: var(--muted); font-size: .92rem; }
.author-card__facts li { margin-bottom: 4px; }
.author-card__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
@media (max-width: 991.98px) { .author-card { position: static; margin-bottom: 24px; } }

/* ---------- Empty state, alerts, pagination ---------- */
.empty { text-align: center; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); padding: 48px 20px; color: var(--muted); }
.empty h2 { font-size: 1.25rem; margin-bottom: 8px; }
.site-alert { border-radius: var(--radius-sm); margin-bottom: 20px; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; padding: 0; margin: 32px 0 0; }
.pager a, .pager span { display: inline-flex; min-width: 42px; height: 42px; padding: 0 12px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font-weight: 600; font-size: .95rem; }
.pager a:hover { border-color: var(--brand); color: var(--ink); }
.pager .is-current span { background: var(--brand); border-color: var(--brand); }
.pager .is-disabled span { color: #9aa3ad; background: var(--canvas); }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 32px; }
.site-footer__title { font-size: 1rem; color: var(--brand); margin-bottom: 14px; }
.site-footer__about { color: #c4cad0; font-size: .95rem; max-width: 340px; }
.site-footer ul li { margin-bottom: 8px; font-size: .94rem; color: #d7dbdf; overflow-wrap: anywhere; }
footer.site-footer li { font-size: .94rem; }
.footer-social-icons a { font-size: 1.25rem; margin-right: 14px; }
.bottomFooter { background: #111; }
.copyright { padding: 14px 0; font-size: .88rem; color: #c4cad0; }

/* ---------- Existing account, auth and form pages ---------- */
.hero-section { margin-top: 0; }
section.hero-section.myaccount { padding: 44px 0; }
section.hero-section.myaccount h1 { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.25rem); }
section.hero-section.myaccount p { font-size: 1rem; color: rgba(255, 255, 255, .88); max-width: 600px; }
.login-wrap { border-radius: var(--radius); border-color: var(--line); padding: 28px; }
.login-header h3 { font-size: 1.5rem; color: var(--ink); }
.form-control, .form-select { border-radius: var(--radius-sm); border-color: #d5dae0; font-size: 16px; min-height: 46px; }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(255, 178, 44, .22); }
textarea.form-control { max-height: none; }
.col-form-label { font-weight: 600; color: var(--ink); }
.btn-link { color: var(--brand-text); }
.account, .register-form .login-header p span { color: var(--brand-text); }
.ct-breacrum .account, .hero-section .highlight { color: var(--brand); }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 28px; }
.contactinfo-content.contact-card { display: flex; flex-direction: column; justify-content: center; margin: 0; }
.contactinfo-content ul { padding: 0; margin: 0 0 1rem; }
/* style-1.css sets an "auto" outline here, which Chrome draws as a dark ring around every field. */
.contact_form input { border: 1px solid #d5dae0; border-radius: var(--radius-sm); outline: none; }
.contact_form input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(255, 178, 44, .22); outline: none; }
.contact_form textarea.form-control { background: var(--surface); color: var(--ink); border-color: #d5dae0; font-size: 16px; padding: 10px 15px; }
.contact_form input::placeholder, .contact_form textarea::placeholder { color: var(--muted); }
@media (max-width: 575.98px) { .contact-card { padding: 20px 16px; } }
.contact-info h2 { color: var(--ink); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.grid-blog .blog-image img, .blog-image img { min-height: 0; height: 200px; object-fit: cover; }
.blog-image:hover img { transform: none; }
.terms-info { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.terms-info ul { padding-left: 1.3rem; list-style: disc; margin-bottom: 1rem; }
.terms-info h5 { margin-top: 1.25rem; }
@media (max-width: 575.98px) { .login-wrap { padding: 20px 16px; } .terms-info { padding: 20px 16px; } }

/* ---------- Error pages ---------- */
.error-page { min-height: 60vh; display: flex; align-items: center; text-align: center; padding: 56px 0; }
.error-page h1 { font-size: clamp(2.5rem, 2rem + 3vw, 4rem); margin-bottom: 8px; }
.error-page p { color: var(--muted); margin-bottom: 24px; }

/* ---------- FAQ with helper column ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.faq-layout .faq { max-width: none; }
.faq-aside { display: grid; gap: 16px; position: sticky; top: 88px; }
.help-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.help-card h3 { font-size: 1.1rem; margin: 0 0 8px; }
.help-card ul { list-style: none; margin: 0; padding: 0; }
.help-card li { padding: 8px 0; border-top: 1px solid var(--line); }
.help-card li:first-child { border-top: 0; padding-top: 2px; }
.help-card li a { color: var(--ink); font-weight: 600; font-size: .95rem; }
.help-card li a:hover { color: var(--brand-text); }
.help-card li i { color: var(--brand-text); margin-right: 8px; }
.help-card--dark { background: linear-gradient(135deg, var(--slate) 0%, var(--slate-2) 100%); border: 0; color: #fff; }
.help-card--dark h3 { color: #fff; }
.help-card--dark p { color: rgba(255, 255, 255, .88); font-size: .95rem; margin: 0 0 16px; }
.help-card__icon { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 12px; background: rgba(255, 178, 44, .18); color: var(--brand); font-size: 1.25rem; margin-bottom: 12px; }
.help-card__mail { display: block; margin-top: 12px; color: #fff; font-size: .88rem; overflow-wrap: anywhere; }
.help-card__mail:hover { color: var(--brand); }
@media (max-width: 991.98px) { .faq-layout { grid-template-columns: minmax(0, 1fr); } .faq-aside { position: static; } }

/* ---------- Bottom legal bar ---------- */
.copyright.site-legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; }
.site-legal nav { display: flex; align-items: center; gap: 10px; width: auto; }
.site-legal nav span { color: #6f7883; }
.site-legal nav a { color: #e4e7ea; }
.site-legal nav a:hover { color: var(--brand); }
@media (max-width: 575.98px) { .copyright.site-legal { flex-direction: column; text-align: center; } }

/* ---------- Legal pages ---------- */
.legal-copy h2 { font-size: 1.15rem; margin: 1.5rem 0 .5rem; }
.legal-copy a { color: var(--brand-text); text-decoration: underline; }
