@import url('https://fonts.googleapis.com/css2?family=Noto+Naskh+Arabic:wght@400;500;600;700&family=Noto+Sans+Arabic:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@400;500;600;700;800&family=Source+Serif+4:opsz,wght@8..60,400;8..60,500;8..60,600;8..60,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@400;500;600;700;800&family=Source+Serif+4:opsz,wght@8..60,400;8..60,500;8..60,600;8..60,700&display=swap');
/* ==========================================================
   Morocco To Invest — modern news refresh (custom CSS layer)
   Remove this block to return to the original design.
   ========================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Source+Serif+4:opsz,wght@8..60,400;8..60,600;8..60,700&family=UnifrakturMaguntia&display=swap');

:root {
  --mti-ink: #0e1a2b;
  --mti-text: #1f2833;
  --mti-muted: #5f6b7a;
  --mti-accent: #c1272d;     /* Moroccan red */
  --mti-accent-dark: #9e1c22;
  --mti-green: #0b7a55;
  --mti-line: #e5e7eb;
  --mti-soft: #f5f6f8;
  --mti-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mti-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
}

/* ---------- Base typography ---------- */
body {
  font-family: var(--mti-serif) !important;
  color: var(--mti-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6,
.s-title, .entry-title, .entry-title a, .p-url {
  font-family: var(--mti-serif) !important;
  font-weight: 700 !important;
  color: var(--mti-ink);
  letter-spacing: -0.01em;
}
a { transition: color .15s ease; }

/* ---------- Header ---------- */
.header-wrap { background: #fff; }
.header-wrap .the-logo { background: transparent !important; }
.header-wrap .the-logo img { display: none !important; }
.header-wrap .the-logo a {
  display: inline-block !important;
  text-decoration: none !important;
  white-space: nowrap;
}
/* Telegraph-style blackletter masthead */
.header-wrap .the-logo a::before {
  content: "Morocco to Invest";
  font-family: 'UnifrakturMaguntia', 'Old English Text MT', serif;
  font-weight: 400;
  font-size: 50px;
  line-height: 1.1;
  letter-spacing: 0;
  color: var(--mti-ink);
}
/* centre the masthead, keep the dark-mode switch on the right */
.header-wrap .elementor-element-3a636a9 > .e-con-inner,
.header-wrap .elementor-element-3a636a9 {
  position: relative;
  justify-content: center !important;
}
.header-wrap .elementor-element-3a636a9 > .e-con-inner { grid-template-columns: 1fr !important; }
.header-wrap .elementor-element-3a636a9 { padding-top: 18px !important; padding-bottom: 6px !important; }
.header-wrap .elementor-element-eb2289e { width: auto !important; max-width: none !important; justify-self: center !important; text-align: center; }
.header-wrap .elementor-element-eb2289e .the-logo { justify-content: center; }


.header-wrap .elementor-element-f366324 {
  position: absolute !important;
  right: 0; top: 50%; transform: translateY(-50%);
  width: auto !important;
}
.header-wrap .current-date {
  font-family: var(--mti-sans) !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mti-muted) !important;
}

/* Navigation bar */
.header-wrap .is-divider-slash .elementor-widget-container {
  border-top: 3px solid var(--mti-ink) !important;
  border-bottom: 1px solid var(--mti-line) !important;
}
.header-wrap .main-menu > li > a {
  font-family: var(--mti-sans) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--mti-ink) !important;
  background: transparent !important;
  position: relative;
}
html body .header-wrap .main-menu > li > a::before,
html body .header-wrap .main-menu > li > a::after { content: none !important; display: none !important; }
.header-wrap .main-menu > li > a > span {
  padding-bottom: 4px;
  box-shadow: inset 0 -2px 0 transparent;
  transition: box-shadow .2s ease;
}
.header-wrap .main-menu > li > a:hover > span,
.header-wrap .main-menu > li.current-menu-item > a > span {
  box-shadow: inset 0 -2px 0 var(--mti-accent);
}
.header-wrap .main-menu > li.current-menu-item > a { color: var(--mti-accent) !important; }
/* remove the "/" dividers */
.is-divider-slash .main-menu > li::before,
.is-divider-slash .main-menu > li::after,
.is-divider-slash .main-menu > li > a::after,
.is-divider-slash .main-menu > li > a > span::after { content: none !important; display: none !important; }

/* ---------- Market tickers ---------- */
.masi-ticker-wrapper {
  border: 0 !important;
  border-top: 1px solid var(--mti-line) !important;
  border-bottom: 1px solid var(--mti-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: var(--mti-soft) !important;
}
.masi-ticker-item, .masi-ticker-item * { font-family: var(--mti-sans) !important; font-size: 12.5px !important; }
.mti-live-ticker {
  background: var(--mti-soft);
  border-top: 1px solid var(--mti-line);
  border-bottom: 1px solid var(--mti-line);
  min-height: 46px;
}
.nasdaq-ticker-wrapper { border-radius: 0 !important; }
.nasdaq-ticker-item, .nasdaq-ticker-item * { font-family: var(--mti-sans) !important; font-size: 12.5px !important; }

/* ---------- Section headings ---------- */
.block-h .heading-title,
.block-h .heading-title span {
  font-family: var(--mti-sans) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mti-ink) !important;
}
.block-h .heading-inner {
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--mti-line);
  padding-bottom: 10px;
}
.block-h .heading-title { position: relative; padding-left: 12px; margin: 0; }
.block-h .heading-title::before {
  content: "" !important;
  position: absolute !important;
  left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 1.1em;
  border-radius: 0 !important;
  background: var(--mti-accent) !important;
}
.block-h .heading-title span::before,
.block-h .heading-title span::after { display: none !important; }

