#mt-home-search{position:relative;margin-top:20px;margin-bottom:22px;direction:rtl}
.carousel-home + #mt-home-search{margin-top:64px}
#mt-home-search *,#mth-calendar *{box-sizing:border-box}
#mt-home-search [hidden],#mth-calendar[hidden],#mth-calendar-backdrop[hidden]{display:none!important}
#mt-home-search .mth-search-panel{border:1px solid #e1e3e9;border-radius:22px;background:#fff;padding:22px 26px 18px;box-shadow:0 8px 28px #0c154a0e}
#mt-home-search .mth-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
#mt-home-search h2{color:#0c154a;font-size:19px;font-weight:700;line-height:1.6;margin:0}
#mt-home-search h2 i{font-size:18px;margin-left:6px;color:#25a7b9}
#mt-home-search .mth-title-row>span{font-size:13px;color:#6b7280}
#mt-home-search .mth-primary-row{display:flex;gap:12px}
#mt-home-search label,#mt-home-search .mth-date-field,#mt-home-search .mth-query{display:flex;flex-direction:column;gap:4px;min-width:0;border:1px solid #dfe2e8;border-radius:12px;background:#fff;padding:8px 14px;margin:0}
#mt-home-search label>span,#mt-home-search .mth-date-field>span{color:#687285;font-size:12px;line-height:1.4;font-weight:400}
#mt-home-search .mth-query{flex:1}
#mt-home-search input:not([type=hidden]),#mt-home-search select{font:inherit;background:#fff;border:0;box-shadow:none;outline-offset:4px;color:#27324d;min-width:0;width:100%;height:auto;min-height:28px;padding:0;font-size:15px;line-height:1.6}
#mt-home-search input::placeholder{color:#737e90;opacity:1}
#mt-home-search select{appearance:auto;display:block!important}
#mt-home-search .nice-select{display:none!important}
#mt-home-search .mth-submit{background:#0c154a;color:#fff;border:0;display:flex;align-items:center;justify-content:center;gap:9px;border-radius:12px;padding:10px 35px;font:inherit;font-size:16px;font-weight:600;min-height:60px;cursor:pointer}
#mt-home-search .mth-submit i{font-size:18px}
#mt-home-search .mth-filter-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}
#mt-home-search #mth-date-trigger{border:0;background:#fff;padding:0;min-height:28px;display:flex;align-items:center;justify-content:space-between;gap:8px;color:#27324d;font:inherit;font-size:15px;cursor:pointer;width:100%;text-align:right;line-height:1.6}
#mt-home-search #mth-date-trigger span:first-child{overflow-wrap:anywhere}
#mt-home-search .mth-date-field:focus-within{border-color:#0c154a;box-shadow:0 0 0 2px #0c154a0c}
#mt-home-search .mth-suggestions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px;font-size:12px;color:#687285}
#mt-home-search .mth-suggestions button{font:inherit;border:1px solid #e4e7ec;border-radius:8px;padding:4px 12px;color:#687285;background:#fff;min-height:32px;cursor:pointer}
#mt-home-search button:focus-visible,#mt-home-search input:focus-visible,#mt-home-search select:focus-visible,#mth-calendar button:focus-visible{outline:2px solid #087e90;outline-offset:3px}
#mt-home-search .mth-error{color:#9c1428;background:#fff3f4;border-radius:9px;padding:10px;margin-bottom:12px;font-size:14px}
#mth-calendar-backdrop{position:fixed;inset:0;background:transparent;z-index:100050}
body.mth-calendar-open .float-wathsapp{display:none!important;pointer-events:none!important}
#mth-calendar{position:fixed;top:var(--mth-calendar-top,0);left:var(--mth-calendar-left,0);right:auto;width:370px;max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px);overflow:auto;overscroll-behavior:contain;padding:16px;background:#fff;border:1px solid #e0e4ed;border-radius:18px;box-shadow:0 14px 54px #101b4630;color:#26314b;z-index:100051;font-family:inherit;font-size:14px;line-height:1.6;direction:rtl}
#mth-calendar button{font:inherit;cursor:pointer;border:0;min-width:0}
#mth-calendar .mth-calendar-handle{display:none}
#mth-calendar .mth-calendar-header{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:0 0 12px;border:0;background:none;box-shadow:none}
#mth-calendar .mth-calendar-header strong{font-size:17px;color:#0c154a}
#mth-calendar .mth-calendar-header button{width:30px;height:30px;background:#f4f5f8;border-radius:8px;color:#626f85;font-size:22px;line-height:24px}
#mth-calendar .mth-calendar-presets{display:flex;gap:8px;margin-bottom:14px}
#mth-calendar .mth-calendar-presets button{flex:1;border:1px solid #e2e5ed;border-radius:8px;min-height:36px;background:#fff;font-size:12px;color:#5b6579;padding:5px 3px}
#mth-calendar .mth-calendar-range{background:#f4f6fb;border-radius:10px;display:grid;grid-template-columns:1fr 18px 1fr;gap:7px;align-items:center;padding:10px 14px;margin-bottom:12px}
#mth-calendar .mth-calendar-range div{display:flex;flex-direction:column;gap:3px;min-width:0}
#mth-calendar .mth-calendar-range div>span{font-size:11px;color:#626e83}
#mth-calendar .mth-calendar-range b{font-size:14px;color:#0c154a;font-weight:600}
#mth-calendar .mth-calendar-range>span{color:#626e83}
#mth-calendar .mth-calendar-month{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
#mth-calendar .mth-calendar-month button{width:32px;height:32px;border-radius:8px;border:1px solid #e5e8ef;font-size:24px;line-height:26px;background:#fff;color:#5e6c82}
#mth-calendar .mth-calendar-month button:disabled{opacity:.35;cursor:default}
#mth-calendar .mth-calendar-month strong{font-size:15px;font-weight:600}
#mth-calendar .mth-calendar-week,#mth-calendar .mth-calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));text-align:center}
#mth-calendar .mth-calendar-week{font-size:12px;color:#647086;margin-bottom:6px}
#mth-calendar .mth-calendar-week span{padding:4px 0}
#mth-calendar .mth-calendar-days{gap:4px 0}
#mth-calendar .mth-calendar-days button,#mth-calendar .mth-calendar-days>span{height:36px;background:#fff;display:grid;place-items:center;border-radius:0;color:#36415b;font-size:14px;padding:0}
#mth-calendar .mth-calendar-days button:disabled{color:#a3acbb;cursor:default}
#mth-calendar .mth-calendar-days .mth-in-range{background:#edf0fa}
#mth-calendar .mth-calendar-days .mth-boundary{background:#0c154a;color:#fff;border-radius:8px}
#mth-calendar .mth-calendar-days .mth-today{box-shadow:inset 0 0 0 1px #087e90;border-radius:8px}
#mth-calendar .mth-calendar-note{font-size:12px;color:#687285;margin:8px 0 0}
#mth-calendar .mth-calendar-footer{background:none;display:flex;gap:10px;align-items:center;margin-top:12px;padding:12px 0 0;border-top:1px solid #ebedf2}
#mth-calendar #mth-calendar-apply{flex:1;background:#0c154a;color:#fff;border-radius:9px;min-height:42px;font-size:14px;font-weight:600}
#mth-calendar #mth-calendar-apply:disabled{opacity:.45;cursor:default}
#mth-calendar #mth-calendar-clear{padding:7px 14px;color:#5e6b82;background:transparent;font-size:13px}
#mt-home-search + #imn-country-cards{margin-top:24px!important}
#mth-results{margin-top:30px;margin-bottom:40px;direction:rtl}
#mth-results .mth-results-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:22px}
#mth-results h1{font-size:24px;color:#0c154a;margin:0}
#mth-results .mth-results-heading>span{color:#687285}
#mth-results .mth-results-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
#mth-results .mth-result-card{background:#fff;border:1px solid #e1e3e9;border-radius:20px;overflow:hidden;min-width:0}
#mth-results .mth-result-image{display:block;background:#f1f3f5;aspect-ratio:680/382;overflow:hidden}
#mth-results .mth-result-image img{width:100%;height:100%;object-fit:contain;display:block}
#mth-results .mth-result-body{padding:18px}
#mth-results .mth-result-place{color:#087e90;font-size:13px}
#mth-results h2{font-size:17px;line-height:1.8;margin:8px 0 14px;overflow-wrap:anywhere}
#mth-results h2 a{color:#0c154a}
#mth-results .mth-result-dates{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:12px;background:#f7f8fa;border-radius:10px;font-size:13px;color:#626d82}
#mth-results .mth-result-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:18px;font-size:13px;color:#626d82}
#mth-results .mth-result-footer b{font-size:16px;color:#27324d}
#mth-results .mth-result-footer>a{background:#25a7b9;color:#fff;padding:9px 15px;border-radius:10px;white-space:nowrap}
#mth-results .mth-results-pagination{margin:24px 0}
#mth-results .mth-no-results{padding:30px;background:#fff;border:1px solid #e1e3e9;border-radius:18px;text-align:center}
#mth-results .mth-no-results p{margin:14px 0;color:#687285}
#mth-results .mth-no-results a{color:#087e90}
@media(max-width:1199px){#mth-results .mth-results-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){
 #mt-home-search{margin-top:14px;padding-inline:16px}
 .carousel-home + #mt-home-search{margin-top:44px}
 #mt-home-search .mth-search-panel{padding:16px 14px 14px;border-radius:18px}
 #mt-home-search .mth-title-row{display:block;margin-bottom:12px}
 #mt-home-search h2{font-size:17px}
 #mt-home-search .mth-title-row>span{display:none}
 #mt-home-search .mth-primary-row{display:flex;flex-direction:column;gap:10px}
 #mt-home-search .mth-submit{min-height:46px;padding:8px 16px;order:2}
 #mt-home-search .mth-filter-row{grid-template-columns:1fr 1fr;gap:9px;margin-top:10px}
 #mt-home-search .mth-filter-row .mth-date-field{grid-column:1/-1}
 #mt-home-search label,#mt-home-search .mth-date-field,#mt-home-search .mth-query{padding:7px 11px;gap:3px}
 #mt-home-search input:not([type=hidden]),#mt-home-search select,#mt-home-search #mth-date-trigger{font-size:16px;min-height:30px}
 #mt-home-search .mth-suggestions{gap:6px;margin-top:10px;font-size:12px}
 #mt-home-search .mth-suggestions button{padding:5px 9px;min-height:40px}
 #mth-calendar-backdrop{background:#0b153b69;backdrop-filter:blur(1px)}
 #mth-calendar{position:fixed;bottom:0;top:auto;left:0;right:0;width:100%;max-width:none;max-height:94dvh;border-radius:24px 24px 0 0;border:0;padding:10px 20px max(22px,env(safe-area-inset-bottom));box-shadow:0 -10px 45px #101b4626}
 #mth-calendar .mth-calendar-handle{display:block;width:40px;height:4px;border-radius:4px;background:#dce0e7;margin:0 auto 13px}
 #mth-calendar .mth-calendar-header{padding-bottom:13px}
 #mth-calendar .mth-calendar-header button{width:40px;height:40px}
 #mth-calendar .mth-calendar-presets button{min-height:42px}
 #mth-calendar .mth-calendar-days button,#mth-calendar .mth-calendar-days>span{height:40px}
 #mth-calendar .mth-calendar-month button{width:40px;height:40px}
 #mth-calendar #mth-calendar-apply{min-height:46px}
 #mth-results .mth-results-grid{grid-template-columns:1fr}
 #mth-results h1{font-size:21px}
}
@media(prefers-reduced-motion:reduce){#mth-calendar *,#mt-home-search *{scroll-behavior:auto!important}}

/* Header search popup — 2026-11-06 */
#mth-search-dialog[hidden],#mth-search-overlay[hidden]{display:none!important}
#mth-search-overlay{position:fixed;inset:0;background:rgba(12,21,55,.5);z-index:100040;backdrop-filter:blur(3px)}
#mth-search-dialog{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);width:min(960px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain;z-index:100041;background:#fff;color:#27324d;border:1px solid #e1e3e9;border-radius:22px;box-shadow:0 24px 80px #0c154a40;font:inherit;box-sizing:border-box}
#mth-search-dialog .mth-popup-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 24px;border-bottom:1px solid #edf0f5;color:#0c154a;font-size:19px}
#mth-search-dialog [data-mth-search-close]{width:40px;height:40px;border:0;border-radius:10px;background:#f2f4f8;font:inherit;font-size:26px;cursor:pointer;color:#33415b}
#mth-search-dialog #mt-home-search{width:100%;max-width:none;padding:0;margin:0}
#mth-search-dialog #mt-home-search .mth-search-panel{border:0;box-shadow:none;border-radius:0;padding:22px 24px}
body.mth-search-open .float-wathsapp{display:none!important;pointer-events:none!important}
.mth-edit-search{background:#0c154a;color:white;border:0;border-radius:10px;padding:10px 16px;font:inherit;cursor:pointer}
@media(max-width:767px){#mth-search-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:18px}#mth-search-dialog .mth-popup-heading{font-size:17px;padding:12px 16px}#mth-search-dialog #mt-home-search .mth-search-panel{padding:16px}#mth-search-dialog .mth-title-row{align-items:flex-start}#mth-search-dialog .mth-title-row>span{display:none}}

#mth-search-dialog .mth-popup-heading {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-end: 16px;
  padding: 0;
  border: 0;
  z-index: 1;
}
#mth-search-dialog #mt-home-search .mth-search-panel { padding-block-start: 18px; }
#mt-home-search .mth-search-intro {
  min-height: 32px;
  margin: 0 0 10px;
  padding-inline-end: 52px;
  color: #52617a;
  font-size: 13px;
}
#mt-home-search .mth-query { justify-content: center; }
#mt-home-search .mth-query input::placeholder { font-size: 12px; font-weight: 400; }
#mth-results .mth-results-heading { flex-wrap: wrap; gap: 12px; }
#mth-results .mth-program-heading, #mth-results .mth-article-results h2 { font-size: 18px; margin: 20px 0 10px; }
#mth-results .mth-article-results ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
#mth-results .mth-article-results li { border: 1px solid #e1e3e9; border-radius: 12px; background: #fff; padding: 12px 16px; overflow-wrap: anywhere; }
#mth-results .mth-article-results h3 { font-size: 16px; line-height: 1.6; margin: 0; }
#mth-results .mth-article-results p { font-size: 13px; line-height: 1.65; margin: 5px 0 0; color: #52617a; }
#mth-results .mth-more-articles { display: inline-block; padding: 10px 0; text-decoration: underline; }
@media (max-width: 767px) {
  #mth-search-dialog .mth-popup-heading { inset-inline-end: 12px; }
  #mt-home-search .mth-filter-row > label[for="mth-service"] { grid-column: 1 / -1; }
  #mt-home-search .mth-filter-row .mth-date-field { grid-column: auto; }
  #mth-results .mth-article-results ul { grid-template-columns: 1fr; }
}

.mth-listing-dates { margin-block-end: 12px; min-width: 0; }
.mth-listing-dates .mth-listing-date-trigger {
  display: flex; width: 100%; min-height: 52px; height: auto; gap: 8px;
  align-items: center; justify-content: space-between; text-align: start;
  padding: 8px 12px; cursor: pointer; color: #27324d;
}
.mth-listing-date-label, [data-mth-listing-value] { display: block; }
.mth-listing-date-label { font-size: 12px; color: #52617a; }
[data-mth-listing-value] { font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }
.mth-listing-mobile { display: flex; gap: 8px; align-items: stretch; margin-block: 8px 16px; }
.mth-listing-mobile .mth-listing-dates { flex: 1; margin: 0; }
.mth-listing-mobile .btn { flex-shrink: 0; padding-inline: 12px; }
.mth-listing-empty { color: #35425b; padding-block: 16px; }


.mth-autocomplete .mth-live-list {
  display: block;
  list-style: none;
  max-height: min(250px, 34dvh);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 4px;
  margin: 6px 0 0;
  background: #fff;
  border: 1px solid #dfe2e8;
  border-radius: 10px;
  color: #172343;
}
.mth-autocomplete .mth-live-list[hidden] { display: none !important; }
.mth-live-list [role="option"] {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 9px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.mth-live-list [role="option"]:hover,
.mth-live-list [aria-selected="true"] { background: #edf3fa; }
.mth-live-list small { flex: none; font-size: 11px; color: #52617a; }
#mt-home-search .mth-primary-row > button { align-self: flex-start; }
#frmSearch .mth-live-list {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  z-index: 5;
  box-shadow: 0 6px 18px #17234320;
}
@media (max-width: 767px) {
  #mt-home-search .mth-primary-row > button { align-self: stretch; }
  #mt-home-search #mth-keyword { font-size: 16px; }
}
