/* ═══════════════════════════════════════════════════════════════
   MADANIYAT TA'LIMI — OJS Theme (polished, matches index.html)
   Child of default theme. Styles custom (mt-*) markup + OJS core.
   Palette: navy #1a3260 · navy-dark #0f1f3d · gold #c9a227 · cream #f7f5f2
═══════════════════════════════════════════════════════════════ */

:root{
  --mt-navy:#1a3260; --mt-navy-dark:#0f1f3d; --mt-navy-mid:#1e3a6e;
  --mt-blue:#2d5aa0; --mt-blue-lt:#4a7dcc;
  --mt-gold:#c9a227; --mt-gold-lt:#e6c060; --mt-gold-pale:#fdf6e3;
  --mt-cream:#f6f7f9; --mt-white:#fff;
  --mt-g100:#f3f4f6; --mt-g200:#e7eaef; --mt-g300:#d1d5db;
  --mt-g500:#6b7280; --mt-g600:#4b5563; --mt-g700:#374151; --mt-g900:#111827;
  --mt-dark:#1c2333;
  --mt-r:10px; --mt-r-lg:16px; --mt-r-xl:22px;
  --mt-sh:0 4px 16px rgba(26,50,96,.08);
  --mt-sh-md:0 10px 34px rgba(26,50,96,.13);
  --mt-sh-lg:0 24px 60px rgba(10,21,41,.30);
  --mt-sans:'Inter',system-ui,-apple-system,"Segoe UI",sans-serif;
  --mt-serif:'Merriweather',Georgia,'Times New Roman',serif;
  --mt-maxw:1180px;
}