/* ---------- Cards ---------- */
.entry-title, .entry-title a, .p-url {
  line-height: 1.25 !important;
}
.entry-title a:hover, .p-url:hover { color: var(--mti-accent) !important; }
.p-featured, .p-featured img, .feat-holder img {
  border-radius: 6px;
}
.p-featured { overflow: hidden; }
.p-featured img { transition: transform .5s ease; }
.p-wrap:hover .p-featured img { transform: scale(1.04); }

.p-categories a, .p-category {
  font-family: var(--mti-sans) !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--mti-accent) !important;
  color: #fff !important;
  border-radius: 3px !important;
  padding: 3px 7px !important;
  clip-path: none !important;
  transform: none !important;
}
.p-categories a::before, .p-categories a::after,
.p-categories::before, .p-categories::after { display: none !important; }
.p-categories a:hover { background: var(--mti-accent-dark) !important; }

.entry-summary, .p-wrap .entry-summary {
  color: var(--mti-muted) !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
}
.p-meta, .p-meta *, .meta-inner, .meta-el, .meta-el *, .rb-bookmark {
  font-family: var(--mti-sans) !important;
  font-size: 11.5px !important;
  color: var(--mti-muted) !important;
}
.meta-author a, .meta-el a { color: var(--mti-ink) !important; font-weight: 600 !important; }

