/* ==========================================================================
   نقابة تجاريين القاهرة — standalone front-end replica
   All fonts and images are local. No external requests are required.
   ========================================================================== */

/* ---------- Base ---------- */
:root {
  --pink: #e5c3e5;
  --plum: #601229;
  --crimson: #bc0b3d;
  --charcoal: #333333;
  --footer: #252525;
  --footer-bottom: #181818;
  --text: #2c2f34;
  --ink: #333333;
  --muted: #666666;
  --meta: #767676;
  --body-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", "Open Sans", Arial, sans-serif;
  --display-font: "Changa", var(--body-font);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background-color: #4f004f;
  background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
    url("images/pattern.png");
  background-repeat: repeat;
  font-family: var(--body-font);
  font-size: 13px;
  line-height: 21px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.drawer-open,
body.search-open {
  overflow: hidden;
}

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

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

a:hover {
  color: var(--crimson);
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--crimson);
  outline-offset: 2px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ico {
  width: 1em;
  height: 1em;
  display: inline-block;
  flex: none;
  vertical-align: -0.125em;
  overflow: visible;
}

/* ---------- Site shell ---------- */
.site {
  position: relative;
  width: 100%;
  max-width: 1230px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--pink);
  box-shadow: 0 1px 7px rgba(171, 171, 171, 0.5);
}

/* ---------- Top bar ---------- */
.topbar {
  height: 36px;
  background: var(--charcoal);
  color: #fff;
  font-size: 12px;
  line-height: 35px;
  position: relative;
  z-index: 5;
}

.topbar .container {
  height: 100%;
  max-width: 1230px;
  margin: 0 auto;
  padding: 0 15px;
}

.topbar-inner {
  display: flex;
  align-items: stretch;
  height: 35px;
}

.topbar-date {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-left: 15px;
  white-space: nowrap;
  font-size: 12px;
  line-height: 35px;
  color: #fff;
}

.topbar-date .ico {
  width: 11px;
  height: 11px;
  opacity: 0.95;
}

.breaking {
  display: flex;
  align-items: stretch;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.breaking-label {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 35px;
  padding: 0 10px;
  background: #f05555;
  color: #fff;
  font-size: 12px;
  white-space: nowrap;
  flex: none;
}

.breaking-label .ico {
  width: 11px;
  height: 11px;
}

.breaking-copy {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  padding: 0 10px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 12px;
  line-height: 35px;
}

.breaking-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.25s ease;
}

.breaking-copy.is-changing span {
  opacity: 0;
}

.breaking-nav {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-left: 4px;
  flex: none;
}

.breaking-nav button {
  width: 28px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1px;
  line-height: 1;
}

.breaking-nav button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.breaking-nav .ico {
  width: 13px;
  height: 13px;
}

/* ---------- Brand / masthead ---------- */
.site-header {
  position: relative;
  z-index: 4;
  background-image: linear-gradient(90deg, #470039, #7a0059);
  box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.1);
}

.brand-bar {
  position: relative;
  height: 193px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 15px;
}

.logo {
  display: block;
  line-height: 0;
  margin: 0;
}

.logo img {
  width: 502px;
  max-width: 100%;
  height: auto;
  max-height: 113px;
  object-fit: contain;
}

.mobile-only {
  display: none;
}

/* ---------- Main navigation ---------- */
.main-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 900;
  height: 60px;
  background: var(--charcoal);
}

.main-nav-wrap.is-stuck {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.main-nav {
  max-width: 1230px;
  height: 60px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  background: var(--charcoal);
  color: #fff;
}

.nav-menu {
  display: flex;
  align-items: stretch;
  height: 60px;
  min-width: 0;
}

.nav-menu > li {
  position: relative;
  display: flex;
  align-items: stretch;
}

.nav-menu > li > a {
  position: relative;
  display: flex;
  align-items: center;
  height: 60px;
  padding: 0 14px;
  color: #fff;
  font-family: var(--body-font);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.nav-menu > li:hover > a,
.nav-menu > li:focus-within > a {
  color: #ffb5c8;
  background: rgba(255, 255, 255, 0.035);
}

.nav-menu > li.is-current > a {
  color: #fff;
  background: var(--crimson);
}

.nav-menu > li.is-current:hover > a {
  color: #fff;
  background: var(--crimson);
}

.nav-menu .nav-home > a {
  width: 63px;
  padding: 0;
  justify-content: center;
}

.nav-home .ico {
  width: 18px;
  height: 18px;
}

.nav-menu .has-dropdown > a {
  padding-left: 25px;
}

.nav-menu .has-dropdown > a::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  opacity: 0.9;
}

.submenu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 225px;
  padding: 8px 0;
  background: #333;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 10;
}

