/* ==========================================================================
   Origins — Habesha theme layer
   Loads after app.css and overrides tokens, header, hero, search, footer
   and shared typography site-wide. Keep layout-critical rules (display,
   flex-direction, grid) out of this file — it is a skin, not a rebuild
   of every page's internal structure.

   Palette and motifs are drawn from a traditional Ethiopian tibeb
   (habesha) border pattern: deep ink ground, mustard gold, vermillion,
   indigo and cream. The pattern image itself (pattern-hab.webp) is used
   only as a small repeating woven "tibeb band" divider and as a single
   medallion badge — never stretched as a photo background.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400..800&family=Inter:wght@400;500;600;700;800&display=swap');

:root{
  --ink: #0f2420;
  --ink-deep: #081512;
  --gold: #e3a72e;
  --gold-deep: #b9840f;
  --gold-light: #f3c968;
  --red: #cf4230;
  --red-deep: #a52f21;
  --purple: #5a3d92;
  --green: #2f7d4f;
  --cream: #f8f0dd;
  --paper: #fbf6ea;
  --ink-text: #1d1912;
  --line: rgba(29,25,18,.12);
  --shadow: 0 22px 50px -18px rgba(8,21,18,.5);
  --font-display: "Bricolage Grotesque", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;

  /* legacy aliases kept so older component rules below keep resolving */
  --origins-forest: var(--ink);
  --origins-forest-deep: var(--ink-deep);
  --origins-gold: var(--gold);
  --origins-gold-light: var(--gold-light);
  --origins-terracotta: var(--red);
  --origins-cream: var(--cream);
  --origins-ink: var(--ink-text);
  --origins-line: var(--line);
  --origins-shadow: var(--shadow);
}

/* ---------- global typography ---------- */
body{
  font-family: var(--font-body);
  color: var(--ink-text);
}

h1, h2, h3, h4, h5, h6,
.title-heading, .title-slide, .title-call, .title,
.sub-title-heading, .sub-title{
  font-family: var(--font-display);
}
.text-main{ color: var(--ink) !important; }
.text-second{ color: var(--red) !important; }
a{ transition: color .25s ease, background-color .25s ease, transform .25s ease; }
::selection{ background: var(--gold-light); color: var(--ink-deep); }

/* diamond glyph echoing the tibeb cross motif, used on every eyebrow/kicker */
.sub-title-heading{
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: .14em !important;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.sub-title-heading::before{
  content: "";
  width: 8px; height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(227,167,46,.22);
}
.title-heading{ font-weight: 700 !important; color: var(--ink-text); }
/* the theme's original cursive accent ("Yesteryear") reads dated against a
   bold flat poster aesthetic — swap it for a solid gold display treatment */
.font-yes{ font-family: var(--font-display) !important; font-style: normal !important; color: var(--gold-deep); }
.title-heading .font-yes{ color: var(--red); }

/* ---------- buttons ---------- */
.btn-main{
  background: var(--gold) !important;
  border-radius: 10px !important;
  border: none !important;
  overflow: hidden;
}
.btn-main .btn-main-text{ font-family: var(--font-body); font-weight: 700; letter-spacing: .01em; color: var(--ink-deep); }
.btn-main .iconer{ background: var(--ink) !important; color: var(--gold-light); }
.btn-main:hover{ transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(8,21,18,.4); background: var(--gold-deep) !important; }
.btn-w-wa{ color: var(--ink-text) !important; font-weight: 600; }
.btn-w-wa i{ color: var(--red) !important; }
.btn-search{
  background: var(--gold) !important;
  color: var(--ink-deep) !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
}
.btn-search:hover{ background: var(--gold-deep) !important; }
.get-call{ background: var(--gold) !important; color: var(--ink-deep) !important; }
.get-call:hover{ background: var(--red) !important; color: var(--cream) !important; }

/* ==========================================================================
   Tibeb band — the pattern image used correctly: a small tiled woven strip
   ========================================================================== */
.tibeb-band{
  height: 30px;
  background-image: url("../../assets/images/pattern/pattern-hab.webp");
  background-repeat: repeat-x;
  background-size: auto 100%;
  background-position: center 18%;
}
.tibeb-band.is-large{ height: 46px; }

/* single, non-tiled medallion badge cropped from the pattern's center cross */
.tibeb-medallion{
  --size: 108px;
  width: var(--size); height: var(--size);
  border-radius: 50%;
  background-image: url("../../assets/images/pattern/pattern-hab.webp");
  background-size: 230% 230%;
  background-position: 50% 46%;
  box-shadow: 0 0 0 3px var(--gold), 0 0 0 6px rgba(227,167,46,.25), var(--shadow);
  flex-shrink: 0;
}
.tibeb-medallion--sm{ --size: 50px; box-shadow: 0 0 0 2px var(--gold), 0 0 0 4px rgba(227,167,46,.25); }

/* ==========================================================================
   Header
   ========================================================================== */
.main-header{ background: transparent; }
.main-header #header{ background: var(--ink); }
.main-header.is-scrolled #header,
.header-fixed.scroll-header .main-header #header{
  background: var(--ink);
  box-shadow: 0 10px 30px -14px rgba(0,0,0,.5);
}

