@font-face {
  font-family: Iran;
  src: url("/assets/fonts/regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Iran;
  src: url("/assets/fonts/medium.woff") format("woff");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Iran;
  src: url("/assets/fonts/bold.woff") format("woff");
  font-weight: 700 900;
  font-display: swap;
}
:root {
  --blue: #236e9b;
  --navy: #102e40;
  --green: #86ae58;
  --gold: #e8bd59;
  --ink: #193444;
  --muted: #7b8891;
  --line: #e6ebee;
  --bg: #f6f8fa;
  --paper: #fff;
  --radius: 12px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    14px/1.9 Iran,
    Arial,
    sans-serif;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
  background: none;
  color: inherit;
}
input,
textarea,
select {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 11px 13px;
  color: var(--ink);
  width: 100%;
  outline: none;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px #236e9b12;
}
textarea {
  resize: vertical;
  min-height: 120px;
}
img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}
svg.ico {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.wrap {
  max-width: 1320px;
  width: calc(100% - 80px);
  margin: auto;
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.between {
  justify-content: space-between;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 11px;
}
.eyebrow {
  font-size: 11px;
  color: var(--blue);
  font-weight: 700;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 19px;
  border-radius: 7px;
  background: var(--blue);
  color: white;
  font-weight: 500;
  white-space: nowrap;
  transition: 0.2s;
}
.btn:hover {
  filter: brightness(0.93);
  transform: translateY(-1px);
}
.btn.outline {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn.gold {
  background: var(--gold);
  color: var(--navy);
}
.btn.soft {
  background: #edf5fa;
  color: var(--blue);
}
.btn.danger {
  background: #fff0ef;
  color: #b34545;
}
.iconbtn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
}
.iconbtn:hover {
  background: #edf3f6;
}
.skip {
  position: fixed;
  top: -100px;
  background: white;
  padding: 10px;
  z-index: 99;
}
.skip:focus {
  top: 0;
}
.topbar {
  border-bottom: 1px solid var(--line);
  background: white;
  font-size: 11px;
  color: #71818a;
  height: 36px;
}
.topbar .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.toplinks {
  display: flex;
  gap: 22px;
}
.dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  display: inline-block;
  border-radius: 50%;
  margin-left: 6px;
}
.masthead {
  background: white;
}
.masthead .wrap {
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 15px;
}
.brand img {
  width: 82px;
  height: 82px;
  object-fit: contain;
}
.brand-name {
  font-weight: 900;
  font-size: 42px;
  line-height: 1.3;
  letter-spacing: -2px;
  color: var(--navy);
}
.brand-name span {
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--blue);
  display: block;
  text-align: center;
  direction: ltr;
}
.brand-tag {
  font-size: 12px;
  border-right: 1px solid var(--line);
  padding-right: 22px;
  margin-right: 8px;
  color: #74838d;
}
.brand-tag strong {
  font-size: 15px;
  color: var(--ink);
  display: block;
}
.header-tools {
  display: flex;
  gap: 9px;
  align-items: center;
}
.header-weather {
  display: flex;
  align-items: center;
  gap: 10px;
  border-left: 1px solid var(--line);
  padding-left: 24px;
  margin-left: 10px;
  font-size: 12px;
}
.sun3d {
  width: 42px;
  height: 42px;
  background: radial-gradient(circle at 35% 25%, #fff7bd, #f0be49 55%, #d89b2d);
  border-radius: 50%;
  box-shadow:
    0 0 0 5px #f7e6af55,
    3px 6px 9px #d4a54122;
  position: relative;
}
.sun3d:after {
  content: "";
  width: 28px;
  height: 15px;
  background: linear-gradient(white, #e3edf3);
  border-radius: 15px;
  position: absolute;
  bottom: -3px;
  left: -8px;
  box-shadow: 0 3px 4px #829fb424;
}
.mainnav {
  background: white;
  border-block: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 57px;
}
.navlinks {
  display: flex;
  align-items: stretch;
  height: 100%;
  gap: 29px;
}
.navlinks a {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  position: relative;
  font-weight: 500;
  white-space: nowrap;
}
.navlinks a.active {
  color: var(--blue);
}
.navlinks a.active:after {
  content: "";
  position: absolute;
  height: 3px;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--blue);
  border-radius: 3px 3px 0 0;
}
.nav-special {
  color: var(--blue);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.breaking {
  background: #fffdf6;
  border-bottom: 1px solid #f1ecdc;
}
.breaking .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 44px;
  font-size: 12px;
}
.breaking strong {
  color: #b28a28;
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.breaking p {
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.breaking time {
  margin-right: auto;
  font-size: 10px;
  color: #8a8e8e;
  white-space: nowrap;
}
.demo-note {
  font-size: 10px;
  color: #8b949a;
  display: flex;
  align-items: center;
  gap: 5px;
}
.trends {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 0;
  overflow: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.trends .label {
  font-size: 11px;
  font-weight: 500;
  display: flex;
  gap: 6px;
  align-items: center;
  color: var(--muted);
}
.tag {
  font-size: 11px;
  padding: 4px 11px;
  border-radius: 5px;
  background: #eaf0f4;
  color: #627989;
  display: inline-block;
}
.tag:hover {
  background: #dceaf3;
  color: var(--blue);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 2.4fr 1.15fr;
  gap: 20px;
  direction: rtl;
}
.lead {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 430px;
  color: #fff;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  background: #226183;
  grid-column: 2;
  grid-row: 1;
}
.lead > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  transition: transform 0.7s;
}
.lead:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #062d4210 18%, #062537db 100%);
  z-index: -1;
}
.lead:hover > img {
  transform: scale(1.04);
}
.lead-content {
  padding: 30px;
  width: 100%;
}
.pill {
  display: inline-flex;
  padding: 3px 11px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 500;
  background: #ffffffdf;
  color: var(--blue);
}
.pill.green {
  background: var(--green);
  color: white;
}
.lead h1 {
  font-size: 28px;
  line-height: 1.7;
  margin: 10px 0 8px;
  max-width: 460px;
}
.lead p {
  font-size: 12px;
  color: #dce5e9;
  margin: 0 0 16px;
}
.meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 10px;
}
.meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.meta .ico {
  width: 13px;
  height: 13px;
}
.lead .meta {
  color: #c7d7df;
}
.lead-top {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  gap: 5px;
}
.lead-top button {
  background: #ffffff23;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.hero-secondary {
  grid-column: 3;
  grid-row: 1;
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
}
.mini-feature {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  color: white;
  background: var(--navy);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.mini-feature img {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  z-index: -2;
  transition: 0.5s;
}
.mini-feature:hover img {
  transform: scale(1.05);
}
.mini-feature:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, #0b293aeb);
  z-index: -1;
}
.mini-feature > div {
  padding: 18px;
}
.mini-feature h3 {
  font-size: 15px;
  margin: 7px 0 0;
  line-height: 1.8;
}
.mini-feature .pill {
  background: #ffffff22;
  color: white;
}
.latest-panel {
  grid-column: 1;
  grid-row: 1;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.panel-title {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 12px;
}
.panel-title:before {
  content: "";
  width: 3px;
  height: 17px;
  border-radius: 3px;
  background: var(--green);
}
.live-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  margin-right: auto;
  box-shadow: 0 0 0 4px #86ae5818;
}
.latest-item {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  display: block;
}
.latest-item:last-of-type {
  border: 0;
}
.latest-item time {
  color: #86939b;
  font-size: 9px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.latest-item time:before {
  content: "";
  height: 4px;
  width: 4px;
  border-radius: 50%;
  background: #c5d4df;
}
.latest-item h3 {
  font-size: 12px;
  line-height: 1.85;
  margin: 5px 0 0;
  font-weight: 500;
}
.latest-item:hover h3 {
  color: var(--blue);
}
.text-link {
  font-size: 11px;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 10px;
}
.text-link .ico {
  width: 15px;
  height: 15px;
}
.section {
  padding-top: 37px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  margin: 0;
  letter-spacing: -0.4px;
}
.section-title:before {
  content: "";
  width: 4px;
  height: 23px;
  border-radius: 3px;
  background: var(--blue);
}
.section-title small {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
  margin-right: 8px;
}
.tabs {
  display: flex;
  gap: 6px;
}
.tabs button {
  padding: 5px 13px;
  border-radius: 5px;
  color: var(--muted);
  font-size: 11px;
}
.tabs button.active {
  color: var(--blue);
  background: #e6f0f7;
}
.news-layout {
  display: grid;
  grid-template-columns: 3.8fr 1.2fr;
  gap: 24px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px #163d5510;
}
.card-photo {
  aspect-ratio: 1.62;
  overflow: hidden;
  position: relative;
  background: #dce9ef;
}
.card-photo img {
  width: 100%;
  height: 100%;
  transition: 0.4s;
}
.card:hover img {
  transform: scale(1.03);
}
.card-photo .pill {
  position: absolute;
  bottom: 12px;
  right: 12px;
}
.card-body {
  padding: 17px;
}
.card h3 {
  font-size: 15px;
  line-height: 1.85;
  margin: 0 0 9px;
}
.card p {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 17px;
  line-height: 1.9;
}
.card .meta {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  justify-content: space-between;
}
.card .bookmark {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #fffd;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--navy);
}
.card .bookmark .ico {
  width: 15px;
  height: 15px;
}
.weather-card {
  border: 1px solid #dfebf3;
  background: linear-gradient(140deg, #f4faff, #eaf3f9);
  border-radius: 12px;
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.weather-card:after {
  content: "";
  width: 180px;
  height: 180px;
  border: 1px solid #fff9;
  border-radius: 50%;
  position: absolute;
  bottom: -120px;
  left: -60px;
  box-shadow:
    0 0 0 30px #ffffff30,
    0 0 0 60px #ffffff20;
  pointer-events: none;
}
.weather-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.weather-head h3 {
  margin: 0;
  font-size: 15px;
}
.weather-visual {
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 25px 0;
}
.weather-visual .sun3d {
  width: 55px;
  height: 55px;
}
.weather-value {
  font-size: 26px;
  line-height: 1.5;
  color: var(--blue);
  font-weight: 700;
}
.weather-value small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}
.weather-link {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  border-top: 1px solid #d6e4ee;
  padding-top: 12px;
  color: var(--blue);
  position: relative;
  z-index: 1;
}
.people-card {
  background: #f0f4e9;
  border: 1px solid #e1e9d5;
  border-radius: 12px;
  padding: 21px;
  margin-top: 18px;
  position: relative;
  overflow: hidden;
}
.people-card .ico-bg {
  position: absolute;
  left: -10px;
  bottom: -8px;
  color: #b7cd95;
  transform: rotate(-16deg);
}
.people-card .ico-bg .ico {
  width: 90px;
  height: 90px;
  stroke-width: 0.8;
}
.people-card h3 {
  font-size: 16px;
  margin: 3px 0 7px;
}
.people-card p {
  font-size: 11px;
  max-width: 175px;
  color: #788566;
  margin: 0 0 16px;
}
.people-card .btn {
  background: #7c9f4e;
  font-size: 11px;
  padding: 8px 15px;
  position: relative;
}
.video-section {
  background: var(--navy);
  border-radius: 14px;
  padding: 28px 30px;
  margin-top: 38px;
  color: white;
  position: relative;
  overflow: hidden;
}
.video-section:after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid #ffffff08;
  border-radius: 50%;
  top: -180px;
  right: 40%;
  pointer-events: none;
  box-shadow:
    0 0 0 35px #ffffff03,
    0 0 0 70px #ffffff02;
}
.video-section .section-title:before {
  background: var(--gold);
}
.video-section .section-title small {
  color: #95a9b5;
}
.video-section .text-link {
  color: #b7cbd7;
  padding: 0;
}
.video-content {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 28px;
}
.video-main {
  position: relative;
  aspect-ratio: 2;
  overflow: hidden;
  border-radius: 8px;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
}
.video-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}
.video-main:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, #082433cc);
  z-index: -1;
}
.play {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid #ffffff80;
  border-radius: 50%;
  background: #ffffff22;
  backdrop-filter: blur(4px);
}
.video-main > .play {
  position: absolute;
  top: calc(50% - 28px);
  left: calc(50% - 28px);
}
.video-main > .play .ico {
  width: 25px;
  height: 25px;
  fill: white;
  stroke: none;
}
.video-caption {
  padding: 20px;
}
.video-caption h3 {
  font-size: 19px;
  margin: 5px 0;
}
.video-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 15px;
}
.video-list-item {
  display: flex;
  gap: 15px;
  align-items: center;
  padding-bottom: 15px;
  border-bottom: 1px solid #ffffff12;
}
.video-list-item:last-child {
  padding: 0;
  border: 0;
}
.video-list-item img {
  width: 110px;
  aspect-ratio: 1.55;
  border-radius: 6px;
}
.video-list-item h3 {
  font-size: 13px;
  line-height: 1.8;
  margin: 0 0 8px;
}
.video-list-item p {
  font-size: 10px;
  color: #93a9b6;
  margin: 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 18px;
}
.gallery-tile {
  height: 240px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  display: flex;
  align-items: flex-end;
  color: white;
  isolation: isolate;
}
.gallery-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  transition: 0.5s;
}
.gallery-tile:hover img {
  transform: scale(1.04);
}
.gallery-tile:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, #0a283cce);
  z-index: -1;
}
.gallery-tile > div {
  padding: 20px;
}
.gallery-tile h3 {
  font-size: 16px;
  margin: 5px 0;
}
.gallery-count {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 11px;
  background: #0c263c66;
  padding: 4px 9px;
  border-radius: 5px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.newsletter {
  margin-top: 40px;
  padding: 25px 30px;
  background: #edf3f7;
  border: 1px solid #e2eaf0;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}
.newsletter h3 {
  font-size: 17px;
  margin: 0 0 4px;
}
.newsletter p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.newsletter .row {
  flex-shrink: 0;
}
.footer {
  margin-top: 45px;
  background: white;
  border-top: 1px solid var(--line);
  padding: 35px 0 0;
}
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 30px;
}
.footer .brand img {
  width: 60px;
  height: 60px;
}
.footer .brand-name {
  font-size: 30px;
}
.footer .brand-name span {
  font-size: 8px;
}
.footer p {
  color: var(--muted);
  font-size: 11px;
  max-width: 290px;
}
.footer h4 {
  font-size: 13px;
  margin: 6px 0 18px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
}
.socials {
  display: flex;
  gap: 8px;
}
.socials a {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 12px;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #87949c;
}
.footer-bottom a {
  color: var(--blue);
  font-weight: 700;
}
.mobilebar {
  display: none;
}
.page-intro {
  padding: 28px 0 22px;
}
.breadcrumbs {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  gap: 7px;
  margin-bottom: 15px;
}
.page-intro h1 {
  font-size: 28px;
  margin: 0;
}
.archive-toolbar {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  align-items: center;
}
.archive-toolbar input {
  max-width: 370px;
}
.archive-toolbar select {
  max-width: 170px;
}
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.empty {
  padding: 55px 20px;
  text-align: center;
  background: white;
  border: 1px dashed #d2dfe7;
  border-radius: 10px;
  grid-column: 1/-1;
  color: var(--muted);
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 3.6fr) 1.2fr;
  gap: 30px;
  padding: 25px 0;
}
.article {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px;
}
.article h1 {
  font-size: 30px;
  line-height: 1.8;
  margin: 12px 0;
}
.article .subtitle {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 20px;
}
.article-hero {
  width: 100%;
  aspect-ratio: 1.8;
  border-radius: 9px;
  margin: 23px 0;
}
.article-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-block: 1px solid var(--line);
  margin-bottom: 20px;
}
.article-toolbar button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
}
.reading {
  font-size: 18px;
  line-height: 2.4;
  color: #394c59;
}
.reading p {
  margin-bottom: 23px;
}
.article-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 20px 0;
}
.share-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.share-row a,
.share-row button {
  padding: 5px 12px;
  font-size: 11px;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.comments {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.comments h3 {
  font-size: 18px;
}
.comment {
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
  font-size: 13px;
}
.comment strong {
  font-size: 12px;
}
.comment p {
  margin: 5px 0;
}
.article-side {
  padding-top: 0;
}
.article-side .card {
  margin-top: 18px;
}
.gallery-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.gallery-photos img {
  border-radius: 7px;
  aspect-ratio: 1.4;
  width: 100%;
  cursor: zoom-in;
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: #092336a3;
  backdrop-filter: blur(5px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fade 0.2s;
}
.modal {
  background: var(--paper);
  border-radius: 16px;
  padding: 30px;
  width: 450px;
  max-width: 100%;
  max-height: 90dvh;
  overflow: auto;
  position: relative;
  box-shadow: 0 20px 90px #001e3e33;
}
.modal.wide {
  width: 920px;
}
.modal h2 {
  font-size: 21px;
  margin: 0 0 8px;
}
.modal .close {
  position: absolute;
  left: 15px;
  top: 15px;
}
.modal p {
  font-size: 12px;
  color: var(--muted);
}
.modal label,
.field label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin: 13px 0 6px;
}
.modal .btn.full {
  width: 100%;
  margin-top: 18px;
}
.form-error {
  color: #b34545;
  font-size: 12px;
  margin-top: 10px;
}
.form-success {
  color: #658f38;
  font-size: 12px;
}
.otp-input {
  font-size: 23px;
  letter-spacing: 12px;
  text-align: center;
  direction: ltr;
}
.auth-mark {
  height: 65px;
  margin: 0 auto 15px;
}
.modal .auth-title {
  text-align: center;
}
.modal small {
  font-size: 10px;
  color: var(--muted);
}
.lightbox {
  width: 1100px;
  background: #0c2333;
  color: white;
}
.lightbox img {
  max-height: 70dvh;
  object-fit: contain;
  width: 100%;
  border-radius: 7px;
}
.lightbox .row {
  justify-content: space-between;
  margin-top: 12px;
}
.province-weather-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}
.city {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fafc;
}
.city strong {
  display: block;
  font-size: 13px;
}
.city span {
  font-size: 11px;
  color: var(--muted);
}
.notice {
  padding: 12px 16px;
  border-radius: 8px;
  background: #fff9e9;
  border: 1px solid #f3e8bf;
  color: #96762f;
  font-size: 12px;
}
.video-player {
  background: #071c28;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  color: white;
}
.video-player video {
  width: 100%;
  max-height: 65vh;
  display: block;
}
.player-tools {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 14px;
}
.player-tools select {
  background: #173a4e;
  color: white;
  border: 0;
  width: 90px;
  padding: 3px;
}
.player-tools button {
  color: white;
}
.player-placeholder {
  padding: 70px 25px;
  text-align: center;
  background: linear-gradient(140deg, #123e55, #102733);
}
.player-placeholder .play {
  margin: auto;
}
.player-placeholder h3 {
  margin: 18px 0 7px;
}
.player-placeholder p {
  color: #9ab2c0;
}
.saved-active {
  color: var(--blue) !important;
  background: #e8f4ff !important;
}
.searchform {
  display: flex;
  gap: 8px;
}
.searchform input {
  flex: 1;
}
.filter-chips {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 18px 0;
}
.pagination {
  display: flex;
  gap: 7px;
  justify-content: center;
  margin: 30px 0;
}
.pagination button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
}
.pagination button.active {
  background: var(--blue);
  color: white;
}
.page-shell {
  min-height: 55vh;
  padding-bottom: 20px;
}
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  z-index: 200;
  background: #153d51;
  color: white;
  box-shadow: 0 5px 20px #153d5133;
  padding: 12px 24px;
  border-radius: 9px;
  font-size: 12px;
  transition: 0.25s;
  max-width: 90%;
  text-align: center;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
body.dark {
  --bg: #102330;
  --paper: #162f3e;
  --ink: #e6eef3;
  --muted: #9bb0bc;
  --line: #2b4555;
}
body.dark .masthead,
body.dark .topbar,
body.dark .mainnav,
body.dark .footer,
body.dark .card,
body.dark .article,
body.dark .latest-panel {
  background: var(--paper);
}
body.dark .brand-name {
  color: white;
}
body.dark .breaking {
  background: #2c2b23;
  border-color: #494331;
}
body.dark .weather-card {
  background: #17394c;
  border-color: #2e4f62;
}
body.dark .people-card {
  background: #2c3e2b;
  border-color: #40563b;
}
body.dark .people-card h3 {
  color: white;
}
body.dark .newsletter {
  background: #193a4d;
  border-color: #2b4b5e;
}
body.dark .reading {
  color: #d4e1e9;
}
body.dark .tag {
  background: #254658;
  color: #c0d5e0;
}
.admin-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 100dvh;
}
.admin-sidebar {
  background: #102e40;
  color: #d0dce4;
  padding: 25px 18px;
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: 240px;
  z-index: 25;
  display: flex;
  flex-direction: column;
}
.admin-brand {
  padding: 0 10px 23px;
  border-bottom: 1px solid #ffffff15;
  display: flex;
  align-items: center;
  gap: 12px;
}
.admin-brand img {
  width: 46px;
  height: 46px;
  background: white;
  border-radius: 10px;
  padding: 3px;
}
.admin-brand strong {
  font-size: 22px;
  color: white;
  display: block;
}
.admin-brand small {
  font-size: 10px;
  color: #8fa9b9;
}
.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 24px;
}
.admin-nav a {
  padding: 11px 14px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}