.nav-menu > li:hover > .submenu,
.nav-menu > li:focus-within > .submenu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.submenu a {
  display: block;
  padding: 8px 18px;
  color: #fff;
  font-size: 13px;
  line-height: 21px;
  transition: color 0.16s ease, background-color 0.16s ease;
}

.submenu a:hover {
  color: #ffb5c8;
  background: rgba(255, 255, 255, 0.06);
}

.nav-tools {
  display: flex;
  align-items: stretch;
  height: 60px;
  flex: none;
}

.nav-search {
  width: 30px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
}

.nav-search:hover {
  color: #ffb5c8;
}

.nav-search .ico {
  width: 17px;
  height: 17px;
}

.nav-socials {
  display: flex;
  align-items: center;
}

.nav-socials li {
  width: 30px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.nav-socials img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.weather {
  display: flex;
  align-items: center;
  direction: ltr;
  gap: 5px;
  width: 112px;
  height: 60px;
  padding-left: 5px;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.weather-icon {
  width: 28px;
  height: 20px;
  margin-top: -2px;
  flex: none;
}

.weather-city {
  font-size: 12px;
}

.weather-temp {
  font-size: 12px;
}

.weather-temp sup {
  font-size: 8px;
  vertical-align: super;
}

/* ---------- Content ---------- */
.main-content {
  display: flow-root;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 15px 0;
}

.hero {
  position: relative;
  height: 450px;
  margin: 0 0 50px;
}

.hero-slider {
  position: relative;
  height: 450px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s;
  z-index: 0;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-width: 0;
  color: #fff;
  background-color: #4b164f;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  isolation: isolate;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: var(--tint, linear-gradient(135deg, #672752, #7a0059));
  opacity: 0.7;
  transition: opacity 0.25s ease;
}

.hero-card:hover::after {
  opacity: 0.62;
}

.hero-card.big {
  grid-column: span 2;
  grid-row: span 2;
}

.hero-card.wide {
  grid-column: span 2;
}

.hero-content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: block;
  padding: 20px 20px 15px;
}

.hero-title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  color: #fff;
  font-family: var(--display-font);
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  text-align: right;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.14);
}

.hero-card.big .hero-title {
  -webkit-line-clamp: 6;
  font-size: 35px;
  line-height: 49px;
}

/* ---------- Section headers ---------- */
.section {
  margin-bottom: 50px;
}

.section-head {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  min-height: 42px;
  margin: 0 0 20px;
  padding: 0 0 15px;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.section-head::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -2px;
  width: 40px;
  height: 2px;
  background: var(--plum);
}

.section-title {
  color: var(--plum);
  font-family: var(--display-font);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  text-align: right;
}

.head-controls {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 1px;
  flex: none;
}

.head-controls button {
  width: 28px;
  height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #555;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 2px;
  line-height: 1;
}

.head-controls button:hover {
  color: var(--plum);
  border-color: rgba(96, 18, 41, 0.55);
  background: rgba(255, 255, 255, 0.25);
}

.head-controls .ico {
  width: 14px;
  height: 14px;
}

/* ---------- Meta / common card bits ---------- */
.meta {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 21px;
  margin-bottom: 3px;
  color: var(--meta);
  font-size: 12px;
  line-height: 21px;
}

.meta .ico {
  width: 12px;
  height: 12px;
  margin-top: -1px;
}

