:root {
  --eas-navy: #00163a;
  --eas-red: #cf0000;
  --eas-light: #e6e6e6;
  --eas-mid: #d9d9d9;
  --eas-text: #161616;
  --eas-muted: #6c7280;
  --eas-shell: 1120px;
}

.eas-shell { width: min(calc(100% - 32px), var(--eas-shell)); margin-inline: auto; }
.eas-site-header { background: var(--eas-navy); position: relative; z-index: 50; }
.eas-header-inner { min-height: 70px; display: flex; align-items: center; gap: 30px; }
.eas-logo { width: 185px; min-width: 185px; background: #fff; align-self: stretch; display: flex; align-items: center; justify-content: center; padding: 8px 14px; }
.eas-logo img { width: 100%; height: auto; display: block; }
.eas-primary-nav { margin-left: auto; }
.eas-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 3px 20px; }
.eas-menu li { margin: 0; padding: 0; }
.eas-menu a { color: #fff; text-decoration: none; font: 700 12px/1.35 Arial, sans-serif; text-transform: uppercase; white-space: nowrap; }
.eas-menu a:hover, .eas-menu .current-menu-item > a { color: var(--eas-red); }
.eas-menu-toggle { display: none; width: 42px; height: 38px; padding: 8px; border: 0; background: transparent; cursor: pointer; }
.eas-menu-toggle span:not(.screen-reader-text) { display: block; height: 2px; background: #fff; margin: 5px 0; }

.eas-top-ad { background: var(--eas-light); padding: 14px 0; text-align: center; }
.eas-top-ad img { display: block; max-width: 760px; width: 100%; margin: auto; max-height: 100px; object-fit: contain; }

.eas-home-top { display: grid; grid-template-columns: 28% 1fr; gap: 18px; padding-top: 26px; }
.eas-section-heading { background: #dedede; color: #111; font: 700 13px/1.2 Arial, sans-serif; padding: 9px 10px; text-transform: uppercase; }
.eas-section-label { display: inline-block; font: 700 11px/1.2 Arial, sans-serif; padding: 5px 8px; text-transform: uppercase; }
.eas-section-label--red { background: var(--eas-red); color: #fff; }
.eas-panel { min-width: 0; }
.eas-feature-small img, .eas-feature-large img { width: 100%; display: block; object-fit: cover; }
.eas-feature-small img { aspect-ratio: 16/9; }
.eas-feature-large img { aspect-ratio: 16/7; }
.eas-feature-small, .eas-feature-large { color: var(--eas-text); text-decoration: none; display: block; }
.eas-feature-small strong, .eas-feature-large strong { display: block; font: 400 14px/1.35 Arial, sans-serif; padding: 9px 0; }
.eas-simple-list { list-style: none; margin: 0; padding: 0; }
.eas-simple-list li { border-top: 1px solid #e0e0e0; }
.eas-simple-list a { display: block; color: var(--eas-text); text-decoration: none; font: 400 13px/1.4 Arial, sans-serif; padding: 10px 0; }
.eas-simple-list a:hover { color: var(--eas-red); }

.eas-hero-slider { position: relative; min-height: 0; }
.eas-slides { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #ccc; }
.eas-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .45s ease; }
.eas-slide.is-active { opacity: 1; visibility: visible; }
.eas-slide a, .eas-slide img { display: block; width: 100%; height: 100%; }
.eas-slide img { object-fit: cover; }
.eas-slide-overlay { position: absolute; inset: auto 0 0; padding: 45px 20px 18px; color: #fff; background: linear-gradient(transparent, rgba(0, 14, 42, .95)); }
.eas-slide-overlay strong { display: block; font: 700 26px/1.1 Arial, sans-serif; }
.eas-slide-overlay small { display: block; margin-top: 8px; font: 400 13px/1.4 Arial, sans-serif; }
.eas-slider-dots { display: flex; justify-content: center; gap: 8px; padding-top: 10px; }
.eas-slider-dots button { border: 0; border-radius: 50%; width: 7px; height: 7px; padding: 0; background: #c7c7c7; cursor: pointer; }
.eas-slider-dots button.is-active { background: var(--eas-red); }

.eas-home-middle { display: grid; grid-template-columns: 28% 44% 28%; gap: 18px; padding-top: 18px; align-items: start; }
.eas-feed-row { display: grid; grid-template-columns: 78px 1fr; gap: 10px; align-items: start; color: var(--eas-text); text-decoration: none; border-bottom: 1px solid #e3e3e3; padding: 10px 0; font: 400 13px/1.35 Arial, sans-serif; }
.eas-feed-row:not(:has(img)) { grid-template-columns: 1fr; }
.eas-feed-row img { width: 78px; height: 52px; object-fit: cover; }
.eas-feed-row:hover { color: var(--eas-red); }
.eas-magazine { background: #f1f1f1; }
.eas-magazine-cover, .eas-sidebar-ad { display: block; width: calc(100% - 24px); height: auto; margin: 12px; }
.eas-sidebar-ad { margin-top: 18px; }

.eas-category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 22px; padding-top: 20px; padding-bottom: 140px; }
.eas-category-box .eas-simple-list { margin-top: 4px; }

.eas-search-wrap { display: flex; justify-content: flex-end; padding-bottom: 10px; }
.eas-search { width: 260px; display: flex; background: #304b7a; }
.eas-search input { flex: 1; min-width: 0; border: 0; background: transparent; color: #fff; padding: 7px 10px; font-size: 12px; }
.eas-search input::placeholder { color: #fff; opacity: .9; }
.eas-search button { width: 34px; border: 0; background: transparent; color: #fff; font-size: 19px; cursor: pointer; }

.eas-videos-section { background: #c9c9c9; padding: 36px 0 90px; }
.eas-videos-title, .eas-story-title { display: flex; align-items: center; gap: 8px; color: #fff; font: 400 17px/1.2 Arial, sans-serif; }
.eas-videos-title i { height: 4px; background: var(--eas-red); flex: 1; }
.eas-video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.eas-video-card { color: #111; text-decoration: none; background: rgba(255,255,255,.65); }
.eas-video-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.eas-video-card strong { display: block; padding: 10px; font: 600 14px/1.35 Arial, sans-serif; }

.eas-storytelling { background: #fff; padding: 34px 0 46px; }
.eas-story-title { color: #8a8a8a; }
.eas-story-title i { height: 5px; background: linear-gradient(#ddd 0 40%, #eee 40% 60%, #ddd 60%); flex: 1; }
.eas-story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 15px; }

.eas-site-footer { background: var(--eas-navy); color: #7286a9; padding: 34px 0; }
.eas-footer-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; }
.eas-footer-copy { font: 400 11px/1.5 Arial, sans-serif; }
.eas-footer-copy p { margin: 0 0 6px; }
.eas-footer-menu { display: flex; list-style: none; gap: 10px; margin: 0; padding: 0; }
.eas-footer-menu a { color: #7286a9; text-decoration: none; }
.eas-socials { display: flex; gap: 10px; }
.eas-socials a { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #31527f; color: #fff; text-decoration: none; font: 700 12px/1 Arial, sans-serif; }

.eas-single-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; padding-block: 34px 60px; }
.eas-single-article h1 { margin: 0 0 12px; font: 700 38px/1.15 Arial, sans-serif; color: var(--eas-navy); }
.eas-breadcrumbs, .eas-post-meta { color: var(--eas-muted); font: 400 13px/1.4 Arial, sans-serif; margin-bottom: 14px; }
.eas-single-image img { width: 100%; height: auto; display: block; margin-bottom: 22px; }
.eas-post-content { font: 400 17px/1.75 Arial, sans-serif; color: #222; }
.eas-post-content img { max-width: 100%; height: auto; }
.eas-post-tags a { display: inline-block; background: #eee; color: #333; text-decoration: none; padding: 5px 8px; margin: 4px 4px 0 0; font-size: 12px; }

.eas-archive { padding-block: 34px 60px; }
.eas-archive-header h1 { color: var(--eas-navy); font: 700 34px/1.2 Arial, sans-serif; }
.eas-archive-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.eas-archive-card { display: grid; grid-template-columns: 180px 1fr; gap: 16px; border-bottom: 1px solid #ddd; padding-bottom: 20px; }
.eas-archive-card img { width: 180px; height: 115px; object-fit: cover; }
.eas-archive-card h2 { margin: 0 0 8px; font: 700 18px/1.25 Arial, sans-serif; }
.eas-archive-card a { color: var(--eas-navy); text-decoration: none; }
.eas-archive-card p { margin: 0; font: 400 13px/1.45 Arial, sans-serif; }
.eas-pagination { margin-top: 30px; display: flex; gap: 5px; }
.eas-pagination .page-numbers { padding: 7px 10px; background: #eee; text-decoration: none; }
.eas-pagination .current { background: var(--eas-navy); color: #fff; }

@media (max-width: 900px) {
  .eas-header-inner { min-height: 58px; }
  .eas-logo { width: 155px; min-width: 155px; }
  .eas-menu-toggle { display: block; margin-left: auto; }
  .eas-primary-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; background: var(--eas-navy); padding: 10px 16px 18px; }
  .eas-site-header.is-menu-open .eas-primary-nav { display: block; }
  .eas-menu { display: block; }
  .eas-menu li { border-top: 1px solid rgba(255,255,255,.12); }
  .eas-menu a { display: block; padding: 11px 4px; }
  .eas-home-top, .eas-home-middle, .eas-category-grid, .eas-story-grid, .eas-video-grid, .eas-single-layout, .eas-archive-grid { grid-template-columns: 1fr; }
  .eas-home-top { padding-top: 12px; }
  .eas-home-top__hero { order: -1; }
  .eas-slide-overlay strong { font-size: 19px; }
  .eas-home-middle { gap: 24px; }
  .eas-category-grid { padding-bottom: 45px; }
  .eas-single-sidebar { order: 2; }
  .eas-archive-card { grid-template-columns: 120px 1fr; }
  .eas-archive-card img { width: 120px; height: 82px; }
}

@media (max-width: 560px) {
  .eas-shell { width: min(calc(100% - 18px), var(--eas-shell)); }
  .eas-top-ad { padding: 7px 0; }
  .eas-top-ad img { max-height: 55px; }
  .eas-slides { aspect-ratio: 1.25/1; }
  .eas-slide-overlay { padding: 50px 10px 10px; }
  .eas-slide-overlay strong { font-size: 17px; }
  .eas-slide-overlay small { font-size: 11px; }
  .eas-section-heading { font-size: 11px; padding: 7px 8px; }
  .eas-simple-list a, .eas-feed-row { font-size: 12px; }
  .eas-videos-section { padding-bottom: 50px; }
  .eas-footer-inner { align-items: flex-start; flex-direction: column; }
  .eas-single-article h1 { font-size: 28px; }
  .eas-post-content { font-size: 16px; }
  .eas-archive-card { grid-template-columns: 100px 1fr; gap: 10px; }
  .eas-archive-card img { width: 100px; height: 75px; }
}
