/* Etebar Classic 01 — from prototype/tm1
 * Scoped to this appearance so classic pages keep working.
 */
body.appearance-etebar-classic-01 {
  --ec01-active: 1;
}
:root {
  --navy: #062c4d;
  --navy-2: #0c416b;
  --blue: #1768a5;
  --cyan: #19a9a1;
  --green: #27a982;
  --red: #db6b6b;
  --yellow: #f3c548;
  --ink: #12293e;
  --muted: #7a8997;
  --line: #e7edf3;
  --surface: #f4f7fa;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(13, 43, 68, .08);
  --container: 1260px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Vazirmatn", Tahoma, sans-serif;
  font-size: 14px;
  line-height: 1.75;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

.utility-bar {
  background: #f5f7fa;
  border-bottom: 1px solid #e9eef3;
}

.utility-bar__inner {
  min-height: 86px;
  display: grid;
  grid-template-columns: 1fr minmax(330px, 440px) 1fr;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
}

.brand__mark {
  width: 53px;
  height: 51px;
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  transform: skew(-16deg);
}

.brand__mark i {
  display: block;
  width: 13px;
  border-radius: 3px 3px 0 0;
  background: var(--navy);
}

.brand__mark i:nth-child(1) {
  height: 22px;
  background: var(--yellow);
}

.brand__mark i:nth-child(2) {
  height: 36px;
}

.brand__mark i:nth-child(3) {
  height: 49px;
}

.brand__copy {
  display: grid;
  line-height: 1.25;
}

.brand__copy strong {
  font-size: 28px;
  font-weight: 900;
  color: var(--navy);
}

.brand__copy small {
  color: #637384;
  font-size: 10px;
}

.logo__stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.logo__tagline {
  position: relative;
  top: -12px;
  right: -11px;
  color: #637384;
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
}

.header-search {
  position: relative;
}

.header-search input {
  width: 100%;
  height: 46px;
  padding: 0 18px 0 48px;
  border: 1px solid #e5ebf1;
  border-radius: 10px;
  background: #edf1f5;
  color: var(--ink);
  outline: 0;
}

.header-search input:focus {
  border-color: #9ebbd2;
  background: #fff;
}

.header-search button {
  position: absolute;
  inset: 0 auto 0 7px;
  width: 40px;
  background: transparent;
  color: #66798b;
}

.header-search svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.utility-meta {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 16px;
  color: #647585;
  white-space: nowrap;
  font-size: 12px;
}

.utility-meta__date {
  color: #647585;
  font-variant-numeric: tabular-nums;
}

.main-nav {
  background: var(--navy);
  color: #dfeaf2;
}

.main-nav__inner {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  flex: 1;
  gap: 0.35rem;
}

.main-nav a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 0.65rem;
  font-size: 12px;
  font-weight: 600;
  background: transparent;
  transition: color .2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: #fff;
  background: transparent;
}

.main-nav a.is-active {
  box-shadow: inset 0 -3px 0 var(--yellow);
}

.menu-button {
  width: 32px;
  padding: 5px;
  background: transparent;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: #dce7ef;
}

.lead-grid {
  margin-top: 0;
  display: grid;
  grid-template-columns: 1.9fr 1fr;
  gap: 12px;
  direction: ltr;
  height: 500px;
}

.lead-grid > * {
  direction: rtl;
}

.lead-story,
.headline-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
}

.lead-story {
  min-height: 0;
}

.lead-story > img,
.headline-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lead-story__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 22, 39, .94) 2%, rgba(0, 22, 39, .1) 72%);
}

.lead-story__content {
  position: absolute;
  inset: auto 0 0;
  padding: 14px 18px;
}

.tag {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .9);
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
}

.lead-story h1 {
  margin: 6px 0 2px;
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.3;
}

.lead-story p {
  margin: 0 0 7px;
  color: #d7e1e8;
}

.story-meta {
  display: flex;
  gap: 20px;
  color: #b5c5d0;
  font-size: 10px;
}

.headline-stack {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 10px;
  min-height: 0;
}