.post-cat {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 3;
  display: inline-block;
  max-width: calc(100% - 20px);
  padding: 0 6px;
  color: #fff;
  background: var(--plum);
  border-radius: 2px;
  font-size: 12px;
  line-height: 22.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.thumb-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: #d3b1d3;
}

.thumb-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.thumb-link:hover img {
  transform: scale(1.035);
}

.card-title {
  color: var(--ink);
  font-family: var(--display-font);
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  text-align: right;
}

.card-title a:hover {
  color: var(--crimson);
}

.card-excerpt {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 21px;
}

.card-excerpt:empty {
  display: none;
}

.more-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 7px 15px;
  color: #fff;
  background: var(--plum);
  border-radius: 2px;
  font-size: 13px;
  line-height: 21px;
  text-align: center;
  transition: background-color 0.18s ease;
}

.more-btn:hover {
  color: #fff;
  background: var(--crimson);
}

/* ---------- Mini post grids ---------- */
.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  row-gap: 24px;
  margin: 0 -24.33px;
}

.mini-card {
  min-width: 0;
  padding: 0 24.33px;
}

.mini-title {
  margin: 0 0 10px;
  color: var(--ink);
  font-family: var(--display-font);
  font-size: 18px;
  font-weight: 600;
  line-height: 25.2px;
  text-align: right;
}

.mini-title a:hover {
  color: var(--crimson);
}

.mini-body {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.mini-thumb {
  flex: 0 0 110px;
  display: block;
  width: 110px;
  height: 75px;
  overflow: hidden;
  background: #d3b1d3;
}

.mini-thumb img {
  width: 110px;
  height: 75px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.mini-thumb:hover img {
  transform: scale(1.05);
}

.mini-excerpt {
  flex: 1;
  min-width: 0;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 21px;
}

.mini-excerpt:empty {
  display: none;
}

/* Course-list cards keep their thumbnail beside the title, as on the source page. */
.side-card {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.side-card .side-copy {
  flex: 1;
  min-width: 0;
}

.side-card .mini-title {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 19.6px;
}

/* ---------- Three-column big cards ---------- */
.big-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 -16.22px;
}

.big-card {
  min-width: 0;
  padding: 0 16.22px;
}

.big-thumb {
  aspect-ratio: 390 / 220;
  margin-bottom: 10px;
}

.big-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.big-title {
  margin: 0;
  color: var(--ink);
  font-family: var(--display-font);
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  text-align: right;
}

.big-title a:hover {
  color: var(--crimson);
}

/* ---------- Wide / feature rows ---------- */
.wide-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.wide-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 25px;
  min-height: 198px;
}

.wide-thumb {
  position: relative;
  flex: 0 0 351px;
  width: 351px;
  height: 198px;
  overflow: hidden;
  background: #d3b1d3;
}

.wide-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.wide-thumb:hover img {
  transform: scale(1.035);
}

.wide-body {
  flex: 1;
  min-width: 0;
  text-align: right;
}

.feature-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 47px;
  min-height: 202px;
  margin-bottom: 24px;
}

.feature-thumb {
  position: relative;
  flex: 0 0 357px;
  width: 357px;
  height: 202px;
  overflow: hidden;
  background: #d3b1d3;
}

.feature-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.feature-thumb:hover img {
  transform: scale(1.035);
}

.feature-body {
  flex: 1;
  min-width: 0;
  text-align: right;
}

/* ---------- Trips carousel ---------- */
.trips-viewport {
  min-width: 0;
}

.trip-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 72px) / 4);
  gap: 24px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.trip-track::-webkit-scrollbar {
  display: none;
}

.trip-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 390 / 220;
  background: #4b164f;
  scroll-snap-align: start;
}

.trip-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.trip-card:hover img {
  transform: scale(1.035);
}

.trip-card__shade {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0) 56%);
}

.trip-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  width: 100%;
  color: #fff;
  font-family: var(--display-font);
  font-size: 16px;
  font-weight: 600;
  line-height: 22.4px;
  text-align: right;
}

.trip-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
}

.trip-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #b987b8;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.trip-dots button.is-active {
  background: var(--plum);
  transform: scale(1.08);
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  margin-top: 50px;
  padding-top: 60px;
  color: #aaa;
  background: var(--footer);
}

