:root {
    --mano-editorial-navy: #071f3d;
    --mano-editorial-red: #d92835;
    --mano-editorial-text: #657384;
    --mano-editorial-line: #60656c;
    --mano-editorial-soft: #f5f8fb;
    --mano-editorial-border: #dfe7ee;
}

.mano-editorial-page,
.mano-editorial-page *,
.mano-editorial-page *::before,
.mano-editorial-page *::after { box-sizing: border-box; }
.mano-editorial-page { overflow: hidden; color: var(--mano-editorial-navy); background: #fff; }
.mano-editorial-container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.mano-editorial-hero { position: relative; min-height: 230px; overflow: hidden; background: #f8fafc; }
.mano-editorial-hero__background { position: absolute; inset: 0; background-position: center; background-size: cover; }
.mano-editorial-hero__content { position: relative; z-index: 1; min-height: 230px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 38px; }
.mano-editorial-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 15px; color: #6b7c8f; font-size: 13px; }
.mano-editorial-breadcrumb a { color: var(--mano-editorial-navy); text-decoration: none; }
.mano-editorial-breadcrumb a:hover { color: var(--mano-editorial-red); }
.mano-editorial-hero h1 { max-width: 820px; margin: 0; color: var(--mano-editorial-navy); font-size: clamp(32px, 4.2vw, 50px); font-weight: 700; line-height: 1.55; }
.mano-editorial-hero h1::first-letter { color: var(--mano-editorial-red); }
.mano-editorial-hero__content > p,
.mano-editorial-archive-description { margin: 9px 0 0; color: #617286; font-size: 15px; line-height: 2; }
.mano-editorial-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-top: 13px; color: #718196; font-size: 13px; }
.mano-editorial-meta span { position: relative; }
.mano-editorial-meta span::before { content: ''; position: absolute; top: 50%; right: -14px; width: 4px; height: 4px; border-radius: 50%; background: var(--mano-editorial-red); transform: translateY(-50%); }
.mano-editorial-meta a { color: inherit; text-decoration: none; }

.mano-editorial-article { padding: 48px 0 72px; }
.mano-editorial-feature-image { width: min(680px, 100%); margin: 0 auto 42px; text-align: center; }
.mano-editorial-feature-image img { display: block; width: 100%; max-height: 430px; object-fit: contain; }
.mano-editorial-feature-image figcaption { width: min(430px, 90%); margin: 14px auto 0; padding: 0 0 9px; border-bottom: 4px solid var(--mano-editorial-red); color: #111827; font-size: 16px; font-weight: 800; line-height: 1.8; text-align: right; }

.mano-editorial-reading { position: relative; width: min(1080px, 100%); margin-inline: auto; padding: 10px 76px 8px 34px; }
.mano-editorial-reading::before { content: ''; position: absolute; top: 0; right: 21px; bottom: 0; width: 2px; background: var(--mano-editorial-line); }
.mano-editorial-content-title,
.mano-editorial-entry-content h2 { position: relative; margin: 26px 0 16px; color: #c93d45; font-size: clamp(22px, 2.5vw, 28px); font-weight: 700; line-height: 1.75; text-align: right; }
.mano-editorial-content-title { margin-top: 0; }
.mano-editorial-content-title::before,
.mano-editorial-entry-content h2::before { content: ''; position: absolute; top: 50%; right: -76px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background-color: #fff; background-image: var(--mano-editorial-logo); background-repeat: no-repeat; background-position: center; background-size: 29px auto; transform: translateY(-50%); box-shadow: 0 2px 10px rgba(7,31,61,.14); }
.mano-editorial-entry-content { color: var(--mano-editorial-text); font-size: 16px; line-height: 2.35; text-align: justify; overflow-wrap: anywhere; }
.mano-editorial-entry-content > *:first-child { margin-top: 0; }
.mano-editorial-reading .mano-editorial-entry-content h2 { padding-top: 0; border-top: 0; }
.mano-editorial-entry-content p { margin: 0 0 20px; }
.mano-editorial-entry-content h3 { margin: 30px 0 12px; color: #c93d45; font-size: 21px; font-weight: 700; line-height: 1.8; text-align: right; }
.mano-editorial-entry-content h4 { margin: 26px 0 10px; color: var(--mano-editorial-navy); font-size: 18px; font-weight: 700; line-height: 1.8; }
.mano-editorial-entry-content ul,
.mano-editorial-entry-content ol { margin: 16px 0 24px; padding-right: 24px; }
.mano-editorial-entry-content ul { list-style: disc; }
.mano-editorial-entry-content ol { list-style: decimal; }
.mano-editorial-entry-content li { margin-bottom: 7px; }
.mano-editorial-entry-content a { color: var(--mano-editorial-red); text-decoration: underline; text-underline-offset: 4px; }
.mano-editorial-entry-content img { display: block; max-width: 100%; height: auto; margin: 26px auto; border-radius: 7px; }
.mano-editorial-entry-content figure { max-width: 100%; margin: 28px auto; }
.mano-editorial-entry-content figcaption { color: #7b8795; font-size: 13px; text-align: center; }
.mano-editorial-entry-content blockquote { margin: 26px 0; padding: 18px 22px; border-right: 4px solid var(--mano-editorial-red); border-radius: 7px 0 0 7px; color: var(--mano-editorial-navy); background: var(--mano-editorial-soft); font-weight: 700; }
.mano-editorial-entry-content table { display: block; width: 100%; max-width: 100%; margin: 25px 0; border-collapse: collapse; overflow-x: auto; }
.mano-editorial-entry-content th,
.mano-editorial-entry-content td { min-width: 130px; padding: 12px 14px; border: 1px solid var(--mano-editorial-border); text-align: right; }
.mano-editorial-entry-content th { color: var(--mano-editorial-navy); background: var(--mano-editorial-soft); }
.mano-editorial-entry-content iframe,
.mano-editorial-entry-content video { max-width: 100%; }
.mano-editorial-page-links { margin-top: 24px; color: var(--mano-editorial-navy); font-weight: 700; }
.mano-editorial-post-navigation { width: min(1000px, 100%); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 44px auto 0; padding-top: 24px; border-top: 1px solid var(--mano-editorial-border); }
.mano-editorial-post-navigation div:last-child { text-align: left; }
.mano-editorial-post-navigation a { color: var(--mano-editorial-navy); font-size: 13px; font-weight: 750; line-height: 1.9; text-decoration: none; }
.mano-editorial-post-navigation a:hover { color: var(--mano-editorial-red); }

.mano-articles-listing { padding: 48px 0 72px; }
.mano-articles-heading { margin: 0 0 28px; text-align: center; }
.mano-articles-heading h2 { margin: 0; color: var(--mano-editorial-navy); font-size: clamp(28px, 3.5vw, 40px); font-weight: 700; }
.mano-articles-heading p { margin: 8px 0 0; color: var(--mano-editorial-text); }
.mano-articles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mano-article-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--mano-editorial-border); border-radius: 12px; background: #fff; box-shadow: 0 5px 18px rgba(7,31,61,.06); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.mano-article-card::after { content: ''; position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: var(--mano-editorial-red); transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.mano-article-card__image { display: grid; width: 100%; aspect-ratio: 16 / 10; place-items: center; overflow: hidden; color: var(--mano-editorial-red); background: linear-gradient(145deg,#eef3f7,#fff); font-size: 25px; font-weight: 700; letter-spacing: .1em; text-decoration: none; }
.mano-article-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.mano-article-card__body { padding: 20px 18px 18px; }
.mano-article-card__body time { color: #8b98a7; font-size: 12px; }
.mano-article-card__body h2 { margin: 9px 0 10px; color: var(--mano-editorial-navy); font-size: 18px; font-weight: 700; line-height: 1.85; }
.mano-article-card__body h2 a { color: inherit; text-decoration: none; }
.mano-article-card__body p { min-height: 57px; margin: 0 0 18px; color: var(--mano-editorial-text); font-size: 13px; line-height: 1.95; }
.mano-article-card__link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--mano-editorial-border); color: var(--mano-editorial-navy); font-size: 13px; font-weight: 750; text-decoration: none; }
.mano-article-card__link span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--mano-editorial-soft); transition: color .25s ease, background .25s ease; }
.mano-article-card:hover { border-color: #b9c5d3; transform: translateY(-6px); box-shadow: 0 13px 25px rgba(7,31,61,.12); }
.mano-article-card:hover::after { transform: scaleX(1); }
.mano-article-card:hover .mano-article-card__image img { transform: scale(1.06); }
.mano-article-card:hover .mano-article-card__link { color: var(--mano-editorial-red); }
.mano-article-card:hover .mano-article-card__link span { color: #fff; background: var(--mano-editorial-red); }
.mano-articles-pagination { margin-top: 35px; }
.mano-articles-pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.mano-articles-pagination .page-numbers { display: grid; min-width: 40px; height: 40px; padding-inline: 10px; place-items: center; border: 1px solid var(--mano-editorial-border); border-radius: 8px; color: var(--mano-editorial-navy); background: #fff; text-decoration: none; }
.mano-articles-pagination .current,
.mano-articles-pagination a:hover { color: #fff; border-color: var(--mano-editorial-red); background: var(--mano-editorial-red); }
.mano-articles-empty { padding: 28px; border: 1px solid var(--mano-editorial-border); border-radius: 10px; color: var(--mano-editorial-text); background: var(--mano-editorial-soft); text-align: center; }

@media (max-width: 900px) {
    .mano-articles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
    .mano-editorial-container { width: min(100% - 28px, 1180px); }
    .mano-editorial-hero,
    .mano-editorial-hero__content { min-height: 190px; }
    .mano-editorial-hero__content { padding-block: 28px; }
    .mano-editorial-hero h1 { font-size: clamp(28px, 8vw, 36px); }
    .mano-editorial-hero__content > p { font-size: 13px; }
    .mano-editorial-article,
    .mano-articles-listing { padding: 38px 0 50px; }
    .mano-editorial-reading { padding: 8px 54px 5px 12px; }
    .mano-editorial-reading::before { right: 17px; }
    .mano-editorial-content-title::before,
    .mano-editorial-entry-content h2::before { right: -55px; width: 36px; height: 36px; background-size: 23px auto; }
    .mano-editorial-entry-content { font-size: 15px; line-height: 2.25; text-align: right; }
    .mano-editorial-feature-image img { max-height: 290px; }
    .mano-editorial-feature-image figcaption { font-size: 14px; }
    .mano-editorial-post-navigation { grid-template-columns: 1fr; }
    .mano-editorial-post-navigation div:last-child { text-align: right; }
    .mano-articles-grid { grid-template-columns: 1fr; gap: 16px; }
    .mano-article-card__body p { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .mano-article-card,
    .mano-article-card::after,
    .mano-article-card__image img,
    .mano-article-card__link span { transition: none; }
}