.headline-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 25, 42, .15), rgba(3, 25, 42, .92));
}

.headline-card__content {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 67%;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.headline-card h2 {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.65;
}

.headline-card span {
  color: #cad6df;
  font-size: 9px;
}

.headline-card b {
  color: #71b3e1;
}

.tools-strip {
  margin-block: 16px 4px;
  background: transparent;
}

.tools-strip__inner {
  display: grid;
  grid-template-columns: 1.35fr repeat(6, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.tools-strip__intro,
.tools-strip__card {
  min-height: 108px;
  padding: 16px 12px;
  border-radius: 14px;
  background: #eef3f7;
  color: var(--navy, #062c4d);
  text-align: center;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.tools-strip__intro {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 4px;
  text-align: center;
}

.tools-strip__intro h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
  color: #1f2d3a;
}

.tools-strip__intro p {
  margin: 0;
  color: #7a8997;
  font-size: 12px;
  font-weight: 500;
}

.tools-strip__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
}

.tools-strip__card:hover {
  background: #e5edf4;
  box-shadow: 0 6px 16px rgba(15, 40, 64, .08);
  transform: translateY(-1px);
}

.tools-strip__icon {
  width: 34px;
  height: 34px;
  color: #16324a;
}

.tools-strip__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.tools-strip__label {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  color: #1f2d3a;
}

.content-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.05fr 1.55fr .95fr;
  gap: 16px;
}

.panel {
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 5px 20px rgba(18, 45, 69, .05);
}

.section-heading {
  min-height: 37px;
  margin-bottom: 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.section-heading h2 {
  position: relative;
  margin: 0;
  padding-bottom: 11px;
  font-size: 18px;
}

.section-heading h2::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  width: 39px;
  height: 3px;
  border-radius: 10px;
  background: var(--blue);
}

.section-heading > a {
  color: var(--blue);
  font-size: 11px;
}

.section-heading--tabs {
  align-items: flex-end;
}

.section-heading--tabs div {
  display: flex;
  gap: 3px;
}

.section-heading--tabs button {
  padding: 6px 10px;
  background: transparent;
  color: var(--muted);
  font-size: 9px;
}

.section-heading--tabs button.is-active {
  border-radius: 5px 5px 0 0;
  background: var(--blue);
  color: #fff;
}

.editor-note__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.editor-note__author img,
.editor-note__avatar-placeholder {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.editor-note__author img {
  object-fit: cover;
}

.editor-note__avatar-placeholder {
  display: block;
  background:
    linear-gradient(180deg, #d7dee6 0%, #b8c4d0 100%);
  box-shadow: inset 0 0 0 1px rgba(18, 45, 69, .08);
  position: relative;
  overflow: hidden;
}

.editor-note__avatar-placeholder::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #8fa0b0;
  transform: translateX(-50%);
}

.editor-note__avatar-placeholder::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 36px;
  height: 28px;
  border-radius: 50% 50% 0 0;
  background: #8fa0b0;
  transform: translateX(-50%);
}

.editor-note__author div {
  display: grid;
}

.editor-note__author strong {
  font-size: 15px;
}

.editor-note__author span {
  color: var(--muted);
  font-size: 10px;
}

.editor-note > p {
  margin: 0;
  color: #596b7a;
  font-size: 11px;
  line-height: 2;
  text-align: justify;
}

.more-link {
  display: inline-block;
  margin: 10px 0 0;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.more-link:hover {
  text-decoration: underline;
}

.promo-banner {
  --promo-banner-bg: #0a5c5f;
  --promo-btn-ink: #064648;
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 168px;
  overflow: hidden;
  border-radius: 14px;
  background-color: var(--promo-banner-bg);
  color: #fff;
  box-shadow: 0 8px 24px rgba(6, 70, 72, .18);
}

.promo-banner--has-image {
  background-color: var(--promo-banner-bg);
  background-image: var(--promo-banner-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.promo-banner--has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, .28) 55%, rgba(0, 0, 0, .18) 100%);
  pointer-events: none;
}

.promo-banner__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 22px 24px;
}

.promo-banner__title {
  margin: 0;
  font-size: clamp(18px, 2.1vw, 26px);
  font-weight: 800;
  line-height: 1.45;
  color: #fff;
}

.promo-banner__subtitle {
  margin: 0;
  max-width: 42ch;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.7;
  color: rgba(255, 255, 255, .9);
}

.promo-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  background: #fff;
  color: var(--promo-btn-ink);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
  transition: transform .15s ease, box-shadow .15s ease;
}

