/* DEWAS TIMES — clean, responsive news theme */
:root {
  --dt-navy: #102b4e;
  --dt-navy-deep: #091d36;
  --dt-blue: #2463a0;
  --dt-red: #c62832;
  --dt-gold: #efb64d;
  --dt-ink: #172333;
  --dt-muted: #68778b;
  --dt-line: #e5eaf0;
  --dt-paper: #f5f7fa;
  --dt-white: #fff;
  --dt-radius: 18px;
  --dt-shadow: 0 16px 42px rgba(16, 43, 78, .09);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--dt-paper); color: var(--dt-ink); font-family: "Poppins", Arial, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
button { font: inherit; }
.container { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: clamp(56px, 7vw, 86px) 0; }
:focus-visible { outline: 3px solid var(--dt-gold); outline-offset: 3px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 999; padding: 10px 14px; background: #fff; color: var(--dt-navy); border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* Header and navigation */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: blur(14px); border-bottom: 1px solid var(--dt-line); box-shadow: 0 4px 20px rgba(16,43,78,.035); }
.nav-shell { width: min(100% - 40px, 1220px); min-height: var(--header); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.dt-logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--dt-navy); flex-shrink: 0; }
.dt-logo-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--dt-navy); color: #fff; font-size: 19px; }
.dt-logo-copy { display: flex; flex-direction: column; gap: 5px; line-height: 1; }
.dt-logo strong { font: 900 22px/1 "Montserrat", sans-serif; letter-spacing: -.055em; color: var(--dt-navy); }
.dt-logo small { color: #748196; font-size: 8px; font-weight: 700; letter-spacing: .12em; }
.primary-nav { display: flex; align-items: center; gap: clamp(13px, 1.8vw, 25px); }
.primary-nav a { color: #45556b; text-decoration: none; font-size: 12px; font-weight: 600; }
.primary-nav a:hover { color: var(--dt-red); }
.primary-nav .nav-cta { display: inline-flex; align-items: center; gap: 9px; padding: 12px 16px; border-radius: 999px; background: var(--dt-navy); color: #fff; box-shadow: 0 8px 18px rgba(16,43,78,.14); }
.primary-nav .nav-cta:hover { background: var(--dt-red); color: #fff; transform: translateY(-2px); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--dt-line); border-radius: 12px; background: #fff; color: var(--dt-navy); font-size: 18px; cursor: pointer; }

/* Hero */
.dt-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(64px, 8vw, 104px) 0 78px; color: #fff; background: linear-gradient(118deg, var(--dt-navy-deep), var(--dt-navy) 58%, #1d5687); }
.dt-hero::before { content: ""; position: absolute; z-index: -1; width: 600px; height: 600px; right: -220px; top: -300px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 65px rgba(255,255,255,.025), 0 0 0 130px rgba(255,255,255,.018); }
.dt-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 4px; background: linear-gradient(90deg, var(--dt-red), var(--dt-gold), #fff); }
.dt-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(35px, 6vw, 80px); }
.dt-kicker, .section-eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--dt-gold); font-size: 10px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.dt-kicker::before { content: ""; width: 25px; height: 2px; background: var(--dt-gold); }
.dt-hero h1 { margin: 18px 0; font: 900 clamp(48px, 6.3vw, 78px)/.99 "Montserrat", sans-serif; letter-spacing: -.06em; color: #fff; }
.dt-hero h1 em { color: #f4bd55; font-style: normal; }
.dt-hero-copy > p { max-width: 590px; margin: 0; color: #d8e2ef; font-size: 15px; line-height: 1.85; }
.dt-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.dt-actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 999px; font-size: 12px; font-weight: 700; text-decoration: none; }
.dt-btn-primary { background: #fff; color: var(--dt-navy); box-shadow: 0 10px 26px rgba(0,0,0,.12); }
.dt-btn-primary:hover { background: var(--dt-gold); transform: translateY(-2px); }
.dt-btn-outline { border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.06); color: #fff; }
.dt-btn-outline:hover { background: rgba(255,255,255,.15); transform: translateY(-2px); }
.dt-hero-meta { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 30px; color: #c5d3e4; font-size: 11px; font-weight: 600; }
.dt-hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.dt-hero-meta i { color: var(--dt-gold); }
.dt-hero-visual { position: relative; display: grid; place-items: center; min-height: 380px; }
.hero-orbit { position: absolute; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; }
.orbit-one { width: 350px; height: 350px; }
.orbit-two { width: 430px; height: 430px; border-style: dashed; opacity: .5; }
.hero-news-card { position: relative; z-index: 1; width: min(340px, 82%); padding: 25px; border-radius: 18px; background: #fff; color: var(--dt-ink); box-shadow: 0 30px 70px rgba(0,0,0,.25); transform: rotate(2deg); animation: dt-float 6s ease-in-out infinite; }
.hero-card-top { display: flex; align-items: center; gap: 8px; color: #748196; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #dc3944; box-shadow: 0 0 0 4px rgba(220,57,68,.12); }
.hero-paper-name { margin-top: 23px; color: var(--dt-navy); font: 900 45px/.83 Georgia, serif; letter-spacing: -.06em; }
.hero-paper-name span { color: var(--dt-red); }
.hero-paper-line { height: 3px; margin: 18px 0; background: linear-gradient(90deg, var(--dt-red), var(--dt-gold)); }
.hero-paper-head { font: 800 19px/1.25 "Montserrat", sans-serif; }
.hero-paper-lines { display: grid; gap: 8px; margin-top: 20px; }
.hero-paper-lines i { height: 6px; border-radius: 10px; background: #edf1f5; }
.hero-paper-lines i:nth-child(2) { width: 88%; }
.hero-paper-lines i:nth-child(3) { width: 95%; }
.hero-paper-lines i:nth-child(4) { width: 65%; }
.hero-paper-footer { display: flex; align-items: center; gap: 7px; margin-top: 22px; padding-top: 13px; border-top: 1px solid var(--dt-line); color: #77869a; font-size: 10px; font-weight: 600; }
.hero-paper-footer i { color: var(--dt-red); }
.hero-floating-tag { position: absolute; right: 2%; bottom: 34px; display: flex; align-items: center; gap: 8px; padding: 12px 16px; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; background: rgba(255,255,255,.12); color: #fff; font-size: 11px; font-weight: 700; backdrop-filter: blur(8px); }

/* Update strip and news feed */
.dt-breaking { background: #fff; border-bottom: 1px solid var(--dt-line); }
.dt-breaking-inner { min-height: 58px; display: flex; align-items: center; gap: 14px; }
.dt-breaking-label { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; padding: 8px 12px; border-radius: 6px; background: var(--dt-red); color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .06em; }
.dt-breaking-text { margin: 0; overflow: hidden; color: #435166; font-size: 12px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.dt-news-section { background: var(--dt-paper); }
.dt-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.dt-section-head > div:first-child { max-width: 740px; }
.dt-section-head .section-eyebrow, .section-heading .section-eyebrow { color: var(--dt-red); }
.dt-section-head h2, .section-heading h2 { margin: 9px 0 0; color: var(--dt-navy); font: 800 clamp(28px, 3.7vw, 42px)/1.12 "Montserrat", sans-serif; letter-spacing: -.045em; }
.dt-section-head p, .section-heading p { margin: 10px 0 0; color: var(--dt-muted); font-size: 13px; line-height: 1.7; }
.news-feed-status { display: block; margin-top: 9px; color: #718096; font-size: 11px; }
.news-feed-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.news-refresh-btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #dbe3ed; background: #fff; color: var(--dt-navy); border-radius: 999px; padding: 10px 15px; font: 600 12px "Poppins", sans-serif; cursor: pointer; }
.news-refresh-btn:hover { background: #edf3f9; }
.news-refresh-btn:disabled { opacity: .55; cursor: wait; }
.dt-more { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; color: var(--dt-blue); text-decoration: none; font-size: 12px; font-weight: 700; }
.dt-more:hover { color: var(--dt-red); gap: 11px; }
.dt-layout { display: grid; grid-template-columns: 1.4fr .9fr; gap: 18px; align-items: stretch; }
.dt-featured { position: relative; overflow: hidden; min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 4vw, 36px); border-radius: var(--dt-radius); color: #fff; background: linear-gradient(180deg, rgba(8,26,48,.02), rgba(8,26,48,.94)), linear-gradient(135deg,#5c8bb8,#1b416c 58%,#0b203a); box-shadow: var(--dt-shadow); }
.dt-featured .news-feed-image { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; opacity: .72; }
.dt-featured > :not(.news-feed-image) { position: relative; z-index: 1; }
.dt-featured::before { content: "DEWAS • TOP STORY"; position: absolute; top: 22px; left: 22px; z-index: 2; padding: 8px 11px; border: 1px solid rgba(255,255,255,.25); border-radius: 6px; background: rgba(255,255,255,.12); font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.dt-date { color: #8b97a7; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.dt-featured .dt-date { color: #f6c96c; }
.dt-featured h2 { max-width: 740px; margin: 11px 0; color: #fff; font: 800 clamp(24px, 3vw, 36px)/1.15 "Montserrat", sans-serif; letter-spacing: -.035em; }
.dt-featured p { max-width: 700px; margin: 0; color: #d8e3ef; font-size: 12px; line-height: 1.75; }
.dt-read { display: inline-flex; align-items: center; gap: 9px; width: max-content; margin-top: 17px; padding: 11px 15px; border-radius: 999px; background: #fff; color: var(--dt-navy); text-decoration: none; font-size: 11px; font-weight: 800; }
.dt-read:hover { background: var(--dt-gold); transform: translateY(-2px); }
.dt-side { display: grid; grid-template-rows: 1fr 1fr; gap: 14px; }
.dt-side-card, .dt-story { overflow: hidden; border: 1px solid var(--dt-line); border-radius: var(--dt-radius); background: #fff; box-shadow: 0 8px 25px rgba(16,43,78,.045); transition: transform .25s ease, box-shadow .25s ease; }
.dt-side-card { padding: 20px; }
.dt-side-card:hover, .dt-story:hover { transform: translateY(-4px); box-shadow: var(--dt-shadow); }
.news-feed-image { display: block; width: 100%; height: 155px; object-fit: cover; border-radius: 11px; margin: 0 0 13px; }
.dt-featured .news-feed-image { height: 100%; }
.dt-side-card h3 { margin: 8px 0 0; color: var(--dt-ink); font: 700 16px/1.4 "Montserrat", sans-serif; }
.dt-side-card p, .dt-story p { margin: 8px 0 0; color: var(--dt-muted); font-size: 11px; line-height: 1.7; }
.dt-side-card a, .dt-story a { display: inline-flex; align-items: center; gap: 7px; margin-top: 13px; color: var(--dt-blue); text-decoration: none; font-size: 11px; font-weight: 800; }
.dt-side-card a:hover, .dt-story a:hover { color: var(--dt-red); gap: 10px; }
.dt-story-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.dt-story-grid-more { margin-top: 17px; }
.dt-story-body { padding: 18px; }
.dt-story-tag { color: var(--dt-red); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.dt-story h3 { margin: 8px 0; color: var(--dt-ink); font: 700 15px/1.4 "Montserrat", sans-serif; }
.news-feed-empty { padding: 24px; border: 1px solid var(--dt-line); border-radius: 16px; background: #fff; color: #526176; }
.news-feed-empty p { font-size: 13px; line-height: 1.7; }

/* Categories */
.dt-categories { background: #fff; }
.dt-cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 13px; }
.dt-cat { display: flex; align-items: center; gap: 13px; min-height: 72px; padding: 14px; border: 1px solid var(--dt-line); border-radius: 14px; background: #f8fafc; color: var(--dt-ink); text-decoration: none; }
.dt-cat:hover { transform: translateY(-3px); border-color: #b7c9dc; background: #fff; box-shadow: 0 10px 24px rgba(16,43,78,.07); }
.dt-cat i { display: grid; place-items: center; flex: 0 0 39px; width: 39px; height: 39px; border-radius: 11px; background: #e7eef7; color: var(--dt-blue); font-size: 15px; }
.dt-cat strong { font: 700 12px/1.35 "Montserrat", sans-serif; }

/* About */
.dt-about { background: var(--dt-navy-deep); color: #fff; }
.dt-about-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.dt-about .section-eyebrow { color: var(--dt-gold); }
.dt-about h2 { margin: 14px 0 0; color: #fff; font: 800 clamp(32px, 4vw, 48px)/1.12 "Montserrat", sans-serif; letter-spacing: -.045em; }
.dt-about h2 em { color: var(--dt-gold); font-style: normal; }
.dt-about p { margin: 0; color: #c8d5e5; font-size: 13px; line-height: 1.9; }
.dt-about-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; color: #f4bd55; text-decoration: none; font-size: 12px; font-weight: 700; }
.dt-about-link:hover { gap: 13px; color: #fff; }

/* Group and footer */
.dt-group { background: #eef2f7; }
.section-heading { max-width: 760px; margin: 0 auto 30px; text-align: center; }
.company-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.company-card { display: flex; align-items: center; gap: 16px; min-width: 0; padding: 18px; border: 1px solid #e0e7ef; border-radius: 16px; background: #fff; color: var(--dt-ink); text-decoration: none; box-shadow: 0 8px 24px rgba(16,43,78,.035); }
.company-card:hover { transform: translateY(-4px); box-shadow: var(--dt-shadow); }
.company-card img, .dewas-times-card-logo { flex: 0 0 62px; width: 62px; height: 62px; object-fit: contain; border-radius: 12px; background: #f5f7fa; padding: 7px; }
.company-card > div:nth-child(2) { min-width: 0; flex: 1; }
.company-card > div > span { color: var(--dt-red); font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.company-card h3 { margin: 5px 0; color: var(--dt-navy); font: 700 14px/1.3 "Montserrat", sans-serif; }
.company-card p { margin: 0; color: var(--dt-muted); font-size: 10px; line-height: 1.6; }
.company-card > i { color: #8795a7; font-size: 13px; }
.dewas-times-card-logo { display: flex; flex-direction: column; justify-content: center; gap: 4px; color: var(--dt-navy); font-family: "Montserrat", sans-serif; font-size: 13px; font-weight: 900; line-height: .95; }
.dewas-times-card-logo small { font-size: 6px; letter-spacing: .08em; }
.site-footer { padding: 32px 0; background: #07172b; color: #c4d1e0; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.footer-logo .dt-logo-mark { background: rgba(255,255,255,.12); }
.site-footer .dt-logo strong { color: #fff; }
.site-footer .dt-logo small { color: #9eafc4; }
.site-footer p { max-width: 500px; margin: 11px 0 0; color: #9eafc4; font-size: 10px; line-height: 1.7; }
.footer-meta { display: flex; flex-direction: column; gap: 6px; text-align: right; font-size: 10px; }
.footer-meta strong { color: #fff; font-family: "Montserrat", sans-serif; }
.footer-meta span, .footer-meta small { color: #9eafc4; }

/* Motion */
.reveal { animation: dt-enter .65s both; }
.reveal-delay-1 { animation-delay: .08s; }
.reveal-delay-2 { animation-delay: .16s; }
.reveal-delay-3 { animation-delay: .24s; }
@keyframes dt-enter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dt-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* Tablet */
@media (max-width: 1000px) {
  .primary-nav { gap: 13px; }
  .primary-nav a { font-size: 11px; }
  .dt-hero-grid { grid-template-columns: 1fr  .8fr; gap: 24px; }
  .dt-layout { grid-template-columns: 1fr; }
  .dt-side { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .dt-cat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

/* Mobile navigation and layout */
@media (max-width: 760px) {
  .nav-shell, .container { width: calc(100% - 32px); }
  .nav-shell { min-height: 70px; }
  .menu-toggle { display: grid; place-items: center; }
  .primary-nav { position: absolute; left: 0; right: 0; top: calc(100% + 7px); display: none; align-items: stretch; gap: 0; padding: 9px; border: 1px solid var(--dt-line); border-radius: 16px; background: #fff; box-shadow: 0 18px 45px rgba(16,43,78,.16); }
  .primary-nav.is-open { display: flex; flex-direction: column; }
  .primary-nav a { padding: 13px 12px; font-size: 13px; }
  .primary-nav .nav-cta { justify-content: center; margin-top: 5px; }
  .dt-hero { padding: 54px 0 48px; }
  .dt-hero-grid { grid-template-columns: 1fr; gap: 25px; }
  .dt-hero h1 { font-size: clamp(44px, 11vw, 64px); }
  .dt-hero-copy > p { font-size: 13px; }
  .dt-hero-visual { min-height: 330px; }
  .orbit-one { width: 290px; height: 290px; }
  .orbit-two { width: 350px; height: 350px; }
  .hero-floating-tag { right: 3%; bottom: 18px; }
  .dt-section-head { display: block; }
  .news-feed-actions { justify-content: flex-start; margin-top: 16px; }
  .dt-side { grid-template-columns: 1fr 1fr; }
  .dt-story-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dt-about-inner { grid-template-columns: 1fr; gap: 18px; }
  .company-grid { grid-template-columns: 1fr; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
  .footer-meta { text-align: left; }
}
@media (max-width: 520px) {
  .nav-shell, .container { width: calc(100% - 28px); }
  .dt-logo strong { font-size: 19px; }
  .dt-logo small { font-size: 7px; }
  .dt-logo-mark { width: 38px; height: 38px; }
  .dt-hero { padding: 45px 0 40px; }
  .dt-hero h1 { font-size: clamp(41px, 12vw, 55px); }
  .dt-hero-meta { flex-direction: column; gap: 9px; }
  .dt-hero-visual { min-height: 295px; }
  .hero-news-card { width: min(300px, 82%); padding: 20px; }
  .hero-paper-name { font-size: 38px; }
  .hero-floating-tag { font-size: 9px; padding: 10px 12px; }
  .dt-breaking-inner { min-height: 52px; gap: 8px; }
  .dt-breaking-label { font-size: 8px; padding: 7px 8px; }
  .dt-breaking-text { font-size: 10px; }
  .section { padding: 48px 0; }
  .dt-side, .dt-story-grid, .dt-cat-grid { grid-template-columns: 1fr; }
  .dt-featured { min-height: 380px; padding: 22px; }
  .dt-featured h2 { font-size: 26px; }
  .dt-side-card { padding: 17px; }
  .company-card { gap: 12px; padding: 14px; }
  .company-card img, .dewas-times-card-logo { flex-basis: 52px; width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