.admin-nav a.active {
  background: #24658a;
  color: white;
}
.admin-nav a:hover {
  background: #ffffff0c;
}
.admin-nav .nav-label {
  padding: 22px 15px 8px;
  font-size: 10px;
  color: #6f91a6;
}
.admin-nav b {
  font-size: 10px;
  background: #e8bd59;
  color: #173346;
  padding: 1px 7px;
  border-radius: 5px;
  margin-right: auto;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 20px 10px 0;
  border-top: 1px solid #ffffff15;
  font-size: 11px;
}
.admin-main {
  grid-column: 2;
  padding: 0 32px 35px;
  min-width: 0;
}
.admin-top {
  height: 83px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  margin-bottom: 25px;
}
.admin-top h1 {
  font-size: 18px;
  margin: 0;
}
.avatar {
  width: 35px;
  height: 35px;
  background: #e5edf3;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}
.admin-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 25px 0;
}
.admin-welcome h2 {
  font-size: 23px;
  margin: 0 0 5px;
}
.admin-welcome p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 25px 0;
}
.stat {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
}
.stat .stat-icon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #81929d;
  font-size: 11px;
}
.stat-icon .ico {
  width: 19px;
  height: 19px;
  color: var(--blue);
}
.stat strong {
  font-size: 28px;
  display: block;
  margin-top: 8px;
  line-height: 1.8;
}
.stat small {
  font-size: 10px;
  color: var(--muted);
}
.admin-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  padding: 23px;
  min-width: 0;
}
.panel h3 {
  font-size: 15px;
  margin: 0;
}
.chart {
  height: 190px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 25px 0 0;
  border-bottom: 1px solid var(--line);
}
.chart-col {
  height: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  color: var(--muted);
}
.chart-bar {
  width: 70%;
  max-width: 36px;
  background: #80b3d2;
  border-radius: 5px 5px 0 0;
  min-height: 3px;
}
.chart-col:nth-child(2n) .chart-bar {
  background: #accbdc;
}
.status {
  font-size: 10px;
  padding: 4px 9px;
  border-radius: 5px;
  background: #edf5e5;
  color: #698f41;
  white-space: nowrap;
}
.status.draft {
  color: #9a7e36;
  background: #fff6df;
}
.status.pending {
  color: #3d82a8;
  background: #e9f3fa;
}
.status.rejected {
  color: #b14e4e;
  background: #feeeed;
}
.table-scroll {
  overflow: auto;
  margin-top: 15px;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: right;
  white-space: nowrap;
  font-size: 12px;
}
th {
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
  background: #f7f9fb;
}
th,
td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
}
td strong {
  font-weight: 500;
}
.table-title {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 360px;
  white-space: normal;
  min-width: 220px;
}
.table-title img {
  width: 55px;
  height: 40px;
  border-radius: 5px;
}
.table-title strong {
  font-size: 12px;
  line-height: 1.8;
}
.table-actions {
  display: flex;
  gap: 5px;
}
.table-actions button {
  padding: 4px 8px;
  background: #eef4f8;
  color: var(--blue);
  border-radius: 5px;
  font-size: 10px;
}
.quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}
.quick-actions a {
  padding: 17px 10px;
  background: #f4f8fa;
  border: 1px solid #e9eef2;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  color: #58778b;
}
.quick-actions .ico {
  width: 18px;
  height: 18px;
}
.sms-card {
  background: linear-gradient(125deg, #eaf3f9, #f7fafc);
  padding: 20px;
  border-radius: 9px;
  margin-top: 20px;
}
.sms-card .balance {
  font-size: 27px;
  color: var(--blue);
  font-weight: 700;
}
.admin-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  margin: 20px 0;
}
.admin-toolbar input {
  max-width: 330px;
}
.editor-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) 1fr;
  gap: 20px;
}
.field {
  margin-bottom: 15px;
}
.editor-toolbar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
}
.editor-toolbar button {
  font-size: 12px;
  min-width: 30px;
  border-radius: 4px;
  padding: 3px 7px;
}
.editor-toolbar button:hover {
  background: #edf4f9;
}
.editor-text {
  min-height: 340px;
  border-radius: 0 0 7px 7px;
  line-height: 2.2;
}
.dropzone {
  border: 1px dashed #adc5d5;
  border-radius: 8px;
  padding: 30px 12px;
  text-align: center;
  color: #7292a7;
  background: #f6fafc;
  cursor: pointer;
}
.dropzone .ico {
  margin: 0 auto 8px;
  display: block;
  width: 28px;
  height: 28px;
}
.dropzone strong {
  font-size: 12px;
  display: block;
}
.dropzone small {
  font-size: 10px;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.media-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.media-card img {
  width: 100%;
  aspect-ratio: 1.4;
}
.media-card > div {
  padding: 10px;
  font-size: 11px;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.settings-grid .panel {
  height: fit-content;
}
.checkbox {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
}
.checkbox input {
  width: 17px;
  box-shadow: none;
}
.mobile-menu-btn {
  display: none;
}
.admin-notice {
  font-size: 11px;
  color: #778995;
  margin-bottom: 18px;
}
.admin-login {
  max-width: 460px;
  margin: 50px auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px;
}
.admin-login img {
  width: 80px;
  margin: auto;
}
.admin-login h1 {
  text-align: center;
  font-size: 22px;
}
.progress {
  height: 5px;
  background: #e6edf2;
  border-radius: 5px;
  overflow: hidden;
  margin-top: 10px;
}
.progress span {
  height: 100%;
  display: block;
  background: var(--green);
}
.request-list {
  margin-top: 20px;
}
.request-box {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 14px;
}
.request-box h4 {
  font-size: 14px;
  margin: 0 0 8px;
}
.request-box p {
  font-size: 12px;
  color: var(--muted);
}
.request-box img {
  width: 150px;
  border-radius: 6px;
  margin: 10px 0;
}
.mobile-menu {
  display: none;
}
.admin-main .notice {
  margin-bottom: 20px;
}
.loading {
  padding: 90px;
  text-align: center;
  color: var(--muted);
}
.loadmore {
  text-align: center;
  margin-top: 25px;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #e3b94e;
  outline-offset: 3px;
}
.chart-empty {
  height: 190px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
  border-bottom: 1px solid var(--line);
}
@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
main {
  animation: fade 0.35s ease;
}
body.dark .panel,
body.dark .stat,
body.dark .city,
body.dark .admin-login {
  background: var(--paper);
}
body.dark th,
body.dark .dropzone,
body.dark .quick-actions a {
  background: #203f52;
}
body.dark .sms-card {
  background: #203f52;
}
body.dark .empty {
  background: var(--paper);
}
@media (min-width: 1600px) {
  .wrap {
    max-width: 1420px;
  }
  .lead {
    min-height: 470px;
  }
  .lead h1 {
    font-size: 32px;
  }
}
@media (max-width: 1150px) {
  .wrap {
    width: calc(100% - 44px);
  }
  .navlinks {
    gap: 19px;
  }
  .brand-tag {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr 2.2fr 1fr;
    gap: 15px;
  }
  .lead {
    min-height: 400px;
  }
  .lead-content {
    padding: 22px;
  }
  .lead h1 {
    font-size: 25px;
  }
  .latest-panel {
    padding: 15px;
  }
  .latest-item h3 {
    font-size: 11px;
  }
  .hero-secondary {
    gap: 15px;
  }
  .mini-feature > div {
    padding: 14px;
  }
  .mini-feature h3 {
    font-size: 13px;
  }
  .news-layout {
    grid-template-columns: 3fr 1fr;
    gap: 18px;
  }
  .cards {
    gap: 15px;
  }
  .card-body {
    padding: 13px;
  }
  .card h3 {
    font-size: 13px;
  }
  .weather-card {
    padding: 17px;
  }
  .section-title small {
    display: none;
  }
  .footer-main {
    gap: 30px;
  }
  .admin-main {
    padding: 0 22px 30px;
  }
  .admin-shell {
    grid-template-columns: 210px 1fr;
  }
  .admin-sidebar {
    width: 210px;
  }
  .stat-grid {
    gap: 12px;
  }
  .stat {
    padding: 15px;
  }
  .editor-grid {
    grid-template-columns: 2fr 1fr;
  }
}
@media (max-width: 900px) {
  .header-weather {
    display: none;
  }
  .navlinks {
    gap: 21px;
    overflow: auto;
    scrollbar-width: none;
  }
  .nav-special {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr 2fr;
  }
  .lead {
    grid-column: 2;
    min-height: 410px;
  }
  .hero-secondary {
    grid-column: 1;
    grid-row: 1;
  }
  .latest-panel {
    display: none;
  }
  .news-layout {
    grid-template-columns: 1fr;
  }
  .news-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .people-card {
    margin: 0;
  }
  .weather-visual {
    margin: 16px 0;
  }
  .video-content {
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
  }
  .video-list-item img {
    width: 85px;
  }
  .video-list-item h3 {
    font-size: 11px;
  }
  .video-caption h3 {
    font-size: 16px;
  }
  .gallery-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
  .gallery-tile {
    height: 210px;
  }
  .gallery-tile h3 {
    font-size: 13px;
  }
  .gallery-tile > div {
    padding: 15px;
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .article-side .card {
    margin: 0;
  }
  .article-side .weather-card {
    display: none;
  }
  .admin-grid,
  .editor-grid {
    grid-template-columns: 1fr;
  }
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .media-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .admin-welcome h2 {
    font-size: 19px;
  }
  .footer-main {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .footer-main > div:last-child {
    display: none;
  }
}
@media (max-width: 640px) {
  body {
    font-size: 13px;
  }
  .wrap {
    width: calc(100% - 32px);
  }
  .topbar {
    height: 31px;
    font-size: 9px;
  }
  .toplinks {
    gap: 12px;
  }
  .toplinks a:nth-child(2) {
    display: none;
  }
  .topbar .demo-note {
    font-size: 8px;
  }
  .masthead .wrap {
    height: 86px;
  }
  .brand {
    gap: 8px;
  }
  .brand img {
    width: 61px;
    height: 61px;
  }
  .brand-name {
    font-size: 33px;
  }
  .brand-name span {
    font-size: 8px;
  }
  .header-tools {
    gap: 1px;
  }
  .header-tools > .btn {
    font-size: 10px;
    padding: 8px 11px;
  }
  .header-tools .iconbtn {
    width: 34px;
  }
  .header-tools .theme-btn {
    display: none;
  }
  .nav-inner {
    height: 49px;
  }
  .navlinks {
    gap: 24px;
    width: 100%;
    overflow: auto;
  }
  .navlinks a {
    font-size: 11px;
  }
  .navlinks a .ico {
    width: 17px;
  }
  .breaking .wrap {
    gap: 11px;
    min-height: 39px;
    font-size: 10px;
  }
  .breaking strong {
    font-size: 10px;
  }
  .breaking .ico {
    width: 14px;
  }
  .breaking time {
    display: none;
  }
  .trends {
    padding: 16px 0;
    gap: 8px;
  }
  .trends .label {
    font-size: 10px;
  }
  .tag {
    font-size: 10px;
    padding: 3px 9px;
  }
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 13px;
  }
  .lead {
    order: 0;
    min-height: 365px;
  }
  .lead-content {
    padding: 22px;
  }
  .lead h1 {
    font-size: 26px;
    line-height: 1.7;
  }
  .lead p {
    font-size: 11px;
    margin-bottom: 13px;
  }
  .hero-secondary {
    order: 1;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 13px;
    min-height: 183px;
  }
  .mini-feature > div {
    padding: 13px;
  }
  .mini-feature h3 {
    font-size: 12px;
  }
  .mini-feature .pill {
    font-size: 9px;
    padding: 2px 7px;
  }
  .section {
    padding-top: 28px;
  }
  .section-heading {
    margin-bottom: 15px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .section-title {
    font-size: 18px;
  }
  .section-title:before {
    height: 19px;
    width: 3px;
  }
  .tabs {
    gap: 1px;
  }
  .tabs button {
    padding: 4px 9px;
    font-size: 10px;
  }
  .cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .card {
    display: grid;
    grid-template-columns: 115px 1fr;
    min-height: 120px;
  }
  .card-photo {
    aspect-ratio: auto;
    height: 100%;
    min-height: 120px;
  }
  .card-photo .pill {
    font-size: 8px;
    right: 7px;
    bottom: 8px;
    padding: 2px 6px;
  }
  .card-body {
    padding: 12px;
  }
  .card h3 {
    font-size: 12px;
    margin-bottom: 8px;
    line-height: 1.9;
  }
  .card p {
    display: none;
  }
  .card .meta {
    font-size: 8px;
    padding-top: 9px;
    gap: 4px;
  }
  .card .meta .ico {
    width: 11px;
    height: 11px;
  }
  .card .bookmark {
    width: 25px;
    height: 25px;
    top: 7px;
    left: auto;
    right: 7px;
  }
  .card .bookmark .ico {
    width: 12px;
  }
  .news-aside {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .weather-card,
  .people-card {
    padding: 15px;
  }
  .weather-head h3 {
    font-size: 12px;
  }
  .weather-head .ico {
    width: 16px;
  }
  .weather-head .small {
    display: none;
  }
  .weather-visual {
    gap: 15px;
    margin: 20px 0;
  }
  .weather-visual .sun3d {
    width: 36px;
    height: 36px;
  }
  .weather-value {
    font-size: 19px;
  }
  .weather-value small {
    font-size: 9px;
  }
  .weather-link {
    font-size: 9px;
  }
  .people-card h3 {
    font-size: 14px;
  }
  .people-card p {
    font-size: 10px;
    line-height: 1.9;
    margin-bottom: 12px;
  }
  .people-card .btn {
    font-size: 9px;
    padding: 6px 9px;
  }
  .people-card .ico-bg {
    opacity: 0.6;
  }
  .video-section {
    padding: 22px 17px;
    margin-top: 28px;
    border-radius: 10px;
  }
  .video-section .section-title {
    font-size: 17px;
  }
  .video-section .text-link {
    font-size: 9px;
  }
  .video-content {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .video-main {
    aspect-ratio: 1.65;
  }
  .video-caption {
    padding: 17px;
  }
  .video-caption h3 {
    font-size: 16px;
  }
  .video-list {
    gap: 12px;
  }
  .video-list-item {
    padding-bottom: 12px;
    gap: 12px;
  }
  .video-list-item img {
    width: 96px;
  }
  .video-list-item h3 {
    font-size: 12px;
    margin-bottom: 5px;
  }
  .video-list-item p {
    font-size: 9px;
  }
  .gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .gallery-tile:first-child {
    grid-column: 1/-1;
    height: 230px;
  }
  .gallery-tile {
    height: 180px;
  }
  .gallery-tile h3 {
    font-size: 12px;
  }
  .gallery-tile:first-child h3 {
    font-size: 17px;
  }
  .gallery-count {
    font-size: 9px;
    top: 10px;
    left: 10px;
  }
  .newsletter {
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-top: 28px;
  }
  .newsletter h3 {
    font-size: 16px;
  }
  .newsletter p {
    font-size: 10px;
  }
  .newsletter .row {
    width: 100%;
  }
  .newsletter .row .btn {
    width: 100%;
    font-size: 11px;
  }
  .footer {
    margin-top: 28px;
    padding-top: 25px;
    padding-bottom: 67px;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
  .footer-main > div:first-child {
    grid-column: 1/-1;
  }
  .footer-main > div:last-child {
    display: block;
  }
  .footer-main > div:nth-child(3) {
    display: none;
  }
  .footer h4 {
    margin: 0 0 12px;
    font-size: 12px;
  }
  .footer p {
    max-width: 100%;
    font-size: 10px;
  }
  .footer-bottom {
    font-size: 9px;
    gap: 10px;
    flex-direction: column;
    align-items: center;
    padding: 14px 0;
  }
  .mobilebar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 30;
    height: 64px;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--paper);
    border-top: 1px solid var(--line);
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -3px 20px #183e5108;
  }
  .mobilebar a,
  .mobilebar button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 9px;
    color: #8999a4;
    flex: 1;
  }
  .mobilebar .ico {
    width: 21px;
    height: 21px;
  }
  .mobilebar .active {
    color: var(--blue);
  }
  .mobilebar .send-mobile {
    background: var(--blue);
    color: white;
    width: 42px;
    flex: none;
    height: 42px;
    border-radius: 12px;
    margin-top: -20px;
    box-shadow: 0 5px 10px #236e9b33;
  }
  .page-intro {
    padding: 22px 0;
  }
  .page-intro h1 {
    font-size: 23px;
  }
  .archive-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .archive-toolbar {
    gap: 8px;
    flex-wrap: wrap;
  }
  .archive-toolbar input {
    max-width: none;
  }
  .archive-toolbar select {
    flex: 1;
    max-width: none;
    font-size: 11px;
  }
  .article-layout {
    padding-top: 18px;
    gap: 20px;
  }
  .article {
    padding: 20px 17px;
  }
  .article h1 {
    font-size: 23px;
  }
  .article .subtitle {
    font-size: 13px;
  }
  .article .meta {
    gap: 10px;
    flex-wrap: wrap;
    font-size: 9px;
  }
  .article-hero {
    margin: 20px 0;
    aspect-ratio: 1.4;
  }
  .reading {
    font-size: 16px;
    line-height: 2.3;
  }
  .article-toolbar button {
    font-size: 11px;
  }
  .article-side {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .share-row {
    gap: 6px;
  }
  .share-row a,
  .share-row button {
    font-size: 10px;
    padding: 4px 9px;
  }
  .modal-overlay {
    padding: 12px;
  }
  .modal {
    padding: 27px 20px;
    border-radius: 12px;
  }
  .modal h2 {
    font-size: 19px;
  }
  .modal .close {
    top: 10px;
    left: 9px;
  }
  .province-weather-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .city {
    padding: 12px;
  }
  .gallery-photos {
    gap: 7px;
  }
  .lightbox {
    padding: 42px 12px 15px;
  }
  #toast {
    bottom: 83px;
    width: max-content;
    max-width: 90%;
    font-size: 11px;
  }
  .admin-shell {
    display: block;
  }
  .admin-sidebar {
    transform: translateX(100%);
    transition: 0.2s;
    width: 240px;
  }
  .admin-sidebar.open {
    transform: none;
    box-shadow: -30px 0 100px #001c3c33;
  }
  .admin-main {
    padding: 0 16px 90px;
  }
  .admin-top {
    height: 72px;
    margin-bottom: 18px;
  }
  .admin-top h1 {
    font-size: 15px;
  }
  .admin-top .small {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .admin-welcome {
    gap: 15px;
    align-items: flex-start;
    margin: 20px 0;
  }
  .admin-welcome h2 {
    font-size: 18px;
  }
  .admin-welcome p {
    font-size: 10px;
  }
  .admin-welcome .btn {
    font-size: 10px;
    padding: 8px 10px;
  }
  .stat-grid {
    gap: 10px;
    margin: 20px 0;
  }
  .stat {
    padding: 14px;
  }
  .stat strong {
    font-size: 23px;
    margin-top: 5px;
  }
  .stat .stat-icon {
    font-size: 10px;
  }
  .stat small {
    font-size: 9px;
  }
  .panel {
    padding: 17px;
  }
  .panel h3 {
    font-size: 14px;
  }
  .admin-grid {
    gap: 15px;
  }
  .admin-toolbar {
    gap: 10px;
    flex-wrap: wrap;
  }
  .admin-toolbar input {
    max-width: none;
    font-size: 12px;
  }
  .admin-toolbar .btn {
    font-size: 11px;
  }
  .media-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .admin-main .notice {
    font-size: 10px;
  }
  .quick-actions a {
    padding: 13px 10px;
    font-size: 10px;
  }
  .editor-text {
    min-height: 300px;
  }
  .admin-mobile {
    display: flex;
  }
  .table-title {
    min-width: 200px;
  }
  .table-title strong {
    font-size: 11px;
  }
  .settings-grid {
    gap: 15px;
  }
  .admin-top .header-tools .iconbtn {
    width: 32px;
  }
  .admin-top .avatar {
    width: 30px;
    height: 30px;
  }
  .status {
    font-size: 9px;
  }
  .request-box {
    padding: 15px;
  }
  .article-toolbar .row {
    gap: 8px;
  }
  .lightbox .row {
    font-size: 11px;
  }
  .breadcrumbs {
    font-size: 9px;
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Hِiroon 1.0.2: compact editorial header, graphic details and staged sign-in. */
body {
  background-image:
    radial-gradient(ellipse at 95% 4%, #86ae5809, transparent 28%),
    radial-gradient(ellipse at 3% 35%, #236e9b06, transparent 30%);
}
.compact-masthead {
  border-top: 3px solid var(--blue);
}
.compact-masthead > .wrap {
  height: 76px;
}
.compact-masthead .brand {
  gap: 10px;
}
.compact-masthead .brand img {
  width: 58px;
  height: 58px;
}
.compact-masthead .brand-name {
  font-size: 31px;
  letter-spacing: -1px;
}
.compact-masthead .brand-name span {
  font-size: 8px;
  letter-spacing: 2.8px;
}
.compact-masthead .brand-tag {
  padding-right: 17px;
  font-size: 10px;
}
.compact-masthead .brand-tag strong {
  font-size: 12px;
  margin-bottom: 1px;
}
.compact-weather {
  border: 0;
  padding: 0 0 0 17px;
  font-size: 11px;
  margin: 0 0 0 3px;
}
.compact-weather .sun3d {
  width: 27px;
  height: 27px;
  box-shadow: 0 0 0 4px #f7e6af33;
}
.compact-weather .sun3d:after {
  width: 20px;
  height: 10px;
  bottom: -3px;
  left: -7px;
}
.account-button {
  font-size: 11px;
  padding: 8px 13px;
  border: 1px solid #dce8ee;
  background: #edf5f9;
  color: var(--blue);
}
.account-button .ico {
  width: 17px;
  height: 17px;
}
.compact-nav .nav-inner {
  height: 46px;
  gap: 20px;
}
.compact-nav .navlinks {
  gap: 25px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
}
.compact-nav .navlinks a {
  font-size: 12px;
}
.nav-more {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  color: var(--blue);
  font-size: 11px;
  padding: 0;
}
.nav-more .ico {
  width: 16px;
  height: 16px;
}
.compact-breaking {
  background: #fdfbf4;
  border-bottom: 1px solid #eee8d9;
}
.compact-breaking > .wrap {
  min-height: 35px;
  gap: 15px;
}
.compact-breaking strong {
  font-size: 10px;
  color: #88712d;
}
.compact-breaking strong .live-dot {
  margin: 0 0 0 4px;
  background: #bd9e42;
}
.compact-breaking a {
  font-size: 10px;
  color: #6c716a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.edition-mark {
  margin-right: auto;
  flex-shrink: 0;
  color: #a7a79f;
  font-size: 8px;
  letter-spacing: 1.6px;
  direction: ltr;
}
.refined-home .trends {
  padding: 18px 0;
}
.edition-note {
  color: #8d9aa4;
  margin-right: auto;
  font-size: 10px;
}
.lead,
.mini-feature {
  border-radius: 15px;
}
.lead {
  min-height: 405px;
  box-shadow: 0 10px 26px #102e400a;
}
.lead > img {
  object-position: center;
}
.lead:after {
  background: linear-gradient(180deg, #0e2f3910 25%, #0c2f45e8);
}
.lead h1 {
  font-size: 25px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.lead-content p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.lead-top .pill {
  background: #fff2;
  color: white;
  backdrop-filter: blur(9px);
  border: 1px solid #fff3;
}
.latest-panel {
  border-radius: 15px;
  box-shadow: 0 3px 14px #244b6603;
  background-image: linear-gradient(150deg, #f9fcfe, white 40%);
}
.latest-item h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mini-feature h3,
.gallery-tile h3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card {
  border-radius: 13px;
  border-color: #e7edf1;
  box-shadow: 0 3px 9px #183b5103;
}
.card-photo {
  aspect-ratio: 1.65;
}
.card h3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
}
.card-body > p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-photo .pill {
  border: 1px solid #ffffff30;
  box-shadow: 0 2px 8px #163f4f08;
  font-size: 9px;
}
.card .bookmark {
  box-shadow: 0 3px 10px #15384e18;
  backdrop-filter: blur(4px);
}
.section-title {
  font-size: 19px;
}
.all-news-link {
  justify-content: center;
  padding: 15px 0 0;
}
.editorial-signature {
  margin-top: 18px;
  border: 1px solid #e1eaf0;
  background: linear-gradient(140deg, #f1f7fa, #fff);
  border-radius: 13px;
  padding: 23px;
  position: relative;
  overflow: hidden;
}
.editorial-signature > span {
  font-size: 10px;
  color: var(--blue);
}
.editorial-signature strong {
  display: block;
  font-size: 15px;
  line-height: 2;
  margin-top: 8px;
  color: #547184;
  position: relative;
  z-index: 1;
}
.signature-waves {
  position: absolute;
  width: 160px;
  height: 90px;
  border: 10px solid #9cc4da22;
  border-radius: 50%;
  left: -70px;
  bottom: -47px;
  transform: rotate(-15deg);
  box-shadow:
    0 0 0 12px #a9c67a12,
    0 0 0 24px #e3ba5c10;
}
.people-card {
  background: linear-gradient(145deg, #f4f8eb, #edf3e2);
  border-radius: 13px;
}
.weather-card {
  border-radius: 13px;
  background: linear-gradient(145deg, #f2f9fd, #e9f3fa);
}
.weather-card .sun3d {
  box-shadow:
    0 0 0 8px #fff4,
    4px 6px 12px #d4a54122;
}
.image-caption {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
  margin: -10px 0 20px;
  line-height: 1.9;
}
.image-caption .ico {
  width: 15px;
  height: 15px;
  margin-top: 3px;
}
.long-headline {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.modal:has(.auth-art) {
  width: 420px;
  padding: 30px;
  border: 1px solid #e4ecf2;
  background-image: radial-gradient(ellipse at 50% 0, #eaf4fb, transparent 50%);
}
.auth-art {
  width: 66px;
  height: 66px;
  position: relative;
  display: grid;
  place-items: center;
  margin: 3px auto 19px;
  background: linear-gradient(135deg, #78b3d2, #2a7098);
  border: 4px solid #f2f9fd;
  border-radius: 21px;
  box-shadow: 0 8px 20px #236e9b25;
  color: white;
  isolation: isolate;
}
.auth-art > .ico {
  width: 29px;
  height: 29px;
  stroke-width: 1.6;
}
.auth-orbit {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  z-index: -1;
}
.orbit-one {
  top: -3px;
  right: -17px;
  background: linear-gradient(130deg, #f5d58e, #d8ae48);
  box-shadow: 0 3px 8px #caa23822;
}
.orbit-two {
  left: -14px;
  bottom: 7px;
  width: 9px;
  height: 9px;
  background: #a8c786;
}
.auth-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  margin-bottom: 23px;
  font-size: 9px;
  color: #b0bcc5;
}
.auth-steps > span {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  position: relative;
}
.auth-steps > span + span:before {
  content: "";
  width: 9px;
  height: 1px;
  background: #dce7ee;
  position: absolute;
  right: -13px;
}
.auth-steps b {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border: 1px solid #e1e7ec;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 400;
}
.auth-steps .current {
  color: var(--blue);
}
.auth-steps .current b {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
}
.auth-title {
  text-align: center;
}
.modal h2.auth-title {
  font-size: 21px;
  margin-bottom: 9px;
}
.modal p.auth-title {
  margin-bottom: 24px;
}
.phone-entry {
  position: relative;
  display: flex;
  border: 1px solid #d9e4ec;
  border-radius: 10px;
  background: white;
  align-items: center;
  overflow: hidden;
}
.phone-entry:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px #236e9b0a;
}
.phone-entry > span {
  color: #8496a4;
  font-size: 11px;
  padding: 0 15px;
  border-left: 1px solid #e4ebf0;
}
.phone-entry input {
  border: 0;
  box-shadow: none;
  border-radius: 0;
  letter-spacing: 1.3px;
  font-size: 17px;
  padding: 14px 15px;
  text-align: left;
}
.phone-entry input:focus {
  box-shadow: none;
}
.modal .btn.full {
  min-height: 46px;
  border-radius: 9px;
}
.auth-privacy {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 20px 0 0;
  font-size: 9px !important;
  color: #8c9ba6 !important;
}
.auth-privacy .ico {
  width: 13px;
  height: 13px;
}
.auth-privacy a {
  color: var(--blue);
}
.otp-input {
  font-size: 25px;
  letter-spacing: 12px;
  height: 59px;
  border-radius: 10px;
}
.auth-resend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 17px;
  font-size: 10px;
}
.auth-resend .text-link {
  padding: 0;
  font-size: 10px;
}
.auth-resend > button:last-child {
  font-size: 10px;
  color: var(--blue);
}
.auth-resend button:disabled {
  cursor: default;
  color: #9aaab5;
}
.profile-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.verified-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: #f0f6e9;
  color: #74934d;
  border: 1px solid #e5eddb;
  border-radius: 7px;
  padding: 9px;
  font-size: 10px;
  margin-top: 15px;
}
.verified-phone .ico {
  width: 14px;
  height: 14px;
}
.account-avatar {
  width: 53px;
  height: 53px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: #eaf4fa;
  color: var(--blue);
  margin-bottom: 18px;
}
.account-shortcuts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}
.account-shortcuts > * {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f4f8fa;
  border: 1px solid #e8eef2;
  border-radius: 9px;
  padding: 13px;
  font-size: 11px;
  text-align: right;
}
.account-shortcuts .ico {
  width: 17px;
  height: 17px;
  color: var(--blue);
}
.category-picker {
  display: grid;
  gap: 9px;
  margin-top: 20px;
}
.category-picker a {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.category-picker a:hover {
  border-color: #bdd4e3;
  background: #f6fafc;
}
.category-picker .ico {
  width: 15px;
  height: 15px;
  color: var(--blue);
}
.category-picker small {
  margin-right: auto;
  color: var(--muted);
}
.import-panel {
  max-width: 850px;
  padding: 30px;
}
.import-panel h2 {
  font-size: 23px;
  margin: 10px 0;
}
.import-panel > p {
  color: var(--muted);
  font-size: 12px;
  max-width: 660px;
}
.import-art {
  width: 65px;
  height: 65px;
  border-radius: 20px;
  background: linear-gradient(135deg, #e7f3fb, #eff5e9);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.import-art .ico {
  width: 30px;
  height: 30px;
}
.import-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 25px 0;
}
.import-stats > div {
  padding: 18px;
  background: #f6f9fb;
  border: 1px solid #e6edf2;
  border-radius: 10px;
  text-align: center;
}
.import-stats strong {
  display: block;
  color: var(--blue);
  font-size: 25px;
}
.import-stats span {
  color: var(--muted);
  font-size: 11px;
}
body.dark .compact-masthead {
  border-color: #4d8dac;
}
body.dark .compact-breaking {
  background: #272f2f;
  border-color: #394542;
}
body.dark .latest-panel {
  background: var(--paper);
}
body.dark .editorial-signature,
body.dark .import-stats > div {
  background: #19394b;
  border-color: #2f4c5e;
}
body.dark .editorial-signature strong {
  color: #b9d1df;
}
body.dark .account-button,
body.dark .account-shortcuts > *,
body.dark .phone-entry {
  background: #1b3a4d;
  border-color: #385467;
  color: #b8d5e7;
}
body.dark .modal:has(.auth-art) {
  background-color: var(--paper);
  background-image: radial-gradient(
    ellipse at 50% 0,
    #2b566e66,
    transparent 50%
  );
  border-color: #3b5464;
}
@media (max-width: 1100px) {
  .compact-nav .navlinks {
    gap: 23px;
  }
  .compact-nav .nav-special {
    display: none;
  }
  .compact-masthead .brand-tag {
    display: block;
  }
}
@media (max-width: 900px) {
  .compact-masthead .brand-tag {
    display: none;
  }
  .compact-weather {
    display: none;
  }
  .lead {
    min-height: 390px;
  }
  .editorial-signature {
    display: none;
  }
}
@media (max-width: 640px) {
  .compact-masthead > .wrap {
    height: 65px;
  }
  .compact-masthead .brand img {
    width: 47px;
    height: 47px;
  }
  .compact-masthead .brand-name {
    font-size: 28px;
  }
  .compact-masthead .brand-name span {
    font-size: 7px;
    letter-spacing: 2px;
  }
  .compact-masthead .brand {
    gap: 7px;
  }
  .compact-masthead .header-tools {
    gap: 2px;
  }
  .compact-masthead .header-tools .account-button {
    padding: 7px 10px;
    font-size: 10px;
  }
  .compact-masthead .header-tools .account-button .ico {
    width: 15px;
    height: 15px;
  }
  .compact-nav .nav-inner {
    height: 42px;
  }
  .compact-nav .navlinks {
    gap: 24px;
  }
  .compact-nav .navlinks a {
    font-size: 10px;
  }
  .nav-more {
    font-size: 10px;
  }
  .compact-breaking > .wrap {
    min-height: 31px;
    gap: 11px;
  }
  .compact-breaking strong {
    font-size: 9px;
  }
  .compact-breaking a {
    font-size: 9px;
  }
  .edition-mark {
    display: none;
  }
  .refined-home .trends {
    padding: 13px 0;
  }
  .edition-note {
    display: none;
  }
  .lead {
    min-height: 335px;
    border-radius: 12px;
  }
  .lead h1 {
    font-size: 22px;
    -webkit-line-clamp: 3;
    line-height: 1.8;
  }
  .lead-content {
    padding: 20px;
  }
  .lead-content p {
    font-size: 10px;
  }
  .hero-secondary {
    min-height: 177px;
  }
  .mini-feature h3 {
    font-size: 12px;
  }
  .mini-feature .pill {
    font-size: 8px;
  }
  .section-title {
    font-size: 17px;
  }
  .tabs {
    overflow-x: auto;
    max-width: 100%;
    white-space: nowrap;
  }
  .tabs button {
    font-size: 9px;
    padding: 5px 8px;
  }
  .card {
    border-radius: 10px;
  }
  .card h3 {
    font-size: 12px;
    -webkit-line-clamp: 3;
  }
  .card-body > p {
    display: none;
  }
  .card-photo .pill {
    font-size: 8px;
    max-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .gallery-tile h3 {
    font-size: 12px;
  }
  .gallery-tile:first-child h3 {
    font-size: 16px;
  }
  .modal:has(.auth-art) {
    padding: 27px 22px;
  }
  .modal h2.auth-title {
    font-size: 20px;
  }
  .auth-steps {
    gap: 16px;
    font-size: 9px;
  }
  .import-panel {
    padding: 20px;
  }
  .import-panel h2 {
    font-size: 20px;
  }
  .import-stats {
    gap: 9px;
  }
  .import-stats > div {
    padding: 13px 8px;
  }
}
/* Version 1.1: editorial layouts, accessible interactions and mobile ordering. */
.page-shell {
  padding-top: 28px;
  padding-bottom: 48px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.text-link {
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
}
.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  min-width: 0;
}
.news-card .card-photo {
  display: block;
  position: relative;
  aspect-ratio: 16/10;
  height: auto;
  overflow: hidden;
}
.news-card .card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.news-card:hover .card-photo img {
  transform: scale(1.035);
}
.news-card .card-body {
  display: block;
  position: static;
  padding: 19px;
  min-width: 0;
  color: var(--ink);
  background: #fff;
}
.news-card .card-body h3,
.news-card .card-body h2 {
  display: block;
  visibility: visible;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.85;
  margin: 0 0 10px;
  opacity: 1;
}
.news-card .card-body p {
  font-size: 12px;
  line-height: 2;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card .bookmark {
  top: 12px;
  left: 12px;
  right: auto;
  background: #fff;
  color: var(--blue);
  border: 1px solid #ffffffa0;
  box-shadow: 0 3px 14px #102e4026;
  border-radius: 11px;
  width: 35px;
  height: 35px;
}
.bookmark.active {
  background: #e8f4f5 !important;
  color: #136b72 !important;
}
.bookmark.active svg {
  fill: currentColor;
  fill-opacity: 0.16;
}
.lead-slider {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 20px;
  background: var(--navy);
}
.lead-viewport {
  height: 440px;
  position: relative;
}
.hero-slide.lead {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.65s;
  display: block;
  border-radius: 0;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.hero-slide > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.hero-slide:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    #071c2510 5%,
    #071c2555 40%,
    #071c25ef 100%
  );
}
.hero-slide .lead-content {
  position: absolute;
  z-index: 2;
  bottom: 30px;
  right: 28px;
  left: 28px;
  color: white;
}
.hero-slide .lead-top {
  position: absolute;
  right: 24px;
  top: 24px;
  z-index: 2;
}
.hero-slide h1,
.hero-slide h2 {
  font-size: 26px;
  line-height: 1.8;
  color: #fff;
  margin: 12px 0;
}
.hero-slide p {
  font-size: 12px;
  line-height: 2;
  opacity: 0.85;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-byline {
  display: flex;
  gap: 18px;
  font-size: 10px;
  opacity: 0.8;
  margin-top: 15px;
}
.hero-byline span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.hero-byline svg {
  width: 14px;
  height: 14px;
}
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 12px;
  color: #fff;
}
.slider-controls > button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid #ffffff30;
  border-radius: 8px;
}
.slider-controls > button:first-child {
  transform: rotate(180deg);
}
.slider-dots {
  display: flex;
  gap: 7px;
}
.slider-dots button {
  width: 6px;
  height: 6px;
  background: #ffffff50;
  border-radius: 8px;
  transition: width 0.2s;
}
.slider-dots .active {
  width: 24px;
  background: var(--green);
}
.typing-headline:after {
  content: "";
  display: inline-block;
  border-inline-start: 2px solid var(--green);
  height: 1em;
  vertical-align: middle;
  margin-inline-start: 4px;
  animation: cursor-blink 1s steps(2) infinite;
}
@keyframes cursor-blink {
  50% {
    opacity: 0;
  }
}
.compact-breaking .wrap {
  min-height: 44px;
}
.compact-breaking a {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}
.article-byline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  margin: 22px 0;
  border-block: 1px solid var(--line);
}
.byline-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.byline-avatar {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: #eaf2f6;
  color: var(--blue);
  display: grid;
  place-items: center;
}
.byline-author small {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
.byline-author strong {
  font-size: 12px;
}
.byline-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  color: var(--muted);
}
.byline-facts span {
  display: flex;
  gap: 5px;
  align-items: center;
}
.byline-facts svg {
  width: 15px;
  height: 15px;
}
.article-code {
  padding: 5px 9px;
  border-radius: 6px;
  background: var(--bg);
}
.engagement-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.engagement-actions button,
.engagement-button {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  font-size: 12px;
  transition: 0.2s;
}
.engagement-actions button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px #102e4012;
}
.engagement-actions .active {
  border-color: #e98298;
  color: #c93c5d;
  background: #fff0f4;
}
.comment-join {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px;
  border: 1px solid #dbe9ef;
  background: linear-gradient(120deg, #eef6f9, #fff);
  border-radius: 18px;
  margin: 20px 0;
}
.comment-join-art {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 18px;
  background: var(--blue);
  color: white;
  display: grid;
  place-items: center;
  box-shadow: 7px 7px 0 #86ae582b;
  transform: rotate(-6deg);
}
.comment-join-art svg {
  width: 28px;
  height: 28px;
}
.comment-join strong {
  font-size: 15px;
}
.comment-join p {
  font-size: 12px;
  color: var(--muted);
  margin: 5px 0;
}
.comment-join .btn {
  margin-inline-start: auto;
  white-space: nowrap;
}
.share-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.share-links a,
.share-links button {
  border: 0;
  color: #fff;
  border-radius: 10px;
  padding: 9px 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
}
.share-links .share-telegram {
  background: #229ed9;
}
.share-links .share-whatsapp {
  background: #158b51;
}
.share-links .share-x {
  background: #17232c;
}
.share-links .share-eitaa {
  background: #dc7624;
}
.share-links .share-bale {
  background: #118b77;
}
.share-links .share-rubika {
  background: linear-gradient(120deg, #8b47bc, #d1506e);
}
.share-links .share-native {
  background: var(--blue);
}
.developer-signature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border: 1px solid #ffffff20;
  border-radius: 12px;
  color: #fff;
  background: #ffffff06;
}
.developer-signature > span {
  display: flex;
  flex-direction: column;
}
.developer-signature small {
  font-size: 10px;
  opacity: 0.6;
}
.developer-signature strong {
  font-size: 15px;
  color: #abd5c8;
}
.developer-signature svg {
  color: #9bcac0;
}
.numbered-pages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 30px 0;
}
.numbered-pages button {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.numbered-pages .active {
  background: var(--blue);
  color: #fff;
}
.numbered-pages button:disabled {
  opacity: 0.35;
}
.city-teasers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.city-teaser {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 4/3;
}
.city-teaser > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.city-teaser:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, #102e40db);
}
.city-teaser > div {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 1;
  color: #fff;
}
.city-teaser span {
  font-size: 10px;
  opacity: 0.8;
}
.city-teaser h3 {
  font-size: 20px;
  margin: 5px 0;
}
.company-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.company-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  min-height: 80px;
}
.company-chip img {
  width: 60px;
  height: 48px;
  object-fit: contain;
}
.company-chip > span {
  font-size: 12px;
  font-weight: 700;
}
.company-wordmark {
  display: grid;
  place-items: center;
  min-width: 60px;
  min-height: 48px;
  max-width: 100%;
  padding: 8px;
  border-radius: 10px;
  background: #eaf2f6;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}
.gulf-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  border-radius: 22px;
  margin: 40px 0;
}
.gulf-story > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  min-height: 300px;
}
.gulf-story > div {
  padding: 38px;
}
.gulf-story h2 {
  font-size: 27px;
  line-height: 1.8;
}
.gulf-story p {
  font-size: 13px;
  line-height: 2.2;
  opacity: 0.8;
}
.gulf-story small {
  display: block;
  opacity: 0.5;
  margin-top: 20px;
  font-size: 10px;
}
.entity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 26px;
}
.entity-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.entity-cover {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.graphic-industry,
.entity-hero-pattern {
  background:
    repeating-linear-gradient(45deg, #236e9b20 0 1px, transparent 1px 20px),
    linear-gradient(120deg, #0c344a, #397780);
}
.entity-card-body {
  padding: 24px;
}
.entity-card h2 {
  font-size: 20px;
}
.entity-card p {
  font-size: 12px;
  line-height: 2;
  color: var(--muted);
}
.entity-logo {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  width: 110px;
  min-height: 80px;
  display: grid;
  place-items: center;
}
.entity-logo img {
  max-width: 100%;
  height: 65px;
  object-fit: contain;
}
.entity-hero {
  position: relative;
  min-height: 380px;
  border-radius: 22px;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  margin-top: 20px;
}
.entity-hero > img,
.entity-hero-pattern {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.entity-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #102e40ed, #102e4010);
}
.entity-hero-content {
  position: relative;
  z-index: 1;
  padding: 50px 40px;
  max-width: 760px;
}
.entity-hero h1 {
  font-size: 36px;
  margin: 15px 0;
}
.entity-hero p {
  line-height: 2;
  font-size: 14px;
}
.entity-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 25px;
  margin-top: 25px;
}
.entity-layout > .panel,
.entity-copy {
  padding: 30px;
}
.entity-layout aside > .panel {
  margin-bottom: 20px;
  padding: 24px;
}
.entity-copy h2 {
  font-size: 22px;
}
.entity-copy .reading {
  font-size: 15px;
}
.attractions > article {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  margin: 20px 0;
}
.attractions > article > img {
  width: 100%;
  max-height: 330px;
  object-fit: cover;
}
.attractions > article > div {
  padding: 20px;
}
.attractions h3 {
  font-size: 18px;
}
.attractions p {
  font-size: 13px;
  line-height: 2.2;
}
.entity-gallery > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.entity-gallery img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 10px;
}
.page-sources {
  font-size: 11px;
  line-height: 2.5;
  color: var(--muted);
  padding-top: 25px;
}
.page-sources a {
  color: var(--blue);
}
.map-illustration {
  height: 130px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(40deg, transparent 0 25px, #fff 26px 30px),
    #e5eff0;
}
.map-pin {
  padding: 18px;
  background: var(--blue);
  color: #fff;
  border-radius: 50% 50% 50% 4px;
  transform: rotate(-45deg);
}
.map-pin svg {
  transform: rotate(45deg);
}
.city-map .btn {
  width: 100%;
  margin: 15px 0;
}
.city-map iframe {
  width: 100%;
  height: 240px;
  border: 0;
  border-radius: 12px;
}
.weather-hero {
  border-radius: 24px;
  background:
    radial-gradient(circle at 20% 10%, #6ab5b8, transparent 45%),
    linear-gradient(120deg, #10384c, #1e6b88);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 30px;
  justify-content: space-between;
  padding: 40px;
  margin: 25px 0;
}
.weather-hero h2 {
  font-size: 32px;
  margin: 8px 0;
}
.weather-temperature {
  font-size: 64px;
  font-weight: 700;
  direction: ltr;
  display: flex;
  align-items: center;
  gap: 20px;
}
.weather-temperature svg {
  width: 80px;
  height: 80px;
  color: #f2ce79;
}
.weather-hero small {
  font-size: 11px;
  opacity: 0.75;
}
.weather-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin: 20px 0;
}
.weather-metrics > div {
  background: #fff;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.weather-metrics svg {
  color: var(--blue);
}
.weather-metrics strong {
  font-size: 21px;
}
.weather-metrics span,
.weather-metrics small {
  font-size: 11px;
  color: var(--muted);
}
.weather-forecast {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}
.forecast-days > div {
  padding: 20px 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: center;
  background: white;
}
.forecast-days > div svg {
  width: 34px;
  height: 34px;
  color: #d8a838;
  margin: 12px auto;
  display: block;
}
.forecast-days > div strong,
.forecast-days > div small,
.forecast-days > div span {
  display: block;
  font-size: 12px;
  line-height: 2;
}
.forecast-days > div small {
  color: var(--muted);
}
.province-weather-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}
.province-weather-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  text-align: right;
  border: 1px solid var(--line);
  background: white;
  border-radius: 16px;
  transition: 0.2s;
}
.province-weather-card.selected {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px #236e9b18;
  background: #f0f7fa;
}
.province-weather-card > div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.province-weather-card > b {
  font-size: 30px;
}
.province-weather-card > span {
  font-size: 10px;
  color: var(--muted);
}
.weather-attribution {
  padding: 20px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
  line-height: 2;
}
.weather-attribution a {
  color: var(--blue);
}
.is-stale {
  color: #996719 !important;
  font-size: 10px;
}
.weather-error {
  display: flex;
  align-items: center;
  gap: 15px;
}
.weather-loading {
  min-height: 320px;
  display: grid;
  place-items: center;
  color: var(--muted);
}
.media-filters {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
  background: #fff;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  margin: 20px 0;
}
.media-filters label {
  font-size: 11px;
}
.media-presets {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0 20px;
}
.media-presets button {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 11px;
}
.upload-dropzone {
  border: 2px dashed #aec9d5;
  border-radius: 18px;
  padding: 30px;
  text-align: center;
  background: #f0f7fa;
  position: relative;
  cursor: pointer;
  display: grid;
  place-items: center;
  gap: 10px;
}
.upload-dropzone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.upload-dropzone.dragging {
  background: #e2f0e5;
  border-color: var(--green);
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.media-card {
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  background: #fff;
  min-width: 0;
}
.media-card > img,
.media-file-icon {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: var(--bg);
}
.media-file-icon {
  display: grid;
  place-items: center;
}
.media-card > div {
  padding: 12px;
}
.media-card strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}
.media-card small {
  font-size: 9px;
  color: var(--muted);
}
.media-card-actions {
  display: flex;
  gap: 8px;
  padding-top: 12px;
}
.media-card-actions button {
  display: grid;
  place-items: center;
  background: var(--bg);
  border-radius: 7px;
  width: 30px;
  height: 30px;
}
.media-card-actions .danger {
  color: #bd4560;
}
.entity-admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.entity-admin-card {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex;
  gap: 16px;
  align-items: center;
}
.entity-admin-card img {
  width: 70px;
  height: 60px;
  object-fit: contain;
}
.entity-admin-card h3 {
  font-size: 14px;
}
.entity-admin-card p {
  font-size: 11px;
  color: var(--muted);
}
.entity-upload-preview img {
  height: 100px;
  max-width: 180px;
  object-fit: contain;
}
.select2-container {
  max-width: 100%;
}
.select2-container--default .select2-selection--multiple,
.select2-container--default .select2-selection--single {
  border: 1px solid #dce5eb;
  border-radius: 9px;
  min-height: 44px;
  background: white;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  line-height: 42px;
  font-size: 12px;
}
.select2-dropdown {
  z-index: 12000;
  border-color: var(--line);
  font-size: 12px;
}
.select2-container--default
  .select2-selection--multiple
  .select2-selection__choice {
  background: #eaf3f7;
  border: 0;
  padding: 4px 8px;
  font-size: 11px;
}
.jdp-container {
  z-index: 15000 !important;
  font-family: Iran, sans-serif !important;
}
#upload-status {
  position: fixed;
  bottom: 30px;
  left: 25px;
  z-index: 20000;
  padding: 20px;
  background: var(--navy);
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 45px #102e4040;
  min-width: 270px;
  font-size: 12px;
}
#upload-status progress {
  display: block;
  width: 100%;
  margin-top: 10px;
  accent-color: var(--green);
}
.booting #app {
  visibility: hidden;
}
.returning-visit.booting #app {
  visibility: visible;
}
.boot-loader {
  position: fixed;
  inset: 0;
  z-index: 30000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
  background: #f8fbfc;
  color: var(--navy);
  transition: opacity 0.28s;
}
.boot-loader img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  animation: boot-float 2s ease-in-out infinite;
}
.boot-loader strong {
  font-size: 24px;
}
.boot-loader span {
  font-size: 11px;
  color: var(--muted);
}
.boot-loader i {
  height: 3px;
  width: 120px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  animation: boot-bar 1s ease-in-out infinite;
}
.boot-loader.finished,
.returning-visit .boot-loader {
  opacity: 0;
  pointer-events: none;
}
@keyframes boot-float {
  50% {
    transform: translateY(-7px);
  }
}
@keyframes boot-bar {
  50% {
    transform: scaleX(0.4);
  }
}
@media (max-width: 1000px) {
  .entity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .province-weather-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .media-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .entity-layout {
    grid-template-columns: minmax(0, 1fr) 250px;
  }
  .media-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  body {
    padding-bottom: 100px;
  }
  .wrap {
    width: calc(100% - 28px);
  }
  .header .account-button,
  header .account-button {
    display: none !important;
  }
  .brand-tag {
    display: none;
  }
  .brand strong {
    font-size: 18px;
  }
  .brand img {
    width: 48px;
    height: 48px;
  }
  .header-main {
    padding-block: 12px;
  }
  .compact-breaking .wrap {
    gap: 10px;
    min-height: 42px;
  }
  .compact-breaking strong {
    font-size: 10px;
    flex-shrink: 0;
  }
  .compact-breaking a {
    font-size: 10px;
  }
  .edition-mark {
    display: none;
  }
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .lead-viewport {
    height: 370px;
  }
  .hero-slide .lead-content {
    right: 20px;
    left: 20px;
    bottom: 22px;
  }
  .hero-slide h1,
  .hero-slide h2 {
    font-size: 21px;
    line-height: 1.85;
  }
  .hero-slide p {
    font-size: 11px;
  }
  .hero-byline {
    font-size: 9px;
    gap: 10px;
  }
  .hero-slide .lead-top {
    top: 18px;
    right: 18px;
  }
  .slider-controls {
    padding: 10px;
  }
  .news-card {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    padding: 12px;
    overflow: visible;
    border-radius: 13px;
    direction: rtl;
  }
  .news-card .card-photo {
    grid-column: 1;
    grid-row: 1;
    aspect-ratio: 1;
    width: 104px;
    height: 104px;
    border-radius: 10px;
  }
  .news-card .card-photo img {
    aspect-ratio: 1;
    width: 104px;
    height: 104px;
    object-fit: cover;
  }
  .news-card .card-photo .pill {
    display: none;
  }
  .news-card .card-body {
    grid-column: 2;
    grid-row: 1;
    padding: 0 0 26px;
    background: transparent;
  }
  .news-card .card-body h3,
  .news-card .card-body h2 {
    font-size: 13px;
    line-height: 1.95;
    margin: 0 0 8px;
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
  }
  .news-card .card-body p {
    display: none;
  }
  .news-card .meta {
    font-size: 9px;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
  }
  .news-card .meta svg {
    height: 12px;
    width: 12px;
  }
  .news-card .bookmark {
    top: auto;
    bottom: 10px;
    left: 12px;
    width: 27px;
    height: 27px;
    box-shadow: none;
    background: #edf4f7;
    border: 0;
    border-radius: 7px;
  }
  .news-card .bookmark svg {
    width: 15px;
    height: 15px;
  }
  .archive-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px;
  }
  .mini-feature h3 {
    display: block !important;
    font-size: 13px;
    line-height: 1.9;
  }
  .article-byline {
    padding: 14px 0;
    gap: 14px;
  }
  .byline-facts {
    gap: 10px;
    font-size: 10px;
  }
  .article-code {
    display: none !important;
  }
  .article h1 {
    font-size: 24px;
    line-height: 1.9;
  }
  .comment-join {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 15px;
    padding: 20px;
  }
  .comment-join-art {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
  .comment-join strong {
    font-size: 12px;
  }
  .comment-join p {
    font-size: 10px;
    line-height: 2;
  }
  .comment-join .btn {
    grid-column: 1/-1;
    margin: 0;
    font-size: 12px;
  }
  .share-links {
    gap: 6px;
  }
  .share-links a,
  .share-links button {
    padding: 9px 10px;
    font-size: 10px;
  }
  .city-teasers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .city-teaser h3 {
    font-size: 18px;
  }
  .city-teaser > div {
    right: 15px;
    bottom: 12px;
  }
  .company-strip {
    display: flex;
    overflow: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
  }
  .company-chip {
    flex: 0 0 190px;
    scroll-snap-align: start;
  }
  .gulf-story {
    grid-template-columns: 1fr;
    margin: 28px 0;
  }
  .gulf-story > img {
    min-height: 0;
    height: 220px;
  }
  .gulf-story > div {
    padding: 25px;
  }
  .gulf-story h2 {
    font-size: 22px;
  }
  .entity-grid {
    grid-template-columns: 1fr;
  }
  .entity-hero {
    min-height: 350px;
  }
  .entity-hero-content {
    padding: 35px 24px;
  }
  .entity-hero h1 {
    font-size: 30px;
  }
  .entity-layout {
    grid-template-columns: 1fr;
  }
  .entity-copy {
    padding: 22px !important;
  }
  .entity-gallery img {
    height: 120px;
  }
  .entity-layout aside {
    display: grid;
    gap: 15px;
  }
  .entity-layout aside .panel {
    margin: 0;
  }
  .entity-copy .reading {
    font-size: 14px;
  }
  .weather-hero {
    padding: 25px;
    gap: 15px;
    flex-wrap: wrap;
    border-radius: 18px;
  }
  .weather-hero h2 {
    font-size: 25px;
  }
  .weather-temperature {
    font-size: 48px;
  }
  .weather-temperature svg {
    width: 55px;
    height: 55px;
  }
  .weather-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .weather-metrics > div {
    padding: 17px;
  }
  .province-weather-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .province-weather-card {
    padding: 15px;
  }
  .province-weather-card > b {
    font-size: 26px;
  }
  .weather-forecast {
    display: flex;
    overflow: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
  }
  .forecast-days > div {
    flex: 0 0 110px;
    scroll-snap-align: start;
  }
  .weather-error {
    flex-wrap: wrap;
  }
  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .media-card > img {
    height: 130px;
  }
  .media-filters {
    padding: 15px;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .media-filters > label:first-child {
    grid-column: 1/-1;
  }
  .media-filters .btn {
    grid-column: 1/-1;
  }
  .entity-admin-grid {
    grid-template-columns: 1fr;
  }
  .admin-toolbar {
    flex-wrap: wrap;
    gap: 12px;
  }
  .mobilebar {
    position: fixed;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 12px;
    right: 12px;
    width: auto;
    border: 1px solid #e3ebef;
    background: #ffffffed;
    backdrop-filter: blur(20px);
    border-radius: 23px;
    box-shadow: 0 7px 30px #102e4024;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    height: 68px;
    padding: 5px;
    z-index: 100;
  }
  .mobilebar > a,
  .mobilebar > button {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 16px;
    min-width: 0;
    color: #7a8995;
    font-size: 9px;
  }
  .mobilebar svg {
    height: 21px;
    width: 21px;
  }
  .mobilebar .active {
    color: var(--blue);
    background: #eaf3f7;
  }
  .mobilebar .active:after {
    content: "";
    width: 4px;
    height: 4px;
    background: var(--blue);
    position: absolute;
    bottom: 3px;
    border-radius: 50%;
  }
  .mobilebar .send-mobile {
    background: linear-gradient(140deg, var(--blue), #16475d);
    color: #fff;
    box-shadow: 0 5px 12px #236e9b30;
    transform: translateY(-8px);
    border: 4px solid #f6f8fa;
    border-radius: 20px;
    height: 62px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
  .developer-signature {
    justify-content: center;
    width: 100%;
    max-width: 300px;
  }
  #upload-status {
    left: 14px;
    right: 14px;
    bottom: 92px;
    min-width: 0;
  }
  .page-intro h1 {
    font-size: 24px;
    line-height: 1.9;
  }
  .section-title {
    font-size: 18px;
  }
  .section-heading > .text-link {
    font-size: 10px;
    flex-shrink: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.weather-forecast {
  display: block;
}
.forecast-days {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.weather-main-icon svg {
  width: 90px;
  height: 90px;
  color: #efcf83;
}
.weather-temperature {
  position: relative;
  gap: 0;
}
.weather-temperature small {
  font-size: 12px;
  position: absolute;
  bottom: -10px;
  left: 0;
  white-space: nowrap;
}
.weather-official {
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  margin-top: 25px;
}
.weather-official p {
  font-size: 12px;
  color: var(--muted);
  line-height: 2;
}
.weather-updated {
  font-size: 11px;
  opacity: 0.8;
}
.share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 13px;
  border-radius: 10px;
  color: #fff;
  font-size: 11px;
}
.share-button.telegram {
  background: #229ed9;
}
.share-button.whatsapp {
  background: #158b51;
}
.share-button.twitter {
  background: #17232c;
}
.share-button.linkedin {
  background: #0a66c2;
}
.share-button.eitaa {
  background: #db7626;
}
.share-button.bale {
  background: #118b77;
}
.share-button.rubika {
  background: linear-gradient(120deg, #8b47bc, #d1506e);
}
.engagement-button.saved-active {
  border-color: #d97f92;
  background: #fff1f4;
  color: #bb3c5a;
}
.engagement-button.save-button.saved-active {
  border-color: #7fa8bc;
  color: var(--blue);
  background: #edf6fa;
}
.entity-admin-grid > .panel {
  padding: 24px;
}
.media-filters > div {
  min-width: 0;
}
.media-presets button:hover {
  background: #eaf3f7;
}
.weather-skeleton {
  height: 300px;
  display: grid;
  place-items: center;
  color: var(--muted);
}
#upload-status .progress {
  height: 4px;
  background: #ffffff22;
  border-radius: 8px;
  margin: 12px 0;
}
#upload-status .progress span {
  display: block;
  height: 100%;
  background: var(--green);
  border-radius: 8px;
}
#upload-status > div:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
}
#upload-status small {
  font-size: 10px;
  opacity: 0.7;
}
.developer-mark {
  font: 700 24px monospace;
  color: #91c5b9;
}
.mobilebar .send-mobile svg {
  color: #fff;
}
@media (max-width: 640px) {
  .forecast-days {
    display: flex;
    overflow: auto;
    gap: 10px;
  }
  .forecast-days > div {
    flex: 0 0 110px;
  }
  .weather-forecast {
    display: block;
    overflow: visible;
  }
  .weather-official {
    display: block;
    padding: 20px;
  }
  .weather-official .btn {
    width: 100%;
    margin-top: 12px;
  }
  .weather-main-icon svg {
    width: 56px;
    height: 56px;
  }
  .weather-temperature {
    font-size: 45px;
  }
  .weather-hero {
    gap: 12px;
  }
  .weather-location {
    flex: 1 0 100%;
  }
  .media-filters > div:first-child {
    grid-column: 1/-1;
  }
  .mobilebar .send-mobile {
    display: flex;
  }
  .entity-admin-grid {
    grid-template-columns: 1fr;
  }
}
.hero-slide .lead-content {
  width: auto;
  padding: 0;
}
.hero-slide h1,
.hero-slide h2 {
  max-width: none;
}
.boot-symbol {
  position: relative;
}
.boot-symbol > i {
  display: none;
}
.boot-progress {
  height: 3px;
  overflow: hidden;
  width: 120px;
  background: #e1edf1;
  border-radius: 10px;
}
.boot-progress i {
  display: block;
}
.lead-slider {
  align-self: stretch;
}
.lead-viewport {
  height: calc(100% - 52px);
  min-height: 440px;
}
@media (max-width: 640px) {
  .lead-viewport {
    height: 370px;
    min-height: 370px;
  }
  .news-layout .cards {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .section-heading:has(.tabs) {
    display: block;
  }
  .section-heading .tabs {
    display: flex;
    overflow: auto;
    gap: 5px;
    margin-top: 12px;
    padding-bottom: 7px;
    max-width: 100%;
  }
  .section-heading .tabs button {
    white-space: nowrap;
    flex-shrink: 0;
  }
}
/* Editorial assistant and Instagram Studio */
.compact-masthead .brand-name {
  font-size: 23px;
  line-height: 1.6;
}
.compact-masthead .brand-name span {
  font-size: 8px;
  letter-spacing: 2.6px;
}
.compact-masthead .brand > img {
  width: 66px;
  height: 66px;
}
.brand {
  gap: 12px;
}
.footer .brand-name {
  font-size: 23px;
}
.editorial-ai {
  padding: 26px;
  margin: 0 0 26px;
  border: 1px solid #cae4e1;
  background:
    radial-gradient(ellipse at 100% 0, #dff3eb 0, transparent 60%),
    linear-gradient(140deg, #f6fbfa, #fff);
  border-radius: 20px;
  box-shadow: 0 8px 30px #174f4d06;
}
.ai-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
.ai-heading h3 {
  margin: 0;
  font-size: 17px;
  color: #164f49;
  line-height: 1.8;
}
.ai-heading h3 span {
  font-size: 12px;
  display: inline-block;
  margin-right: 5px;
}
.ai-heading p {
  font-size: 11px;
  color: #66807f;
  margin: 3px 0;
}
.ai-symbol {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #009478;
  color: white;
  box-shadow: 0 6px 16px #00947825;
  flex-shrink: 0;
}
.ai-status {
  margin-right: auto;
  font-size: 10px;
  white-space: nowrap;
  border-radius: 20px;
  padding: 6px 12px;
  background: #e2f2ee;
  color: #13705e;
}
.ai-config {
  border: 1px solid #d2e5df;
  border-radius: 13px;
  padding: 15px 18px;
  margin-bottom: 20px;
  background: #ffffff80;
}
.ai-config summary {
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  color: #267565;
  display: flex;
  gap: 8px;
  align-items: center;
}
.ai-config p {
  color: #6a807b;
  line-height: 2;
}
.ai-config small {
  font-size: 10px;
  color: #7e928d;
}
.ai-config-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 15px;
}
.ai-config-actions {
  flex-wrap: wrap;
  gap: 9px;
}
.ai-config .btn {
  font-size: 11px;
  padding: 9px 12px;
}
.ai-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.editorial-ai textarea,
.editorial-ai input,
.editorial-ai select {
  background: #ffffffc9;
  border-color: #ccdedb;
  font-size: 12px;
}
.editorial-ai label {
  font-size: 11px;
  color: #355b56;
}
.ai-presets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 10px;
  color: #7b8d87;
}
.ai-presets button {
  padding: 6px 10px;
  border: 1px solid #cfe1db;
  border-radius: 7px;
  color: #317867;
  background: #fff;
}
.ai-generate {
  width: 100%;
  background: linear-gradient(110deg, #008d74, #12af8e);
  box-shadow: 0 5px 15px #00947818;
  margin-top: 3px;
}
.ai-feedback {
  font-size: 12px;
  line-height: 2;
  color: #247f68;
  margin: 12px 0 0;
}
.ai-feedback.error {
  color: #af3150;
}
.ai-draft {
  border-top: 1px solid #cae2da;
  margin-top: 20px;
  padding-top: 18px;
}
.ai-draft > strong {
  display: block;
  line-height: 2;
  font-size: 17px;
}
.ai-draft > p {
  font-size: 12px;
  line-height: 2;
}
.ai-draft details {
  font-size: 12px;
  margin: 15px 0;
  line-height: 2;
}
.ai-draft textarea {
  width: 100%;
  padding: 16px;
  line-height: 2.2;
  margin: 10px 0;
}
.ai-draft .checkbox {
  margin: 16px 0;
}
.studio-editor-button {
  background: #fff0f5;
  border: 1px solid #f1cbdc;
  color: #ac386c;
}
.instagram-intro {
  background:
    radial-gradient(ellipse at 90% 20%, #a8356a90, transparent 60%),
    linear-gradient(120deg, #112537, #3c1838);
  padding: 36px;
  border: 1px solid #883d60;
  border-radius: 22px;
  color: white;
  position: relative;
  overflow: hidden;
  margin-bottom: 25px;
}
.instagram-intro h2 {
  font-size: 29px;
  line-height: 1.8;
  margin: 12px 0;
}
.instagram-intro p {
  line-height: 2;
  font-size: 13px;
  max-width: 750px;
  opacity: 0.8;
}
.instagram-intro .eyebrow {
  color: #f1a4c8;
  letter-spacing: 2px;
  font-size: 10px;
}
.instagram-intro .btn {
  background: #c73980;
  border: 1px solid #e771ac;
}
.instagram-intro .outline {
  background: transparent;
  color: #fff;
}
.instagram-formats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}
.instagram-formats .panel {
  padding: 24px;
  position: relative;
}
.instagram-formats h3 {
  font-size: 15px;
  margin: 12px 0 8px;
}
.instagram-formats strong {
  font-size: 17px;
  display: block;
  color: #305572;
}
.instagram-formats small {
  font-size: 11px;
  color: var(--muted);
}
.format-shape {
  display: inline-block;
  border: 2px solid currentColor;
  border-radius: 4px;
  color: #b94c80;
  height: 27px;
  width: 19px;
  position: relative;
}
.format-shape.story:after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 5px;
  right: 5px;
  height: 2px;
  background: currentColor;
}
.format-shape.portrait {
  width: 23px;
}
.format-shape.square {
  width: 27px;
}
.studio-news-list > article {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.studio-news-list > article > img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 11px;
  flex-shrink: 0;
}
.studio-news-list > article > div {
  min-width: 0;
  flex: 1;
}
.studio-news-list strong {
  font-size: 13px;
  line-height: 2;
  display: block;
}
.studio-news-list span {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-top: 5px;
}
.studio-news-list .btn {
  font-size: 11px;
  white-space: nowrap;
}
.instagram-modal.modal {
  max-width: 1160px;
  width: calc(100% - 40px);
  padding: 0;
  overflow: auto;
  background: #f9fbfc;
  max-height: 94dvh;
}
.instagram-modal > .close {
  z-index: 2;
  color: white;
  top: 24px;
  left: 24px;
}
.studio-heading {
  padding: 22px 28px;
  color: #fff;
  background: linear-gradient(110deg, #163c4a, #63304f);
  display: flex;
  gap: 14px;
  align-items: center;
}
.studio-heading > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #ffffff40;
  border-radius: 12px;
  color: #f4b0d2;
  background: #ffffff10;
}
.studio-heading h2 {
  font-size: 18px;
  margin: 0;
}
.studio-heading p {
  font-size: 11px;
  margin: 5px 0 0;
  opacity: 0.65;
}
.studio-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  padding: 28px;
  align-items: start;
}
.studio-controls {
  min-width: 0;
}
.studio-controls fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 22px;
}
.studio-controls legend {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}
.studio-format-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.studio-format-options label {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 15px;
  cursor: pointer;
}
.studio-format-options label:has(input:checked) {
  border-color: #198c7a;
  box-shadow: 0 0 0 2px #198c7a10;
  background: #eff9f6;
}
.studio-format-options input,
.studio-themes input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.studio-format-options label:focus-within,
.studio-themes label:focus-within {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.studio-format-options strong {
  font-size: 12px;
}
.studio-format-options small {
  font-size: 10px;
  color: var(--muted);
}
.studio-themes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}
.studio-themes label {
  font-size: 10px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 9px 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  position: relative;
}
.studio-themes label:has(input:checked) {
  border-color: var(--swatch);
  box-shadow: 0 0 0 2px #17806c10;
}
.studio-themes label > span {
  background: var(--swatch);
  border-radius: 50%;
  width: 9px;
  height: 9px;
  flex-shrink: 0;
}
.studio-controls .field {
  margin: 0 0 15px;
}
.studio-controls label {
  font-size: 11px;
}
.studio-controls textarea,
.studio-controls input,
.studio-controls select {
  font-size: 12px;
  background: white;
}
.studio-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 12px;
}
.studio-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  background: #edf4f6;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 20px;
}
.studio-checks .checkbox {
  font-size: 11px;
}
.studio-controls .studio-download {
  width: 100%;
  background: linear-gradient(110deg, #008e78, #17aa88);
  margin-bottom: 12px;
}
.studio-controls > .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 20px;
  gap: 10px;
}
.studio-controls > .row .btn {
  font-size: 11px;
  padding: 10px;
}
.studio-preview {
  position: sticky;
  top: 0;
  background: #0d1d28;
  border: 1px solid #173540;
  border-radius: 18px;
  padding: 20px;
  color: #c0d1d6;
  min-width: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
}
.studio-preview-label {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  padding-bottom: 15px;
  border-bottom: 1px solid #ffffff15;
  margin-bottom: 20px;
}
.studio-preview-label b {
  font: 11px monospace;
  font-weight: 400;
  color: #839ca5;
}
.studio-preview canvas {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 600px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 30px #0007;
}
.studio-preview > p {
  font-size: 10px;
  line-height: 2;
  text-align: center;
  color: #7e98a3;
  margin: 15px 0 0;
}
.studio-render-status {
  font-size: 11px;
  line-height: 2;
  color: #387b6a;
  min-height: 22px;
}
.studio-controls > small {
  font-size: 10px;
  line-height: 2;
  display: block;
}
.panel:has(#studio-news-list) {
  padding: 24px;
}
#studio-search {
  max-width: 300px;
  font-size: 12px;
}
@media (max-width: 1000px) {
  .studio-themes {
    grid-template-columns: 1fr 1fr;
  }
  .studio-layout {
    gap: 20px;
    padding: 20px;
  }
  .studio-controls .btn {
    font-size: 11px;
  }
  .ai-heading {
    flex-wrap: wrap;
  }
  .ai-status {
    margin-right: 0;
  }
}
@media (max-width: 640px) {
  .compact-masthead .brand-name {
    font-size: 19px;
  }
  .compact-masthead .brand-name span {
    font-size: 7px;
    letter-spacing: 2px;
  }
  .compact-masthead .brand > img {
    width: 51px;
    height: 51px;
  }
  .compact-brand-group {
    gap: 9px;
  }
  .editorial-ai {
    padding: 18px;
    border-radius: 16px;
  }
  .ai-heading {
    gap: 10px;
  }
  .ai-heading h3 {
    font-size: 14px;
  }
  .ai-heading h3 span {
    font-size: 10px;
    display: block;
    margin: 0;
  }
  .ai-heading p {
    font-size: 10px;
  }
  .ai-symbol {
    width: 39px;
    height: 39px;
    border-radius: 11px;
  }
  .ai-status {
    font-size: 9px;
    margin-right: 49px;
    margin-top: -7px;
  }
  .ai-config {
    padding: 13px;
  }
  .ai-config-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .ai-options {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .ai-config-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .ai-config-actions .btn {
    font-size: 10px;
    padding: 9px 6px;
  }
  .ai-generate {
    font-size: 12px;
  }
  .instagram-intro {
    padding: 25px;
  }
  .instagram-intro h2 {
    font-size: 23px;
  }
  .instagram-intro p {
    font-size: 12px;
  }
  .instagram-formats {
    gap: 9px;
  }
  .instagram-formats .panel {
    padding: 15px 10px;
    text-align: center;
  }
  .instagram-formats h3 {
    font-size: 11px;
  }
  .instagram-formats strong {
    font-size: 11px;
    line-height: 2;
  }
  .instagram-modal.modal {
    width: calc(100% - 16px);
    max-height: 96dvh;
    border-radius: 17px;
  }
  .studio-heading {
    padding: 20px 17px;
    gap: 10px;
    padding-left: 50px;
  }
  .studio-heading h2 {
    font-size: 14px;
    line-height: 1.9;
  }
  .studio-heading p {
    font-size: 9px;
    line-height: 2;
  }
  .instagram-modal > .close {
    top: 18px;
    left: 12px;
  }
  .studio-layout {
    display: flex;
    flex-direction: column-reverse;
    padding: 16px;
    gap: 20px;
  }
  .studio-controls,
  .studio-preview {
    width: 100%;
  }
  .studio-preview {
    position: static;
    padding: 16px;
  }
  .studio-preview canvas {
    max-height: 380px;
    max-width: 100%;
  }
  .studio-themes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .studio-checks {
    padding: 12px;
    gap: 10px;
  }
  .studio-checks .checkbox {
    font-size: 10px;
  }
  .studio-format-options label {
    padding: 12px 8px;
  }
  .studio-news-list > article {
    gap: 10px;
    flex-wrap: wrap;
  }
  .studio-news-list strong {
    font-size: 12px;
  }
  .studio-news-list .btn {
    margin-right: 80px;
    font-size: 10px;
  }
  .studio-news-list > article > div {
    flex-basis: calc(100% - 80px);
  }
  .panel:has(#studio-news-list) {
    padding: 17px;
  }
  #studio-search {
    max-width: 100%;
    width: 100%;
    margin: 8px 0;
  }
  .panel:has(#studio-news-list) > .row {
    display: block;
  }
}
.studio-news-list strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.studio-news-list .panel {
  min-width: 0;
}
@media (max-width: 640px) {
  #article-form > .admin-toolbar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  #article-form > .admin-toolbar > .row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    width: 100%;
    gap: 9px;
  }
  #article-form > .admin-toolbar > .row > .studio-editor-button {
    grid-column: 1/-1;
  }
  #article-form > .admin-toolbar > .row > .btn {
    font-size: 11px;
    padding: 11px 8px;
    justify-content: center;
    min-width: 0;
  }
  .editorial-ai {
    min-width: 0;
  }
  .ai-heading > div {
    flex: 1;
    min-width: 0;
  }
}
@media (max-width: 640px) {
  .ai-heading {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 9px 10px;
    align-items: start;
  }
  .ai-heading .ai-symbol {
    grid-column: 1;
    grid-row: 1;
  }
  .ai-heading > div {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
  }
  .ai-heading .ai-status {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    justify-self: start;
  }
  .ai-heading h3 {
    font-size: 14px;
    line-height: 1.8;
  }
  .ai-heading p {
    font-size: 10px;
    line-height: 1.9;
  }
}
/* Version 1.3: account choices, community participation and a calmer weather page. */
[hidden] {
  display: none !important;
}
.auth-tabs {
  display: flex;
  gap: 5px;
  background: #edf3f6;
  border: 1px solid #e1eaef;
  padding: 5px;
  border-radius: 12px;
  margin: 20px 0;
}
.auth-tabs button {
  flex: 1;
  font-size: 11px;
  padding: 10px 5px;
  color: #69808f;
  border-radius: 8px;
}
.auth-tabs .active {
  background: white;
  color: var(--blue);
  box-shadow: 0 2px 8px #163a4e0d;
}
.modal:has(.auth-tabs) form input {
  margin: 8px 0 16px;
}
.modal:has(.auth-tabs) form label {
  font-size: 12px;
}
.modal:has(.auth-tabs) form .btn {
  margin-top: 12px;
}
.modal:has(.auth-tabs) form small {
  font-size: 10px;
  line-height: 2;
  display: block;
}
.copy-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #edf5f9;
  color: #276888;
  border: 1px solid #d0e3ed;
  border-radius: 10px;
  padding: 10px 15px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
  white-space: nowrap;
  transition: 0.2s;
}
.copy-link-button:hover {
  background: #dfeff6;
  transform: translateY(-1px);
}
.copy-link-button .ico {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
}
.share-row {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.article-source {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  padding: 16px 19px;
  margin: 24px 0;
  background: #f2f7f9;
  border-inline-start: 3px solid #79a8ba;
  border-radius: 10px;
  color: #697e8b;
  font-size: 12px;
}
.article-source a,
.article-source strong {
  font-weight: 700;
  color: var(--blue);
}
.pin-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  font-size: 10px;
  border-radius: 7px;
  background: #eef3f5;
  color: #708591;
  white-space: nowrap;
}
.pin-action.active {
  background: #fff1d9;
  color: #916913;
}
.pin-action svg {
  width: 13px;
  height: 13px;
}
.ad-placement {
  margin: 24px 0;
  position: relative;
  min-width: 0;
}
.ad-placement > small {
  display: block;
  font-size: 9px;
  color: #98a5ad;
  margin-bottom: 6px;
}
.ad-placement a {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e0e9ee;
  margin-bottom: 12px;
  background: #f0f4f7;
}
.ad-placement img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: contain;
}
.ad-sidebar img {
  max-height: 400px;
}
.community-intro {
  border-radius: 22px;
  padding: 34px;
  background: linear-gradient(120deg, #e9f3f5, #f4f9ee);
  border: 1px solid #dbe8e9;
  margin-bottom: 25px;
}
.community-intro h1 {
  font-size: 28px;
  margin: 10px 0;
}
.community-intro p {
  font-size: 13px;
  color: #6a818a;
  line-height: 2;
}
.community-grid,
.community-admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.community-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  min-width: 0;
}
.community-card > img {
  height: 210px;
  width: 100%;
  object-fit: cover;
}
.community-card > div {
  padding: 24px;
}
.community-label {
  font-size: 10px;
  color: #40887e;
  background: #eaf6f1;
  display: inline-block;
  padding: 5px 10px;
  border-radius: 6px;
}
.community-card h2 {
  font-size: 19px;
  line-height: 1.9;
  margin: 13px 0;
}
.community-card p {
  font-size: 12px;
  line-height: 2;
  color: #7b8a92;
}
.community-card-bottom {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  color: #68808c;
}
.community-detail {
  max-width: 950px;
}
.community-detail-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 38px;
  margin-top: 20px;
}
.community-detail h1 {
  font-size: 28px;
  line-height: 1.9;
  margin: 18px 0;
}
.community-description {
  font-size: 14px;
  line-height: 2.2;
  color: #71838e;
}
.community-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 17px 0;
  margin: 20px 0;
  border-block: 1px solid var(--line);
  font-size: 11px;
  color: #7b8e96;
  flex-wrap: wrap;
}
.community-cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 13px;
}
.poll-options {
  border: 0;
  margin: 20px 0;
  padding: 0;
}
.poll-options legend {
  font-size: 13px;
  margin-bottom: 15px;
}
.poll-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px;
  background: #fafcfd;
  border: 1px solid #e1eaee;
  border-radius: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  cursor: pointer;
}
.poll-option.selected {
  border-color: #8abdaf;
  background: #edf8f2;
}
.poll-option input {
  width: 17px;
  flex: 0 0 17px;
  accent-color: #287b87;
}
.poll-option-label {
  font-size: 13px;
  flex: 1;
  min-width: 0;
}
.poll-option > b {
  font-size: 13px;
  color: #2d6c7b;
}
.poll-option small {
  font-size: 10px;
  font-weight: 400;
  color: #93a0a5;
}
.poll-meter {
  height: 5px;
  width: 100%;
  flex-basis: 100%;
  border-radius: 10px;
  background: #e1ecee;
  overflow: hidden;
  margin-top: 5px;
}
.poll-meter i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #2c8398, #74af9e);
  border-radius: 10px;
}
.participation-state {
  padding: 16px 20px;
  background: #eef7f1;
  border: 1px solid #d6e9df;
  border-radius: 11px;
  font-size: 12px;
  line-height: 2;
  color: #3e7965;
}
.community-share {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 25px;
  margin-top: 25px;
  border-top: 1px solid var(--line);
}
.campaign-progress {
  padding: 22px;
  background: #f1f7f8;
  border-radius: 14px;
  margin: 25px 0;
}
.campaign-progress strong {
  font-size: 23px;
  color: #2e7785;
}
.campaign-progress > span {
  font-size: 12px;
  color: #74919a;
  margin-right: 12px;
}
.campaign-progress .poll-meter {
  margin-top: 15px;
}
.community-admin-grid > .panel {
  padding: 24px;
  min-width: 0;
}
.community-admin-grid h3 {
  font-size: 17px;
  line-height: 1.9;
  margin: 12px 0;
}
.community-admin-grid .row {
  gap: 9px;
  flex-wrap: wrap;
}
.community-editor-panel {
  padding: 30px;
  max-width: 950px;
}
.community-editor-panel small {
  font-size: 11px;
  line-height: 2;
  color: #7d929c;
}
.community-upload-preview img {
  max-width: 100%;
  max-height: 230px;
  border-radius: 12px;
  margin-top: 12px;
}
.banner-admin-card > img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  background: #f0f4f6;
  border-radius: 10px;
}
.banner-admin-card > p {
  font-size: 11px;
  color: #7b8c96;
}
.assistant-provider {
  padding: 17px;
  background: #ffffff99;
  border: 1px solid #d7e7e3;
  border-radius: 11px;
  margin-bottom: 18px;
}
.assistant-provider p {
  margin: 8px 0 0;
  line-height: 2;
  color: #718b83;
}
.weather-page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.weather-page-heading h1 {
  font-size: 28px;
  margin: 8px 0;
  color: #264858;
}
.weather-page-heading p {
  font-size: 12px;
  color: #82949d;
  margin: 0;
}
.weather-overview {
  padding: 23px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  margin: 24px 0;
}
.weather-overview .section-heading {
  margin-bottom: 18px;
}
.weather-overview h2 {
  font-size: 16px;
  margin: 0;
}
.weather-overview .section-heading > span {
  font-size: 11px;
  color: #92a0a7;
}
.weather-city-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.weather-city-compact {
  position: relative;
  padding: 14px 12px;
  text-align: right;
  background: #f8fafb;
  border: 1px solid #e8eef1;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  min-width: 0;
  min-height: 65px;
}
.weather-city-compact > span {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.weather-city-compact strong {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.8;
}
.weather-city-compact b {
  font-size: 21px;
  font-weight: 700;
  color: #376a80;
  direction: ltr;
}
.weather-city-compact svg {
  height: 19px;
  width: 19px;
  color: #8ba9b4;
  flex-shrink: 0;
}
.weather-city-compact.selected {
  border-color: #8ab5c4;
  background: #edf6f9;
  box-shadow: 0 0 0 1px #8ab5c410;
}
.weather-city-compact > small {
  position: absolute;
  bottom: 1px;
  left: 8px;
  font-size: 8px;
  color: #a68b4a;
}
.weather-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.weather-current,
.weather-next-days {
  border: 1px solid var(--line);
  background: white;
  border-radius: 18px;
  padding: 28px;
}
.weather-current-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.weather-current-heading > div:first-child > span {
  font-size: 10px;
  color: #93a5ae;
}
.weather-current h2 {
  font-size: 27px;
  margin: 10px 0;
  color: #28536a;
}
.weather-current p {
  font-size: 12px;
  color: #8296a1;
  line-height: 2;
}
.weather-degree {
  position: relative;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 10px;
}
.weather-degree strong {
  font-size: 50px;
  direction: ltr;
  color: #337d9a;
  font-weight: 500;
}
.weather-degree svg {
  width: 45px;
  height: 45px;
  color: #dbb655;
}
.weather-degree small {
  font-size: 9px;
  text-align: center;
  grid-column: 1/-1;
  color: #90a6b0;
}
.weather-data-time {
  font-size: 10px !important;
  border-top: 1px solid #edf2f4;
  margin: 20px 0 !important;
  padding-top: 15px;
}
.weather-key-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}
.weather-key-facts > div {
  padding: 15px;
  border: 1px solid #ecf1f4;
  border-radius: 11px;
  background: #fbfcfd;
}
.weather-key-facts dt {
  font-size: 11px;
  color: #92a1a9;
}
.weather-key-facts dd {
  font-size: 20px;
  color: #406c80;
  margin: 8px 0 0;
}
.weather-key-facts dd small {
  font-size: 10px;
  color: #93a8b1;
  font-weight: 400;
}
.weather-next-days h2 {
  font-size: 16px;
  margin: 0 0 22px;
}
.forecast-table-head,
.forecast-table-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.forecast-table-head {
  font-size: 10px;
  color: #95a7af;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf1f3;
}
.forecast-table-row {
  padding: 14px 0;
  border-bottom: 1px solid #f0f4f6;
  min-height: 65px;
}
.forecast-table-row:last-child {
  border: 0;
}
.forecast-table-row > span:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
  text-align: right;
}
.forecast-table-row strong {
  font-size: 11px;
  font-weight: 500;
}
.forecast-table-row small {
  font-size: 9px;
  color: #8fa3ad;
}
.forecast-table-row > span:nth-child(2) {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.forecast-table-row svg {
  width: 23px;
  height: 23px;
  color: #b9a36e;
}
.forecast-table-row > b {
  font-size: 14px;
  color: #40748c;
  font-weight: 500;
}
.weather-source-details {
  font-size: 11px;
  line-height: 2.1;
  color: #89a0aa;
  margin: 24px 0;
  padding: 18px 22px;
  background: #f0f5f7;
  border-radius: 12px;
}
.weather-source-details summary {
  cursor: pointer;
  color: #627d8c;
}
.weather-source-details a {
  color: #427f9b;
}
.weather-official-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #5f8799;
  font-size: 11px;
  padding: 0 4px 15px;
}
.weather-official-link svg {
  width: 16px;
  height: 16px;
}
.weather-unavailable {
  font-size: 12px;
  padding: 25px 0;
  line-height: 2.2;
}
.weather-clean .weather-skeleton {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
}
@media (max-width: 1050px) {
  .weather-city-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .weather-detail-grid {
    gap: 15px;
  }
  .weather-current,
  .weather-next-days {
    padding: 21px;
  }
  .weather-current-heading {
    gap: 10px;
  }
  .weather-degree strong {
    font-size: 42px;
  }
  .weather-degree svg {
    width: 32px;
    height: 32px;
  }
}
@media (max-width: 640px) {
  .auth-tabs button {
    font-size: 10px;
  }
  .copy-link-button {
    padding: 10px 12px;
    font-size: 10px;
  }
  .article-source {
    padding: 14px;
    font-size: 11px;
  }
  .community-grid,
  .community-admin-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .community-intro {
    padding: 24px;
  }
  .community-intro h1 {
    font-size: 23px;
    line-height: 1.8;
  }
  .community-card > div {
    padding: 20px;
  }
  .community-card h2 {
    font-size: 17px;
  }
  .community-detail-panel {
    padding: 22px 18px;
    border-radius: 16px;
  }
  .community-detail h1 {
    font-size: 22px;
  }
  .community-description {
    font-size: 12px;
  }
  .poll-option {
    padding: 15px 12px;
    gap: 8px;
  }
  .poll-option-label {
    font-size: 12px;
  }
  .poll-option > b {
    font-size: 12px;
  }
  .poll-option > b small {
    display: block;
    font-size: 9px;
  }
  .community-share .btn,
  .community-share .copy-link-button {
    flex: 1;
    font-size: 10px;
    white-space: nowrap;
    padding: 10px 8px;
  }
  .community-editor-panel {
    padding: 22px 18px;
  }
  .ad-placement {
    margin: 18px 0;
  }
  .weather-page-heading {
    align-items: flex-start;
    gap: 10px;
  }
  .weather-page-heading h1 {
    font-size: 23px;
    line-height: 1.8;
  }
  .weather-page-heading p {
    font-size: 10px;
    line-height: 2;
  }
  .weather-page-heading .btn {
    font-size: 0;
    width: 37px;
    height: 37px;
    padding: 9px;
    margin-top: 32px;
    flex: 0 0 37px;
  }
  .weather-page-heading .btn svg {
    width: 17px;
    height: 17px;
    margin: 0;
  }
  .weather-overview {
    padding: 18px 14px;
    margin: 18px 0;
  }
  .weather-overview h2 {
    font-size: 14px;
  }
  .weather-overview .section-heading > span {
    font-size: 9px;
  }
  .weather-city-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .weather-city-compact {
    padding: 12px 10px;
    min-height: 62px;
  }
  .weather-city-compact strong {
    font-size: 10px;
  }
  .weather-city-compact b {
    font-size: 20px;
  }
  .weather-city-compact svg {
    width: 16px;
    height: 16px;
  }
  .weather-detail-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .weather-current,
  .weather-next-days {
    padding: 22px 18px;
  }
  .weather-current h2 {
    font-size: 25px;
  }
  .weather-degree strong {
    font-size: 44px;
  }
  .weather-degree svg {
    width: 35px;
    height: 35px;
  }
  .weather-key-facts {
    gap: 9px;
  }
  .weather-key-facts > div {
    padding: 13px;
  }
  .weather-key-facts dd {
    font-size: 18px;
  }
  .forecast-table-row > span:first-child {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
  }
  .forecast-table-row {
    padding: 12px 0;
    gap: 8px;
  }
  .forecast-table-row > span:nth-child(2) {
    flex-direction: column;
    gap: 3px;
  }
  .weather-source-details {
    font-size: 10px;
    padding: 16px;
  }
  .weather-official-link {
    font-size: 10px;
    line-height: 2;
  }
  .weather-source-details summary {
    font-size: 11px;
  }
  .assistant-provider p {
    font-size: 10px;
  }
}
.share-row .copy-link-button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border: 1px solid #cddfe9;
  border-radius: 10px;
  background: #edf5f9;
  color: #276888;
  font-size: 11px;
  line-height: 1.6;
}
.share-row .copy-link-button:hover {
  background: #e0eef5;
}
@media (max-width: 640px) {
  .share-row .copy-link-button {
    padding: 9px 12px;
    font-size: 10px;
  }
}

