/*
Theme Name: Ek Nai Disha Child
Description: Hindi tech news homepage for GeneratePress Free, with English interface labels.
Author: Ek Nai Disha
Template: generatepress
Version: 1.4.3
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: eknaidisha-child
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
:root {
  --end-bg: #f2f5fa; --end-card: #ffffff; --end-navy: #0f2a5c;
  --end-blue: #1a73e8; --end-red: #e0245e; --end-green: #0d9d6c;
  --end-amber: #e8930c; --end-orange: #ff7a1a; --end-muted: #606b7a;
  --end-line: #dce3ee; --end-radius: 14px;
  --end-shadow: 0 4px 18px rgba(15,42,92,.08);
}
body { font-family: 'Noto Sans Devanagari', sans-serif; }
body.end-site { margin: 0; background: var(--end-bg); color: var(--end-navy); }
.end-page { font-size: 16px; line-height: 1.65; overflow-wrap: anywhere; }
.end-page *, .end-page *::before, .end-page *::after { box-sizing: border-box; }
.end-page [hidden] { display: none !important; }
.end-page h1, .end-page h2, .end-page h3, .end-page p { margin: 0; }
.end-page h2, .end-page h3 { color: var(--end-navy); font-weight: 800; }
.end-page a { color: var(--end-blue); text-decoration: none; }
.end-page a:hover { text-decoration: underline; }
.end-page button, .end-page input { font: inherit; }
.end-page button { cursor: pointer; border: 0; border-radius: 8px; line-height: 1.4; }
.end-page button, .end-page input, .end-page summary { min-height: 44px; }
.end-page a:focus-visible, .end-page button:focus-visible,
.end-page input:focus-visible, .end-page summary:focus-visible { outline: 3px solid var(--end-blue); outline-offset: 4px; }
.end-page img { display: block; max-width: 100%; }
.end-wrap { width: min(1280px, calc(100% - 32px)); margin-inline: auto; }
.end-sr, .end-skip:not(:focus) { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.end-skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100000; padding: 12px; background: white; }
.end-utility { background: var(--end-navy); color: white; font-size: 12px; }
.end-utility .end-wrap { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 12px; }
.end-live { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; }
.end-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--end-red); }
.end-header { position: sticky; top: 0; z-index: 100; background: white; border-bottom: 1px solid var(--end-line); box-shadow: 0 2px 10px #0f2a5c08; }
.admin-bar .end-header { top: 46px; }
.end-header-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding-block: 14px; position: relative; }
.end-brand { display: inline-flex; flex-direction: column; color: var(--end-navy) !important; text-decoration: none !important; }
.end-logo { font-size: clamp(25px, 3vw, 36px); font-weight: 800; line-height: 1.3; letter-spacing: -.8px; }
.end-logo b { color: var(--end-blue); font-weight: 800; }
.end-tagline { font-size: 11px; color: var(--end-muted); margin-top: 3px; }
.end-menu-toggle { margin-left: auto; padding: 8px; background: var(--end-bg); color: var(--end-navy); font-size: 12px !important; }
.end-menu-toggle span { font-size: 18px; }
.end-nav { order: 3; width: 100%; }
.end-menu, .end-footer ul { list-style: none; padding: 0; margin: 0; }
.end-menu { display: flex; flex-wrap: wrap; gap: 4px 16px; padding-top: 10px; }
.end-menu a, .end-menu > li > span { display: block; padding: 10px 0; color: var(--end-navy); font-size: 14px; font-weight: 700; }
.end-menu a[aria-current="page"], .end-menu .current-menu-item > a { color: var(--end-blue); box-shadow: inset 0 -3px var(--end-blue); }
.end-search { margin-left: auto; }
.end-search summary { display: grid; place-items: center; width: 44px; cursor: pointer; list-style: none; }
.end-search summary::-webkit-details-marker { display: none; }
.end-search form { position: absolute; right: 0; top: 100%; width: min(390px, 100%); padding: 18px; background: white; border: 1px solid var(--end-line); border-radius: var(--end-radius); box-shadow: var(--end-shadow); }
.end-search label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
.end-search form > div { display: flex; gap: 8px; }
.end-search input { width: 100%; min-width: 0; border: 1px solid var(--end-line); border-radius: 8px; padding: 8px 10px; background: white; color: var(--end-navy); }
.end-search button { background: var(--end-orange); color: var(--end-navy); padding: 8px 14px; font-weight: 700; }
.end-ticker { display: flex; align-items: center; gap: 12px; margin: 22px 0; padding: 0 10px 0 0; background: white; border-radius: 8px; overflow: hidden; box-shadow: var(--end-shadow); }
.end-ticker > strong { background: var(--end-red); color: white; padding: 14px 12px; font-size: 12px; }
.end-ticker-items { flex: 1; min-width: 0; }
.end-ticker-items a { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; font-weight: 700; color: var(--end-navy); padding: 8px 0; }
.end-ticker-pause { background: var(--end-bg); color: var(--end-navy); padding: 6px 10px; font-size: 12px !important; }
.end-hero, .end-hero-side, .end-grid, .end-content-layout { display: grid; gap: 22px; min-width: 0; }
.end-hero { margin: 0 0 32px; }
.end-card { background: var(--end-card); border-radius: var(--end-radius); box-shadow: var(--end-shadow); min-width: 0; overflow: hidden; }
.end-media { position: relative; }
.end-media > a { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #e5edf9; }
.end-media img { width: 100%; height: 100%; object-fit: cover; }
.end-placeholder { display: grid; width: 100%; height: 100%; place-items: center; background: linear-gradient(135deg, #dbe8fc, #f2f5fa); color: var(--end-navy); font-weight: 700; }
.end-pill { position: absolute; top: 12px; left: 12px; max-width: calc(100% - 24px); padding: 5px 10px 3px; border-radius: 50px; font-size: 11px; font-weight: 800; background: var(--end-blue); color: white; line-height: 1.5; }
.end-pill--recharge { background: var(--end-green); color: #071f18; }
.end-pill--mobile-tips { background: var(--end-amber); color: #251900; }
.end-pill--ai-tools { background: var(--end-red); }
.end-pill--gadgets { background: var(--end-orange); color: #251900; }
.end-card-body { padding: 18px; }
.end-card h3 { font-size: 21px; line-height: 1.5; }
.end-card h3 a { color: inherit; }
.end-card h3 a:hover { color: var(--end-blue); }
.end-card--hero h3 { font-size: clamp(25px, 2.4vw, 34px); }
.end-excerpt { margin-top: 9px !important; color: var(--end-muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.end-meta { display: flex; flex-wrap: wrap; gap: 4px 7px; margin-top: 12px; color: var(--end-muted); font-size: 11px; }
.end-content { min-width: 0; }
.end-section { margin-bottom: 30px; }
.end-section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.end-section-head h2 { font-size: 23px; line-height: 1.4; padding-bottom: 10px; position: relative; }
.end-section-head h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 42px; height: 3px; border-radius: 3px; background: var(--end-blue); }
.end-section-head > a { font-size: 12px; font-weight: 700; padding: 8px 0; }
.end-budget { background: #e8eef8; border-radius: var(--end-radius); padding: 20px; margin-bottom: 30px; }
.end-budget h2 { font-size: 22px; margin-bottom: 12px; }
.end-budget > div { display: flex; flex-wrap: wrap; gap: 10px; }
.end-budget-link { display: inline-flex; justify-content: center; align-items: center; flex: 1 1 150px; padding: 10px 12px; border: 1px solid var(--end-blue); border-radius: 50px; font-size: 13px; font-weight: 700; background: white; }
span.end-budget-link { color: var(--end-muted); border-color: #abb9cd; }
.end-stories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.end-story { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--end-radius); overflow: hidden; box-shadow: var(--end-shadow); background: var(--end-navy); }
.end-story > img, .end-story > .end-placeholder { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.end-story::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 25%, rgba(0,0,0,.85)); }
.end-story h3 { position: absolute; z-index: 1; bottom: 14px; left: 12px; right: 12px; font-size: 16px; line-height: 1.55; color: white; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.end-story-icon { position: absolute; top: 8px; right: 10px; z-index: 1; color: white; text-shadow: 0 1px 3px #000; }
.end-sidebar { align-self: start; margin-bottom: 30px; min-width: 0; }
.end-sidebar .end-section-head h2::after { background: var(--end-red); }
.end-card--popular { display: grid; grid-template-columns: 105px minmax(0, 1fr); padding: 12px; gap: 12px; margin-bottom: 14px; }
.end-card--popular .end-media > a { border-radius: 8px; }
.end-card--popular .end-pill { top: 4px; left: 4px; max-width: calc(100% - 8px); font-size: 8px; padding: 2px 5px; }
.end-card--popular .end-card-body { padding: 0; }
.end-card--popular h3 { font-size: 16px; }
.end-card--popular .end-excerpt { font-size: 12px; }
.end-card--popular .end-meta { font-size: 10px; margin-top: 8px; }
.end-empty { padding: 22px; background: white; border-radius: var(--end-radius); color: var(--end-muted); font-size: 14px; }
.end-footer { background: var(--end-navy); color: #dce5f4; border-top: 3px solid var(--end-blue); }
.end-footer-grid { display: grid; gap: 28px; padding-block: 36px; }
.end-footer .end-brand, .end-footer h2 { color: white !important; }
.end-footer .end-tagline { color: #dce5f4; }
.end-footer p { max-width: 360px; font-size: 14px; margin-top: 14px; }
.end-footer h2 { font-size: 20px; margin-bottom: 15px; }
.end-footer li { margin-bottom: 7px; font-size: 14px; }
.end-footer a { color: #dce5f4; }
.end-footer li > span { color: #b7c5da; }
.end-socials { display: flex; gap: 10px; margin-top: 18px; }
.end-socials a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #ffffff40; border-radius: 50%; color: white; }
.end-socials a:hover { background: var(--end-blue); }
.end-footer-bottom { padding-block: 18px; border-top: 1px solid #ffffff30; font-size: 12px; }
@media (min-width: 600px) {
  .end-stories { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 783px) { .admin-bar .end-header { top: 32px; } }
@media (min-width: 900px) {
  .end-wrap { width: min(1280px, calc(100% - 64px)); }
  .end-header-inner { flex-wrap: nowrap; gap: 22px; }
  .end-nav { order: 0; width: auto; margin-left: auto; }
  .end-menu { gap: 16px; padding: 0; }
  .end-menu a, .end-menu > li > span { font-size: 13px; }
  .end-search { margin-left: 0; }
  .end-hero { grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); align-items: start; }
  .end-hero-side { grid-template-columns: 1fr; gap: 18px; }
  .end-card--side h3 { font-size: 18px; }
  .end-card--side .end-card-body { padding: 14px 16px; }
  .end-card--side .end-excerpt { display: none; }
  .end-content-layout { grid-template-columns: minmax(0, 1fr) 310px; gap: 28px; }
  .end-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .end-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .end-card--more h3 { font-size: 17px; }
  .end-card--more .end-card-body { padding: 14px; }
  .end-story h3 { font-size: 14px; }
  .end-footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 64px; }
}
@media (min-width: 1200px) {
  .end-menu { gap: 24px; }
  .end-menu a, .end-menu > li > span { font-size: 14px; }
  .end-budget { display: flex; align-items: center; gap: 18px; }
  .end-budget h2 { flex-shrink: 0; font-size: 20px; margin: 0; }
  .end-budget > div { flex: 1; }
  .end-budget-link { flex-basis: 0; font-size: 11px; white-space: nowrap; }
}
@media (max-width: 599px) { .admin-bar .end-header { top: 0; } }
@media (prefers-reduced-motion: reduce) { .end-page * { scroll-behavior: auto !important; } }

/* Reference mockup layout: flat white editorial surface, centered masthead. */
body.end-site { background: #fff; color: #111; }
.end-page h2, .end-page h3 { color: #111; }
.end-wrap { width: min(1280px, calc(100% - 32px)); }
.end-header { position: relative; top: auto !important; box-shadow: none; }
.end-header-inner { justify-content: center; padding: 22px 0 0; gap: 10px; }
.end-header .end-brand { flex-basis: 100%; align-items: center; }
.end-logo { color: #111; font-size: 38px; }
.end-tagline { font-size: 13px; color: #222; }
.end-nav { width: 100%; margin: 0; order: 3; }
.end-menu { justify-content: center; padding: 0; gap: 28px; }
.end-menu a, .end-menu > li > span { padding: 14px 0 10px; font-size: 14px; color: #111; }
.end-search { position: absolute; right: 0; bottom: 0; margin: 0; }
.end-menu-toggle { margin: 0 0 8px; }
#end-main { padding-top: 18px; }
.end-feature-layout { display: grid; gap: 28px; border-bottom: 1px solid var(--end-line); padding-bottom: 24px; margin-bottom: 20px; }
.end-hero { display: block; margin: 0; }
.end-card { background: transparent; border-radius: 0; box-shadow: none; overflow: visible; }
.end-media > a { border-radius: 5px; }
.end-card--hero .end-media > a { aspect-ratio: 9 / 4; }
.end-pill { position: static; display: block; padding: 0; margin-top: 8px; border-radius: 0; background: transparent !important; color: var(--end-blue) !important; font-size: 13px; font-weight: 700; max-width: 100%; }
.end-card-body, .end-card--more .end-card-body { padding: 0; }
.end-card h3 { font-size: 21px; line-height: 1.5; }
.end-card--hero h3 { font-size: clamp(26px, 3vw, 36px); }
.end-card--hero .end-excerpt { display: none; }
.end-meta { margin-top: 8px; font-size: 12px; }
.end-excerpt { font-size: 15px; -webkit-line-clamp: 3; margin-top: 6px !important; }
.end-content-layout { display: block; }
.end-section { margin-bottom: 26px; }
.end-section-head { margin-bottom: 14px; }
.end-section-head h2 { font-size: 25px; }
.end-sidebar { margin: 0; }
.end-sidebar .end-section-head h2::after { background: var(--end-blue); }
.end-card--popular { grid-template-columns: 120px minmax(0, 1fr); border-bottom: 1px solid var(--end-line); padding: 0 0 14px; margin-bottom: 14px; gap: 14px; }
.end-card--popular:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.end-card--popular .end-media > a { aspect-ratio: 3 / 2; border-radius: 5px; }
.end-card--popular .end-pill { display: none; }
.end-card--popular .end-placeholder { font-size: 10px; }
.end-card--popular h3 { font-size: 17px; }
.end-card--popular .end-excerpt { font-size: 13px; -webkit-line-clamp: 3; }
.end-card--popular .end-meta { font-size: 11px; }
.end-budget { border-radius: 6px; padding: 14px 18px; background: #f0f1f3; }
.end-budget h2 { color: #111; }
.end-budget-link { padding: 8px 14px; font-size: 14px; }
.end-grid, .end-grid--three { gap: 24px; }
.end-stories { gap: 22px; }
.end-story { border-radius: 5px; box-shadow: none; }
.end-story h3 { font-size: 18px; }
.end-footer { background: #191d20; color: #bac1ca; }
.end-footer .end-logo { font-size: 28px; color: #fff; }
.end-footer .end-tagline { color: #bac1ca; }
.end-footer a { color: #bac1ca; }
.end-footer h2 { position: relative; padding-bottom: 10px; }
.end-footer h2::after { content: ''; position: absolute; bottom: 0; left: 0; height: 3px; width: 36px; background: var(--end-blue); }
.end-footer-grid { gap: 32px; }
@media (min-width: 900px) {
 .end-wrap { width: min(1280px, calc(100% - 80px)); }
 .end-header-inner { flex-wrap: wrap; padding-top: 22px; gap: 10px; }
 .end-nav { order: 0; width: 100%; margin: 0; }
 .end-feature-layout { grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); }
 .end-grid, .end-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
 .end-budget { display: flex; align-items: center; gap: 24px; }
 .end-budget h2 { margin: 0; flex-shrink: 0; font-size: 24px; }
 .end-budget > div { flex: 1; }
 .end-budget-link { flex-basis: 0; font-size: 13px; white-space: nowrap; }
 .end-footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}
@media (max-width: 899px) {
 .end-search { bottom: 8px; }
 .end-menu { padding-bottom: 12px; gap: 10px 22px; }
 .end-card--hero .end-media > a { aspect-ratio: 16 / 9; }
 .end-story h3 { font-size: 15px; }
 .end-logo { font-size: 32px; }
}
.end-page .end-story h3 { color: #fff; }
/* Shared inner pages and a search dialog that never participates in page layout. */
.end-brand-image { width: min(320px, 70vw); height: auto; max-height: 96px; object-fit: contain; }
.end-footer .end-brand-image { width: min(240px, 70vw); }
.end-search-trigger { position: absolute; right: 0; bottom: 0; display: grid; place-items: center; width: 44px; height: 44px; color: #111 !important; }
.end-search-open { overflow: hidden; }
.end-search-dialog { padding: 26px; border: 1px solid #dce3ee; border-radius: 16px; width: min(600px, calc(100vw - 32px)); max-width: calc(100vw - 32px); max-height: calc(100dvh - 48px); margin: auto; color: #111; background: #fff; box-shadow: 0 24px 80px rgba(0,0,0,.22); overflow-y: auto; }
.end-search-dialog:not([open]) { display: none !important; }
.end-search-dialog::backdrop { background: rgba(15,42,92,.65); }
.end-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.end-dialog-head h2 { font-size: 24px; line-height: 1.4; }
.end-search-close { flex-shrink: 0; width: 44px; height: 44px; font-size: 28px !important; background: #f2f5fa; color: #0f2a5c; }
.end-search-dialog > p { font-size: 14px; color: #606b7a; margin-bottom: 20px; }
.end-search-form { width: 100%; max-width: 650px; margin-top: 18px; }
.end-search-form label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.end-search-fields { display: flex; gap: 10px; }
.end-search-fields input { flex: 1; min-width: 0; width: 100%; padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; color: #111; font-size: 16px; }
.end-search-fields button { padding: 12px 20px; color: #fff; background: #1a73e8; font-weight: 700; }
.end-inner-main { padding-top: 22px !important; padding-bottom: 40px; }
.end-breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 12px; color: #606b7a; margin-bottom: 22px; }
.end-breadcrumbs [aria-current] { max-width: 100%; overflow-wrap: anywhere; }
.end-inner-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.end-single-article, .end-listing-content { min-width: 0; }
.end-article-header { padding-bottom: 22px; margin-bottom: 24px; border-bottom: 1px solid #dce3ee; }
.end-article-categories { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; font-size: 13px; font-weight: 700; }
.end-article-header h1 { font-size: clamp(28px, 3vw, 40px); line-height: 1.5; font-weight: 800; color: #111; margin: 0; }
.end-article-deck { color: #606b7a; font-size: 18px; line-height: 1.8; margin-top: 14px !important; }
.end-article-meta { display: flex; align-items: center; gap: 12px; margin-top: 20px; font-size: 13px; font-weight: 600; }
.end-author-avatar { border-radius: 50%; width: 40px; height: 40px; }
.end-article-meta .end-meta { margin-top: 4px; font-weight: 400; }
.end-article-image { margin: 0 0 26px; }
.end-article-image > img { width: 100%; height: auto; border-radius: 6px; }
.end-article-image figcaption { color: #606b7a; font-size: 12px; margin-top: 8px; }
.end-article-content { font-size: 18px; line-height: 1.95; color: #222; overflow-wrap: anywhere; }
.end-article-content > * { margin-bottom: 22px; }
.end-article-content p { margin-bottom: 22px; }
.end-article-content h2 { font-size: 28px; line-height: 1.55; margin: 34px 0 16px; }
.end-article-content h3 { font-size: 23px; line-height: 1.55; margin: 26px 0 12px; }
.end-article-content h4 { font-size: 20px; }
.end-article-content ul, .end-article-content ol { margin: 0 0 24px 24px; }
.end-article-content li { margin-bottom: 8px; }
.end-article-content blockquote { padding: 20px; margin: 24px 0; background: #f2f5fa; border-left: 4px solid #1a73e8; font-size: 18px; }
.end-article-content blockquote p:last-child { margin-bottom: 0; }
.end-article-content img, .end-article-content video, .end-article-content iframe { max-width: 100%; }
.end-article-content img { height: auto; }
.end-article-content .alignwide, .end-article-content .alignfull { width: 100%; max-width: 100%; margin-left: 0; margin-right: 0; }
.end-article-content pre { max-width: 100%; overflow-x: auto; padding: 18px; background: #f2f5fa; border-radius: 6px; font-size: 14px; }
.end-article-content .wp-block-table { overflow-x: auto; }
.end-article-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.end-article-content td, .end-article-content th { border: 1px solid #dce3ee; padding: 12px; text-align: left; }
.end-article-content .wp-block-embed__wrapper { max-width: 100%; }
.end-article-content .wp-block-embed.is-type-video iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }
.end-page-links { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 20px; }
.end-article-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 18px 0; border-top: 1px solid #dce3ee; margin-top: 26px; font-size: 13px; }
.end-article-tags a { padding: 5px 12px; border-radius: 30px; background: #f2f5fa; }
.end-author-box { padding: 22px; background: #f2f5fa; border-radius: 8px; margin: 22px 0; }
.end-author-box h2 { font-size: 18px; margin-bottom: 10px; }
.end-author-box p { font-size: 14px; color: #606b7a; margin-top: 8px; }
.end-single-article .post-navigation { margin: 24px 0; padding: 22px 0; border-top: 1px solid #dce3ee; border-bottom: 1px solid #dce3ee; }
.end-single-article .post-navigation .nav-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.end-single-article .post-navigation .nav-previous, .end-single-article .post-navigation .nav-next { float: none; width: auto; font-size: 15px; }
.end-single-article .post-navigation a { display: flex; flex-direction: column; gap: 7px; }
.end-post-nav-label { color: #606b7a; font-size: 12px; }
.end-related { margin-top: 38px; padding-top: 26px; border-top: 1px solid #dce3ee; }
.end-sidebar-topics { margin-top: 28px; padding: 20px; border-radius: 8px; background: #f2f5fa; }
.end-sidebar-topics h2 { font-size: 19px; margin-bottom: 12px; }
.end-sidebar-topics ul { list-style: none; margin: 0; padding: 0; }
.end-sidebar-topics li { font-size: 14px; padding: 7px 0; border-bottom: 1px solid #dce3ee; }
.end-sidebar-topics li:last-child { border: 0; }
.end-archive-header { padding: 22px 0 28px; border-bottom: 1px solid #dce3ee; margin-bottom: 30px; }
.end-eyebrow { color: #1a73e8; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.end-archive-header h1 { color: #111; font-size: clamp(28px, 4vw, 40px); font-weight: 800; line-height: 1.5; margin: 8px 0; }
.end-archive-description { color: #606b7a; font-size: 16px; max-width: 820px; }
.end-result-count { color: #606b7a; font-size: 12px; margin-top: 10px !important; }
.end-pagination { margin: 32px 0; }
.end-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.end-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; min-height: 42px; padding: 8px 14px; border: 1px solid #dce3ee; border-radius: 6px; background: #fff; font-size: 14px; }
.end-pagination .current { background: #1a73e8; color: #fff; border-color: #1a73e8; }
.end-no-results { padding: 26px; background: #f2f5fa; border-radius: 8px; }
.end-no-results h2 { font-size: 24px; margin-bottom: 12px; }
.end-no-results p { font-size: 15px; color: #606b7a; }
.end-static-page { max-width: 1000px; }
.end-not-found { padding-block: 70px !important; min-height: 55vh; }
.end-not-found h1 { font-size: 40px; margin: 12px 0; }
.end-not-found > p { color: #606b7a; }
.end-home-link { display: inline-block; padding-top: 24px; }
.end-page .comments-area { margin-top: 28px; }
.end-page .comments-area .comment-list { margin-left: 0; }
.end-page .comments-area .comment-body { border-bottom: 1px solid #dce3ee; padding: 20px 0; }
.end-page .comments-area h2 { font-size: 24px; }
.end-page .comments-area input:not([type=checkbox]), .end-page .comments-area textarea { max-width: 100%; padding: 12px; border-radius: 6px; border: 1px solid #cbd5e1; background: #fff; }
.end-page input[type=checkbox] { min-height: auto; }
.end-page .comments-area input[type=submit] { background: #1a73e8; color: #fff; border: none; padding: 12px 20px; }
@media (min-width: 900px) {
 .end-inner-layout { grid-template-columns: minmax(0, 1fr) 330px; gap: 36px; }
 .end-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
 .end-search-dialog { padding: 18px; }
 .end-dialog-head h2 { font-size: 21px; }
 .end-search-fields { flex-direction: column; }
 .end-search-fields button { width: 100%; }
 .end-article-content { font-size: 17px; line-height: 1.9; }
 .end-article-content h2 { font-size: 24px; }
 .end-single-article .post-navigation .nav-links { grid-template-columns: 1fr; }
 .end-search-trigger { bottom: 8px; }
}
.end-footer .end-brand-image { background: #fff; padding: 6px 10px; border-radius: 5px; }

/* Polished mobile header (v1.4.1): compact app bar + dropdown menu panel. */
@media (max-width: 899px) {
  .end-header-inner { flex-direction: row; align-items: center; justify-content: space-between; padding: 8px 0; gap: 6px; }
  .end-header .end-brand { order: 2; flex: 1 1 auto; flex-basis: auto; min-width: 0; align-items: center; text-align: center; }
  .end-brand-image { width: auto; max-width: 56vw; height: 40px; max-height: 40px; }
  .end-menu-toggle { order: 1; margin: 0; width: 44px; height: 44px; padding: 0; display: grid; place-items: center; background: #eef2f7; border-radius: 12px; font-size: 0; -webkit-tap-highlight-color: transparent; }
  .end-menu-toggle span { font-size: 24px; line-height: 1; }
  .end-menu-toggle:hover { background: #e4eaf3; }
  .end-menu-toggle:active { background: #dbe3ef; }
  .end-search-trigger { position: static; order: 3; margin: 0; }
  .end-nav { order: 4; flex: 1 1 100%; width: 100%; margin: 6px 0 0; padding: 2px 0 8px; border-top: 1px solid var(--end-line); }
  .end-menu { flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
  .end-menu > li { border-bottom: 1px solid #eef2f7; }
  .end-menu > li:last-child { border-bottom: 0; }
  .end-menu a, .end-menu > li > span { padding: 13px 6px; font-size: 15px; }
  .end-menu a[aria-current="page"], .end-menu .current-menu-item > a { box-shadow: inset 3px 0 var(--end-blue); }
}
