/*
Theme Name: Fepals Free Fire
Theme URI: https://ff.fepals.com/
Author: Fepals
Description: An independent, image-led editorial theme for Free Fire India events, rewards, and player help. Accessible visible navigation, fast system fonts, and real WordPress content.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: fepals-freefire
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --ff-paper: #f7f7f2;
  --ff-card: #fff;
  --ff-ink: #122239;
  --ff-muted: #5b6878;
  --ff-navy: #102339;
  --ff-blue: #185cdb;
  --ff-blue-dark: #1249b0;
  --ff-blue-soft: #eaf1fe;
  --ff-teal: #167a78;
  --ff-teal-soft: #e7f2ef;
  --ff-saffron: #edaa46;
  --ff-line: #dde3e5;
  --ff-radius: 18px;
  --ff-max: 1240px;
  --ff-gutter: clamp(18px, 4vw, 64px);
  --ff-shadow: 0 14px 38px rgb(18 34 57 / 7%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ff-ink); background: var(--ff-paper); font-family: Inter, "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; text-underline-offset: 3px; }
a:hover { color: var(--ff-blue); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--ff-blue); outline-offset: 4px; }
button, input, textarea, select { font: inherit; }
button, input[type="submit"] { cursor: pointer; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
figure { margin: 0; }
p { margin: 0 0 1.15em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(2.15rem, 4vw, 3.85rem); font-weight: 790; }
h2 { font-size: clamp(1.65rem, 2.5vw, 2.3rem); font-weight: 760; }
h3 { font-size: 1.3rem; font-weight: 740; }
::selection { background: #d9e7fe; color: var(--ff-ink); }
.ff-container { width: calc(100% - var(--ff-gutter) * 2); max-width: var(--ff-max); margin-inline: auto; }
.ff-icon { display: inline-block; width: 22px; height: 22px; flex: 0 0 22px; vertical-align: middle; }
.screen-reader-text, .skip-link:not(:focus) { clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; position: absolute !important; white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 9999; top: 12px; left: 12px; padding: 12px 18px; color: #fff; background: var(--ff-navy); border-radius: 8px; }
.ff-eyebrow { display: inline-flex; gap: 9px; align-items: center; margin-bottom: 13px; color: var(--ff-teal); font-size: .69rem; font-weight: 800; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; }
.ff-eyebrow > span { width: 7px; height: 7px; background: var(--ff-saffron); border-radius: 2px; }
.ff-button, .ff-card-read, .ff-text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 750; line-height: 1.25; }
.ff-button { justify-content: center; padding: 13px 20px; border: 1px solid transparent; border-radius: 10px; color: #fff; background: var(--ff-blue); font-size: .9rem; transition: background .18s ease, transform .18s ease; }
.ff-button:hover { color: #fff; background: var(--ff-blue-dark); transform: translateY(-1px); }
.ff-text-link { color: var(--ff-blue); font-size: .85rem; }
.ff-text-link:hover { color: var(--ff-blue-dark); text-decoration: underline; }
.ff-text-link .ff-icon, .ff-card-read .ff-icon, .ff-button .ff-icon { width: 18px; height: 18px; flex-basis: 18px; }

/* Brand and navigation: every destination remains visible at every width. */
.ff-topline { background: var(--ff-navy); color: #e6edf5; font-size: .63rem; font-weight: 650; letter-spacing: .1em; line-height: 1.45; text-transform: uppercase; }
.ff-topline-inner { display: flex; gap: 18px; justify-content: space-between; padding-block: 9px; }
.ff-topline-inner > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.ff-status-dot { width: 6px; height: 6px; flex: 0 0 6px; background: var(--ff-saffron); border-radius: 50%; }
.ff-topline-note { color: #bbcadb; font-weight: 500; letter-spacing: .045em; }
.ff-site-header { background: #fff; }
.ff-header-main { display: flex; align-items: center; gap: 28px; min-height: 92px; padding-block: 16px; }
.ff-brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; color: var(--ff-ink); }
.ff-brand:hover { color: var(--ff-ink); }
.ff-brand-mark { position: relative; width: 43px; height: 45px; display: grid; place-items: center; overflow: hidden; background: var(--ff-navy); border-radius: 10px 10px 2px 10px; color: #fff; font-size: 2rem; font-weight: 850; font-style: italic; line-height: 1; }
.ff-brand-mark span { position: absolute; right: -3px; bottom: 0; width: 20px; height: 8px; background: var(--ff-saffron); transform: skew(-28deg); }
.ff-brand-copy { display: flex; flex-direction: column; gap: 3px; }
.ff-brand-copy strong { font-size: 1.8rem; font-weight: 850; line-height: 1; letter-spacing: -.055em; }
.ff-brand-period { color: var(--ff-teal); }
.ff-brand-copy > span { font-size: .58rem; font-weight: 800; line-height: 1.2; letter-spacing: .21em; }
.ff-header-promise { margin: 0; padding-left: 26px; border-left: 1px solid var(--ff-line); color: var(--ff-muted); font-size: .84rem; line-height: 1.55; }
.ff-header-search { width: 280px; max-width: 36%; margin-left: auto; }
.ff-search-form { display: flex; align-items: center; width: 100%; min-width: 0; padding: 3px 4px 3px 15px; border: 1px solid var(--ff-line); border-radius: 9px; background: #f6f8f8; }
.ff-search-form:focus-within { border-color: var(--ff-blue); box-shadow: 0 0 0 2px rgb(24 92 219 / 9%); }
.ff-search-form input { width: 100%; min-width: 0; min-height: 38px; border: 0; outline: none; color: var(--ff-ink); background: transparent; font-size: .8rem; }
.ff-search-form input::placeholder { color: #737e8c; opacity: 1; }
.ff-search-form button { display: grid; place-items: center; flex: 0 0 40px; width: 40px; min-height: 40px; padding: 0; border: 0; border-radius: 6px; color: var(--ff-ink); background: transparent; }
.ff-search-form button:hover { background: var(--ff-blue-soft); color: var(--ff-blue); }
.ff-search-form button .ff-icon { width: 18px; height: 18px; }
.ff-nav-border { border-top: 1px solid #edf0ef; border-bottom: 1px solid var(--ff-line); }
.ff-menu { display: flex; align-items: stretch; gap: 25px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.ff-menu li { margin: 0; min-width: 0; }
.ff-menu a { display: flex; align-items: center; justify-content: center; min-height: 51px; padding: 10px 2px; border-bottom: 3px solid transparent; color: #4b5869; font-size: .78rem; font-weight: 750; line-height: 1.35; }
.ff-menu a:hover { color: var(--ff-blue); }
.ff-menu .current-menu-item > a, .ff-menu .current-menu-ancestor > a, .ff-menu a[aria-current="page"] { color: var(--ff-blue); border-bottom-color: var(--ff-blue); }

/* Front page. */
.ff-home-intro { display: grid; grid-template-columns: 1.25fr 1fr; gap: 6.5%; align-items: center; padding-block: 46px 34px; }
.ff-home-intro h1 { max-width: 710px; font-size: clamp(2.1rem, 3.65vw, 3.45rem); }
.ff-home-intro h1 > span { color: #6d7a88; }
.ff-intro-copy { max-width: 520px; color: var(--ff-muted); font-size: .85rem; line-height: 1.65; }
.ff-intro-copy p { margin-bottom: .62em; }
.ff-intro-copy p:last-child { margin-bottom: 0; }
.ff-feature-layout { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(280px, 1fr); gap: 24px; align-items: stretch; }
.ff-lead-story { overflow: hidden; border: 1px solid var(--ff-line); border-radius: var(--ff-radius); background: var(--ff-card); box-shadow: var(--ff-shadow); }
.ff-lead-image { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; background: #192d44; }
.ff-lead-image::after { position: absolute; content: ""; inset: 60% 0 0; pointer-events: none; background: linear-gradient(transparent, rgb(6 20 34 / 40%)); }
.ff-lead-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.ff-lead-story:hover .ff-lead-image img { transform: scale(1.025); }
.ff-featured-label { position: absolute; z-index: 1; left: 20px; bottom: 18px; padding: 7px 10px; border: 1px solid rgb(255 255 255 / 20%); border-radius: 5px; background: rgb(12 28 45 / 85%); color: #fff; font-size: .58rem; font-weight: 800; letter-spacing: .11em; }
.ff-lead-copy { padding: 25px 28px 28px; }
.ff-lead-copy h2 { margin-top: 12px; font-size: clamp(1.55rem, 2.6vw, 2.3rem); line-height: 1.16; }
.ff-lead-copy p { margin-top: 14px; color: var(--ff-muted); font-size: .9rem; line-height: 1.6; }
.ff-lead-copy .ff-button { margin-top: 3px; }
.ff-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; line-height: 1.2; }
.ff-category { display: inline-block; color: var(--ff-teal); font-size: .62rem; font-weight: 800; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; }
.ff-card-meta time { color: #7a8490; font-size: .66rem; }
.ff-start-here { display: flex; flex-direction: column; padding: 27px 24px 22px; border: 1px solid var(--ff-line); border-radius: var(--ff-radius); background: #edf2f0; }
.ff-start-heading { padding: 0 2px 18px; }
.ff-start-heading .ff-eyebrow { margin-bottom: 9px; }
.ff-start-heading h2 { max-width: 260px; font-size: clamp(1.5rem, 2.1vw, 1.9rem); }
.ff-topic-paths { display: grid; gap: 10px; }
.ff-topic-path { display: grid; grid-template-columns: 37px minmax(0, 1fr) 17px; gap: 10px; align-items: center; padding: 14px 12px; border: 1px solid #dfe6e3; border-radius: 10px; background: #fff; transition: border-color .18s ease, transform .18s ease; }
.ff-topic-path:hover { border-color: #8cb4bf; transform: translateX(2px); color: var(--ff-ink); }
.ff-topic-icon { display: grid; place-items: center; width: 37px; height: 40px; border-radius: 8px; background: var(--ff-teal-soft); color: var(--ff-teal); }
.ff-topic-path > span:nth-child(2) { display: flex; flex-direction: column; gap: 4px; }
.ff-topic-path strong { font-size: .83rem; font-weight: 780; line-height: 1.25; }
.ff-topic-path > span:nth-child(2) > span { color: var(--ff-muted); font-size: .69rem; line-height: 1.5; }
.ff-topic-arrow { width: 17px; height: 17px; color: var(--ff-teal); }
.ff-small-note { display: flex; align-items: flex-start; gap: 9px; margin: auto 0 0; padding: 18px 2px 0; color: #68756e; font-size: .65rem; line-height: 1.6; }
.ff-small-note .ff-icon { width: 17px; height: 17px; flex-basis: 17px; margin-top: 3px; color: var(--ff-teal); }
.ff-lead-empty { display: flex; min-height: 380px; flex-direction: column; justify-content: center; padding: 40px; border-radius: var(--ff-radius); color: #fff; background: var(--ff-navy); }
.ff-lead-empty .ff-eyebrow { color: #a6d0cb; }
.ff-no-art { display: flex; width: 100%; height: 100%; min-height: 160px; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: linear-gradient(135deg, #152e48, #284f63); color: #dbe8ec; font-size: .8rem; }
.ff-no-art .ff-icon { width: 38px; height: 38px; flex-basis: 38px; color: var(--ff-saffron); }
.ff-check-strip { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; align-items: center; gap: 24px; margin-top: 28px; padding: 22px 25px; border-radius: 12px; background: var(--ff-navy); color: #f3f6f9; }
.ff-strip-title { padding-right: 16px; border-right: 1px solid #35485b; }
.ff-strip-title .ff-eyebrow { display: block; margin-bottom: 5px; color: #b1c9d6; font-size: .55rem; }
.ff-strip-title strong { font-size: .85rem; line-height: 1.4; }
.ff-check-strip > div:not(:first-child) { display: flex; align-items: center; gap: 10px; font-size: .7rem; font-weight: 600; line-height: 1.5; }
.ff-check-number { color: var(--ff-saffron); font-size: .65rem; font-weight: 800; line-height: 1; }
.ff-story-section { padding-block: 52px 58px; }
.ff-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.ff-section-heading .ff-eyebrow { margin-bottom: 8px; }
.ff-section-heading h2, .ff-section-heading h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.ff-story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; align-items: stretch; }
.ff-story-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--ff-line); border-radius: 14px; background: var(--ff-card); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.ff-story-card:hover { transform: translateY(-3px); border-color: #c0ccd5; box-shadow: var(--ff-shadow); }
.ff-card-image { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: #193249; }
.ff-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.ff-story-card:hover .ff-card-image img { transform: scale(1.035); }
.ff-card-body { display: flex; flex: 1; flex-direction: column; padding: 21px 22px 15px; }
.ff-card-body h3 { margin-top: 12px; font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.25; letter-spacing: -.025em; }
.ff-card-excerpt { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; margin-top: 12px; margin-bottom: 14px; color: var(--ff-muted); font-size: .79rem; line-height: 1.65; }
.ff-card-read { justify-content: space-between; gap: 15px; margin-top: auto; color: var(--ff-blue); font-size: .72rem; }
.ff-source-note { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 20px; align-items: center; margin-bottom: 58px; padding: 25px 28px; border: 1px solid #ccdcd8; border-radius: 13px; background: #edf3f0; }
.ff-source-symbol { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 50%; background: #d9e9e2; color: var(--ff-teal); font-size: 1.7rem; line-height: 1; }
.ff-source-note h2 { margin-bottom: 7px; font-size: 1.1rem; letter-spacing: -.02em; }
.ff-source-note p { max-width: 750px; margin: 0; color: var(--ff-muted); font-size: .78rem; line-height: 1.65; }

/* Lists, archives and search. */
.ff-listing-main { padding-block: 40px 65px; }
.ff-listing-header { max-width: 880px; margin-bottom: 36px; }
.ff-listing-header h1 { margin-bottom: 18px; }
.ff-listing-header p, .ff-archive-description { color: var(--ff-muted); font-size: .98rem; }
.ff-listing-header .ff-search-form { max-width: 520px; margin-top: 20px; }
.ff-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 25px; color: #74808c; font-size: .7rem; line-height: 1.4; }
.ff-breadcrumb a { min-height: 30px; display: inline-flex; align-items: center; }
.ff-breadcrumb > span[aria-hidden] { color: #b6bdc5; }
.ff-pagination { margin-top: 36px; }
.ff-pagination ul, .ff-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin: 0; padding: 0; list-style: none; }
.ff-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--ff-line); border-radius: 8px; color: var(--ff-ink); background: #fff; font-size: .83rem; font-weight: 700; }
.ff-pagination ul.page-numbers { display: flex; border: 0; background: transparent; padding: 0; }
.ff-pagination .page-numbers.current { color: #fff; background: var(--ff-navy); border-color: var(--ff-navy); }
.ff-pagination .page-numbers.dots { border-color: transparent; background: transparent; }
.ff-pagination a.page-numbers:hover { color: var(--ff-blue); border-color: var(--ff-blue); }
.ff-empty-state { max-width: 650px; margin-inline: auto; padding: 45px 35px; border: 1px solid var(--ff-line); border-radius: var(--ff-radius); background: #fff; text-align: center; }
.ff-empty-state > .ff-icon { width: 42px; height: 42px; color: var(--ff-teal); }
.ff-empty-state h2 { margin-top: 15px; margin-bottom: 15px; }
.ff-empty-state p { color: var(--ff-muted); }
.ff-empty-state .ff-search-form { max-width: 450px; margin: 25px auto 12px; text-align: left; }

/* Article and institutional reading layouts. */
.ff-article-header { padding-block: 35px 27px; }
.ff-article-header h1 { max-width: 1080px; margin-top: 13px; font-size: clamp(2.05rem, 4.25vw, 4.1rem); line-height: 1.09; }
.ff-article-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 22px; color: var(--ff-muted); font-size: .74rem; line-height: 1.5; }
.ff-meta-divider { width: 3px; height: 3px; border-radius: 50%; background: #8c98a4; }
.ff-article-featured { margin-bottom: 36px; }
.ff-article-featured > img { width: 100%; max-height: 680px; object-fit: contain; border: 1px solid var(--ff-line); border-radius: 16px; background: #102339; }
.ff-article-featured figcaption { max-width: 900px; margin-top: 10px; color: #75808c; font-size: .69rem; line-height: 1.5; }
.ff-reading-layout { display: grid; grid-template-columns: minmax(0, 780px) minmax(215px, 1fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.ff-entry-content { min-width: 0; color: #26384c; font-size: 1.04rem; line-height: 1.9; overflow-wrap: break-word; }
.ff-entry-content > p:first-child { color: #1c3047; font-size: 1.14rem; line-height: 1.85; }
.ff-entry-content h2 { margin-top: 1.7em; margin-bottom: .75em; color: var(--ff-ink); font-size: clamp(1.45rem, 2.5vw, 1.95rem); letter-spacing: -.03em; line-height: 1.2; }
.ff-entry-content h3 { margin-top: 1.6em; margin-bottom: .7em; font-size: 1.35rem; line-height: 1.3; }
.ff-entry-content p { margin-bottom: 1.3em; }
.ff-entry-content a:not(.ff-button) { color: var(--ff-blue-dark); text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: #adc2e4; overflow-wrap: anywhere; }
.ff-entry-content a:hover { text-decoration-color: var(--ff-blue); }
.ff-entry-content strong { color: #12283f; font-weight: 740; }
.ff-entry-content ul, .ff-entry-content ol { padding-left: 1.4em; margin-block: 1.25em 1.5em; }
.ff-entry-content li { padding-left: .35em; margin-bottom: .65em; }
.ff-entry-content li::marker { color: var(--ff-teal); font-weight: 750; }
.ff-entry-content img { max-width: 100%; height: auto; border-radius: 10px; }
.ff-entry-content figure { margin-block: 30px; }
.ff-entry-content figcaption { color: var(--ff-muted); font-size: .8rem; line-height: 1.6; }
.ff-entry-content blockquote { margin: 28px 0; padding: 22px 25px; border-left: 3px solid var(--ff-teal); background: var(--ff-teal-soft); }
.ff-entry-content blockquote p:last-child { margin-bottom: 0; }
.ff-entry-content pre { max-width: 100%; overflow: auto; padding: 20px; border-radius: 8px; background: #eaf0f1; font-size: .85rem; }
.ff-entry-content iframe { max-width: 100%; }
.ff-entry-content table { width: 100%; border-collapse: collapse; margin-block: 24px; font-size: .9rem; }
.ff-entry-content th, .ff-entry-content td { padding: 12px; border: 1px solid var(--ff-line); text-align: left; }
.ff-entry-content th { background: #e8eef0; }
.ff-entry-content .alignwide { margin-inline: 0; }
.ff-reading-aside { padding-top: 5px; }
.ff-reader-card { padding: 24px; border: 1px solid #d6e2dd; border-radius: 13px; background: #eef4ef; }
.ff-reader-card .ff-eyebrow { margin-bottom: 9px; }
.ff-reader-card h2 { font-size: 1.45rem; line-height: 1.2; }
.ff-reader-card p { margin-top: 14px; color: var(--ff-muted); font-size: .78rem; line-height: 1.7; }
.ff-reader-card ul { display: grid; gap: 13px; margin: 20px 0 15px; padding: 0; list-style: none; }
.ff-reader-card li { display: flex; gap: 9px; align-items: center; font-size: .71rem; line-height: 1.45; }
.ff-reader-card li .ff-icon { width: 17px; height: 17px; flex-basis: 17px; color: var(--ff-teal); }
.ff-article-independent { max-width: 780px; margin-block: 35px 0; padding: 20px 22px; border-left: 3px solid #c3d0d5; background: #edf1f1; color: var(--ff-muted); font-size: .73rem; line-height: 1.7; }
.ff-related { padding-block: 60px 65px; }
.ff-page-main { max-width: 1050px; padding-block: 35px 70px; }
.ff-page-article { max-width: 820px; margin-inline: auto; }
.ff-page-header { margin-bottom: 30px; padding-bottom: 25px; border-bottom: 1px solid var(--ff-line); }
.ff-page-header h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
.ff-page-main .ff-entry-content { font-size: .98rem; }
.ff-page-main .ff-entry-content > p:first-child { font-size: 1rem; }
.ff-page-main .ff-entry-content h2 { font-size: 1.55rem; }
.ff-entry-content label { display: block; margin-bottom: 20px; font-size: .9rem; font-weight: 650; }
.ff-entry-content input[type="text"], .ff-entry-content input[type="email"], .ff-entry-content input[type="search"], .ff-entry-content textarea { display: block; width: 100%; max-width: 100%; min-height: 46px; margin-top: 6px; padding: 11px 13px; border: 1px solid #c5d0d7; border-radius: 7px; color: var(--ff-ink); background: #fff; }
.ff-entry-content textarea { min-height: 170px; resize: vertical; }
.ff-entry-content input[type="submit"], .ff-entry-content button[type="submit"] { min-height: 46px; padding: 12px 24px; border: 0; border-radius: 8px; color: #fff; background: var(--ff-blue); font-weight: 700; }
.ff-entry-content input[type="submit"]:disabled { cursor: not-allowed; opacity: .55; }
.ff-entry-content input[type="checkbox"] { width: 18px; height: 18px; margin: 0 7px 0 0; vertical-align: middle; }
.ff-entry-content .wpcf7-list-item { margin-left: 0; font-size: .83rem; }
.ff-entry-content .wpcf7-not-valid-tip { color: #ac2638; font-size: .8rem; }
.ff-error-main { max-width: 800px; padding-block: 55px 80px; text-align: center; }
.ff-error-number { color: #dce6e9; font-size: clamp(6rem, 18vw, 12rem); font-weight: 850; line-height: 1; letter-spacing: -.09em; }
.ff-error-main h1 { margin-top: 10px; font-size: clamp(2rem, 4vw, 3rem); }
.ff-error-main p { margin-top: 20px; color: var(--ff-muted); }
.ff-error-main .ff-search-form { max-width: 480px; margin: 25px auto 20px; text-align: left; }

/* Footer. */
.ff-site-footer { background: #102239; color: #d0d9e2; }
.ff-footer-grid { display: grid; grid-template-columns: 1.6fr .85fr .95fr 1fr; gap: 45px; padding-block: 48px 34px; }
.ff-brand-footer { color: #fff; }
.ff-brand-footer:hover { color: #fff; }
.ff-brand-footer .ff-brand-period { color: var(--ff-saffron); }
.ff-brand-footer .ff-brand-copy > span { color: #a9bccb; }
.ff-footer-brand > p { max-width: 340px; margin-top: 20px; color: #a8b9c8; font-size: .77rem; line-height: 1.8; }
.ff-footer-brand > p.ff-owner { color: #93a8bb; font-size: .67rem; }
.ff-site-footer h2 { margin: 6px 0 15px; color: #f4f7fa; font-size: .75rem; font-weight: 750; letter-spacing: -.005em; }
.ff-footer-links, .ff-policy-links { margin: 0; padding: 0; list-style: none; }
.ff-footer-links li, .ff-policy-links li { margin: 0; }
.ff-footer-links a, .ff-policy-links a { display: inline-flex; align-items: center; min-height: 38px; color: #a8b9c8; font-size: .73rem; line-height: 1.5; }
.ff-site-footer a:hover { color: #fff; text-decoration: underline; }
.ff-footer-notice { padding-block: 20px; border-top: 1px solid #2a3b50; border-bottom: 1px solid #2a3b50; }
.ff-footer-notice p { max-width: 1000px; margin: 0; color: #8fa5b9; font-size: .66rem; line-height: 1.8; }
.ff-footer-bottom { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding-block: 17px; color: #8fa5b9; font-size: .65rem; }
.ff-footer-bottom a { display: inline-flex; gap: 9px; align-items: center; min-height: 36px; }

@media (min-width: 1500px) {
  .ff-home-intro { padding-top: 55px; }
}
@media (max-width: 1100px) {
  .ff-header-promise { display: none; }
  .ff-header-search { max-width: 45%; }
  .ff-feature-layout { grid-template-columns: minmax(0, 1.65fr) minmax(270px, 1fr); gap: 18px; }
  .ff-start-here { padding: 22px 18px; }
  .ff-topic-path { grid-template-columns: 30px minmax(0, 1fr) 14px; gap: 9px; padding: 12px 9px; }
  .ff-topic-icon { width: 30px; height: 36px; }
  .ff-topic-icon .ff-icon { width: 19px; height: 19px; }
  .ff-check-strip { gap: 18px; padding-inline: 22px; }
  .ff-card-body { padding: 18px 18px 13px; }
  .ff-story-grid { gap: 20px; }
  .ff-footer-grid { gap: 28px; }
}
@media (max-width: 900px) {
  :root { --ff-gutter: 28px; }
  .ff-home-intro { gap: 35px; grid-template-columns: 1fr 1fr; }
  .ff-home-intro h1 { font-size: 2.35rem; }
  .ff-intro-copy { font-size: .77rem; }
  .ff-feature-layout { grid-template-columns: minmax(0, 1.6fr) minmax(245px, 1fr); gap: 15px; }
  .ff-start-here { padding: 20px 15px; }
  .ff-start-heading h2 { font-size: 1.5rem; }
  .ff-topic-paths { gap: 8px; }
  .ff-topic-path { grid-template-columns: minmax(0, 1fr) 16px; padding: 11px 12px; }
  .ff-topic-path .ff-topic-icon { display: none; }
  .ff-topic-path strong { font-size: .77rem; }
  .ff-topic-path > span:nth-child(2) > span { font-size: .65rem; }
  .ff-lead-copy { padding: 20px; }
  .ff-check-strip { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .ff-strip-title { border: 0; }
  .ff-story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ff-card-body h3 { font-size: 1.3rem; }
  .ff-source-note { grid-template-columns: 40px minmax(0, 1fr); }
  .ff-source-note > .ff-text-link { grid-column: 2; }
  .ff-reading-layout { grid-template-columns: minmax(0, 1fr); }
  .ff-reading-aside { display: none; }
  .ff-entry-content { max-width: 780px; margin-inline: auto; }
  .ff-article-independent { max-width: 780px; margin-inline: auto; margin-top: 30px; }
  .ff-footer-grid { grid-template-columns: 1.5fr 1fr; row-gap: 35px; }
}
@media (max-width: 700px) {
  :root { --ff-gutter: 20px; }
  .ff-topline-inner { padding-block: 8px; font-size: .55rem; }
  .ff-topline-note { display: none; }
  .ff-header-main { min-height: 82px; gap: 18px; }
  .ff-brand-mark { width: 37px; height: 40px; font-size: 1.8rem; }
  .ff-brand-copy strong { font-size: 1.55rem; }
  .ff-brand-copy > span { font-size: .5rem; }
  .ff-header-search { width: 245px; max-width: 47%; }
  .ff-search-form { padding-left: 10px; }
  .ff-search-form input { font-size: .7rem; }
  .ff-menu { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 6px; padding-block: 4px; }
  .ff-menu a { min-height: 44px; padding: 9px 3px; border-bottom-width: 2px; font-size: .71rem; text-align: center; }
  .ff-home-intro { grid-template-columns: 1fr; gap: 22px; padding-block: 32px 25px; }
  .ff-home-intro h1 { max-width: 550px; font-size: clamp(2.15rem, 6.7vw, 3rem); }
  .ff-intro-copy { max-width: 620px; font-size: .83rem; }
  .ff-feature-layout { grid-template-columns: 1fr; gap: 20px; }
  .ff-lead-copy { padding: 22px; }
  .ff-lead-copy h2 { font-size: 1.8rem; }
  .ff-start-here { padding: 22px; }
  .ff-start-heading h2 { max-width: none; font-size: 1.7rem; }
  .ff-topic-paths { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ff-topic-path { padding: 14px 12px; }
  .ff-topic-path strong { font-size: .82rem; }
  .ff-topic-path > span:nth-child(2) > span { font-size: .69rem; }
  .ff-small-note { padding-top: 17px; font-size: .68rem; }
  .ff-check-strip { margin-top: 22px; gap: 17px; padding: 22px; }
  .ff-strip-title strong { font-size: .85rem; }
  .ff-story-section { padding-block: 40px 45px; }
  .ff-section-heading { gap: 15px; align-items: center; }
  .ff-section-heading .ff-text-link { font-size: .7rem; gap: 5px; }
  .ff-section-heading .ff-text-link .ff-icon { width: 15px; height: 15px; flex-basis: 15px; }
  .ff-story-grid { gap: 17px; }
  .ff-card-body { padding: 17px 15px 11px; }
  .ff-card-body h3 { font-size: 1.17rem; }
  .ff-card-meta time { font-size: .6rem; }
  .ff-category { font-size: .57rem; }
  .ff-card-excerpt { font-size: .73rem; }
  .ff-source-note { margin-bottom: 40px; padding: 22px; gap: 15px; }
  .ff-source-note h2 { font-size: 1.05rem; }
  .ff-source-note p { font-size: .74rem; }
  .ff-article-header { padding-block: 25px 24px; }
  .ff-article-header h1 { font-size: clamp(2rem, 6vw, 2.7rem); }
  .ff-article-featured { margin-bottom: 28px; }
  .ff-article-featured > img { border-radius: 10px; }
  .ff-entry-content { font-size: 1rem; line-height: 1.85; }
  .ff-entry-content > p:first-child { font-size: 1.07rem; }
  .ff-entry-content h2 { font-size: 1.6rem; }
  .ff-related { padding-block: 45px; }
  .ff-listing-main { padding-block: 28px 45px; }
  .ff-listing-header { margin-bottom: 27px; }
  .ff-listing-header h1 { font-size: 2.4rem; }
  .ff-listing-header p, .ff-archive-description { font-size: .88rem; }
  .ff-page-main { padding-block: 25px 45px; }
  .ff-page-header h1 { font-size: 2.5rem; }
}
@media (max-width: 480px) {
  :root { --ff-gutter: 16px; }
  .ff-header-main { flex-wrap: wrap; gap: 13px; padding-block: 16px 13px; }
  .ff-brand { gap: 9px; }
  .ff-brand-mark { width: 35px; height: 38px; }
  .ff-brand-copy strong { font-size: 1.55rem; }
  .ff-header-search { flex: 1 1 100%; max-width: 100%; width: 100%; margin: 0; }
  .ff-header-search .ff-search-form { min-height: 42px; }
  .ff-header-search .ff-search-form input { min-height: 44px; font-size: .78rem; }
  .ff-header-search .ff-search-form button { min-height: 44px; }
  .ff-menu { gap: 0 3px; }
  .ff-menu a { font-size: .66rem; padding-inline: 2px; line-height: 1.3; }
  .ff-home-intro { padding-top: 27px; }
  .ff-home-intro h1 { font-size: clamp(1.95rem, 8vw, 2.5rem); }
  .ff-intro-copy { font-size: .8rem; line-height: 1.7; }
  .ff-eyebrow { font-size: .59rem; }
  .ff-lead-copy { padding: 19px; }
  .ff-lead-copy h2 { font-size: 1.6rem; }
  .ff-lead-copy p { font-size: .82rem; }
  .ff-featured-label { left: 14px; bottom: 13px; font-size: .52rem; }
  .ff-start-here { padding: 20px 17px; }
  .ff-topic-paths { gap: 8px; }
  .ff-topic-path { grid-template-columns: minmax(0, 1fr) 14px; gap: 6px; padding: 13px 10px; }
  .ff-topic-path strong { font-size: .73rem; }
  .ff-topic-path > span:nth-child(2) > span { font-size: .63rem; }
  .ff-topic-path .ff-icon { width: 14px; height: 14px; }
  .ff-check-strip { grid-template-columns: 1fr; gap: 13px; padding: 20px; }
  .ff-strip-title { padding-bottom: 13px; border-bottom: 1px solid #35485b; }
  .ff-strip-title .ff-eyebrow { margin-bottom: 4px; }
  .ff-check-strip > div:not(:first-child) { font-size: .75rem; }
  .ff-section-heading > .ff-text-link { display: none; }
  .ff-section-heading h2, .ff-section-heading h1 { font-size: 1.9rem; }
  .ff-story-grid { grid-template-columns: 1fr; gap: 22px; }
  .ff-card-body { padding: 21px 21px 14px; }
  .ff-card-body h3 { font-size: 1.4rem; }
  .ff-card-excerpt { font-size: .83rem; -webkit-line-clamp: 3; }
  .ff-card-read { font-size: .76rem; }
  .ff-category { font-size: .61rem; }
  .ff-card-meta time { font-size: .65rem; }
  .ff-source-note { grid-template-columns: 1fr; gap: 15px; padding: 23px; }
  .ff-source-note > .ff-text-link { grid-column: auto; }
  .ff-source-note p { font-size: .8rem; }
  .ff-breadcrumb { margin-bottom: 20px; font-size: .65rem; }
  .ff-article-header h1 { font-size: 2rem; line-height: 1.12; overflow-wrap: break-word; }
  .ff-article-meta { gap: 9px; margin-top: 18px; font-size: .67rem; }
  .ff-entry-content { font-size: .97rem; }
  .ff-entry-content > p:first-child { font-size: 1.02rem; }
  .ff-entry-content h2 { font-size: 1.5rem; }
  .ff-article-independent { padding: 17px; font-size: .7rem; }
  .ff-page-header h1 { font-size: 2rem; }
  .ff-empty-state { padding: 30px 22px; }
  .ff-listing-header h1 { font-size: 2rem; }
  .ff-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-block: 36px 27px; }
  .ff-footer-brand { grid-column: 1 / -1; }
  .ff-footer-brand > p { max-width: 100%; font-size: .78rem; }
  .ff-footer-grid > div:last-child { grid-column: 1 / -1; }
  .ff-policy-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .ff-footer-links a, .ff-policy-links a { min-height: 44px; font-size: .75rem; }
  .ff-site-footer h2 { margin-bottom: 8px; }
  .ff-footer-notice p { font-size: .65rem; }
  .ff-footer-bottom { align-items: center; font-size: .59rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