/* Simplified newsroom workflow */
.editor-disclosure {
  margin: 16px 0;
}
.editor-disclosure > summary {
  cursor: pointer;
  font-weight: 700;
  padding: 14px 10px;
}
.editor-disclosure > summary .ico {
  vertical-align: middle;
  margin-left: 8px;
}
.admin-nav-group > summary {
  cursor: pointer;
  padding: 16px 12px;
  color: #afc5d4;
  font-size: 13px;
  font-weight: 700;
}
.admin-nav-group[open] > summary {
  color: white;
}
#article-form .admin-toolbar {
  position: sticky;
  top: 0;
  z-index: 25;
  padding: 14px;
  background: var(--surface, #fff);
  border: 1px solid var(--line, #e1e7eb);
  border-radius: 12px;
  gap: 12px;
  box-shadow: 0 5px 20px #10334c0a;
}
#article-form .admin-toolbar > .row {
  flex-wrap: wrap;
}
#article-form .form-error:not(:empty) {
  position: sticky;
  bottom: 14px;
  z-index: 26;
  padding: 16px;
  background: #fff0f0;
  color: #aa2020;
  border: 1px solid #f0baba;
  border-radius: 12px;
}
@media (max-width: 700px) {
  #article-form .admin-toolbar {
    position: static;
  }
  #article-form .admin-toolbar > .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 8px;
  }
  #article-form .admin-toolbar .btn[value="publish"] {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  #article-form .admin-toolbar .btn {
    justify-content: center;
    font-size: 12px;
    padding: 12px 8px;
  }
  #article-form .editor-grid {
    display: flex;
    flex-direction: column;
  }
  #article-form .editor-grid > * {
    min-width: 0;
    width: 100%;
  }
  .admin-nav-group > summary {
    min-height: 48px;
  }
}