/* ── Base ── */
body.mt-body{font-family:var(--mt-sans);color:var(--mt-dark);background:var(--mt-cream);line-height:1.65;-webkit-font-smoothing:antialiased;margin:0;}
.mt-body h1,.mt-body h2,.mt-body h3,.mt-body h4{font-family:var(--mt-serif);color:var(--mt-navy);}
/* Headings on dark backgrounds must stay white — beat base navy rule via .mt-body prefix. */
.mt-body .mt-hero__title,
.mt-body .mt-cta__title{color:#fff;}
.mt-body a{color:var(--mt-blue);text-decoration:none;}
.mt-body a:hover{color:var(--mt-navy);}
.mt-container{max-width:var(--mt-maxw);margin:0 auto;padding:0 28px;width:100%;box-sizing:border-box;}
.mt-prose{font-size:15.5px;line-height:1.8;color:var(--mt-g700);}
.mt-prose a{color:var(--mt-blue);text-decoration:underline;}
.mt-prose h2,.mt-prose h3{color:var(--mt-navy);margin:1.2em 0 .5em;}

/* ── Buttons ── */
.mt-btn{display:inline-flex;align-items:center;gap:8px;padding:12px 24px;border-radius:var(--mt-r);font-family:var(--mt-sans);font-size:14.5px;font-weight:600;cursor:pointer;border:2px solid transparent;transition:all .2s ease;text-decoration:none;white-space:nowrap;}
.mt-btn--lg{padding:14px 30px;font-size:15px;border-radius:var(--mt-r-lg);}
.mt-btn--primary{background:var(--mt-gold);color:var(--mt-navy-dark);border-color:var(--mt-gold);box-shadow:0 4px 14px rgba(201,162,39,.3);}
.mt-btn--primary:hover{background:var(--mt-gold-lt);border-color:var(--mt-gold-lt);color:var(--mt-navy-dark);transform:translateY(-2px);box-shadow:0 8px 22px rgba(201,162,39,.42);}
.mt-btn--outline{background:rgba(255,255,255,.06);color:#fff;border-color:rgba(255,255,255,.5);}
.mt-btn--outline:hover{background:rgba(255,255,255,.14);border-color:#fff;color:#fff;}
.mt-btn--white{background:#fff;color:var(--mt-navy);border-color:#fff;}
.mt-btn--white:hover{background:var(--mt-gold-pale);color:var(--mt-navy);transform:translateY(-2px);}
.mt-btn--ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.5);}
.mt-btn--ghost:hover{background:rgba(255,255,255,.12);color:#fff;}

/* ═══════════ TOP BAR ═══════════ */
.mt-topbar{background:var(--mt-navy-dark);color:rgba(255,255,255,.78);font-size:12.5px;}
.mt-topbar__inner{display:flex;align-items:center;justify-content:space-between;height:40px;gap:16px;}
.mt-topbar__left{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.mt-topbar__issn{color:rgba(255,255,255,.7);}
.mt-topbar__issn strong{color:var(--mt-gold-lt);font-weight:600;}
.mt-topbar__pub{color:rgba(255,255,255,.5);}
.mt-topbar__sep{opacity:.3;}
.mt-topbar__right{display:flex;align-items:center;gap:12px;}
.mt-topbar__link{color:rgba(255,255,255,.82);font-size:12.5px;}
.mt-topbar__link:hover{color:#fff;}
.mt-topbar__btn{background:var(--mt-gold);color:var(--mt-navy-dark);padding:5px 14px;border-radius:5px;font-size:12.5px;font-weight:700;}
.mt-topbar__btn:hover{background:var(--mt-gold-lt);color:var(--mt-navy-dark);}

/* ═══════════ HEADER ═══════════ */
.mt-body .pkp_structure_head{background:linear-gradient(120deg,var(--mt-navy-dark) 0%,var(--mt-navy) 60%,var(--mt-navy-mid) 100%);border-bottom:3px solid var(--mt-gold);position:sticky;top:0;z-index:100;box-shadow:0 4px 20px rgba(10,21,41,.18);}
.mt-header{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:78px;}
.mt-brand{display:flex;align-items:center;gap:14px;text-decoration:none;flex-shrink:0;}
.mt-brand__logo{height:54px;width:auto;display:block;}
.mt-brand__mark{width:54px;height:54px;flex-shrink:0;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.22);border-radius:13px;display:flex;align-items:center;justify-content:center;font-family:var(--mt-serif);font-size:21px;font-weight:700;color:var(--mt-gold-lt);}
.mt-brand__text{display:flex;flex-direction:column;line-height:1.2;}
.mt-brand__name{font-family:var(--mt-serif);font-size:21px;font-weight:700;color:#fff;letter-spacing:-.01em;}
.mt-brand__sub{font-size:11.5px;color:rgba(255,255,255,.65);text-transform:uppercase;letter-spacing:.08em;margin-top:3px;}

/* Nav */
.mt-nav{display:flex;align-items:center;gap:2px;}
.mt-nav__link{color:rgba(255,255,255,.86);font-size:14px;font-weight:500;padding:9px 14px;border-radius:8px;position:relative;transition:color .15s,background .15s;}
.mt-nav__link:hover{color:#fff;background:rgba(255,255,255,.08);}
.mt-nav__link.is-active{color:var(--mt-gold-lt);}
.mt-nav__link.is-active::after{content:"";position:absolute;left:14px;right:14px;bottom:2px;height:2px;background:var(--mt-gold-lt);border-radius:2px;}
.mt-nav__search{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;margin-left:6px;border-radius:8px;color:#fff;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);}
.mt-nav__search:hover{background:var(--mt-gold);color:var(--mt-navy-dark);border-color:var(--mt-gold);}
.mt-burger{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:8px;margin-left:auto;}
.mt-burger span{width:26px;height:2px;background:#fff;border-radius:2px;display:block;transition:.3s;}
.mt-burger[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.mt-burger[aria-expanded="true"] span:nth-child(2){opacity:0;}
.mt-burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

/* ═══════════ HERO ═══════════ */
.mt-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#0a1a38 0%,#13294f 45%,#1c3b73 100%);color:#fff;}
.mt-hero__bg{position:absolute;inset:0;background-image:radial-gradient(ellipse 60% 50% at 15% 30%,rgba(201,162,39,.16) 0%,transparent 55%),radial-gradient(ellipse 55% 55% at 88% 80%,rgba(74,125,204,.22) 0%,transparent 55%);pointer-events:none;}
.mt-hero__particles{position:absolute;inset:0;pointer-events:none;}
.mt-particle{position:absolute;color:rgba(255,255,255,.06);animation:mtfloat 9s ease-in-out infinite;}
.mt-p1{top:12%;left:6%;font-size:46px;animation-delay:0s;}
.mt-p2{top:24%;right:14%;font-size:34px;color:rgba(201,162,39,.14);animation-delay:1.5s;}
.mt-p3{bottom:20%;left:18%;font-size:40px;animation-delay:3s;}
.mt-p4{bottom:14%;right:24%;font-size:26px;color:rgba(201,162,39,.10);animation-delay:2s;}
@keyframes mtfloat{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-18px) rotate(8deg)}}

.mt-hero__inner{position:relative;z-index:1;display:grid;grid-template-columns:1.1fr .9fr;gap:60px;align-items:center;padding:72px 28px 60px;}
.mt-hero__badge{display:inline-flex;align-items:center;gap:9px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);border-radius:50px;padding:7px 18px;font-size:13px;color:rgba(255,255,255,.92);font-weight:500;margin-bottom:24px;}
.mt-hero__dot{width:8px;height:8px;background:var(--mt-gold-lt);border-radius:50%;animation:mtpulse 2s ease-in-out infinite;}
@keyframes mtpulse{0%,100%{box-shadow:0 0 0 3px rgba(230,192,96,.3)}50%{box-shadow:0 0 0 7px rgba(230,192,96,.05)}}
.mt-hero__title{font-size:clamp(38px,5.4vw,60px);font-weight:700;line-height:1.06;letter-spacing:-.02em;margin:0 0 14px;color:#fff;text-shadow:0 2px 18px rgba(0,0,0,.25);}
.mt-hero__title em,.mt-hero__title span{color:var(--mt-gold-lt);font-style:normal;}
.mt-hero__lead{font-size:clamp(17px,2.2vw,20px);font-weight:400;color:var(--mt-gold-lt);line-height:1.45;margin:0 0 18px;max-width:540px;}
.mt-hero__desc{font-size:15.5px;color:rgba(255,255,255,.86);max-width:540px;line-height:1.75;margin-bottom:28px;}
.mt-hero__tags{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:34px;}
.mt-tag{background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.2);border-radius:50px;padding:6px 15px;font-size:12.5px;color:rgba(255,255,255,.9);font-weight:500;}
.mt-hero__actions{display:flex;gap:14px;flex-wrap:wrap;}

/* Hero card */
.mt-hero__card{display:flex;justify-content:center;}
.mt-issue-card{width:330px;max-width:100%;background:rgba(255,255,255,.07);backdrop-filter:blur(16px);border:1px solid rgba(255,255,255,.16);border-radius:var(--mt-r-xl);overflow:hidden;box-shadow:var(--mt-sh-lg);}
.mt-issue-card__head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 22px 12px;border-bottom:1px solid rgba(255,255,255,.1);}
.mt-issue-card__label{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--mt-gold-lt);}
.mt-issue-card__vol{font-size:12px;color:rgba(255,255,255,.6);}
.mt-issue-card__cover{padding:22px;}
.mt-issue-card__cover img{width:100%;border-radius:var(--mt-r-lg);display:block;box-shadow:0 10px 30px rgba(0,0,0,.3);}
.mt-cover-art{position:relative;width:100%;aspect-ratio:3/4;border-radius:var(--mt-r-lg);background:linear-gradient(150deg,#16294f,#27508f);overflow:hidden;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 30px rgba(0,0,0,.3);}
.mt-cover-art__c1{position:absolute;width:220%;aspect-ratio:1;top:-65%;left:-55%;border-radius:50%;background:radial-gradient(circle,rgba(201,162,39,.18),transparent 60%);}
.mt-cover-art__c2{position:absolute;width:140%;aspect-ratio:1;bottom:-45%;right:-35%;border-radius:50%;background:radial-gradient(circle,rgba(120,170,255,.2),transparent 60%);}
.mt-cover-art__brand{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;text-align:center;padding:20px;}
.mt-cover-art__mark{font-family:var(--mt-serif);font-size:54px;font-weight:700;color:var(--mt-gold-lt);letter-spacing:.08em;line-height:1;}
.mt-cover-art__name{font-family:var(--mt-serif);font-size:19px;font-weight:700;color:#fff;margin-top:16px;}
.mt-cover-art__sub{font-size:12px;color:rgba(255,255,255,.7);margin-top:6px;text-transform:uppercase;letter-spacing:.06em;}
.mt-issue-card__cta{display:block;padding:14px 22px;text-align:center;font-size:13.5px;font-weight:600;color:var(--mt-gold-lt);border-top:1px solid rgba(255,255,255,.1);}
.mt-issue-card__cta:hover{background:rgba(255,255,255,.06);color:var(--mt-gold-lt);}

/* Stats bar */
.mt-hero__stats{position:relative;z-index:1;background:rgba(0,0,0,.22);border-top:1px solid rgba(255,255,255,.08);}
.mt-stats{display:flex;align-items:center;padding:20px 28px;}
.mt-stat{flex:1;display:flex;flex-direction:column;align-items:center;gap:5px;padding:6px 14px;text-align:center;}
.mt-stat__num{font-size:19px;font-weight:700;color:var(--mt-gold-lt);line-height:1.1;}
.mt-stat__label{font-size:12px;color:rgba(255,255,255,.72);font-weight:500;}
.mt-stat__div{width:1px;height:40px;background:rgba(255,255,255,.12);flex-shrink:0;}

/* ═══════════ ANNOUNCEMENT ═══════════ */
.mt-announce{background:linear-gradient(90deg,#fffbf0,#fdf6e3);border-bottom:1px solid #f0e3bd;}
.mt-announce__inner{display:flex;align-items:center;gap:12px;padding:14px 28px;flex-wrap:wrap;}
.mt-announce__icon{font-size:18px;}
.mt-announce__inner p{font-size:14px;color:var(--mt-g700);flex:1;margin:0;}
.mt-announce__inner strong{color:var(--mt-navy);}
.mt-announce__link{color:var(--mt-navy);font-weight:700;font-size:13.5px;white-space:nowrap;}
.mt-announce__link:hover{text-decoration:underline;}

/* ═══════════ BODY / SECTIONS ═══════════ */
.mt-body-wrap{padding:48px 28px 8px;}
.mt-section{margin-bottom:44px;}
.mt-section__head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;border-bottom:2px solid var(--mt-g200);padding-bottom:14px;margin-bottom:24px;}
.mt-section__title{font-size:26px;font-weight:700;color:var(--mt-navy);margin:0;}
.mt-section__sub{font-size:14px;color:var(--mt-g500);margin:5px 0 0;}
.mt-viewall{color:var(--mt-blue);font-size:14px;font-weight:600;white-space:nowrap;}
.mt-viewall:hover{text-decoration:underline;}

/* Empty state */
.mt-empty{background:#fff;border:1px solid var(--mt-g200);border-radius:var(--mt-r-xl);padding:56px 32px;text-align:center;box-shadow:var(--mt-sh);}
.mt-empty__icon{font-size:48px;margin-bottom:14px;}
.mt-empty__title{font-size:24px;color:var(--mt-navy);margin:0 0 10px;}
.mt-empty__text{font-size:15px;color:var(--mt-g600);max-width:480px;margin:0 auto 24px;line-height:1.7;}

/* ═══════════ OJS OBJECTS: issue TOC & article summaries ═══════════ */
.mt-body .obj_issue_toc{margin:0;}
.mt-body .obj_issue_toc .heading,.mt-body .obj_issue_toc h2.heading,.mt-body .obj_issue_toc .section>h2{font-family:var(--mt-serif);font-size:18px;color:var(--mt-g700);background:var(--mt-g100);border-left:4px solid var(--mt-navy);border-radius:0 8px 8px 0;padding:11px 18px;margin:26px 0 16px;}
.mt-body .obj_issue_toc .section ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px;}
.mt-body .obj_article_summary{background:#fff;border:1px solid var(--mt-g200);border-radius:var(--mt-r-lg);padding:22px 24px;margin:0;transition:box-shadow .2s,transform .2s,border-color .2s;}
.mt-body .obj_article_summary:hover{box-shadow:var(--mt-sh-md);transform:translateY(-2px);border-color:var(--mt-g300);}
.mt-body .obj_article_summary .title{margin:0 0 6px;font-size:0;}
.mt-body .obj_article_summary .title a{font-family:var(--mt-serif);font-weight:700;font-size:17px;line-height:1.45;color:var(--mt-navy);}
.mt-body .obj_article_summary .title a:hover{color:var(--mt-blue);text-decoration:underline;}
.mt-body .obj_article_summary .authors{color:var(--mt-g600);font-size:13.5px;margin:6px 0;}
.mt-body .obj_article_summary .galleys_links{margin-top:12px;}
.mt-body .obj_article_summary .galleys_links a,.mt-body .obj_article_summary .galleys a{display:inline-flex;align-items:center;gap:5px;background:#fde8e8;color:#8a1c1c!important;border:1px solid #f6cccc;border-radius:7px;padding:5px 13px;font-size:12.5px;font-weight:600;margin:2px 7px 2px 0;}
.mt-body .obj_article_summary .galleys_links a:hover{background:#f9d4d4;}

/* ═══════════ FOR AUTHORS CTA ═══════════ */
.mt-cta{position:relative;overflow:hidden;background:linear-gradient(125deg,#0a1529 0%,var(--mt-navy) 55%,var(--mt-navy-mid) 100%);color:#fff;padding:72px 0;margin-top:40px;}
.mt-cta__bg{position:absolute;inset:0;background-image:radial-gradient(circle at 10% 50%,rgba(201,162,39,.1) 0%,transparent 42%),radial-gradient(circle at 90% 40%,rgba(77,130,204,.16) 0%,transparent 45%);pointer-events:none;}
.mt-cta__inner{position:relative;z-index:1;text-align:center;max-width:920px;margin:0 auto;padding:0 28px;}
.mt-cta__title{font-size:clamp(28px,4vw,40px);font-weight:700;color:#fff;margin:0 0 16px;}
.mt-cta__desc{font-size:16.5px;color:rgba(255,255,255,.8);line-height:1.7;margin:0 auto 38px;max-width:640px;}
.mt-cta__steps{display:flex;align-items:stretch;justify-content:center;gap:12px;margin-bottom:38px;flex-wrap:wrap;}
.mt-step{display:flex;align-items:center;gap:14px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.15);border-radius:var(--mt-r-lg);padding:18px 20px;text-align:left;min-width:175px;}
.mt-step__n{font-size:28px;font-weight:800;color:var(--mt-gold-lt);line-height:1;}
.mt-step strong{display:block;font-size:14px;color:#fff;font-weight:600;}
.mt-step span{font-size:12px;color:rgba(255,255,255,.62);}
.mt-step__arrow{font-size:22px;color:rgba(255,255,255,.28);align-self:center;}
.mt-cta__actions{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;}

/* ═══════════ FOOTER ═══════════ */
.mt-footer-wrapper{background:#070d1c;color:rgba(255,255,255,.7);border-top:3px solid var(--mt-gold);}
.mt-footer{display:grid;grid-template-columns:2fr 1fr 1fr 1.2fr;gap:44px;padding:56px 28px 44px;}
.mt-footer__logo{display:flex;align-items:center;gap:13px;margin-bottom:16px;}
.mt-footer__mark{width:46px;height:46px;flex-shrink:0;background:var(--mt-navy-mid);color:var(--mt-gold-lt);border-radius:11px;display:flex;align-items:center;justify-content:center;font-family:var(--mt-serif);font-size:17px;font-weight:700;}
.mt-footer__logo strong{display:block;font-family:var(--mt-serif);font-size:16px;color:#fff;}
.mt-footer__logo span{font-size:11.5px;color:rgba(255,255,255,.55);}
.mt-footer__desc{font-size:13px;line-height:1.7;color:rgba(255,255,255,.58);margin:0 0 16px;max-width:320px;}
.mt-footer__issn{display:flex;flex-direction:column;gap:4px;font-size:12px;color:rgba(255,255,255,.5);font-family:monospace;}
.mt-footer__col h4{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.09em;color:var(--mt-gold-lt);margin:0 0 16px;}
.mt-footer__col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;}
.mt-footer__col ul a{font-size:13.5px;color:rgba(255,255,255,.68);}
.mt-footer__col ul a:hover{color:#fff;text-decoration:underline;}
.mt-footer__bottom{background:#04091400;border-top:1px solid rgba(255,255,255,.07);}
.mt-footer__bottom-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:18px 28px;}
.mt-footer__copy{font-size:12.5px;color:rgba(255,255,255,.5);}
.mt-footer__brandlink img{height:34px;width:auto;opacity:.75;}
.mt-footer__brandlink:hover img{opacity:1;}

/* ═══════════ INTERIOR PAGES ═══════════ */
.mt-body .pkp_structure_content{max-width:none;margin:0;padding:0;background:var(--mt-cream);float:none;width:auto;display:block;}
.mt-body .pkp_structure_main{max-width:var(--mt-maxw);margin:0 auto;padding:40px 28px;float:none;width:auto;box-sizing:border-box;}
.mt-body.pkp_page_index .pkp_structure_main{max-width:none;padding:0;}
.mt-body .pkp_structure_sidebar{max-width:300px;}
.mt-body .obj_article_details .page_title{color:var(--mt-navy);line-height:1.3;}
.mt-body .obj_article_details .authors .name,.mt-body .obj_article_details .item.authors .value{color:var(--mt-blue);}
.mt-body .obj_article_details .main_entry h2,.mt-body .obj_article_details .item .label{color:var(--mt-navy);font-weight:700;}
.mt-body .obj_article_details .galleys a,.mt-body .obj_article_details .download a{background:var(--mt-gold)!important;color:var(--mt-navy-dark)!important;border:none!important;border-radius:9px;padding:11px 24px;font-weight:600;display:inline-block;box-shadow:0 4px 14px rgba(201,162,39,.3);}
.mt-body .obj_article_details .galleys a:hover{background:var(--mt-gold-lt)!important;transform:translateY(-1px);}
.mt-body .cmp_button,.mt-body a.cmp_button,.mt-body button.submitFormButton{background:var(--mt-navy);color:#fff;border-radius:9px;border:none;padding:10px 22px;font-weight:600;}
.mt-body .cmp_button:hover{background:var(--mt-blue);}
.mt-body .pkp_block{background:#fff;border:1px solid var(--mt-g200);border-radius:var(--mt-r-lg);padding:20px 22px;margin-bottom:22px;}
.mt-body .pkp_block .pkp_block_title{color:var(--mt-g700);font-weight:700;text-transform:uppercase;letter-spacing:.05em;font-size:.78rem;border-bottom:2px solid var(--mt-g100);padding-bottom:11px;margin-bottom:13px;}
.mt-body .cmp_breadcrumbs{color:var(--mt-g500);font-size:.85rem;padding:14px 0;}
.mt-body .cmp_breadcrumbs a{color:var(--mt-blue);}
.mt-body input[type="text"],.mt-body input[type="email"],.mt-body input[type="password"],.mt-body input[type="search"],.mt-body textarea,.mt-body select{border:1.5px solid var(--mt-g200);border-radius:9px;padding:10px 13px;font-family:var(--mt-sans);}
.mt-body input:focus,.mt-body textarea:focus,.mt-body select:focus{border-color:var(--mt-blue);outline:none;box-shadow:0 0 0 3px rgba(45,90,160,.12);}
.mt-body .pkp_page_title,.mt-body h1.cmp_page_title{font-family:var(--mt-serif);color:var(--mt-navy);}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width:1024px){
  .mt-hero__inner{grid-template-columns:1fr;gap:40px;}
  .mt-hero__card{justify-content:flex-start;}
  .mt-footer{grid-template-columns:1fr 1fr;gap:32px;}
  .mt-footer__brand{grid-column:1/-1;}
}
@media (max-width:860px){
  .mt-burger{display:flex;}
  .mt-nav{position:fixed;inset:0 0 0 auto;width:min(320px,82vw);flex-direction:column;align-items:stretch;gap:4px;background:var(--mt-navy-dark);padding:88px 18px 24px;transform:translateX(100%);transition:transform .3s ease;box-shadow:-10px 0 40px rgba(0,0,0,.4);z-index:90;}
  .mt-nav.is-open{transform:translateX(0);}
  .mt-nav__link{padding:13px 16px;font-size:15.5px;}
  .mt-nav__link.is-active::after{display:none;}
  .mt-nav__search{width:auto;margin:8px 0 0;justify-content:flex-start;padding:13px 16px;gap:10px;}
  .mt-nav__search::after{content:"Qidirish";font-size:15.5px;}
}
@media (max-width:768px){
  .mt-topbar{display:none;}
  .mt-hero__inner{padding:44px 24px 36px;}
  .mt-stats{flex-wrap:wrap;gap:8px;}
  .mt-stat__div{display:none;}
  .mt-stat{min-width:130px;flex:1 1 40%;}
  .mt-footer{grid-template-columns:1fr;gap:28px;}
  .mt-cta__steps{flex-direction:column;align-items:stretch;}
  .mt-step__arrow{display:none;}
  .mt-section__title{font-size:21px;}
  .mt-brand__sub{display:none;}
}
@media (max-width:480px){
  .mt-hero__actions,.mt-cta__actions{flex-direction:column;}
  .mt-btn--lg{width:100%;justify-content:center;}
  .mt-footer__bottom-inner{flex-direction:column;align-items:flex-start;}
  .mt-brand__name{font-size:18px;}
}

/* ═══════════════════════════════════════════════════════════════
   CRITICAL OVERRIDES — beat default-theme & base-rule specificity
═══════════════════════════════════════════════════════════════ */

/* 1) Kill default theme's fixed-width float layout + decorative vertical rules
      (.pkp_structure_main:before/:after were drawing 1px #ddd vertical lines) */
.mt-body .pkp_structure_content,
.mt-body .pkp_structure_footer{width:100%!important;max-width:none!important;padding:0!important;float:none!important;}
.mt-body .pkp_structure_main{width:auto!important;float:none!important;}
.mt-body .pkp_structure_main:before,
.mt-body .pkp_structure_main:after{display:none!important;content:none!important;background:none!important;}
.mt-body .pkp_structure_sidebar{float:none!important;}

/* Interior content container (re-applied with priority) */
.mt-body .pkp_structure_main{max-width:var(--mt-maxw);margin:0 auto;padding:40px 28px;min-height:46vh;box-sizing:border-box;}
.mt-body.pkp_page_index .pkp_structure_main{max-width:none;padding:0;min-height:0;}

/* Layout for pages that DO have a sidebar */
.mt-body .pkp_structure_content.has_sidebar{display:flex;gap:36px;align-items:flex-start;max-width:var(--mt-maxw);margin:0 auto;padding:40px 28px!important;}
.mt-body .pkp_structure_content.has_sidebar .pkp_structure_main{max-width:none;margin:0;padding:0;flex:1;min-width:0;}
.mt-body .pkp_structure_content.has_sidebar .pkp_structure_sidebar{width:300px;flex-shrink:0;}

/* 2) Link colours on dark chrome — beat base `.mt-body a{color:blue}` (0,1,1) */
.mt-body a.mt-nav__link{color:rgba(255,255,255,.92);}
.mt-body a.mt-nav__link:hover{color:#fff;}
.mt-body a.mt-nav__link.is-active{color:var(--mt-gold-lt);}
.mt-body a.mt-nav__search{color:#fff;}
.mt-body a.mt-topbar__link{color:rgba(255,255,255,.82);}
.mt-body a.mt-topbar__link:hover{color:#fff;}
.mt-body a.mt-topbar__btn{color:var(--mt-navy-dark);}
.mt-body a.mt-brand,.mt-body a.mt-brand:hover{color:#fff;}
.mt-body a.mt-issue-card__cta{color:var(--mt-gold-lt);}
.mt-body a.mt-announce__link{color:var(--mt-navy);}
.mt-body a.mt-viewall{color:var(--mt-blue);}
.mt-body a.mt-btn--primary,.mt-body a.mt-btn--white{color:var(--mt-navy-dark)!important;}
.mt-body a.mt-btn--outline,.mt-body a.mt-btn--ghost{color:#fff!important;}
.mt-body a.mt-btn--primary:hover,.mt-body a.mt-btn--white:hover{color:var(--mt-navy-dark)!important;}
.mt-body a.mt-btn--outline:hover,.mt-body a.mt-btn--ghost:hover{color:#fff!important;}
.mt-body .mt-footer__col ul a{color:rgba(255,255,255,.7);}
.mt-body .mt-footer__col ul a:hover{color:#fff;}

/* 3) Style default OJS form buttons (login, search, lost-password, generic) */
.mt-body .cmp_button,
.mt-body .cmp_form .buttons button,
.mt-body .page_lost_password .buttons button,
.mt-body button.submitFormButton,
.mt-body .page_search .submit button{
  background:var(--mt-navy)!important;color:#fff!important;border:none!important;
  border-radius:9px!important;padding:11px 24px!important;font-weight:600!important;
  box-shadow:0 3px 12px rgba(26,50,96,.22)!important;line-height:normal!important;text-shadow:none!important;
}
/* Remove default theme's overlapping FontAwesome icon on the search submit button */
.mt-body .page_search .submit button:after{display:none!important;}
.mt-body .page_search .submit button{padding:11px 28px!important;}
.mt-body .cmp_button:hover,
.mt-body .cmp_form .buttons button:hover,
.mt-body .page_search .submit button:hover{background:var(--mt-blue)!important;}
/* Primary submit (e.g. Login) → gold accent */
.mt-body .cmp_form .buttons button[type="submit"],
.mt-body .cmp_form .buttons input[type="submit"]{background:var(--mt-gold)!important;color:var(--mt-navy-dark)!important;box-shadow:0 4px 14px rgba(201,162,39,.32)!important;}
.mt-body .cmp_form .buttons button[type="submit"]:hover{background:var(--mt-gold-lt)!important;}

/* 4) Form inputs — wider, consistent */
.mt-body .pkp_structure_main input[type="text"],
.mt-body .pkp_structure_main input[type="email"],
.mt-body .pkp_structure_main input[type="password"],
.mt-body .pkp_structure_main input[type="search"]{width:100%;max-width:440px;}

/* 5) Interior page titles & breadcrumb spacing */
.mt-body .pkp_structure_main .cmp_breadcrumbs{margin-bottom:18px;}
.mt-body .pkp_structure_main h1{font-size:clamp(26px,3.4vw,34px);margin:0 0 18px;}

/* 6) Compact empty-state */
.mt-empty{padding:44px 32px;}

/* 7) Regular OJS content links inside main are blue & readable —
      but DO NOT recolour our own buttons/branded links (they live inside
      .pkp_structure_main on the homepage). Exclude any .mt-* element. */
.mt-body .pkp_structure_main a:not([class*="mt-"]){color:var(--mt-blue);}
.mt-body .pkp_structure_main a:not([class*="mt-"]):hover{color:var(--mt-navy);}

/* 8) Contrast bumps — text that was too faint on dark backgrounds */
.mt-body .mt-step span{color:rgba(255,255,255,.78);}
.mt-body .mt-issue-card__vol{color:rgba(255,255,255,.72);}
.mt-body .mt-topbar__pub{color:rgba(255,255,255,.6);}
.mt-body .mt-footer__desc{color:rgba(255,255,255,.68);}
.mt-body .mt-footer__logo span{color:rgba(255,255,255,.66);}
.mt-body .mt-footer__issn{color:rgba(255,255,255,.6);}
.mt-body .mt-cover-art__sub{color:rgba(255,255,255,.78);}
.mt-body .mt-hero__desc{color:rgba(255,255,255,.88);}