.promo-banner__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .16);
  color: var(--promo-btn-ink);
}

@media (max-width: 760px) {
  .promo-banner {
    min-height: 148px;
  }

  .promo-banner__body {
    padding: 18px 16px;
  }
}

.plus-card {
  padding: 18px;
  border-radius: 8px;
  background: linear-gradient(125deg, #0a2841, #061b2d);
  color: #fff;
  text-align: center;
}

.plus-card div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 18px;
}

.plus-card div span {
  color: var(--yellow);
}

.plus-card p {
  margin: 7px 0 12px;
  color: #c3d0da;
  font-size: 10px;
}

.plus-card a {
  display: block;
  padding: 7px 12px;
  border-radius: 5px;
  background: var(--yellow);
  color: #28333b;
  font-size: 10px;
  font-weight: 800;
}

/* Homepage widget only — do not leak into archive .news-list cards. */
.ec01-news .news-list article {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.ec01-news .news-list article:last-child {
  border-bottom: 0;
}

.ec01-news .news-list img {
  width: 66px;
  height: 55px;
  border-radius: 6px;
  object-fit: cover;
}

.ec01-news .news-list h3 {
  margin: 0 0 5px;
  font-size: 12px;
  line-height: 1.7;
}

.ec01-news .news-list span {
  color: var(--muted);
  font-size: 9px;
}

.ec01-news .news-list b {
  color: var(--blue);
}

.popular-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.popular-list li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.popular-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.popular-list li:first-child {
  padding-top: 2px;
}

.popular-list__thumb {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #e8eef3;
}

.popular-list__thumb--empty {
  display: block;
}

.popular-list img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

.popular-list__body {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.popular-list h3 {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--ink, #0f1720);
}

.popular-list h3 a {
  color: inherit;
  text-decoration: none;
}

.popular-list h3 a:hover {
  color: var(--blue);
}

.popular-list small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.popular-list__rank,
.popular-list > li > span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #e4f1fb;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  justify-self: end;
}

.promo-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.promo-card {
  position: relative;
  min-height: 145px;
  overflow: hidden;
  border-radius: var(--radius);
  color: #fff;
}

.promo-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 36, 47, .1), rgba(0, 107, 104, .9));
}

.promo-card--insurance::after {
  background: linear-gradient(90deg, rgba(41, 17, 95, .08), rgba(96, 46, 179, .92));
}

.promo-card div {
  position: relative;
  z-index: 1;
  width: 64%;
  padding: 25px;
}

.promo-card h2 {
  margin: 0;
  font-size: 20px;
}

.promo-card p {
  margin: 2px 0 12px;
  color: rgba(255, 255, 255, .8);
  font-size: 11px;
}

.promo-card a {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 5px;
  background: #fff;
  color: var(--navy);
  font-size: 10px;
  font-weight: 800;
}

.bottom-grid {
  margin-block: 18px 40px;
  display: grid;
  grid-template-columns: 2fr .8fr;
  gap: 16px;
  direction: ltr;
}

.bottom-grid > * {
  direction: rtl;
}

.video-section {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.video-grid article > div {
  position: relative;
  height: 94px;
  overflow: hidden;
  border-radius: 7px;
}

.video-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, .85);
  color: var(--navy);
  font-size: 10px;
}

.video-grid time {
  position: absolute;
  left: 5px;
  bottom: 5px;
  padding: 2px 5px;
  border-radius: 3px;
  background: rgba(0, 0, 0, .72);
  color: #fff;
  font-size: 8px;
}