@media (max-width: 700px) {
  #article-form > .admin-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  #article-form > .admin-toolbar > .row > .studio-editor-button {
    grid-column: auto;
  }
  #article-form > .admin-toolbar > .row > .btn {
    white-space: normal;
    min-height: 46px;
  }
}

/* Keep the menu scrollable inside the fixed sidebar at every viewport height. */
.admin-sidebar {
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
}
.admin-sidebar .admin-brand,
.admin-sidebar .sidebar-bottom {
  flex-shrink: 0;
}
.admin-sidebar .admin-nav {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-y: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #52758a #102e40;
  padding-bottom: 18px;
}
.admin-sidebar .admin-nav > * {
  flex-shrink: 0;
}
.admin-sidebar .admin-nav:focus-visible {
  outline: 2px solid #8bbdd7;
  outline-offset: 3px;
}
.news-placement-options {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}
.news-placement-options .checkbox {
  padding: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
}
@media (max-width: 640px) {
  .admin-sidebar {
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }
}
/* Publication switches: native keyboard control, full-row touch target. */
#article-form .publication-toggle {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #f8fafb;
  cursor: pointer;
  transition:
    background 0.18s,
    border-color 0.18s;
}
.publication-toggle input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.publication-toggle .toggle-copy {
  flex: 1;
  min-width: 0;
}
.publication-toggle strong,
.publication-toggle small {
  display: block;
}
.publication-toggle strong {
  font-size: 13px;
}
.publication-toggle small {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
}
.publication-toggle .toggle-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #e9f0f4;
  border-radius: 10px;
  color: var(--blue);
  flex-shrink: 0;
}
.publication-toggle .toggle-track {
  position: relative;
  width: 38px;
  height: 23px;
  flex-shrink: 0;
  border-radius: 30px;
  background: #c7d1d8;
  transition: background 0.2s;
}
.publication-toggle .toggle-track::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 4px #0002;
  transition: transform 0.2s;
}
.publication-toggle input:checked ~ .toggle-track {
  background: #218c73;
}
.publication-toggle input:checked ~ .toggle-track::after {
  transform: translateX(-15px);
}
#article-form .publication-toggle:has(input:checked) {
  background: #eef8f4;
  border-color: #8ac7b4;
}
.publication-toggle input:focus-visible ~ .toggle-track {
  outline: 3px solid #77bde0;
  outline-offset: 3px;
}
#article-form .publication-toggle.is_breaking:has(input:checked) {
  background: #fff1f2;
  border-color: #ef9ba4;
}
.publication-toggle.is_breaking input:checked ~ .toggle-track {
  background: #d44254;
}
.news-cover-panel,
.article-gallery-panel {
  margin-top: 20px;
}
.cover-preview-frame {
  position: relative;
  aspect-ratio: 16/10;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #edf2f4;
  margin: 14px 0;
}
.cover-preview-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.cover-preview-frame span {
  position: absolute;
  inset: auto 8px 8px auto;
  background: #102e40e0;
  border-radius: 7px;
  padding: 3px 10px;
  color: white;
  font-size: 10px;
}
#article-form .media-upload-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  gap: 7px;
  border: 1px dashed #7eafc8;
  background: #edf6fb;
  color: #225f80;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  margin: 12px 0;
  overflow: hidden;
}
.media-upload-button input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.media-upload-button:focus-within {
  outline: 3px solid #78b8d5;
  outline-offset: 2px;
}
.media-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.article-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 12px 0;
}
.article-gallery-thumbs article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}
.article-gallery-thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}
.article-gallery-thumbs article > div {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
  padding: 4px;
}
.article-gallery-thumbs button {
  min-width: 26px;
  min-height: 34px;
  border-radius: 6px;
  color: var(--blue);
}
.article-gallery-thumbs button:disabled {
  opacity: 0.25;
  cursor: default;
}
.article-gallery-thumbs button .ico {
  width: 15px;
  height: 15px;
}
.gallery-empty {
  text-align: center;
  padding: 26px 8px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  color: var(--muted);
  font-size: 11px;
}
.gallery-empty .ico {
  display: block;
  margin: 0 auto 10px;
}
.article-media-picker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-height: 65dvh;
  overflow: auto;
  padding: 8px;
}
.article-media-picker button {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  text-align: right;
}
.article-media-picker img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.article-media-picker span {
  display: block;
  padding: 6px;
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.studio-layout-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.studio-controls .studio-layout-choices label {
  position: relative;
  display: block;
  text-align: center;
  padding: 9px 6px;
  cursor: pointer;
  border: 1px solid #d9e4e9;
  border-radius: 12px;
  background: white;
}
.studio-layout-choices input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.studio-layout-choices label:has(input:checked) {
  border-color: #178d80;
  box-shadow: 0 0 0 2px #178d8020;
  background: #f2faf7;
}
.studio-layout-choices label:has(input:focus-visible) {
  outline: 3px solid #67b5d2;
}
.studio-layout-choices strong {
  display: block;
  font-size: 11px;
}
.studio-layout-choices small {
  display: block;
  font-size: 9px;
  color: #708490;
}
.layout-mini {
  display: block;
  width: 55px;
  height: 67px;
  margin: 0 auto 8px;
  border-radius: 5px;
  background: #113d42;
  position: relative;
  overflow: hidden;
}
.layout-mini i {
  position: absolute;
  top: 12px;
  right: 5px;
  left: 5px;
  height: 27px;
  background: linear-gradient(135deg, #61bdad, #21758c);
  border-radius: 3px;
}
.layout-mini b {
  position: absolute;
  right: 5px;
  left: 13px;
  top: 45px;
  height: 4px;
  background: white;
  box-shadow: 0 7px 0 #ffffff66;
}
.layout-cover {
  background: linear-gradient(135deg, #47b49c, #123644);
}
.layout-cover i {
  inset: 0;
  height: 100%;
  opacity: 0.3;
}
.layout-cover b {
  top: 44px;
}
.layout-split {
  background: #f4f0e7;
}
.layout-split i {
  top: 15px;
  right: auto;
  left: 4px;
  width: 24px;
  height: 45px;
}
.layout-split b {
  top: 18px;
  right: 4px;
  left: auto;
  width: 19px;
  background: #255260;
  box-shadow:
    0 7px 0 #25526088,
    0 14px 0 #25526055;
}
.studio-controls fieldset {
  border: 1px solid #dce6eb;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 16px;
}
.studio-preview {
  position: sticky;
  top: 16px;
}
@media (max-width: 700px) {
  .article-media-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .studio-layout {
    gap: 18px;
    padding: 16px;
  }
  .studio-preview {
    position: static;
  }
  .article-gallery-thumbs button {
    min-width: 34px;
    min-height: 38px;
  }
}
.cover-preview-frame img[hidden] {
  display: none;
}
.cover-placeholder {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #6f8b9d;
  gap: 5px;
  padding: 20px;
}
.cover-placeholder .ico {
  width: 38px;
  height: 38px;
  margin-bottom: 5px;
}
.cover-placeholder strong {
  font-size: 13px;
}
.cover-placeholder small {
  font-size: 10px;
}
.cover-preview-frame.has-cover .cover-placeholder {
  display: none;
}
/* Public mobile dock stays within the safe area and does not affect the admin dock. */
@media (max-width: 900px) {
  .mobilebar.public-mobile-dock {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    position: fixed;
    z-index: 100;
    left: max(10px, env(safe-area-inset-left));
    right: max(10px, env(safe-area-inset-right));
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    width: calc(
      100% - max(10px, env(safe-area-inset-left)) -
        max(10px, env(safe-area-inset-right))
    );
    max-width: 480px;
    margin-inline: auto;
    height: 70px;
    padding: 6px;
    border-radius: 22px;
    gap: 3px;
    background: #ffffffed;
    border: 1px solid #dce8ed;
    box-shadow: 0 8px 32px #0e354b26;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }
  .public-mobile-dock > a,
  .public-mobile-dock > button {
    min-height: 54px;
    gap: 5px;
    font-size: 10px;
    line-height: 1.3;
    color: #627d8f;
    font-weight: 500;
    border-radius: 15px;
    transition:
      background 0.16s,
      color 0.16s;
  }
  .public-mobile-dock > a .ico,
  .public-mobile-dock > button .ico {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
  }
  .public-mobile-dock > .active {
    color: #1b638c;
    background: #e8f2f7;
    font-weight: 700;
  }
  .public-mobile-dock > .active::after {
    display: none;
  }
  .public-mobile-dock > .send-mobile {
    transform: none;
    height: auto;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(145deg, #2388a5, #165b7c);
    box-shadow: 0 3px 10px #1b698c22;
    color: white;
  }
  .public-mobile-dock > .send-mobile span {
    font-size: 9px;
  }
  .public-mobile-dock > .send-mobile.active {
    background: linear-gradient(145deg, #178975, #116453);
    outline: 2px solid #91cdbb;
    outline-offset: 1px;
  }
  .public-mobile-dock > :focus-visible {
    outline: 3px solid #4ca8c9;
    outline-offset: 2px;
  }
  .public-mobile-dock ~ * {
    --dock-safe-space: 96px;
  }
  body:has(.public-mobile-dock) .footer {
    padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px));
  }
}
@media (min-width: 901px) {
  .mobilebar.public-mobile-dock {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .public-mobile-dock > a,
  .public-mobile-dock > button {
    transition: none;
  }
}
.site-ai-settings > small {
  display: block;
  margin-top: 12px;
}
.site-ai-settings .status {
  white-space: nowrap;
  font-size: 10px;
}
.site-ai-settings h3 {
  font-size: 15px;
}

#article-form [aria-invalid="true"] {
  border-color: #d34455;
  outline: 2px solid #f5c0c8;
  outline-offset: 1px;
}
#article-form .field:has([aria-invalid="true"]) > label {
  color: #b72e42;
}
.seo-warning {
  border-inline-start: 3px solid #d69a26;
}