.footer-grid {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.footer-col {
  min-width: 0;
  padding: 0 15px 15px;
}

.footer-widget-title {
  position: relative;
  margin: 15px 0 20px;
  padding: 0 0 15px;
  color: #fff;
  font-family: var(--display-font);
  font-size: 15px;
  font-weight: 600;
  line-height: 21px;
  text-align: right;
}

.footer-widget-title::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--crimson);
}

.footer-pages li {
  margin-bottom: 10px;
  text-align: right;
}

.footer-pages a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: 13.65px;
  line-height: 21px;
}

.footer-pages a:hover {
  color: #ffb5c8;
}

.footer-pages .chev {
  display: inline-block;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  transform: scaleX(1);
}

.footer-map {
  display: block;
  width: 100%;
  max-width: 270px;
  height: 150px;
  overflow: hidden;
  margin: 0 0 0 auto;
  background: #eee;
}

.footer-map img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.footer-address {
  max-width: 270px;
  margin: 0 0 0 auto;
  color: #aaa;
  font-family: var(--display-font);
  font-size: 16px;
  font-weight: 600;
  line-height: 37.8px;
  text-align: right;
}

.footer-facebook {
  min-height: 21px;
}

.social-tiles {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  margin-top: 3px;
}

.social-tiles a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 2px;
  transition: filter 0.18s ease, transform 0.18s ease;
}

.social-tiles a:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.social-tiles img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.social-tiles .tile-youtube {
  background: #bf0033;
}

.social-tiles .tile-instagram {
  background: #ba0082;
}

.social-tiles .tile-whatsapp {
  background: #00cc55;
}

.social-tiles .tile-facebook {
  background: #0083db;
}

.site-info {
  background: var(--footer-bottom);
  padding: 20px 0;
  color: #aaa;
  font-size: 13px;
  line-height: 32px;
}

.site-info-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.copyright {
  text-align: center;
  color: #aaa;
}

.copyright a {
  color: #f05b5b;
}

.copyright a:hover {
  color: #ff8b8b;
}

.copyright .heart {
  color: #e33535;
  margin: 0 3px;
}

.bottom-socials {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: none;
}

.bottom-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  overflow: hidden;
  border-radius: 2px;
}

.bottom-socials img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  left: 15px;
  bottom: 15px;
  z-index: 1200;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--plum);
  border: 0;
  border-radius: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  background: var(--crimson);
}

.to-top .ico {
  width: 14px;
  height: 14px;
}

/* ---------- Search overlay ---------- */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 0, 16, 0.87);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s;
}

.search-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.search-box {
  position: relative;
  width: min(720px, 100%);
  padding: 34px 30px;
  background: var(--pink);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.42);
  border-top: 4px solid var(--crimson);
}

.search-box h2 {
  margin: 0 0 18px;
  color: var(--plum);
  font-family: var(--display-font);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.35;
}

.search-form {
  display: flex;
  align-items: stretch;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: #fff;
}

.search-form input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border: 0;
  outline: 0;
  color: var(--text);
  background: #fff;
  font-size: 15px;
}

.search-form button {
  width: 116px;
  border: 0;
  color: #fff;
  background: var(--plum);
  font-size: 14px;
}

.search-form button:hover {
  background: var(--crimson);
}

.search-close {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  color: var(--plum);
  background: transparent;
}

.search-close:hover {
  color: var(--crimson);
}

.search-close .ico {
  width: 20px;
  height: 20px;
}

