/* ==========================================================================
   Trip to Makkah — package single + package cards
   Brand: ink #1C2D1D · accent #0284C7 · green #5BC458 · mint #EFFFEF
   Fonts: Open Sans (body) · Taviraj (headings)
   ========================================================================== */

.ttm-pkg{
  --ink:#1C2D1D;
  --accent:#0284C7;
  --green:#5BC458;
  --mint:#EFFFEF;
  --muted:#5A665C;
  --line:#E3EBE4;
  --radius:16px;
  color:var(--ink);
  font-family:"Open Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:1rem;
  line-height:1.7;
}

.ttm-pkg h2,
.ttm-pkg h3{
  font-family:"Taviraj",Georgia,serif;
  color:var(--ink);
  line-height:1.25;
  margin:0 0 .6rem;
}
.ttm-pkg h2{font-size:clamp(1.4rem,1.1rem + 1vw,1.85rem);font-weight:700;letter-spacing:-.01em}
.ttm-pkg h3{font-size:clamp(1.08rem,1rem + .35vw,1.25rem);font-weight:700}
.ttm-pkg p{margin:0 0 1rem}
.ttm-pkg a{color:var(--accent);text-decoration:none;font-weight:600}
.ttm-pkg a:hover{text-decoration:underline}

/* --- section rhythm --------------------------------------------------- */

.ttm-sec{
  margin:0 0 2.25rem;
  padding:0 0 2.25rem;
  border-bottom:1px solid var(--line);
}
.ttm-sec:last-of-type{border-bottom:0}
.ttm-sec__more{margin:1rem 0 0;font-size:.95rem;color:var(--muted)}

/* --- 1. quick answer capsule ------------------------------------------ */

.ttm-answer{
  position:relative;
  margin:0 0 1.5rem;
  padding:1.35rem 1.5rem 1.4rem;
  background:linear-gradient(150deg,var(--mint),#fff 85%);
  border:1px solid #CFEBD1;
  border-left:5px solid var(--green);
  border-radius:var(--radius);
}
.ttm-answer__label{
  margin:0 0 .4rem;
  font-size:.68rem;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#2F7A31;
}
.ttm-answer__text{
  margin:0;
  font-size:1.06rem;
  line-height:1.65;
  font-weight:500;
  color:var(--ink);
}

/* --- 2. facts strip --------------------------------------------------- */

.ttm-pkg .ttm-facts{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.7rem;
  margin:0 0 1.75rem;
}
.ttm-pkg .ttm-facts__item{
  padding:.9rem 1rem;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  box-shadow:0 1px 2px rgba(28,45,29,.04);
}
.ttm-pkg .ttm-facts__item span{
  display:block;
  font-size:.66rem;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--accent);
}
.ttm-pkg .ttm-facts__item strong{
  display:block;
  margin-top:.25rem;
  font-family:"Taviraj",Georgia,serif;
  font-size:1.22rem;
  font-weight:700;
  color:var(--ink);
  line-height:1.2;
}
.ttm-pkg .ttm-facts__item em{
  display:block;
  margin-top:.15rem;
  font-style:normal;
  font-size:.74rem;
  color:var(--muted);
}

/* --- 3. key takeaways ------------------------------------------------- */