.header-top{
  background: var(--ink-deep);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-top-wrap{
  font-family: var(--font-body);
  font-size: 13px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.header-top-right ul li,
.header-top-left,
.follow-social span{
  color: rgba(255,255,255,.75) !important;
}
.header-top-right ul li i,
.header-top-left a i{
  color: var(--gold) !important;
}
.header-top-left .booking{
  color: var(--gold-light) !important;
  font-weight: 600;
}
.follow-social ul li a{
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff !important;
}
.follow-social ul li a:hover{ background: var(--gold); color: var(--ink-deep) !important; }
.follow-social ul li a svg{ width: 15px; height: 15px; fill: currentColor; }

.header-lower{ background: transparent; }

/* Brand lockup: the mark is a transparent PNG, so it needs no frame */
.origins-brand{ display: flex; align-items: center; gap: 12px; text-decoration: none; }
.origins-brand__mark{
  width: 52px; height: 52px;
  flex-shrink: 0;
  display: block;
}
.origins-brand__mark img{
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
.origins-brand__word{
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: .01em;
  color: #fff;
  line-height: 1;
}
.origins-brand__word span{ color: var(--gold); }

.main-menu .navigation > li > a{
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  color: rgba(255,255,255,.9) !important;
  letter-spacing: .01em;
}
.main-menu .navigation > li:hover > a,
.main-menu .navigation > li.current > a{ color: var(--gold) !important; }
.main-menu .navigation > li > ul{
  background: var(--paper) !important;
  border-radius: 4px !important;
  overflow: hidden;
  box-shadow: var(--shadow) !important;
  border: none !important;
  border-top: 3px solid var(--gold) !important;
}
.main-menu .navigation > li > ul > li > a{ color: var(--ink-text) !important; font-family: var(--font-body); }
.main-menu .navigation > li > ul > li:hover > a{ color: var(--ink) !important; background: rgba(227,167,46,.16) !important; }

.header-account .nice-select .current,
.header-account .language img{ filter: none; }
.header-account{ color: #fff; }
.header-account .nice-select .current{ color: rgba(255,255,255,.85) !important; }

.mobile-nav-toggler{ color: #fff !important; }

/* legacy leftover from the original template: an unstyled, hard-coded
   lime-green block (#cf4230) that duplicates the off-canvas contact panel
   already covered by the footer. Never reskinned — hide it rather than
   carry dead, off-brand chrome in the header. */
.header-sidebar{ display: none !important; }

/* the default header-lower reserves a 214px left gutter for an
   absolutely-positioned logo variant we don't use, which combined with the
   longer nav labels (Journeys / Destinations / Our Heritage) pushed the
   nav past its available width and wrapped "Contact" onto its own line. */
.main-header .header-lower{ padding-left: 24px !important; padding-right: 24px !important; }

/* on scroll the template detaches .header-lower and paints it white, while the
   nav links stay white — keep it on-brand dark so the menu stays readable */
.header-lower.is-fixed,
.header-lower.is-fixed.is-small{
  background-color: var(--ink) !important;
  box-shadow: 0 10px 30px -14px rgba(0,0,0,.5) !important;
  border-bottom: 2px solid var(--gold);
}
.main-header .main-menu .navigation > li{ margin-right: 18px; }

/* collapse to the mobile drawer earlier (1199px) instead of letting a
   7-item nav + search + avatar + CTA button fight for space right up to
   the old 991px cutoff */
@media (max-width: 1199px){
  .main-header .header-lower .nav-outer{ display: none !important; }
  .main-header .main-menu{ display: none !important; }
  .mobile-button{ display: block !important; }
  .mobile-nav-toggler{ display: block !important; }
}

.origins-book-btn{
  display: inline-flex;
  align-items: center;
  padding: 11px 22px;
  border-radius: 10px;
  background: var(--gold);
  color: var(--ink-deep) !important;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}
.origins-book-btn:hover{ background: var(--red); color: var(--cream) !important; transform: translateY(-1px); }
@media (max-width: 1200px){ .origins-book-btn{ display: none; } }

/* Mobile drawer — menu-box background was switched from the original
   near-black (#0A0A0A) to a light paper tone, but the nav text/icons were
   still hard-coded white in app.css. Recolor everything that now sits
   directly on the light background. */
.mobile-menu .menu-box{ background: var(--paper) !important; border-left: 4px solid var(--gold) !important; }
/* light surfaces need a dark chip behind the mark, otherwise the white half
   of the logo disappears */
.mobile-menu .nav-logo img{
  width: 56px; height: 56px; object-fit: contain;
  background: var(--ink); border-radius: 50%; padding: 8px;
}
.mobile-menu .navigation li > a{ color: var(--ink-text) !important; }
.mobile-menu .navigation li:hover > a,
.mobile-menu .navigation li.current > a{ color: var(--red) !important; }
.mobile-menu .navigation li.dropdown2 .dropdown2-btn::before{ color: var(--ink-text) !important; }
.mobile-menu .navigation li > ul,
.mobile-menu .navigation li > ul > li > ul{ background: var(--ink) !important; }
.close-btn{ color: var(--ink-text) !important; }
.mobile-menu .menu-backdrop{ background: rgba(15,36,32,.55) !important; }

/* ==========================================================================
   Hero — flat poster-style illustration in the tibeb palette
   ========================================================================== */
.origins-hero{
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: visible;
  background:
    radial-gradient(1000px 560px at 88% -6%, rgba(227,167,46,.22), transparent 60%),
    linear-gradient(195deg, #16352e 0%, var(--ink) 45%, var(--ink-deep) 100%);
}
.origins-hero__grain{
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  pointer-events: none;
}
.origins-hero__scene{
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.origins-hero__scene svg{ width: 100%; height: 100%; display: block; }
.origins-hero__sun{
  transform-origin: 1138px 196px;
  animation: origins-sun 9s ease-in-out infinite;
}
@keyframes origins-sun{
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
@media (prefers-reduced-motion: reduce){
  .origins-hero__sun{ animation: none; }
}
.origins-hero__content{ position: relative; z-index: 4; padding-top: 170px; padding-bottom: 90px; }
.origins-hero__eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 22px;
}
.origins-hero__eyebrow::before{ content: ""; width: 8px; height: 8px; background: var(--red); transform: rotate(45deg); flex-shrink: 0; }
.origins-hero__title{
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  font-size: clamp(32px, 4.4vw, 60px);
  line-height: 1.1;
  max-width: 760px;
  margin-bottom: 22px;
}
.origins-hero__title em{ font-style: normal; color: var(--gold); }
.origins-hero__desc{
  font-family: var(--font-body);
  color: rgba(255,255,255,.78);
  font-size: 17px;
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 0;
}
.origins-hero__foot{ position: relative; z-index: 2; margin-top: 44px; }

/* ---------- Route search card ---------- */
.origins-search{
  position: relative;
  z-index: 6;
  margin-top: 46px;
  background: var(--paper);
  border-radius: 4px;
  border-top: 4px solid var(--gold);
  box-shadow: var(--shadow);
  padding: 10px 10px 10px 14px;
  max-width: 980px;
}
.origins-search__form{ display: flex; flex-wrap: wrap; align-items: stretch; gap: 4px; }
.origins-search__field{
  flex: 1 1 170px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-right: 1px solid var(--line);
}
.origins-search__field:last-of-type{ border-right: none; }
.origins-search__field i{ color: var(--red); font-size: 20px; }
.origins-search__field label{
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(29,25,18,.5);
  margin: 0 0 2px;
}
.origins-search__field .nice-select,
.origins-search__field input{
  border: none !important;
  padding: 0 !important;
  height: auto !important;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--ink-text);
  background: transparent !important;
  width: 100%;
}
.origins-search__field .nice-select .current{ color: var(--ink-text); font-weight: 600; }
.origins-search__field .nice-select .list{ border-radius: 4px; overflow: hidden; border-top: 3px solid var(--gold); }
.origins-search__submit{
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 30px;
  border-radius: 4px;
  background: var(--gold);
  color: var(--ink-deep);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
}
.origins-search__submit:hover{ background: var(--red); color: var(--cream); }

@media (max-width: 991px){
  .origins-hero__content{ padding-top: 130px; padding-bottom: 60px; }
  .origins-hero__scene{ opacity: .5; }
  .origins-search__field{ border-right: none; border-bottom: 1px solid var(--line); flex: 1 1 100%; }
  .origins-search__submit{ width: 100%; padding: 14px; margin-top: 6px; }
}

/* ==========================================================================
   Tour package tabs + cards
   ========================================================================== */
.tab-list .nav-link{ color: var(--ink-text) !important; border: 1px solid var(--line); }
.tab-list .nav-link:hover{ color: var(--ink) !important; border-color: var(--gold); }
.tab-list .nav-link.active{
  background-color: var(--ink) !important;
  color: var(--cream) !important;
  border-color: var(--ink);
}
.tab-list .nav-link::before{ border-top-color: var(--ink) !important; }
.tab-list .nav-link:hover::before{ border-top-color: var(--gold) !important; }

.tour-listing{ height: 100%; }
.tour-listing .tour-listing-image img{
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform .6s ease;
}
.tour-listing:hover .tour-listing-image img{ transform: scale(1.05); }
.tour-listing .map{ color: var(--red) !important; font-weight: 600; }
.tour-listing .title-tour-list a{ color: var(--ink-text); }
.tour-listing .title-tour-list a:hover{ color: var(--red); }
.tour-listing .des{ font-size: 14px; line-height: 1.6; color: rgba(29,25,18,.66); margin-bottom: 14px; }
.tour-listing .price-tour{ font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 18px; }
.tour-listing .price-note{ font-style: normal; font-size: 11px; color: rgba(29,25,18,.45); margin-left: 6px; }

.form-note{
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
  background: rgba(227,167,46,.14);
  border-left: 3px solid var(--gold);
  padding: 10px 14px;
}
.price-note{ font-style: normal; font-size: 11px; color: rgba(29,25,18,.45); margin-left: 6px; }

.origins-step{ position: relative; padding-top: 6px; }
.origins-step__num{
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 14px;
}
.origins-step .title{ font-family: var(--font-display); }

.origins-includes{ list-style: none; padding: 0; margin: 0; }
.origins-includes li{
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(29,25,18,.78);
}
.origins-includes li::before{
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 9px; height: 9px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer.footer-style1{ background: var(--ink-deep) !important; color: rgba(255,255,255,.75); }
.footer .title{ color: #fff !important; font-family: var(--font-display); }
.footer .des-footer{ color: rgba(255,255,255,.6); }
.footer-menu li a{ color: rgba(255,255,255,.72) !important; }
.footer-menu li a:hover{ color: var(--gold) !important; }
.footer-info li{ color: rgba(255,255,255,.72) !important; }
.footer-info li i{ color: var(--gold) !important; }
.footer .logo-footer{ width: 58px; height: 58px; margin-bottom: 16px; }
.footer .logo-footer img{ width: 100%; height: 100%; object-fit: contain; }
.social-ft li a, .social.flex-six li a, .social.flex-three li a{
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff !important;
}
.social-ft li a:hover, .social.flex-six li a:hover, .social.flex-three li a:hover{ background: var(--gold); color: var(--ink-deep) !important; }
.social-ft li a svg, .social.flex-six li a svg, .social.flex-three li a svg{ width: 15px; height: 15px; fill: currentColor; }
.footer-info em, .canvas-info em{ font-style: normal; font-size: 11px; color: var(--gold-light); opacity: .8; margin-left: 4px; }
.footer-bottom{ border-top: 1px solid rgba(255,255,255,.1) !important; }
.footer-bottom .copy-right{ color: rgba(255,255,255,.55) !important; }
.footer-bottom .copy-right a{ color: var(--gold) !important; }
.photo-credits{
  font-size: 11px;
  color: rgba(255,255,255,.4);
  text-align: center;
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
}

/* Off-canvas panel */
.offcanvas .logo-canvas{ width: 64px; height: 64px; margin-bottom: 18px; }
.offcanvas .logo-canvas img{
  width: 100%; height: 100%; object-fit: contain;
  background: var(--ink); border-radius: 50%; padding: 9px;
}
.offcanvas .canvas-info li{ color: var(--ink-text); }
.offcanvas .canvas-info li i{ color: var(--ink); }
.offcanvas .social li a{
  width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--cream); color: var(--ink) !important;
}
.offcanvas .social li a svg{ width: 14px; height: 14px; fill: currentColor; }

/* ==========================================================================
   Small original travel-poster flourishes reused across pages
   ========================================================================== */
.icon-box-style3 .icon{ color: var(--red); }
.breadcumb-section{ background: var(--ink) !important; }
.breadcumb-section .title{ color: #fff !important; }
.breadcumb-list li a, .breadcumb-list li span{ color: rgba(255,255,255,.7) !important; }
.breadcumb-list li a:hover{ color: var(--gold) !important; }


/* ==========================================================================
   Polish pass
   ========================================================================== */

/* the template capitalises every heading, which mangles real sentences
   ("Gateway To Ethiopia") — let the copy decide its own case */
h1, h2, h3, h4, h5, h6,
.title-heading, .title-tour-list, .entry-title, .title-call, .title-plan{
  text-transform: none !important;
}

/* ---------- select dropdowns (hero + filter bars) ----------
   the plugin sets the list to width:100% of a narrow field, so option text
   was being clipped mid-word */
.nice-select .list{
  width: auto !important;
  min-width: 100%;
  max-width: 320px;
  max-height: 260px;
  overflow-y: auto !important;
  border-radius: 4px !important;
  border-top: 3px solid var(--gold) !important;
  box-shadow: var(--shadow) !important;
  background: var(--paper) !important;
  padding: 6px 0 !important;
  margin-top: 8px !important;
}
.nice-select .option{
  font-family: var(--font-body) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  min-height: 0 !important;
  padding: 10px 18px !important;
  white-space: nowrap;
  color: var(--ink-text) !important;
  transition: background .15s ease, color .15s ease;
}
.nice-select .option:hover,
.nice-select .option.focus,
.nice-select .option.selected.focus{
  background: rgba(227,167,46,.18) !important;
  color: var(--ink) !important;
}
.nice-select .option.selected{ font-weight: 700 !important; color: var(--ink) !important; }
.nice-select .list::-webkit-scrollbar{ width: 6px; }
.nice-select .list::-webkit-scrollbar-thumb{ background: var(--gold); border-radius: 3px; }

/* ---------- equal-height cards ----------
   photos have wildly different native ratios, so fix the media box and let
   the card body absorb the difference */
.row > [class*="col-"] > .tf-widget-blog,
.row > [class*="col-"] > .tour-listing,
.row > [class*="col-"] > .tf-widget-destination{ height: 100%; }

.tf-widget-blog{
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.tf-widget-blog:hover{ transform: translateY(-4px); box-shadow: var(--shadow); }
.tf-widget-blog .blog-image{
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  flex-shrink: 0;
}
.tf-widget-blog .blog-image img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}
.tf-widget-blog .blog-content{
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 24px !important;
}
.tf-widget-blog .blog-content .des{ flex: 1 1 auto; }
.tf-widget-blog .category-blog{
  background: var(--red) !important;
  color: #fff !important;
  padding: 6px 14px !important;
}
.tf-widget-blog .meta-list li,
.tf-widget-blog .meta-list li i{ color: var(--gold-deep) !important; }
.btn-read-more{ color: var(--ink) !important; font-weight: 600; margin-top: auto; }
.btn-read-more:hover{ color: var(--red) !important; }

.tour-listing{
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.tour-listing:hover{ transform: translateY(-4px); box-shadow: var(--shadow); }
.tour-listing .tour-listing-image{
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  flex-shrink: 0;
}
.tour-listing .tour-listing-image img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}
.tour-listing .tour-listing-content{
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 22px !important;
}
.tour-listing .tour-listing-content .des{ flex: 1 1 auto; }
.tour-listing .icon-box{
  margin-top: auto;
  margin-bottom: 0 !important;
  padding-top: 16px !important;
  padding-bottom: 0 !important;
  border-top: 1px solid var(--line);
  border-bottom: none !important;
  gap: 18px;
}
.tour-listing .icon-box .icons span{ font-size: 13px; color: rgba(29,25,18,.7); }
.tour-listing .icon-box .icons i{ color: var(--red); }

.tf-widget-destination .destination-imgae{
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.tf-widget-destination .destination-imgae img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

/* ---------- hero ---------- */
.origins-hero{
  background-image: url("../../assets/images/ethiopia/simien.webp");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: var(--ink);
}
.origins-hero__title{
  font-size: clamp(38px, 5vw, 70px);
  line-height: 1.04;
  letter-spacing: -.015em;
}
.origins-hero__title em{
  position: relative;
  display: inline-block;
}
.origins-hero__title em::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .06em;
  height: .1em;
  background: var(--red);
  opacity: .9;
  z-index: -1;
}
.origins-hero__desc{ font-size: 18px; max-width: 560px; }
.origins-hero__eyebrow{ font-size: 12px; letter-spacing: .2em; }

/* scrim so the headline stays readable over the illustration */
.origins-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(95deg, rgba(8,21,18,.94) 0%, rgba(8,21,18,.82) 34%,
              rgba(8,21,18,.35) 62%, rgba(8,21,18,.05) 100%);
  pointer-events: none;
}

/* woven band along the bottom edge of the hero */
.origins-hero::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 22px;
  background-image: url("../../assets/images/pattern/pattern-hab.webp");
  background-repeat: repeat-x;
  background-size: auto 100%;
  background-position: center 18%;
  opacity: .95;
  z-index: 3;
}

/* search card */
.origins-search{
  border-radius: 6px;
  border-top: 4px solid var(--gold);
  box-shadow: 0 30px 60px -24px rgba(8,21,18,.7);
}
.origins-search__field label{ letter-spacing: .1em; font-size: 10px; }
.origins-search__submit{ letter-spacing: .01em; box-shadow: 0 10px 24px -12px rgba(227,167,46,.9); }

/* ---------- section rhythm ---------- */
.title-heading{ font-size: clamp(28px, 3.1vw, 44px) !important; line-height: 1.14 !important; letter-spacing: -.01em; }
.w-text-heading .sub-title-heading{ justify-content: center; }
.des-heading{ font-size: 17px; line-height: 1.7; color: rgba(29,25,18,.72); }
.pd-main{ padding-top: 96px; padding-bottom: 96px; }

/* alternating section grounds give the page some rhythm */
.tour-package{ background: var(--paper); }
.widget-counter{ background: var(--paper); }

.origins-step{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  border-top: 3px solid var(--gold);
  padding: 30px 28px !important;
  height: 100%;
}
.origins-step .des{ color: rgba(29,25,18,.72); }

/* offer band */
.offer-package{ background: var(--ink) !important; }
.offer-package .title-heading,
.offer-package .des-heading{ color: #fff !important; }
.offer-package .des-heading{ color: rgba(255,255,255,.78) !important; }
.offer-package .origins-includes li{ color: rgba(255,255,255,.8); }
.offer-package .sub-title-heading{ color: var(--gold) !important; }

/* “why origins” band */
.widget-testimonial-style01 .image-box-tesimonial img{
  border-radius: 4px;
  box-shadow: var(--shadow);
}

/* footer + misc */
.footer.footer-style1{ padding-top: 80px; }
.button-go{ background: var(--gold) !important; color: var(--ink-deep) !important; }

@media (max-width: 767px){
  .pd-main{ padding-top: 64px; padding-bottom: 64px; }
  .origins-hero__title{ font-size: clamp(30px, 8vw, 40px); }
}

/* the template puts a light-grey pill behind the social row, which fights the
   dark top bar */
.header-top .header-top-wrap .header-top-left .follow-social ul{
  background-color: transparent !important;
  padding: 0 !important;
  gap: 8px;
}
.header-top .header-top-wrap .header-top-left .follow-social ul li:not(:last-child){ margin-right: 8px; }
.header-top .header-top-wrap .header-top-left .follow-social ul li a{ color: #fff !important; }
.header-top .header-top-wrap .header-top-left .follow-social ul li a:hover{ color: var(--ink-deep) !important; }

.origins-search .nice-select.open{ z-index: 20; }

/* ---------- "why origins" band ---------- */
.widget-testimonial-style01{
  padding-top: 110px !important;
  padding-bottom: 110px !important;
  background-color: var(--paper) !important;
  background-image: none !important;
}
.widget-testimonial-style01 .image-box-tesimonial{
  background-color: #fff;
  padding: 14px 14px 52px 14px;
  max-width: 320px;
}
.widget-testimonial-style01 .image-box-tesimonial img{
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: none;
  display: block;
}
.widget-testimonial-style01 .box-testimonial2{ top: 32%; left: 38%; }

/* eyebrows sitting on dark grounds need the gold, not the ink */
.widget-banner-contact .sub-title-heading,
.widget-banner-contact .sub-title-heading.text-main,
.offer-package .sub-title-heading.text-main{ color: var(--gold) !important; }
.widget-banner-contact .title-heading{ color: #fff !important; }
.widget-banner-contact{ position: relative; }
.widget-banner-contact::before{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,21,18,.9) 0%, rgba(8,21,18,.72) 50%, rgba(8,21,18,.4) 100%);
}
.widget-banner-contact .tf-container{ position: relative; z-index: 2; }
.widget-banner-contact address a{ color: var(--gold-light) !important; }

/* body copy should never be auto-capitalised either */
.des, .des-heading, .des-footer, p{ text-transform: none !important; }
.callt-to-action .callt-to-action-content .content .des{ color: rgba(255,255,255,.82) !important; }
.callt-to-action{ background: var(--red) !important; }
.callt-to-action .get-call{ background: var(--gold) !important; color: var(--ink-deep) !important; }
.callt-to-action .get-call:hover{ background: var(--ink) !important; color: var(--cream) !important; }

/* a slightly more generous gutter on phones */
@media (max-width: 575px){
  .tf-container, .tf-container.w-1456{ padding-left: 20px !important; padding-right: 20px !important; }
  .origins-search{ margin-top: 32px; }
  .origins-hero{ min-height: 0; }
}

/* ---------- destination circles (listing page) ---------- */
.destination-tour{ display: flex; flex-direction: column; align-items: center; height: 100%; }
.destination-tour .destination-image{
  width: 168px; height: 168px;
  border-radius: 100%;
  overflow: hidden;
  box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--gold);
  transition: transform .3s ease;
}
.destination-tour:hover .destination-image{ transform: translateY(-4px); }
.destination-tour .destination-image img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
}
.destination-tour .destination-tour-list{
  margin-top: -18px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.destination-tour .destination-tour-list .text-main{ display: none; }
.destination-tour .destination-tour-list .tour{
  background: var(--ink);
  color: var(--cream) !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
  line-height: 1.2;
}
.destination-tour .title-tour{ margin-top: 14px !important; text-align: center; }
.destination-tour .title-tour a{ color: var(--ink-text); }
.destination-tour .title-tour a:hover{ color: var(--red); }

/* ---------- Contact page: compact hero + contact cards ---------- */
.contact-page .breadcumb-section{
  padding: 110px 0 108px;
}

.contact-page .origins-contact-page{
  padding-top: 48px;
}

.contact-page .origins-contact-page > .tf-container > .row.mb-45{
  margin-bottom: 40px;
}

.contact-page .contact-us .box-contact{
  padding: 26px 24px 24px;
}

.contact-page .contact-us .box-contact .icon{
  height: auto;
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1;
}

.contact-page .contact-us .box-contact span{
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 26px;
}

.contact-page .contact-us .box-contact .des{
  margin-bottom: 0;
}

@media (max-width: 767px){
  .contact-page .breadcumb-section{
    padding: 88px 0 86px;
  }
  .contact-page .origins-contact-page{
    padding-top: 36px;
  }
}

/* ---------- Contact page: journey enquiry ---------- */
.contact-page .origins-contact-intro{padding-right:42px;}
.contact-page .origins-contact-lead{max-width:520px;margin:18px 0 26px;color:#5f6368;line-height:1.75;}
.contact-page .origins-contact-benefits{display:grid;gap:10px;}
.contact-page .origins-contact-benefit{display:flex;gap:15px;align-items:flex-start;padding:15px 0;border-top:1px solid rgba(15,36,32,.12);}
.contact-page .origins-contact-benefit>span{display:flex;align-items:center;justify-content:center;flex:0 0 38px;height:38px;border-radius:50%;background:var(--gold);color:var(--ink-deep);font-size:11px;font-weight:800;}
.contact-page .origins-contact-benefit strong{display:block;color:var(--ink);font-family:var(--font-display);font-size:16px;margin-bottom:3px;}
.contact-page .origins-contact-benefit small{display:block;color:#68706d;font-size:13px;line-height:1.5;}
.contact-page .origins-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px;}
.contact-page .contact-us-wrap .input-wrap select{width:100%;height:58px;border:0;border-bottom:1px solid #dfe5e2;background:transparent;color:#606965;padding:0 8px;font-family:var(--font-body);font-size:14px;outline:none;}
.contact-page .contact-us-wrap .btn-submit-contact{display:inline-flex!important;align-items:center;justify-content:center;gap:9px;background:var(--gold)!important;color:var(--ink-deep)!important;opacity:1!important;visibility:visible!important;border:0;border-radius:8px;min-height:54px;padding:0 28px;font-weight:700;cursor:pointer;}
.contact-page .contact-us-wrap .btn-submit-contact:hover{background:var(--ink)!important;color:#fff!important;}
@media(max-width:991px){.contact-page .origins-contact-intro{padding-right:0;margin-bottom:36px}.contact-page .origins-form-grid{grid-template-columns:1fr;}}


/* ---------- Contact page: refined journey panel + green submit ---------- */
.contact-page .origins-contact-story{
  margin-top:24px; padding:28px 30px; border-radius:16px;
  background:linear-gradient(135deg,var(--ink) 0%,#163c32 100%);
  box-shadow:0 18px 45px rgba(8,21,18,.12);
}
.contact-page .origins-contact-story p{margin:0 0 22px;color:#fff;font-size:15px;line-height:1.8;}
.contact-page .origins-contact-story__tags{display:flex;flex-wrap:wrap;gap:10px;}
.contact-page .origins-contact-story__tags span{display:inline-flex;align-items:center;padding:9px 13px;border:1px solid rgba(243,201,104,.38);border-radius:999px;color:var(--cream);font-size:12px;font-weight:700;}
.contact-page .contact-us-wrap .btn-submit-contact{background:var(--green)!important;color:#fff!important;opacity:1!important;visibility:visible!important;}
.contact-page .contact-us-wrap .btn-submit-contact:hover{background:var(--ink)!important;color:#fff!important;}
@media(max-width:767px){.contact-page .origins-contact-story{padding:22px 20px;}}


/* ---------- Contact page: refined journey panel + green submit ---------- */
.contact-page .origins-contact-story{margin-top:24px;padding:28px 30px;border-radius:16px;background:linear-gradient(135deg,var(--ink) 0%,#163c32 100%);box-shadow:0 18px 45px rgba(8,21,18,.12);}
.contact-page .origins-contact-story p{margin:0 0 22px;color:#fff;font-size:15px;line-height:1.8;}
.contact-page .origins-contact-story__tags{display:flex;flex-wrap:wrap;gap:10px;}
.contact-page .origins-contact-story__tags span{display:inline-flex;align-items:center;padding:9px 13px;border:1px solid rgba(243,201,104,.38);border-radius:999px;color:var(--cream);font-size:12px;font-weight:700;}
.contact-page .contact-us-wrap .btn-submit-contact{background:var(--green)!important;color:#fff!important;opacity:1!important;visibility:visible!important;}
.contact-page .contact-us-wrap .btn-submit-contact:hover{background:var(--ink)!important;color:#fff!important;}
@media(max-width:767px){.contact-page .origins-contact-story{padding:22px 20px;}}


/* Blog details: B 25% / C 50% / D 25% hero */
.blog-details-page .main-header .main-menu .navigation > li > a{
  padding-top: 28px !important;
  padding-bottom: 28px !important;
}
.blog-details-page .origins-brand__mark{ width: 44px; height: 44px; }
.blog-details-page .origins-book-btn{ padding-top: 9px; padding-bottom: 9px; }

.blog-details-page .origins-blog-hero{
  display: grid;
  grid-template-columns: 25% 50% 25%;
  width: 100%;
  min-height: 330px;
  padding: 0 !important;
  background: none !important;
  overflow: hidden;
}
/* =========================================================
   BLOG DETAILS — ROTATING 3-PANEL HERO
   B = 25% | C = 50% | D = 25%
   ========================================================= */

.origins-blog-hero {
    display: grid !important;
    grid-template-columns: 25% 50% 25%;
    width: 100%;
    height: 340px;
    padding: 0 !important;
    margin: 0;
    overflow: hidden;
    background: #071f19 !important;
}

.origins-blog-hero::before {
    display: none !important;
}

.origins-blog-panel {
    position: relative;
    height: 340px;
    overflow: hidden;

    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    transition: background-image 0.7s ease-in-out;
}


/* LEFT — B */

.origins-blog-panel-left {
    background-image: url("../../assets/images/ethiopia/gondar.webp");
}


/* CENTER — C */

.origins-blog-panel-center {
    background-image: url("../../assets/images/ethiopia/addis.webp");

    display: flex;
    align-items: center;
    justify-content: center;
}


/* RIGHT — D */

.origins-blog-panel-right {
    background-image: url("../../assets/images/ethiopia/lalibela.webp");
}


/* DARK SHADE ON B + D */

.origins-blog-shade {
    position: absolute;
    inset: 0;
    background: rgba(3, 18, 15, 0.68);
    z-index: 1;
}


/* CENTER TEXT */

.origins-blog-center-content {
    position: relative;
    z-index: 5;

    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    padding: 30px;
}


/* TRAVEL NOTES */

.origins-blog-center-content .title {
    color: #ffffff;
    text-align: center;
    margin: 0 0 22px;
}


/* BREADCRUMB */

.origins-blog-center-content .breadcumb-list {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.origins-blog-center-content .breadcumb-list li,
.origins-blog-center-content .breadcumb-list li a,
.origins-blog-center-content .breadcumb-list li span {
    color: #ffffff;
}


/* SLIGHT DARKENING BEHIND CENTER TEXT ONLY */

.origins-blog-panel-center::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(3, 18, 15, 0.15);
    z-index: 1;
}


/* =========================================================
   BLOG PAGE — SMALLER MAIN NAVIGATION
   approximately 15% reduction
   ========================================================= */

body.blog-details-page .main-header .main-menu .navigation > li > a {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
}

body.blog-details-page .origins-brand__mark {
    width: 44px;
    height: 44px;
}

body.blog-details-page .origins-book-btn {
    padding-top: 9px;
    padding-bottom: 9px;
}


/* MOBILE */

@media (max-width: 767px) {

    .origins-blog-hero {
        grid-template-columns: 20% 60% 20%;
        height: 280px;
    }

    .origins-blog-panel {
        height: 280px;
    }

    .origins-blog-center-content {
        padding: 15px;
    }

    .origins-blog-center-content .title {
        font-size: 34px;
    }

}