/* ---------- Mobile drawer ---------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.58);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2100;
  width: min(340px, 88vw);
  height: 100%;
  padding: 0 0 30px;
  color: #fff;
  background: #252525;
  box-shadow: 8px 0 30px rgba(0, 0, 0, 0.35);
  overflow-y: auto;
  transform: translateX(-102%);
  visibility: hidden;
  transition: transform 0.3s ease, visibility 0.3s;
}

.mobile-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.drawer-head span {
  font-family: var(--display-font);
  font-size: 18px;
  font-weight: 600;
}

.drawer-close {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.drawer-close:hover {
  background: rgba(255, 255, 255, 0.08);
}

.drawer-close .ico {
  width: 16px;
  height: 16px;
}

.drawer-search {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-search form {
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #191919;
}

.drawer-search input {
  flex: 1;
  min-width: 0;
  padding: 9px 12px;
  color: #fff;
  background: transparent;
  border: 0;
  outline: 0;
}

.drawer-search button {
  padding: 0 14px;
  border: 0;
  color: #fff;
  background: var(--crimson);
}

.drawer-menu {
  padding: 12px 0;
}

.drawer-menu a {
  display: block;
  padding: 10px 20px;
  color: #fff;
  font-size: 14px;
  line-height: 22px;
}

.drawer-menu a:hover {
  color: #ffb5c8;
  background: rgba(255, 255, 255, 0.05);
}

.drawer-menu .sub a {
  padding-right: 38px;
  color: #c9c9c9;
  font-size: 13px;
}

.drawer-socials {
  display: flex;
  gap: 8px;
  padding: 10px 20px 30px;
}

.drawer-socials a {
  display: flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}

.drawer-socials img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.drawer-socials .tile-youtube {
  background: #bf0033;
}

.drawer-socials .tile-instagram {
  background: #ba0082;
}

.drawer-socials .tile-whatsapp {
  background: #00cc55;
}

.drawer-socials .tile-facebook {
  background: #0083db;
}

/* ---------- Responsive ---------- */
@media (max-width: 1250px) {
  .site {
    max-width: 100%;
  }

  .main-nav {
    padding: 0 15px;
  }
}

@media (max-width: 1100px) {
  .topbar-date {
    font-size: 11px;
    padding-left: 8px;
  }

  .breaking-label {
    padding: 0 8px;
  }

  .nav-menu > li > a {
    padding: 0 10px;
    font-size: 12px;
  }

  .nav-menu .has-dropdown > a {
    padding-left: 21px;
  }

  .nav-menu .nav-home > a {
    width: 52px;
  }

  .weather {
    display: none;
  }

  .nav-socials li {
    width: 28px;
  }

  .nav-socials a {
    width: 28px;
  }

  .nav-socials img {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 1024px) {
  .topbar {
    display: none;
  }

  .brand-bar {
    height: 112px;
    justify-content: center;
    padding: 0 62px;
  }

  .logo img {
    width: min(330px, 100%);
    max-height: 74px;
    margin: 0 auto;
  }

  .mobile-only {
    display: flex;
  }

  .mobile-menu-button,
  .mobile-search-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #fff;
    background: transparent;
    border: 0;
  }

  .mobile-menu-button {
    left: 16px;
  }

  .mobile-search-button {
    right: 16px;
  }

  .mobile-menu-button .ico,
  .mobile-search-button .ico {
    width: 21px;
    height: 21px;
  }

  .main-nav-wrap {
    display: none;
  }

  .main-content {
    padding-top: 24px;
  }

  .mini-grid {
    margin: 0 -15px;
  }

  .mini-card {
    padding: 0 15px;
  }

  .big-grid {
    margin: 0 -10px;
  }

  .big-card {
    padding: 0 10px;
  }
}