.ttm-takeaways{
  margin:0 0 2.25rem;
  padding:1.4rem 1.5rem;
  background:var(--ink);
  border-radius:var(--radius);
  color:#E8F0E8;
}
.ttm-takeaways h2{margin:0 0 .85rem;color:#fff;font-size:1.15rem}
.ttm-takeaways ul{margin:0;padding:0;list-style:none;display:grid;gap:.55rem}
.ttm-takeaways li{
  position:relative;
  padding-left:1.5rem;
  font-size:.95rem;
  line-height:1.55;
}
.ttm-takeaways li::before{
  content:"";
  position:absolute;
  left:0;top:.58rem;
  width:.45rem;height:.45rem;
  border-radius:50%;
  background:var(--green);
}
.ttm-takeaways strong{color:#fff}

/* --- lists ------------------------------------------------------------ */

.ttm-cols{display:grid;gap:1.25rem}
.ttm-col h3{margin-bottom:.5rem}

.ttm-list{margin:.3rem 0 1rem;padding:0;list-style:none;display:grid;gap:.5rem}
.ttm-list li{position:relative;padding-left:1.65rem;font-size:.97rem;line-height:1.6}
.ttm-list li::before{
  position:absolute;left:0;top:.05rem;
  width:1.1rem;height:1.1rem;
  display:grid;place-items:center;
  border-radius:50%;
  font-size:.7rem;font-weight:700;line-height:1;
}
.ttm-list--yes li::before{content:"✓";background:#DFF5E0;color:#2F7A31}
.ttm-list--no li::before{content:"–";background:#F1F3F1;color:#77837A}
.ttm-list--swap li::before{content:"→";background:#E1F1FB;color:var(--accent)}
.ttm-list--plain li{padding-left:1.1rem}
.ttm-list--plain li::before{
  content:"";top:.62rem;width:.4rem;height:.4rem;background:var(--accent);
}

/* --- hotels ----------------------------------------------------------- */

.ttm-hotel{
  padding:1.1rem 1.25rem;
  margin:0 0 .85rem;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
}
.ttm-hotel h3{margin:0 0 .4rem;font-size:1.1rem}
.ttm-hotel p{margin:0;font-size:.95rem;color:#38463A}

.ttm-note{
  margin:1rem 0 0;
  padding:1rem 1.15rem;
  background:#FFF8E8;
  border:1px solid #F0DFB8;
  border-radius:12px;
  font-size:.92rem;
  line-height:1.6;
}
.ttm-note p{margin:0}

/* --- tables ----------------------------------------------------------- */

.ttm-table-wrap{margin:1.1rem 0 0;overflow-x:auto;-webkit-overflow-scrolling:touch}
.ttm-table{
  width:100%;
  min-width:520px;
  border-collapse:separate;
  border-spacing:0;
  font-size:.93rem;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
}
.ttm-table th{
  background:var(--mint);
  color:var(--ink);
  text-align:left;
  font-size:.7rem;
  font-weight:800;
  letter-spacing:.09em;
  text-transform:uppercase;
  padding:.7rem .85rem;
  border-bottom:1px solid var(--line);
}
.ttm-table td{
  padding:.75rem .85rem;
  border-bottom:1px solid #EEF3EE;
  vertical-align:top;
  line-height:1.55;
}
.ttm-table tr:last-child td{border-bottom:0}
.ttm-table td:first-child{font-weight:700;white-space:nowrap;color:var(--ink)}
.ttm-table-wrap figcaption{
  margin:.55rem 0 0;
  font-size:.82rem;
  color:var(--muted);
  line-height:1.5;
}

/* --- checklist -------------------------------------------------------- */

.ttm-checklist{
  margin:1.25rem 0 0;
  padding:1.15rem 1.3rem;
  background:var(--mint);
  border-radius:14px;
}
.ttm-checklist h3{margin:0 0 .6rem;font-size:1.02rem}
.ttm-checklist ul{margin:0;padding:0;list-style:none;display:grid;gap:.45rem}
.ttm-checklist li{position:relative;padding-left:1.5rem;font-size:.93rem}
.ttm-checklist li::before{
  content:"✓";position:absolute;left:0;top:0;
  color:#2F7A31;font-weight:800;font-size:.85rem;
}

/* --- CTA -------------------------------------------------------------- */

.ttm-cta{
  margin:0 0 2.25rem;
  padding:1.6rem 1.6rem 1.7rem;
  background:linear-gradient(145deg,var(--ink),#26402A);
  border-radius:var(--radius);
  color:#E8F0E8;
}
.ttm-cta h2{margin:0 0 .5rem;color:#fff;font-size:1.3rem}
.ttm-cta p{margin:0 0 1rem;font-size:.97rem;color:#CDDCCE}
.ttm-cta__actions{display:flex;flex-wrap:wrap;gap:.6rem;margin:0}

.ttm-pkg .ttm-btn{
  display:inline-block;
  padding:.72rem 1.35rem;
  border-radius:999px;
  font-weight:700;
  font-size:.95rem;
  text-decoration:none;
  transition:transform .15s ease,box-shadow .15s ease,background .15s ease;
}
.ttm-pkg .ttm-btn:hover{transform:translateY(-1px);text-decoration:none}
.ttm-pkg .ttm-btn--primary{background:var(--accent);color:#fff;box-shadow:0 6px 16px rgba(2,132,199,.3)}
.ttm-pkg .ttm-btn--primary:hover{background:#0272ad}
.ttm-pkg .ttm-btn--ghost{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.45)}
.ttm-pkg .ttm-btn--ghost:hover{background:rgba(255,255,255,.1)}

/* --- FAQ accordion ---------------------------------------------------- */

.ttm-faq__item{
  border:1px solid var(--line);
  border-radius:12px;
  margin:0 0 .6rem;
  background:#fff;
  overflow:hidden;
}
.ttm-faq__item summary{
  cursor:pointer;
  list-style:none;
  padding:.95rem 2.6rem .95rem 1.15rem;
  position:relative;
  background:#fff;
  transition:background .15s ease;
}
.ttm-faq__item summary::-webkit-details-marker{display:none}
.ttm-faq__item summary:hover{background:#FAFCFA}
.ttm-faq__item summary h3{
  margin:0;
  font-size:1.02rem;
  font-weight:700;
  display:inline;
}
.ttm-faq__item summary::after{
  content:"";
  position:absolute;
  right:1.15rem;top:50%;
  width:.55rem;height:.55rem;
  border-right:2px solid var(--accent);
  border-bottom:2px solid var(--accent);
  transform:translateY(-70%) rotate(45deg);
  transition:transform .2s ease;
}
.ttm-faq__item[open] summary::after{transform:translateY(-20%) rotate(-135deg)}
.ttm-faq__item[open] summary{background:var(--mint)}
.ttm-faq__a{padding:.2rem 1.15rem 1.05rem}
.ttm-faq__a p{margin:0;font-size:.96rem;color:#38463A;line-height:1.65}

/* --- sources ---------------------------------------------------------- */

.ttm-sources{
  margin:1.5rem 0 0;
  padding:1.25rem 1.4rem;
  background:#F7FAF7;
  border:1px solid var(--line);
  border-radius:14px;
}
.ttm-sources h2{font-size:1.05rem;margin:0 0 .6rem}
.ttm-sources ul{margin:0 0 .8rem;padding:0 0 0 1.1rem;display:grid;gap:.35rem}
.ttm-sources li{font-size:.92rem}
.ttm-sources p{margin:0;font-size:.85rem;color:var(--muted)}


/* ==========================================================================
   /packages — filterable deal list
   ========================================================================== */

.ttm-browse{
  --ink:#1C2D1D;--accent:#0284C7;--green:#5BC458;--mint:#EFFFEF;
  --muted:#5A665C;--line:#E3EBE4;--paper:#FBFAF7;
  font-family:"Open Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  color:var(--ink);
}

/* --- toolbar ---------------------------------------------------------- */

.ttm-browse__bar{
  display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1rem;
  padding:.85rem 1.1rem;
  margin:0 0 1.15rem;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
}
.ttm-browse__count{
  margin:0;display:flex;align-items:center;gap:.35rem;
  font-size:.86rem;color:var(--muted);
  padding:.35rem .75rem;background:var(--mint);border-radius:999px;
}
.ttm-browse__count strong{font-size:.95rem;color:var(--ink)}

.ttm-browse__sorts{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem}
.ttm-browse__sortlabel{
  font-size:.68rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;
  color:var(--muted);margin-right:.2rem;
}
.ttm-browse__sorts button{
  font-family:inherit;font-size:.83rem;font-weight:700;
  padding:.45rem .85rem;border-radius:999px;
  border:1.5px solid var(--line);background:#fff;color:var(--ink);
  cursor:pointer;transition:background .15s ease,color .15s ease,border-color .15s ease;
}
.ttm-browse__sorts button:hover{border-color:var(--accent);color:var(--accent)}
.ttm-browse__sorts button[aria-pressed="true"]{
  background:var(--ink);border-color:var(--ink);color:#fff;
}

.ttm-browse__search{margin-left:auto;position:relative;flex:1 1 200px;max-width:280px}
.ttm-browse__search input{
  width:100%;font-family:inherit;font-size:.88rem;
  padding:.55rem .9rem .55rem 2.1rem;
  border:1.5px solid var(--line);border-radius:999px;
  background:var(--paper);color:var(--ink);
}
.ttm-browse__search input:focus{outline:2px solid var(--accent);outline-offset:1px;background:#fff}
.ttm-browse__search::before{
  content:"";position:absolute;left:.85rem;top:50%;
  width:.7rem;height:.7rem;margin-top:-.45rem;
  border:1.8px solid var(--muted);border-radius:50%;
}
.ttm-browse__search::after{
  content:"";position:absolute;left:1.5rem;top:55%;
  width:.35rem;height:1.8px;background:var(--muted);
  transform:rotate(45deg);
}

/* --- layout ----------------------------------------------------------- */

.ttm-browse__layout{display:grid;grid-template-columns:1fr;gap:1.15rem;align-items:start}
.ttm-browse__main{min-width:0}

/* --- filter rail ------------------------------------------------------ */

.ttm-filters{
  background:#fff;border:1px solid var(--line);border-radius:14px;
  padding:1rem 1.1rem 1.15rem;
}
.ttm-filters__head{
  display:flex;align-items:center;justify-content:space-between;gap:.5rem;
  padding-bottom:.7rem;margin-bottom:.4rem;border-bottom:1px solid var(--line);
}
.ttm-filters__head span{
  font-size:.68rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);
}
.ttm-filters__head button{
  font-family:inherit;font-size:.8rem;font-weight:700;
  background:none;border:0;color:var(--accent);cursor:pointer;padding:.15rem .2rem;
}
.ttm-filters__head button:hover{text-decoration:underline}

.ttm-filters__group{border:0;margin:.9rem 0 0;padding:0}
.ttm-filters__group legend{
  padding:0;margin:0 0 .45rem;
  font-size:.7rem;font-weight:800;letter-spacing:.11em;text-transform:uppercase;color:var(--ink);
}

.ttm-filters__opt{
  display:flex;align-items:center;gap:.6rem;
  padding:.42rem .55rem;margin:0 -.55rem;
  border-radius:8px;cursor:pointer;
  font-size:.88rem;line-height:1.3;
  transition:background .12s ease;
}
.ttm-filters__opt:hover{background:var(--paper)}
.ttm-filters__opt input{position:absolute;opacity:0;width:0;height:0}
.ttm-filters__box{
  flex:0 0 auto;width:1.05rem;height:1.05rem;
  border:1.8px solid #C6D2C7;border-radius:5px;background:#fff;
  position:relative;transition:background .12s ease,border-color .12s ease;
}
.ttm-filters__opt input:checked + .ttm-filters__box{background:var(--accent);border-color:var(--accent)}
.ttm-filters__opt input:checked + .ttm-filters__box::after{
  content:"";position:absolute;left:.29rem;top:.1rem;
  width:.28rem;height:.55rem;
  border:solid #fff;border-width:0 2px 2px 0;
  transform:rotate(45deg);
}
.ttm-filters__opt input:focus-visible + .ttm-filters__box{outline:2px solid var(--accent);outline-offset:2px}
.ttm-filters__text{flex:1;min-width:0}
.ttm-filters__opt input:checked ~ .ttm-filters__text{font-weight:700}
.ttm-filters__n{
  flex:0 0 auto;font-size:.74rem;color:var(--muted);
  background:var(--paper);border-radius:999px;padding:.1rem .45rem;
}

/* --- deal cards ------------------------------------------------------- */

.ttm-deals{display:grid;gap:1rem}

.ttm-deal{
  display:grid;
  grid-template-columns:1fr;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  transition:box-shadow .18s ease,border-color .18s ease,transform .18s ease;
}
.ttm-deal:hover{
  border-color:#CFE0D1;
  box-shadow:0 12px 28px rgba(28,45,29,.1);
  transform:translateY(-2px);
}

.ttm-deal__media{
  position:relative;display:block;
  aspect-ratio:16/10;background:var(--mint);overflow:hidden;
}
.ttm-deal__media img{width:100%;height:100%;object-fit:cover;display:block}

.ttm-deal__badges{position:absolute;top:.7rem;left:.7rem;display:flex;gap:.35rem;flex-wrap:wrap}
.ttm-deal__badge{
  font-size:.66rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase;
  padding:.32rem .65rem;border-radius:999px;color:#fff;white-space:nowrap;
}
.ttm-deal__badge--grade{background:var(--green)}
.ttm-deal__badge--nights{background:rgba(28,45,29,.9)}

.ttm-deal__body{
  display:flex;flex-direction:column;
  padding:1.05rem 1.15rem 1.15rem;min-width:0;
}
.ttm-deal__eyebrow{
  margin:0 0 .3rem;
  font-size:.67rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;
  color:var(--accent);
}
.ttm-deal__title{
  margin:0 0 .35rem;
  font-family:"Taviraj",Georgia,serif;
  font-size:1.2rem;font-weight:700;line-height:1.3;
}
.ttm-deal__title a{color:var(--ink);text-decoration:none}
.ttm-deal__title a:hover{color:var(--accent);text-decoration:underline}

.ttm-deal__meta{margin:0 0 .2rem;font-size:.86rem;color:#455647}
.ttm-deal__meta span{color:var(--accent);font-weight:700}
.ttm-deal__inc{margin:0;font-size:.78rem;color:var(--muted)}

.ttm-deal__foot{
  display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;
  gap:.75rem;
  margin-top:auto;padding-top:.9rem;
}
.ttm-deal__price{margin:0;line-height:1.1}
.ttm-deal__price strong{
  display:block;
  font-family:"Taviraj",Georgia,serif;
  font-size:1.75rem;font-weight:700;color:var(--ink);
}
.ttm-deal__price span{font-size:.75rem;color:var(--muted)}

.ttm-deal__actions{display:flex;gap:.5rem;flex-wrap:wrap}
.ttm-deal__enquire,
.ttm-deal__view{
  font-size:.86rem;font-weight:700;text-decoration:none;
  padding:.58rem 1.05rem;border-radius:999px;
  transition:background .15s ease,color .15s ease,border-color .15s ease;
  white-space:nowrap;
}
.ttm-deal__enquire{border:1.5px solid var(--line);color:var(--ink);background:#fff}
.ttm-deal__enquire:hover{border-color:var(--accent);color:var(--accent);text-decoration:none}
.ttm-deal__view{background:var(--ink);color:#fff}
.ttm-deal__view:hover{background:var(--accent);color:#fff;text-decoration:none}

/* --- empty state ------------------------------------------------------ */

.ttm-browse__empty{
  margin:1.5rem 0 0;padding:2rem 1rem;text-align:center;
  background:#fff;border:1px dashed var(--line);border-radius:14px;
  color:var(--muted);font-size:.95rem;
}
.ttm-browse__empty button{
  font-family:inherit;font-size:.9rem;font-weight:700;
  background:none;border:0;color:var(--accent);cursor:pointer;text-decoration:underline;
}

/* --- responsive ------------------------------------------------------- */

@media (min-width:620px){
  .ttm-deal{grid-template-columns:minmax(210px,34%) 1fr}
  .ttm-deal__media{aspect-ratio:auto;height:100%;min-height:210px}
}

@media (min-width:900px){
  .ttm-browse__layout{grid-template-columns:250px 1fr;gap:1.35rem}
  .ttm-filters{position:sticky;top:1rem}
}

@media (max-width:619px){
  .ttm-browse__bar{padding:.75rem .85rem}
  .ttm-browse__search{margin-left:0;max-width:none;flex-basis:100%}
  .ttm-deal__foot{flex-direction:column;align-items:stretch}
  .ttm-deal__actions{display:grid;grid-template-columns:1fr 1fr}
  .ttm-deal__enquire,.ttm-deal__view{text-align:center}
}

@media (prefers-reduced-motion:reduce){
  .ttm-deal{transition:none}
  .ttm-deal:hover{transform:none}
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (min-width:600px){
  .ttm-pkg .ttm-facts{grid-template-columns:repeat(4,minmax(0,1fr))}
  .ttm-cols{grid-template-columns:1fr 1fr;gap:1.75rem}
  .ttm-takeaways ul{grid-template-columns:1fr 1fr;gap:.55rem 1.4rem}
  .ttm-pkg-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (min-width:1000px){
  .ttm-pkg-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media (max-width:599px){
  .ttm-answer{padding:1.15rem 1.15rem 1.2rem}
  .ttm-answer__text{font-size:1rem}
  .ttm-cta{padding:1.3rem 1.2rem 1.4rem}
  .ttm-cta__actions .ttm-btn{flex:1;text-align:center}
  .ttm-sec{margin-bottom:1.85rem;padding-bottom:1.85rem}
}

@media (prefers-reduced-motion:reduce){
  .ttm-card,.ttm-pkg .ttm-btn,.ttm-faq__item summary::after{transition:none}
  .ttm-card:hover,.ttm-pkg .ttm-btn:hover{transform:none}
}

/* lead / overview paragraph */
.ttm-sec--lead .ttm-lead{
  font-size:1.05rem;
  line-height:1.72;
  color:#334135;
  margin:0;
}

/* /packages runs full width — the browser has its own filter rail, so the
   blog sidebar is suppressed for this page. */
.ttm-blog-layout--full{grid-template-columns:minmax(0,1fr)!important}
.ttm-blog-layout--full .ttm-blog-main{max-width:none}