/* overlay cards (text on image): keep text white */
.p-overlay .p-url, .p-overlay .entry-title, .light-scheme .p-url, .light-scheme .entry-title,
.p-overlay .meta-el, .p-overlay .meta-el *, .light-scheme .meta-el, .light-scheme .meta-el * {
  color: #fff !important;
}
.p-overlay .p-url:hover, .light-scheme .p-url:hover { color: #ffd7d9 !important; }

/* ---------- Single article ---------- */
.breadcrumb-wrap, .breadcrumb-wrap * {
  font-family: var(--mti-sans) !important;
  font-size: 12px !important;
  color: var(--mti-muted) !important;
}
h1.s-title {
  font-size: clamp(30px, 3.6vw, 46px) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.02em !important;
}
.s-tagline, .single-header .s-tagline { font-family: var(--mti-serif) !important; color: var(--mti-muted) !important; }
.entry-content > p, .entry-content li {
  font-family: var(--mti-serif) !important;
  font-size: 19px !important;
  line-height: 1.7 !important;
  color: var(--mti-text) !important;
}
.entry-content > p:first-of-type::first-letter {
  float: left;
  font-family: var(--mti-serif);
  font-weight: 700;
  font-size: 3.4em;
  line-height: .9;
  margin: .06em .1em 0 0;
  color: var(--mti-accent);
}
.entry-content h2 {
  font-size: 27px !important;
  line-height: 1.2 !important;
  margin-top: 1.8em !important;
  padding-top: .6em;
  border-top: 1px solid var(--mti-line);
}
.entry-content a { color: var(--mti-accent); text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote {
  border-left: 4px solid var(--mti-accent) !important;
  background: var(--mti-soft);
  padding: 18px 22px !important;
  font-style: normal;
}
figcaption, .feat-caption, .caption-text, .wp-caption-text {
  font-family: var(--mti-sans) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: var(--mti-muted) !important;
}
/* table of contents box */
.ruby-table-contents, .rb-toc {
  border: 1px solid var(--mti-line) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  background: var(--mti-soft) !important;
}
.ruby-table-contents *, .rb-toc * { font-family: var(--mti-sans) !important; }

.ruby-table-contents a, .rb-toc a { color: var(--mti-ink) !important; text-decoration: none !important; }
.ruby-table-contents a:hover, .rb-toc a:hover { color: var(--mti-accent) !important; }

/* keep the theme's icon font intact */
.rbi, [class^="rbi-"], [class*=" rbi-"], .rbi::before, i.rbi::before { font-family: 'ruby-icon' !important; }

/* ---------- Footer ---------- */
.footer-wrap {
  background: #0e1a2b !important;
  color: #c9d1db !important;
  border-top: 4px solid var(--mti-accent);
}
.footer-wrap a, .footer-wrap p, .footer-wrap span, .footer-wrap div { color: #c9d1db !important; }
.footer-wrap a:hover { color: #fff !important; }
.footer-wrap img { filter: invert(1) brightness(2); }
.footer-wrap * { border-color: rgba(255,255,255,.12) !important; }

/* ---------- Homepage layout helpers & smooth browsing ---------- */
html { scroll-behavior: smooth; }
@media (min-width: 1025px) {
  .mti-sidebar { position: sticky; top: 90px; align-self: flex-start; }
}
@media (prefers-reduced-motion: no-preference) {
  .site-outer { animation: mtiFade .35s ease-out both; }
  @keyframes mtiFade { from { opacity: 0; } to { opacity: 1; } }
}
@media (max-width: 1024px) {
  .mti-main-col, .mti-sidebar { width: 100% !important; }
}

/* ---------- Dark mode (theme toggle) ---------- */
body[data-theme="dark"] {
  --mti-ink: #f2f4f7;
  --mti-text: #d7dde5;
  --mti-muted: #9aa5b4;
  --mti-line: rgba(255,255,255,.14);
  --mti-soft: rgba(255,255,255,.05);
}
body[data-theme="dark"] .header-wrap { background: transparent; }
body[data-theme="dark"] .footer-wrap { background: #08111c !important; }
body[data-theme="dark"] .masi-ticker-item .ticker-name { color: #c9d1db !important; }

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .header-wrap .the-logo a::before { font-size: 32px; }
  .entry-content > p, .entry-content li { font-size: 17.5px !important; }
  h1.s-title { font-size: 30px !important; }
}

/* ===== previous custom CSS ===== */
/* Hide newsletter block only */
div.newsletter-box-2.newsletter-fw.has-bg{
    display:none !important;
    visibility:hidden !important;
    height:0 !important;
    overflow:hidden !important;
    margin:0 !important;
    padding:0 !important;
}














/* Newsletter Page */

.page-id .entry-content{
    max-width:700px;
    margin:0 auto;
    text-align:center;
}

.page-id .s-title{
    font-size:56px;
    font-weight:700;
    margin-bottom:20px;
}

.page-id .entry-content h2{
    font-size:34px;
    line-height:1.3;
    font-weight:700;
    margin-bottom:30px;
}

.page-id .mc4wp-form{
    max-width:620px;
    margin:0 auto 35px;
}

.page-id .mc4wp-form-fields{
    display:flex;
    align-items:center;
    gap:12px;
    justify-content:center;
}

.page-id .mc4wp-form label{
    display:none;
}

.page-id .mc4wp-form input[type=email]{
    flex:1;
    height:54px;
    border:1px solid #ddd;
    border-radius:6px;
    padding:0 18px;
    font-size:16px;
    background:#fff;
}

.page-id .mc4wp-form input[type=submit]{
    height:54px;
    padding:0 28px;
    border:none;
    border-radius:6px;
    background:#111;
    color:#fff;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.page-id .mc4wp-form input[type=submit]:hover{
    background:#0d6efd;
}

.page-id .entry-content p{
    font-size:18px;
    line-height:1.8;
    color:#555;
    margin:0 auto 22px;
    max-width:680px;
}

.page-id .entry-content strong{
    color:#000;
}

@media(max-width:768px){

.page-id .s-title{
    font-size:42px;
}

.page-id .entry-content h2{
    font-size:28px;
}

.page-id .mc4wp-form-fields{
    display:block;
}

.page-id .mc4wp-form input[type=email],
.page-id .mc4wp-form input[type=submit]{
    width:100%;
    margin-top:12px;
}
}






/* Hide page title & date only on Newsletter page */

body.page .page-header{
    display:none !important;
}

body.page .entry-meta,
body.page .post-meta,
body.page .single-meta,
body.page time{
    display:none !important;
}





/* Breadcrumb: hide "Home »" */
.breadcrumb-inner > span{font-size:0 !important}
.breadcrumb-inner > span > span{font-size:12px !important}
.breadcrumb-inner > span > span:first-child{display:none}
.breadcrumb-inner > span > span:nth-child(n+3)::before{content:"» ";margin:0 2px}

/* === NYT DESIGN START === */

body{--nyt-ink:#121212;--nyt-grey:#5a5a5a;--nyt-light:#727272;--nyt-rule:#dfdfdf;--nyt-sans:'Libre Franklin',Helvetica,Arial,sans-serif;--nyt-serif:'Source Serif 4',Georgia,'Times New Roman',serif;--mti-accent:#121212;}
body,body .site-outer{background:#fff;color:var(--nyt-ink)}
body .the-logo a::before{font-size:58px!important;letter-spacing:.5px;color:var(--nyt-ink)!important}
body .elementor-element-3a636a9{border-bottom:0!important}
body .header-wrap .is-date, body [class*="current-date"], body .rb-date{font-family:var(--nyt-sans)!important;font-size:12px!important;font-weight:700!important;letter-spacing:0!important;text-transform:none!important;color:var(--nyt-ink)!important}
body .main-menu-wrap{border-top:1px solid var(--nyt-ink);border-bottom:3px double var(--nyt-ink)}
body .main-menu > li > a{font-family:var(--nyt-sans)!important;font-size:12.5px!important;font-weight:500!important;letter-spacing:.2px!important;text-transform:none!important;color:var(--nyt-ink)!important;padding:0 11px!important}
body .main-menu > li > a span{box-shadow:none!important}
body .main-menu > li:hover > a span, body .main-menu > li.current-menu-item > a span{text-decoration:underline;text-underline-offset:5px}
body .main-menu .sub-menu{border:1px solid var(--nyt-rule)!important;border-radius:0!important;box-shadow:0 4px 14px rgba(0,0,0,.08)!important}
body .main-menu .sub-menu a{font-family:var(--nyt-sans)!important;font-size:13px!important;text-transform:none!important}
body .mti-live-ticker{background:#fff!important;border-top:0!important;border-bottom:1px solid var(--nyt-rule)!important}
body .p-categories a, body .p-category{background:none!important;color:var(--nyt-light)!important;padding:0!important;border-radius:0!important;font-family:var(--nyt-sans)!important;font-size:11px!important;font-weight:700!important;letter-spacing:.6px!important;text-transform:uppercase!important;box-shadow:none!important}
body .p-categories a + a::before{content:"·";margin:0 6px;color:var(--nyt-light)}
body .p-categories.p-top{position:static!important;margin:8px 0 4px!important;background:none!important}
body .overlay-holder .p-categories a, body .p-overlay .p-categories a{color:#fff!important}
body .block-h{border:0!important;border-top:1px solid var(--nyt-ink)!important;padding:8px 0 0!important;margin-bottom:14px!important}
body .block-h::before, body .block-h::after, body .block-h .heading-inner::before, body .block-h .heading-inner::after{display:none!important}
body .block-h .heading-title, body .block-h .heading-title a{font-family:var(--nyt-sans)!important;font-size:13px!important;font-weight:700!important;letter-spacing:.2px!important;text-transform:none!important;color:var(--nyt-ink)!important;background:none!important;padding:0!important}
body .block-h .heading-title::after{content:" ›";font-weight:400}
body .entry-title, body .entry-title a{font-family:var(--nyt-serif)!important;font-weight:700!important;color:var(--nyt-ink)!important;letter-spacing:-.1px}
body .entry-title a:hover{color:#326891!important;text-decoration:none}
body .entry-summary{font-family:var(--nyt-serif)!important;color:var(--nyt-grey)!important;font-size:15px!important;line-height:1.45!important}
body .p-meta, body .p-meta *, body .meta-el{font-family:var(--nyt-sans)!important;font-size:11px!important;color:var(--nyt-light)!important;letter-spacing:0!important;text-transform:none!important}
body .meta-avatar, body .p-meta .avatar{display:none!important}
body .p-featured, body .p-featured img, body .featured-img{border-radius:0!important}
body .ratio-q img, body .p-featured.ratio-q{border-radius:0!important}
body .p-wrap{box-shadow:none!important}
body .readmore-wrap{display:none!important}
body .nyt-row{border-top:1px solid var(--nyt-ink)}
body .nyt-row.nyt-top{border-top:0}
body .nyt-row > .e-con-inner{gap:0!important}
body .nyt-row .nyt-col{padding:0 20px!important}
body .nyt-row .nyt-col + .nyt-col{border-left:1px solid var(--nyt-rule)}
body .nyt-row .nyt-col:first-child{padding-left:0!important}
body .nyt-row .nyt-col:last-child{padding-right:0!important}
body .nyt-left .p-featured, body .nyt-left .feat-holder{display:none!important}
body .nyt-left .p-wrap{display:block!important;padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid var(--nyt-rule)}
body .nyt-left .p-wrap:last-child{border-bottom:0}
body .nyt-left .p-content, body .nyt-left .p-list-inner{display:block!important;width:100%!important;max-width:100%!important;padding:0!important}
body .nyt-left .entry-title{font-size:21px!important;line-height:1.2!important}
body .nyt-left .entry-summary{font-size:14.5px!important}
body .nyt-lead .elementor-widget:first-child .entry-title{font-size:34px!important;line-height:1.12!important;margin-top:4px}
body .nyt-lead .elementor-widget:first-child .entry-summary{font-size:17px!important;color:#363636!important}
body .nyt-lead .block-wrap + .block-wrap{margin-top:18px;padding-top:16px;border-top:1px solid var(--nyt-rule)}
body .nyt-lead .block-wrap + .block-wrap .entry-title{font-size:17px!important;line-height:1.25!important}
body .nyt-right .entry-title{font-size:15px!important;line-height:1.3!important}
body .nyt-right .p-featured{width:72px!important;flex:0 0 72px!important}
body .nyt-sections .entry-title{font-size:17px!important;line-height:1.25!important}
body .nyt-sections .block-wrap + .block-wrap{margin-top:6px}
body .nyt-sections .block-wrap + .block-wrap .p-featured{display:none!important}
body .nyt-sections .block-wrap + .block-wrap .p-wrap{padding:10px 0;border-top:1px solid var(--nyt-rule);margin:0!important}
body .nyt-sections .block-wrap + .block-wrap .entry-title{font-size:15px!important;font-weight:600!important}
body .nyt-wide .entry-title{font-size:20px!important}
body .archive-header{background:none!important;border-bottom:1px solid var(--nyt-ink)}
body .archive-header.is-pattern::before{display:none!important}
body .archive-title{font-family:var(--nyt-serif)!important;font-size:42px!important;font-weight:700!important}
body .breadcrumb-inner, body .breadcrumb-inner a{font-family:var(--nyt-sans)!important;color:var(--nyt-light)!important;text-transform:uppercase;letter-spacing:.6px;font-weight:700}
body.single .single-header, body.single .s-title-wrap{text-align:center}
body.single .s-title{font-family:var(--nyt-serif)!important;font-size:42px!important;line-height:1.12!important;font-weight:700!important;max-width:820px;margin-left:auto!important;margin-right:auto!important}
body.single .s-tagline, body.single .single-header .s-excerpt{font-family:var(--nyt-serif)!important;font-size:20px!important;color:#363636!important;max-width:720px;margin:12px auto 0!important;text-align:center}
body.single .single-header .p-categories{justify-content:center}
body.single .single-meta, body.single .smeta-wrap{justify-content:center;font-family:var(--nyt-sans)!important}
body.single .entry-content{font-family:var(--nyt-serif)!important;font-size:20px!important;line-height:1.6!important;color:#333!important}
body.single .entry-content h2{font-family:var(--nyt-serif)!important;font-size:26px!important;font-weight:700!important;border-top:0!important;padding-top:6px!important}
body.single .entry-content a{color:#326891!important;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
body.single .wp-caption-text, body.single figcaption, body.single .mti-photo-credit{font-family:var(--nyt-sans)!important;font-size:12px!important;color:var(--nyt-light)!important}
body .site-footer, body footer.footer-wrap{border-top:3px double var(--nyt-ink)}/*EXTRA*/
body .block-h .heading-title,body .block-h .heading-inner,body .block-h{border-left:0!important;box-shadow:none!important}
body .block-h .heading-title::before{display:none!important}
body .nyt-row{border-top:0!important}
body .nyt-row + .nyt-row{padding-top:8px!important}
body .nyt-sections .block-wrap:first-of-type .p-featured, body .nyt-wide .p-featured, body .nyt-lead .p-featured{aspect-ratio:3/2;height:auto!important;padding:0!important;overflow:hidden}
body .nyt-sections .block-wrap:first-of-type .p-featured img, body .nyt-wide .p-featured img, body .nyt-lead .p-featured img{position:static!important;width:100%!important;height:100%!important;object-fit:cover}
body .nyt-left .p-wrap, body .nyt-left .block-inner{width:100%!important;max-width:none!important}
body .nyt-right .p-featured{height:72px!important;aspect-ratio:1/1}
body .nyt-right .p-list-small-3 .p-wrap, body .nyt-right .p-wrap{align-items:center}/*EXTRA2*/
body .nyt-left .list-holder{display:block!important;width:100%!important}
body .nyt-left .list-holder > *:not(.p-content){display:none!important}
body .nyt-left .p-content{width:100%!important}
body .nyt-lead .elementor-widget + .elementor-widget .entry-title{font-size:18px!important;line-height:1.25!important;margin-top:6px}
body .nyt-lead .elementor-widget + .elementor-widget{margin-top:18px!important;padding-top:16px;border-top:1px solid var(--nyt-rule)}
body .nyt-sections .elementor-widget:last-child .p-featured, body .nyt-sections .elementor-widget:last-child .feat-holder{display:none!important}
body .nyt-sections .elementor-widget:last-child .p-wrap{padding:10px 0!important;border-top:1px solid var(--nyt-rule);margin:0!important}
body .nyt-sections .elementor-widget:last-child .entry-title{font-size:15px!important;font-weight:600!important}
body.single .breadcrumb-wrap{display:none!important}
body.single .s-title{color:var(--nyt-ink)!important}
body .nyt-right .elementor-widget:last-child .p-meta{display:none!important}
body.single .entry-content p::first-letter{float:none!important;font-size:inherit!important;line-height:inherit!important;margin:0!important;padding:0!important;font-weight:inherit!important;color:inherit!important;font-family:inherit!important}
body.single .ruby-table-contents, body.single .rbtoc{background:#fff!important;border:0!important;border-top:1px solid var(--nyt-ink)!important;border-bottom:1px solid var(--nyt-rule)!important;border-radius:0!important;box-shadow:none!important}
body.single .ruby-table-contents a, body.single .rbtoc a{color:var(--nyt-ink)!important;font-family:var(--nyt-sans)!important}

/* NYT dark mode */
body[data-theme="dark"]{--nyt-ink:#f1f1f1;--nyt-grey:#c4c4c4;--nyt-light:#9a9a9a;--nyt-rule:#333}
body[data-theme="dark"], body[data-theme="dark"] .site-outer{background:#121212!important;color:#e6e6e6}
body[data-theme="dark"] .mti-live-ticker{background:#121212!important}
body[data-theme="dark"] .nyt-lead .elementor-widget:first-child .entry-summary, body[data-theme="dark"].single .s-tagline, body[data-theme="dark"].single .entry-content{color:#d8d8d8!important}
body[data-theme="dark"].single .entry-content a, body[data-theme="dark"] .entry-title a:hover{color:#8ab4f8!important}
body[data-theme="dark"].single .ruby-table-contents, body[data-theme="dark"].single .rbtoc{background:#121212!important}
body[data-theme="dark"] .the-logo a::before{color:#f1f1f1!important}
body[data-theme="dark"] .mti-live-ticker iframe{filter:invert(1) hue-rotate(180deg)}
body[data-theme="dark"] .main-menu > li > a, body[data-theme="dark"] .main-menu > li > a span{color:#f1f1f1!important}
/* Partner content + page drop cap */
body.page .entry-content p::first-letter{float:none!important;font-size:inherit!important;line-height:inherit!important;margin:0!important;padding:0!important;font-weight:inherit!important;color:inherit!important;font-family:inherit!important}
.mti-partner-note{font-family:var(--nyt-sans)!important;font-size:14px!important;line-height:1.5!important;color:#333!important;background:#f6f3ea;border-top:2px solid #121212;padding:12px 16px;margin:0 0 26px}
.mti-partner-note strong{text-transform:uppercase;letter-spacing:.6px;font-size:12px}
.mti-partner-note a{color:#326891!important}
.p-categories a.category-id-287{color:#8a6a00!important}
.p-categories a.category-id-287::after{content:" · Paid";font-weight:700}
body[data-theme="dark"] .mti-partner-note{background:#1e1c17;color:#ddd!important;border-top-color:#f1f1f1}
/* Multilingual: switcher + Arabic/RTL */
.mti-lang{display:flex;gap:12px;align-items:center;font-family:var(--nyt-sans,'Libre Franklin'),Arial,sans-serif;font-size:12px;white-space:nowrap}
.mti-lang a{color:var(--nyt-ink,#121212)!important;text-decoration:none;opacity:.65}
.mti-lang a:hover{opacity:1}
.mti-lang a.is-current{opacity:1;font-weight:700;text-decoration:underline;text-underline-offset:4px}
.mti-lang a[lang="ar"]{font-family:'Noto Naskh Arabic',serif;font-size:14px}
html[dir="rtl"] body{--nyt-serif:'Noto Naskh Arabic','Source Serif 4',Georgia,serif;--nyt-sans:'Noto Sans Arabic','Libre Franklin',Arial,sans-serif}
html[dir="rtl"] .entry-content{line-height:1.95!important;font-size:20px!important}
html[dir="rtl"] .entry-title, html[dir="rtl"] .s-title, html[dir="rtl"] .archive-title{line-height:1.45!important;letter-spacing:0!important}
html[dir="rtl"] .p-categories a, html[dir="rtl"] .block-h .heading-title, html[dir="rtl"] .breadcrumb-inner{letter-spacing:0!important;text-transform:none!important}
html[dir="rtl"] .block-h .heading-title::after{content:" ‹"}
html[dir="rtl"] .nyt-row .nyt-col + .nyt-col{border-left:0;border-right:1px solid var(--nyt-rule)}
html[dir="rtl"] .nyt-row .nyt-col:first-child{padding-right:0!important;padding-left:20px!important}
html[dir="rtl"] .nyt-row .nyt-col:last-child{padding-left:0!important;padding-right:20px!important}
html[dir="rtl"] .nyt-row .nyt-col:first-child:last-child{padding:0!important}
@media(max-width:767px){.mti-lang{gap:8px;font-size:11px}}
/* === NYT DESIGN END === */
/* === MTI polish v2: accent colour + details === */
:root{--mti-red:#b4232a}
html body .p-categories a,html body .p-category{color:var(--mti-red)!important;letter-spacing:.06em;font-weight:700}
.p-categories .p-category:hover{text-decoration:underline}
.heading-title{letter-spacing:.08em}
.heading-inner{border-top:3px solid #111!important}
[data-theme="dark"] .heading-inner{border-top-color:#eee!important}
.entry-title a:hover,.p-url:hover{color:var(--mti-red)!important;text-decoration:none}
.mti-cat-label,.mti-c-cat{color:var(--mti-red)!important}
.mti-live-ticker{max-width:100%!important;margin-left:auto;margin-right:auto}
::selection{background:var(--mti-red);color:#fff}

/* ~~~ MTI mobile stacking ~~~ */
@media(max-width:1024px){
body .nyt-row > .e-con-inner{flex-direction:column!important;flex-wrap:nowrap!important;width:100%!important;max-width:100%!important}
body .nyt-row .nyt-col{width:100%!important;max-width:100%!important;flex:0 0 auto!important;min-width:0!important;padding:0 0 18px!important;margin:0 0 18px!important;border-left:0!important;border-right:0!important;border-bottom:1px solid var(--nyt-rule)}
body .nyt-row .nyt-col:last-child{border-bottom:0;margin-bottom:0}
html[dir=rtl] body .nyt-row .nyt-col,html[dir=rtl] body .nyt-row .nyt-col:first-child,html[dir=rtl] body .nyt-row .nyt-col:last-child{padding:0 0 18px!important;border-right:0!important}
body .nyt-row .nyt-col *{min-width:0;max-width:100%}
body .nyt-row .nyt-col img{height:auto}
}
@media(max-width:767px){
html,body{overflow-x:hidden}
body .nyt-row .nyt-col .entry-title{overflow-wrap:break-word;word-break:normal;hyphens:auto}
body .nyt-row .p-list-small-3 .p-content,body .nyt-row .p-list-small-2 .p-content{min-width:0;flex:1 1 0}
}

@media(max-width:1024px){body .nyt-row .nyt-col .list-holder,body .nyt-row .nyt-col .p-wrap,body .nyt-row .nyt-col .block-inner,body .nyt-row .nyt-col .p-content{margin-left:0!important;margin-right:0!important;max-width:100%!important;box-sizing:border-box}}

/* ~~~ MTI mobile images ~~~ */
@media(max-width:767px){
body .nyt-row .nyt-col{padding-left:18px!important;padding-right:18px!important}
body .nyt-left .p-featured,body .nyt-left .feat-holder,body .nyt-sections .block-wrap + .block-wrap .p-featured{display:block!important;width:100%!important;flex:0 0 auto!important;margin:0 0 12px!important;aspect-ratio:3/2;overflow:hidden}
body .nyt-left .p-featured img,body .nyt-sections .block-wrap + .block-wrap .p-featured img{width:100%!important;height:100%!important;object-fit:cover}
body .nyt-left .p-wrap.p-list,body .nyt-sections .block-wrap + .block-wrap .p-wrap.p-list{display:block!important}
}

/* ~~~ MTI mobile polish ~~~ */
@media(max-width:767px){
body .nyt-row .list-feat-holder{display:block!important;width:100%!important;max-width:100%!important;margin:0 0 12px!important;flex:0 0 auto!important}
body .nyt-row .list-feat-holder .feat-holder{display:block!important;width:100%!important}
body .nyt-row .p-wrap{margin-bottom:0!important}
body .nyt-row .nyt-col .p-wrap{padding-bottom:20px!important;margin-bottom:20px!important;border-bottom:1px solid #e4e4e4}
body .nyt-row .nyt-col .p-wrap:last-child{border-bottom:0;margin-bottom:0}
body .nyt-row .nyt-col .entry-title{font-size:21px!important;line-height:1.22!important;letter-spacing:-.005em;margin-bottom:6px!important}
body .nyt-row .nyt-col .entry-summary,body .nyt-row .nyt-col .p-summary{font-size:15px!important;line-height:1.5!important;color:#555!important}
body .nyt-row .nyt-col .p-categories a,body .nyt-row .nyt-col .p-category{font-size:11px!important;letter-spacing:.1em;text-transform:uppercase;font-weight:700}
body .nyt-row .nyt-col .p-meta,body .nyt-row .nyt-col .meta-inner{font-size:12px!important;color:#777}
body .nyt-row{padding-top:6px!important}
body .nyt-row .nyt-col .block-h,body .nyt-row .nyt-col .heading-title{margin-bottom:14px!important}
}

/* ~~~ MTI mobile fix3 ~~~ */
@media(max-width:767px){
html body .nyt-row .nyt-col.nyt-col,html body .nyt-row .nyt-col.nyt-col:first-child,html body .nyt-row .nyt-col.nyt-col:last-child{padding-left:18px!important;padding-right:18px!important}
html[dir=rtl] body .nyt-row .nyt-col.nyt-col,html[dir=rtl] body .nyt-row .nyt-col.nyt-col:first-child,html[dir=rtl] body .nyt-row .nyt-col.nyt-col:last-child{padding-left:18px!important;padding-right:18px!important}
html body .nyt-row .nyt-col.nyt-left .list-holder > .list-feat-holder:not(.p-content){display:block!important;width:100%!important;margin:0 0 12px!important}
html body .nyt-row .nyt-col.nyt-left .list-holder > .list-feat-holder .p-featured{display:block!important}
}

/* ~~~ MTI mobile nyt ~~~ */
@media(max-width:767px){
html body #mti-mid.mti-mid-on{margin:4px 18px 26px!important;padding:14px 0 6px!important;border:0!important;border-top:1px solid #121212!important;border-bottom:1px solid #dfdfdf!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
html body #mti-mid.mti-mid-on .mti-foot .mti-foot__cols{gap:0 24px!important}
html body #mti-mid.mti-mid-on .mti-foot .mti-foot__col h4{font-family:var(--nyt-sans)!important;font-size:11px!important;font-weight:700!important;letter-spacing:.08em!important;text-transform:uppercase!important;color:#121212!important;border:0!important;margin:0 0 6px!important;padding:0!important}
html body #mti-mid.mti-mid-on .mti-foot .mti-foot__col li{border-bottom:1px solid #dfdfdf!important}
html body #mti-mid.mti-mid-on .mti-foot .mti-foot__col li:last-child{border-bottom:0!important}
html body #mti-mid.mti-mid-on .mti-foot .mti-foot__col a{font-family:var(--nyt-sans)!important;font-size:14px!important;font-weight:500!important;color:#121212!important;padding:9px 0!important}
html body #mti-mid.mti-mid-on .mti-foot .mti-foot__col a:active{color:#5a5a5a!important}
}
/* ~~~ MTI mobile align ~~~ */
@media(max-width:767px){
html body .nyt-row .nyt-col .list-feat-holder{padding:0!important}
html body .nyt-row .nyt-col .p-wrap{padding-left:0!important;padding-right:0!important}
html body .nyt-row .nyt-col .p-content,html body .nyt-row .nyt-col .p-wrap .entry-title,html body .nyt-row .nyt-col .p-wrap .entry-summary,html body .nyt-row .nyt-col .p-wrap .p-meta{padding-left:0!important;padding-right:0!important}
}