.video-grid h3 {
  margin: 6px 0 0;
  font-size: 10px;
}

.video-grid small {
  color: var(--muted);
  font-size: 8px;
}

.newsletter {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 22px 20px 18px;
  border-radius: 12px;
  background: linear-gradient(145deg, #3d9fd4 0%, #2a78bf 48%, #1f65ad 100%);
  color: #fff;
  text-align: right;
  box-shadow: 0 8px 22px rgba(31, 101, 173, .22);
  grid-template-columns: none;
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  display: none;
}

.newsletter__content {
  width: 100%;
  color: #fff;
}

.newsletter__title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
  color: #fff;
}

.newsletter__icon {
  flex-shrink: 0;
  width: 11px;
  height: 11px;
  background:
    linear-gradient(#fff, #fff) center / 2px 100% no-repeat,
    linear-gradient(#fff, #fff) center / 100% 2px no-repeat,
    linear-gradient(#fff, #fff) center / 2px 100% no-repeat,
    linear-gradient(#fff, #fff) center / 100% 2px no-repeat;
  transform: rotate(45deg);
  opacity: .95;
}

.newsletter__subtitle,
.newsletter p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, .92);
  font-size: 11px;
  line-height: 1.7;
  font-weight: 500;
}

.newsletter form {
  display: flex;
  direction: ltr;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(8, 40, 80, .12);
}

.newsletter input {
  width: 100%;
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--navy);
  font-size: 11px;
  text-align: right;
}

.newsletter input::placeholder {
  color: #8aa0b3;
}

.newsletter button {
  flex-shrink: 0;
  min-width: 72px;
  height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 0;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.newsletter button:hover {
  background: var(--navy-2);
}

.newsletter__note,
.newsletter small {
  display: block;
  margin-top: 10px;
  color: rgba(232, 244, 252, .9);
  font-size: 9px;
  line-height: 1.6;
  text-align: right;
}

.site-footer {
  background: var(--navy);
  color: #cbd7df;
}

@media (max-width: 1050px) {
  .utility-bar__inner {
    grid-template-columns: auto 1fr;
  }

  .header-search-wrap {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-bottom: 14px;
  }

  .utility-meta {
    justify-self: end;
  }

  .main-nav ul {
    overflow-x: auto;
    gap: 24px;
  }

  .main-nav a {
    white-space: nowrap;
  }

  .content-grid {
    grid-template-columns: 1fr 1.4fr;
  }

  .editor-note {
    grid-column: 1;
  }

  .latest-news {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .popular {
    grid-column: 1;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 20px, var(--container));
  }

  .utility-bar__inner {
    min-height: 72px;
    gap: 12px;
  }

  .brand__mark {
    width: 38px;
    height: 40px;
  }

  .brand__mark i {
    width: 9px;
  }

  .brand__mark i:nth-child(1) { height: 17px; }
  .brand__mark i:nth-child(2) { height: 28px; }
  .brand__mark i:nth-child(3) { height: 38px; }

  .brand__copy strong {
    font-size: 21px;
  }

  .brand__copy small {
    display: none;
  }

  .logo__tagline {
    right: -18px;
    font-size: 10px;
  }

  .main-nav__inner {
    flex-direction: row-reverse;
  }

  .main-nav ul {
    gap: 18px;
  }

  .lead-grid,
  .content-grid,
  .promo-grid,
  .bottom-grid {
    grid-template-columns: 1fr;
  }

  .lead-grid {
    height: auto;
  }

  .lead-story {
    min-height: 220px;
  }

  .headline-stack {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 72px);
  }

  .tools-strip__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .tools-strip__intro {
    grid-column: 1 / -1;
    min-height: 78px;
  }

  .tools-strip__card {
    min-height: 96px;
  }

  .content-grid > *,
  .editor-note,
  .latest-news,
  .popular {
    grid-column: auto;
    grid-row: auto;
  }

  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .lead-story {
    min-height: 145px;
  }

  .lead-story__content {
    padding: 12px 14px;
  }

  .lead-story h1 {
    font-size: 18px;
  }

  .lead-story p {
    font-size: 11px;
  }

  .story-meta {
    display: none;
  }

  .section-heading--tabs {
    display: block;
  }

  .section-heading--tabs div {
    overflow-x: auto;
  }

  .promo-card div {
    width: 80%;
    padding: 20px;
  }

  .promo-card h2 {
    font-size: 17px;
  }
}


/* ===== Bridge: WordPress shell + appearance integration ===== */
body.appearance-etebar-classic-01 {
  /* Shift classic red brand tokens → homepage navy vibe */
  --brand: #062c4d;
  --brand-dark: #041f38;
  --brand-soft: #eef3f7;
  --brand-rgb: 6, 44, 77;
  --logo-asre: #0c416b;
  --accent: #1768a5;
  --accent-soft: #e4f1fb;
  --ak-red: #062c4d;
  --ink: #12293e;
  --ink-soft: #3d5366;
  --ink-muted: #7a8997;
  --line: #e7edf3;
  --line-soft: #f0f4f8;
  --surface: #ffffff;
  --surface-alt: #f4f7fa;
  --gold: #f3c548;
  --navy: #062c4d;
  --navy-2: #0c416b;
  --blue: #1768a5;
  --yellow: #f3c548;
  --shadow-sm: 0 2px 8px rgba(13, 43, 68, 0.06);
  --shadow: 0 8px 24px rgba(13, 43, 68, 0.08);
  --shadow-lg: 0 20px 60px rgba(13, 43, 68, 0.12);
  --cb-accent: #062c4d;
  background: #fff;
  color: var(--ink);
}

/* Hard-coded red leftovers in classic stylesheets */
body.appearance-etebar-classic-01 .review-card__rate-bar > span {
  background: linear-gradient(90deg, var(--brand), var(--blue));
}

body.appearance-etebar-classic-01 .mag-page__cover-bg {
  background:
    radial-gradient(
      circle at 18% 22%,
      rgba(255, 255, 255, 0.16),
      transparent 42%
    ),
    radial-gradient(circle at 82% 78%, rgba(0, 0, 0, 0.28), transparent 48%),
    linear-gradient(
      145deg,
      #04121f 0%,
      #0a2841 38%,
      var(--brand) 72%,
      #1768a5 100%
    );
}

body.appearance-etebar-classic-01 .site-shell {
  min-height: 100vh;
}

body.appearance-etebar-classic-01 .ec01-header .site-header__top,
body.appearance-etebar-classic-01 .ec01-header .site-header__aside,
body.appearance-etebar-classic-01 .ec01-header .site-header__brand {
  display: contents;
}

body.appearance-etebar-classic-01 .ec01-header.site-header {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

body.appearance-etebar-classic-01 .ec01-header .logo.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

body.appearance-etebar-classic-01 .ec01-header .main-nav {
  background: var(--navy, #062c4d);
}

body.appearance-etebar-classic-01 .ec01-header .main-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  flex: 1;
  gap: 0.35rem;
}

body.appearance-etebar-classic-01 .ec01-header .main-nav a,
body.appearance-etebar-classic-01 .ec01-header .main-nav .main-nav__link {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 0.65rem;
  color: #dfeaf2;
  font-size: 12px;
  font-weight: 600;
  background: transparent !important;
  border-radius: 0;
  transition: color .2s ease;
}

body.appearance-etebar-classic-01 .ec01-header .main-nav a:hover,
body.appearance-etebar-classic-01 .ec01-header .main-nav a.is-active,
body.appearance-etebar-classic-01 .ec01-header .main-nav .main-nav__link:hover,
body.appearance-etebar-classic-01 .ec01-header .main-nav .main-nav__link.is-active,
body.appearance-etebar-classic-01 .ec01-header .main-nav .current-menu-item > a {
  color: #fff;
  background: transparent !important;
  box-shadow: none;
}

body.appearance-etebar-classic-01 .ec01-header .main-nav .main-nav__link.is-active,
body.appearance-etebar-classic-01 .ec01-header .main-nav .current-menu-item > a {
  box-shadow: inset 0 -3px 0 var(--yellow, #f3c548);
}

body.appearance-etebar-classic-01 .ec01-header .main-nav .main-nav__link.is-active::after,
body.appearance-etebar-classic-01 .ec01-header .main-nav a.is-active::after {
  display: none;
}

body.appearance-etebar-classic-01 .ec01-home-row {
  margin-block: 16px;
}

body.appearance-etebar-classic-01 .ec01-home-row--full {
  display: grid;
  gap: 14px;
}

body.appearance-etebar-classic-01 .ec01-home-row--full .tools-strip {
  margin-block: 0;
}

body.appearance-etebar-classic-01 .ec01-home-row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}

body.appearance-etebar-classic-01 .ec01-home-row--2 .promo-grid {
  margin-top: 0;
}

body.appearance-etebar-classic-01 .ec01-home-row--stack {
  display: grid;
  gap: 16px;
}

body.appearance-etebar-classic-01 .ec01-home-row > .ak-placement,
body.appearance-etebar-classic-01 .ec01-home-row > .ak-placement > .ak-placement {
  display: contents;
}

body.appearance-etebar-classic-01 .ec01-row__cell {
  min-width: 0;
}

body.appearance-etebar-classic-01 .ec01-row__cell > .ak-placement {
  display: contents;
}

body.appearance-etebar-classic-01 .content-grid > .ec01-row__cell > .panel,
body.appearance-etebar-classic-01 .content-grid > .panel,
body.appearance-etebar-classic-01 .bottom-grid > .ec01-row__cell > .video-section,
body.appearance-etebar-classic-01 .bottom-grid > .ec01-row__cell > .newsletter,
body.appearance-etebar-classic-01 .bottom-grid > .video-section,
body.appearance-etebar-classic-01 .bottom-grid > .newsletter,
body.appearance-etebar-classic-01 .bottom-grid > .latest-news {
  height: 100%;
}

body.appearance-etebar-classic-01 .page-shell {
  display: contents;
}

body.appearance-etebar-classic-01 .page-shell.page-shell--markets,
body.appearance-etebar-classic-01 .page-shell.page-shell--tools {
  display: grid;
}

@media (max-width: 1050px) {
  body.appearance-etebar-classic-01 .ec01-home-row--2,
  body.appearance-etebar-classic-01 .content-grid,
  body.appearance-etebar-classic-01 .bottom-grid {
    grid-template-columns: 1fr;
    direction: rtl;
  }
}

body.appearance-etebar-classic-01 .lead-story a,
body.appearance-etebar-classic-01 .headline-card a,
body.appearance-etebar-classic-01 .news-list a,
body.appearance-etebar-classic-01 .popular-list a,
body.appearance-etebar-classic-01 .video-grid a {
  color: inherit;
  text-decoration: none;
}

body.appearance-etebar-classic-01 .headline-card__content {
  background: linear-gradient(90deg, rgba(3, 25, 42, .2), rgba(3, 25, 42, .94));
}

body.appearance-etebar-classic-01 .ec01-footer.site-footer {
  margin-top: 24px;
}

/* --brand is navy in this appearance, so classic footer accents vanish on the navy background. */
body.appearance-etebar-classic-01 .ec01-footer .footer-col a:hover {
  color: var(--yellow, #f3c548);
}

body.appearance-etebar-classic-01 .ec01-footer .footer-col h4 {
  position: relative;
  padding-bottom: .6rem;
}

body.appearance-etebar-classic-01 .ec01-footer .footer-col h4::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--yellow, #f3c548);
}

body.appearance-etebar-classic-01 .ec01-footer .footer-bottom__social a:hover {
  background: var(--yellow, #f3c548);
  color: #28333b;
}

body.appearance-etebar-classic-01 .ec01-footer .brand__mark i {
  background: rgba(255, 255, 255, .85);
}

body.appearance-etebar-classic-01 .ec01-footer .brand__mark i:nth-child(1) {
  background: var(--yellow, #f3c548);
}

body.appearance-etebar-classic-01 .ec01-footer .brand__copy small {
  color: rgba(255, 255, 255, .55);
}

body.appearance-etebar-classic-01 .ak-search-dropdown {
  position: absolute;
  inset: calc(100% + 6px) 0 auto 0;
  z-index: 40;
}

body.appearance-etebar-classic-01 .header-search-wrap {
  position: relative;
}

/* Mobile nav: classic hides .main-nav until .is-open, but here the toggle lives inside it. */
@media (max-width: 767px) {
  body.appearance-etebar-classic-01 .ec01-header .main-nav {
    position: relative;
    inset: auto;
    z-index: 150;
    display: block;
    padding: 0;
    box-shadow: none;
  }

  body.appearance-etebar-classic-01 .ec01-header .container {
    width: calc(100% - 20px);
  }

  body.appearance-etebar-classic-01 .ec01-header .main-nav__inner {
    flex-direction: row;
    min-height: 48px;
  }

  /* Sits over the navy bar: .site-header is sticky, so it is the containing block. */
  body.appearance-etebar-classic-01 .ec01-header .header-search-wrap {
    position: absolute;
    z-index: 160;
    right: 60px;
    bottom: 5px;
    left: 10px;
    width: auto;
    margin: 0;
  }

  body.appearance-etebar-classic-01 .ec01-header .header-search input {
    height: 38px;
    border-color: transparent;
    border-radius: 8px;
    background: #fff;
  }

  body.appearance-etebar-classic-01 .ec01-header .nav-toggle {
    display: flex;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: transparent;
  }

  body.appearance-etebar-classic-01 .ec01-header .nav-toggle span {
    margin: 0;
    background: #dce7ef;
  }

  body.appearance-etebar-classic-01 .ec01-header .nav-toggle.is-active {
    border-color: var(--yellow, #f3c548);
  }

  body.appearance-etebar-classic-01 .ec01-header .main-nav__inner > ul {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    max-height: calc(100vh - 170px);
    overflow-x: hidden;
    overflow-y: auto;
    padding: 4px 10px 12px;
    background: var(--navy, #062c4d);
    border-top: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 14px 28px rgba(3, 25, 42, .28);
  }

  body.appearance-etebar-classic-01 .ec01-header .main-nav.is-open .main-nav__inner > ul {
    display: flex;
  }

  body.appearance-etebar-classic-01 .ec01-header .main-nav__item {
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  body.appearance-etebar-classic-01 .ec01-header .main-nav__item:last-child {
    border-bottom: 0;
  }

  body.appearance-etebar-classic-01 .ec01-header .main-nav .main-nav__link {
    min-height: 46px;
    padding: 0 .75rem;
    font-size: 13px;
  }

  body.appearance-etebar-classic-01 .ec01-header .main-nav .main-nav__link.is-active,
  body.appearance-etebar-classic-01 .ec01-header .main-nav .current-menu-item > a {
    box-shadow: inset -3px 0 0 var(--yellow, #f3c548);
  }

  body.appearance-etebar-classic-01 .ec01-header .main-nav .main-nav__sublist {
    display: block;
  }

  body.appearance-etebar-classic-01 .ec01-header .main-nav .main-nav__sublink {
    min-height: 40px;
    padding: 0 1.5rem 0 .75rem;
    color: #b9c9d6;
    font-size: 12px;
  }

  body.appearance-etebar-classic-01 .ec01-header .main-nav__submenu-toggle {
    border-color: rgba(255, 255, 255, .18);
    background: transparent;
    color: #dfeaf2;
  }

  body.appearance-etebar-classic-01 .ec01-header .main-nav__item.is-submenu-open .main-nav__submenu-toggle {
    border-color: var(--yellow, #f3c548);
    background: rgba(243, 197, 72, .12);
    color: var(--yellow, #f3c548);
  }
}

body.appearance-etebar-classic-01 .lead-grid {
  margin-top: 0;
  width: 100%;
}