@media (max-width: 900px) {
  .hero {
    height: auto;
  }

  .hero-slider {
    height: auto;
  }

  .hero-slide {
    position: absolute;
  }

  .hero-slide.is-active {
    position: relative;
  }

  .hero-slide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 4px;
  }

  .hero-card.big,
  .hero-card.wide {
    grid-column: span 2;
    grid-row: auto;
  }

  .hero-card.big {
    height: 300px;
  }

  .hero-card.wide {
    height: 200px;
  }

  .hero-card:not(.big):not(.wide) {
    height: 170px;
  }

  .hero-card.big .hero-title {
    font-size: 26px;
    line-height: 36px;
  }

  .hero-title {
    font-size: 17px;
    line-height: 23.8px;
  }

  .mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 26px;
  }

  .big-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 28px;
  }

  .wide-card {
    gap: 18px;
  }

  .wide-thumb {
    flex-basis: 300px;
    width: 300px;
    height: 170px;
  }

  .feature-card {
    gap: 26px;
  }

  .feature-thumb {
    flex-basis: 300px;
    width: 300px;
    height: 170px;
  }

  .trip-track {
    grid-auto-columns: calc((100% - 48px) / 3);
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 10px;
  }

  .footer-col {
    padding-bottom: 24px;
  }

  .site-info-inner {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 720px) {
  .main-content {
    padding: 18px 14px 0;
  }

  .section {
    margin-bottom: 38px;
  }

  .section-head {
    gap: 12px;
    min-height: 40px;
    margin-bottom: 16px;
    padding-bottom: 12px;
  }

  .section-title {
    font-size: 17px;
    line-height: 1.4;
  }

  .hero {
    margin-bottom: 38px;
  }

  .hero-card.big {
    height: 260px;
  }

  .hero-card.wide {
    height: 180px;
  }

  .hero-card:not(.big):not(.wide) {
    height: 148px;
  }

  .hero-content {
    padding: 14px 14px 12px;
  }

  .hero-card.big .hero-title {
    font-size: 22px;
    line-height: 31px;
  }

  .hero-title {
    font-size: 15px;
    line-height: 21px;
    -webkit-line-clamp: 4;
  }

  .hero-card.big .hero-title {
    -webkit-line-clamp: 5;
  }

  .mini-grid {
    grid-template-columns: 1fr;
    row-gap: 26px;
    margin: 0;
  }

  .mini-card {
    padding: 0;
  }

  .big-grid {
    grid-template-columns: 1fr;
    margin: 0;
    row-gap: 26px;
  }

  .big-card {
    padding: 0;
  }

  .card-title,
  .big-title {
    font-size: 19px;
    line-height: 27px;
  }

  .wide-list {
    gap: 26px;
  }

  .wide-card,
  .feature-card {
    display: block;
    min-height: 0;
    margin-bottom: 0;
  }

  .wide-thumb,
  .feature-thumb {
    width: 100%;
    height: auto;
    flex-basis: auto;
    aspect-ratio: 390 / 220;
    margin-bottom: 12px;
  }

  .feature-card {
    margin-bottom: 30px;
  }

  .wide-body,
  .feature-body {
    padding: 0;
  }

  .trip-track {
    grid-auto-columns: 78%;
    gap: 14px;
  }

  .trip-dots {
    height: 36px;
  }

  .site-footer {
    padding-top: 30px;
    margin-top: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    padding-bottom: 12px;
  }

  .footer-col {
    padding: 0 20px 16px;
  }

  .footer-widget-title {
    margin-top: 8px;
  }

  .footer-map,
  .footer-address {
    margin-right: 0;
  }

  .footer-map {
    height: 170px;
  }

  .footer-map img {
    height: 170px;
  }

  .footer-address {
    font-size: 23px;
  }

  .site-info {
    padding: 17px 0;
  }

  .site-info-inner {
    flex-direction: column-reverse;
    gap: 10px;
    line-height: 26px;
  }

  .copyright {
    font-size: 12px;
  }

  .bottom-socials {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .brand-bar {
    height: 92px;
    padding: 0 54px;
  }

  .logo img {
    width: min(260px, 100%);
    max-height: 58px;
  }

  .mobile-menu-button {
    left: 10px;
  }

  .mobile-search-button {
    right: 10px;
  }

  .main-content {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero-card.big {
    height: 235px;
  }

  .hero-card.wide {
    height: 165px;
  }

  .hero-card:not(.big):not(.wide) {
    height: 136px;
  }

  .hero-card.big .hero-title {
    font-size: 20px;
    line-height: 28px;
  }

  .hero-title {
    font-size: 14px;
    line-height: 19.6px;
  }

  .section-head {
    flex-wrap: wrap;
    gap: 8px;
  }

  .head-controls {
    margin-top: 0;
  }

  .trip-track {
    grid-auto-columns: 86%;
  }

  .search-box {
    padding: 34px 18px 22px;
  }

  .search-form button {
    width: 84px;
  }

  .copyright {
    line-height: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
