/*
Theme Name: Dar Al Nouha Publisher Child
Theme URI: https://darelnouha.com
Author: دار النهى للنشر والتوزيع
Author URI: https://darelnouha.com
Description: القالب الطفل الرسمي لدار النهى — هوية تحريرية كلاسيكية بخط أميري.
Version: 1.2.0
Template: dar-al-nouha-publisher
Requires at least: 6.4
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dar-al-nouha-child
*/

:root {
  --nouha-brand-burgundy: #4B0F16;
  --nouha-brand-burgundy-deep: #26070B;
  --nouha-brand-gold: #C8A96B;
  --nouha-brand-gold-soft: #E8D9B7;
  --nouha-brand-ivory: #F7F4EE;
  --nouha-paper: #FCFAF5;
  --nouha-brand-black: #0D0D0D;
  --nouha-brand-stone: #8E8579;
  --nouha-ink: #241B1B;
  --nouha-muted: #766C67;
  --nouha-line: #D9D0C2;
  --nouha-line-light: #EAE4DA;
  --nouha-font: "Amiri", Georgia, "Times New Roman", serif;
}

html { scroll-behavior: smooth; }
body {
  background: var(--nouha-paper) !important;
  color: var(--nouha-ink) !important;
  font-family: var(--nouha-font) !important;
  font-size: 18px;
  line-height: 1.9;
  text-rendering: optimizeLegibility;
}
button, input, textarea, select, option { font-family: var(--nouha-font) !important; }
a { color: inherit; text-underline-offset: 4px; }
::selection { background: var(--nouha-brand-burgundy); color: #fff; }

/* Remove the visual language used by our other sites: no pills, no soft cards, no gradients. */
.button, button, input[type="submit"], .nouha-btn {
  border-radius: 0 !important;
  letter-spacing: 0;
}

/* ------------------------------------------------------------
   Header — publishing masthead, not an e-commerce dashboard
------------------------------------------------------------ */
.nouha-header--editorial {
  position: relative;
  z-index: 50;
  background: #fffdf9;
  border-bottom: 1px solid var(--nouha-line);
  box-shadow: none !important;
}
.nouha-header__utility {
  border-bottom: 1px solid var(--nouha-line-light);
  background: transparent !important;
  color: var(--nouha-muted);
  font-size: 13px;
}
.nouha-header__utility-inner {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nouha-header__utility-links,
.nouha-header__utility-contact { display: flex; align-items: center; gap: 10px; }
.nouha-header__utility a { color: var(--nouha-muted); text-decoration: none; }
.nouha-header__utility a:hover { color: var(--nouha-brand-burgundy); }

.nouha-header__masthead {
  min-height: 118px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 16px 0 12px;
}
.nouha-logo--masthead { display: block; justify-self: center; }
.nouha-logo--masthead .nouha-logo__img {
  display: block;
  width: 235px;
  max-height: 84px;
  object-fit: contain;
}
.nouha-header__side { min-width: 0; display: flex; align-items: center; gap: 22px; }
.nouha-header__side--right { justify-content: flex-start; }
.nouha-header__side--left { justify-content: flex-end; }
.nouha-header-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #4a3e3c;
  text-decoration: none;
  font-size: 15px;
  white-space: nowrap;
}
.nouha-header-action:hover { color: var(--nouha-brand-burgundy); }
.nouha-header-action svg,
.nouha-search--editorial svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nouha-header-action__count {
  display: inline-grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--nouha-brand-burgundy);
  color: #fff;
  font: 700 11px/1 var(--nouha-font);
}
.nouha-search--editorial {
  width: min(300px, 100%);
  display: grid;
  grid-template-columns: 1fr 34px;
  align-items: center;
  border-bottom: 1px solid #9e9186;
  background: transparent;
}
.nouha-search--editorial:focus-within { border-bottom-color: var(--nouha-brand-burgundy); }
.nouha-search--editorial input[type="search"] {
  width: 100%;
  min-width: 0;
  height: 40px;
  padding: 0 0 0 8px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--nouha-ink);
  font-size: 16px;
}
.nouha-search--editorial input::placeholder { color: #9b918b; opacity: 1; }
.nouha-search--editorial button {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--nouha-brand-burgundy);
  cursor: pointer;
}

.nouha-primary-nav {
  border-top: 1px solid var(--nouha-line-light);
  background: transparent;
}
.nouha-primary-nav__inner {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}
.nouha-primary-nav__inner > li { list-style: none; margin: 0; padding: 0; }
.nouha-primary-nav__inner > li > a,
.nouha-primary-nav__inner > a {
  position: relative;
  display: inline-block;
  padding: 10px 0 9px;
  color: #493d3b;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
}
.nouha-primary-nav__inner > li > a::after,
.nouha-primary-nav__inner > a::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: 5px;
  width: 0;
  height: 1px;
  background: var(--nouha-brand-gold);
  transition: width .2s ease, right .2s ease;
}
.nouha-primary-nav__inner > li > a:hover::after,
.nouha-primary-nav__inner > .current-menu-item > a::after,
.nouha-primary-nav__inner > a:hover::after { width: 100%; right: 0; }
.nouha-primary-nav__inner > li > a:hover,
.nouha-primary-nav__inner > .current-menu-item > a { color: var(--nouha-brand-burgundy); }

/* ------------------------------------------------------------
   Editorial primitives
------------------------------------------------------------ */
.nouha-editorial-kicker {
  color: var(--nouha-brand-burgundy);
  font-size: 14px;
  letter-spacing: .03em;
}
.nouha-editorial-title {
  margin: 0;
  font: 700 clamp(38px, 5vw, 72px)/1.3 var(--nouha-font);
  color: var(--nouha-brand-burgundy);
}
.nouha-editorial-rule {
  width: 86px;
  height: 1px;
  background: var(--nouha-brand-gold);
  margin: 18px 0;
}
.nouha-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--nouha-line);
}
.nouha-section-head h2 {
  margin: 0;
  color: var(--nouha-brand-burgundy);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.35;
}
.nouha-section-head a { color: var(--nouha-muted); font-size: 15px; }
.nouha-section-head a:hover { color: var(--nouha-brand-burgundy); }

/* ------------------------------------------------------------
   Home — asymmetric publishing catalogue
------------------------------------------------------------ */
.nouha-home-v12 { background: var(--nouha-paper); }
.nouha-home-v12__hero {
  position: relative;
  padding: 72px 0 76px;
  border-bottom: 1px solid var(--nouha-line);
  overflow: hidden;
}
.nouha-home-v12__hero::before {
  content: "";
  position: absolute;
  top: -110px;
  left: -70px;
  width: 340px;
  height: 340px;
  background: url("assets/images/mark-burgundy.png") center/contain no-repeat;
  opacity: .025;
  pointer-events: none;
}
.nouha-home-v12__hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
}
.nouha-home-v12__intro { max-width: 700px; }
.nouha-home-v12__intro p {
  max-width: 620px;
  margin: 20px 0 0;
  color: #605652;
  font-size: 20px;
  line-height: 2;
}
.nouha-home-v12__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }
.nouha-home-v12__link-primary,
.nouha-home-v12__link-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 0 24px;
  text-decoration: none;
  font-size: 16px;
}
.nouha-home-v12__link-primary { background: var(--nouha-brand-burgundy); color: #fff; border: 1px solid var(--nouha-brand-burgundy); }
.nouha-home-v12__link-primary:hover { background: var(--nouha-brand-burgundy-deep); }
.nouha-home-v12__link-secondary { border: 1px solid #9b8f87; color: #4d403d; }
.nouha-home-v12__link-secondary:hover { border-color: var(--nouha-brand-burgundy); color: var(--nouha-brand-burgundy); }

.nouha-home-v12__feature {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 24px;
  align-items: end;
  border-right: 1px solid var(--nouha-brand-gold);
  padding-right: 28px;
}
.nouha-home-v12__feature-cover {
  display: block;
  background: #eee7dc;
  padding: 12px;
  box-shadow: 18px 18px 0 #ede4d5;
}
.nouha-home-v12__feature-cover img { display: block; width: 100%; height: 290px; object-fit: contain; }
.nouha-home-v12__feature-meta small { display: block; color: var(--nouha-brand-gold); margin-bottom: 8px; }
.nouha-home-v12__feature-meta h2 { margin: 0 0 8px; color: var(--nouha-brand-burgundy); font-size: 31px; line-height: 1.35; }
.nouha-home-v12__feature-meta p { margin: 0 0 14px; color: var(--nouha-muted); line-height: 1.8; }
.nouha-home-v12__feature-price { color: var(--nouha-brand-burgundy); font-size: 23px; font-weight: 700; }

.nouha-home-v12__section { padding: 66px 0; border-bottom: 1px solid var(--nouha-line-light); }
.nouha-home-v12__section--warm { background: #f3ede3; }
.nouha-home-v12__books { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 30px 24px; }
.nouha-home-v12__categories { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--nouha-line); }
.nouha-home-v12__category {
  min-height: 86px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--nouha-line);
  text-decoration: none;
}
.nouha-home-v12__category:nth-child(4n+1),
.nouha-home-v12__category:nth-child(4n+2),
.nouha-home-v12__category:nth-child(4n+3) { border-left: 1px solid var(--nouha-line); padding-left: 22px; }
.nouha-home-v12__category:not(:nth-child(4n+1)) { padding-right: 22px; }
.nouha-home-v12__category strong { color: var(--nouha-brand-burgundy); font-size: 21px; font-weight: 700; }
.nouha-home-v12__category span { color: #9d9087; font-size: 13px; }
.nouha-home-v12__category:hover strong { color: #2b070b; }
.nouha-home-v12__authors { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--nouha-line); }
.nouha-home-v12__author {
  padding: 19px 0;
  border-bottom: 1px solid var(--nouha-line);
  text-decoration: none;
  color: #3f3432;
  font-size: 20px;
}
.nouha-home-v12__author:not(:nth-child(3n+1)) { padding-right: 25px; }
.nouha-home-v12__author:nth-child(3n+1),
.nouha-home-v12__author:nth-child(3n+2) { border-left: 1px solid var(--nouha-line); padding-left: 25px; }
.nouha-home-v12__author:hover { color: var(--nouha-brand-burgundy); }

/* ------------------------------------------------------------
   Legacy home cards: flattened so old sections also inherit design
------------------------------------------------------------ */
.nouha-book-card {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  transform: none !important;
}
.nouha-book-card__cover { background: transparent; border-radius: 0 !important; padding: 0 !important; }
.nouha-book-card__img { object-fit: contain !important; filter: drop-shadow(0 12px 12px rgba(36,27,27,.10)); }
.nouha-book-card__body { padding: 16px 0 0 !important; }
.nouha-book-card__title { margin: 0 0 6px !important; font-size: 21px !important; line-height: 1.45 !important; font-weight: 700 !important; }
.nouha-book-card__author { color: var(--nouha-muted) !important; font-size: 15px !important; }
.nouha-book-card__meta { border-top: 1px solid var(--nouha-line-light); margin-top: 10px; padding-top: 8px; }
.nouha-book-card__foot { border: 0 !important; padding-top: 8px !important; }
.nouha-book-card__price { color: var(--nouha-brand-burgundy) !important; font-size: 19px !important; }
.nouha-book-card__button { border-radius: 0 !important; }

/* ------------------------------------------------------------
   Content pages
------------------------------------------------------------ */
.nouha-brand-page { padding: 64px 0 90px; background: var(--nouha-paper); }
.nouha-brand-page__hero {
  max-width: 900px;
  margin: 0 auto 55px;
  padding: 0 0 36px !important;
  border-radius: 0 !important;
  border-bottom: 1px solid var(--nouha-line);
  background: transparent !important;
  color: var(--nouha-ink) !important;
  box-shadow: none !important;
}
.nouha-brand-page__hero::after { display: none !important; }
.nouha-brand-page__eyebrow { color: var(--nouha-brand-gold) !important; }
.nouha-brand-page__title { color: var(--nouha-brand-burgundy) !important; font-size: clamp(38px, 5vw, 64px) !important; }
.nouha-brand-page__lead { color: #5f5551 !important; font-size: 20px !important; }
.nouha-brand-page__grid { gap: 0 !important; border-top: 1px solid var(--nouha-line); }
.nouha-brand-card {
  border: 0 !important;
  border-bottom: 1px solid var(--nouha-line) !important;
  border-left: 1px solid var(--nouha-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 30px !important;
}
.nouha-brand-card:last-child { border-left: 0 !important; }
.nouha-brand-card h2,.nouha-brand-card h3 { color: var(--nouha-brand-burgundy) !important; font-size: 27px; }

/* ------------------------------------------------------------
   Footer — flat ink block with a gold rule
------------------------------------------------------------ */
.nouha-footer {
  position: relative;
  background: var(--nouha-brand-burgundy-deep) !important;
  color: rgba(255,255,255,.80);
}
.nouha-footer::before { content: ""; display: block; height: 4px; background: var(--nouha-brand-gold); }
.nouha-footer__main { padding-top: 58px; }
.nouha-footer__brand-name { color: #fff !important; font-size: 24px; }
.nouha-footer__brand-desc { color: rgba(255,255,255,.66) !important; max-width: 420px; }
.nouha-footer__col-title { color: var(--nouha-brand-gold-soft) !important; font-size: 19px; font-weight: 700; }
.nouha-footer a { color: rgba(255,255,255,.72); }
.nouha-footer a:hover { color: #fff; }
.nouha-footer__bottom { border-top: 1px solid rgba(255,255,255,.14) !important; }
.nouha-footer__logo img { max-width: 220px; }

/* ------------------------------------------------------------
   Responsive
------------------------------------------------------------ */
@media (max-width: 1100px) {
  .nouha-home-v12__books { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .nouha-header__masthead { grid-template-columns: 1fr auto 1fr; }
  .nouha-logo--masthead .nouha-logo__img { width: 200px; }
  .nouha-search--editorial { width: 230px; }
}

@media (max-width: 900px) {
  .nouha-header__utility-contact { display: none; }
  .nouha-header__masthead {
    grid-template-columns: 1fr auto;
    grid-template-areas: "logo actions" "search search";
    min-height: 0;
    padding: 12px 0 14px;
  }
  .nouha-logo--masthead { grid-area: logo; justify-self: start; }
  .nouha-logo--masthead .nouha-logo__img { width: 175px; max-height: 62px; }
  .nouha-header__side--right { grid-area: actions; justify-self: end; }
  .nouha-header__side--left { grid-area: search; justify-self: stretch; width: 100%; }
  .nouha-search--editorial { width: 100%; }
  .nouha-primary-nav__inner { justify-content: flex-start; overflow-x: auto; gap: 26px; white-space: nowrap; }
  .nouha-home-v12__hero-grid { grid-template-columns: 1fr; }
  .nouha-home-v12__feature { max-width: 620px; }
  .nouha-home-v12__books { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nouha-home-v12__categories { grid-template-columns: repeat(2, 1fr); }
  .nouha-home-v12__category:nth-child(n) { border-left: 0; padding-left: 0; padding-right: 0; }
  .nouha-home-v12__category:nth-child(odd) { border-left: 1px solid var(--nouha-line); padding-left: 22px; }
  .nouha-home-v12__category:nth-child(even) { padding-right: 22px; }
  .nouha-home-v12__authors { grid-template-columns: repeat(2, 1fr); }
  .nouha-home-v12__author:nth-child(n) { border-left: 0; padding-left: 0; padding-right: 0; }
  .nouha-home-v12__author:nth-child(odd) { border-left: 1px solid var(--nouha-line); padding-left: 22px; }
  .nouha-home-v12__author:nth-child(even) { padding-right: 22px; }
  .nouha-brand-page__grid { grid-template-columns: 1fr !important; }
  .nouha-brand-card { border-left: 0 !important; }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .nouha-header__utility-links { width: 100%; justify-content: center; }
  .nouha-header-action span { display: none; }
  .nouha-header__side--right { gap: 13px; }
  .nouha-primary-nav__inner { min-height: 43px; font-size: 15px; }
  .nouha-home-v12__hero { padding: 50px 0 54px; }
  .nouha-home-v12__feature { grid-template-columns: 125px 1fr; padding-right: 18px; gap: 18px; }
  .nouha-home-v12__feature-cover img { height: 190px; }
  .nouha-home-v12__feature-meta h2 { font-size: 24px; }
  .nouha-home-v12__books { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 16px; }
  .nouha-home-v12__categories,
  .nouha-home-v12__authors { grid-template-columns: 1fr; }
  .nouha-home-v12__category:nth-child(n),
  .nouha-home-v12__author:nth-child(n) { border-left: 0; padding-left: 0; padding-right: 0; }
  .nouha-section-head { align-items: start; }
}

/* Authors index — editorial directory */
.nouha-authors-v12 { padding-bottom: 90px; background: var(--nouha-paper); }
.nouha-authors-v12__head { padding: 58px 0 42px; border-bottom: 1px solid var(--nouha-line); }
.nouha-authors-v12__head h1 { margin: 3px 0 8px; color: var(--nouha-brand-burgundy); font-size: clamp(44px,6vw,76px); line-height: 1.25; }
.nouha-authors-v12__head p { max-width: 700px; margin: 0; color: var(--nouha-muted); font-size: 19px; }
.nouha-authors-v12__body { padding-top: 24px; }
.nouha-authors-v12__breadcrumb { display: flex; gap: 8px; margin-bottom: 44px; color: #91857d; font-size: 13px; }
.nouha-authors-v12__summary { display: flex; align-items: baseline; gap: 10px; margin-bottom: 22px; color: var(--nouha-muted); }
.nouha-authors-v12__summary strong { color: var(--nouha-brand-burgundy); font-size: 32px; }
.nouha-authors-v12__list { border-top: 1px solid var(--nouha-line); }
.nouha-authors-v12__row {
  display: grid;
  grid-template-columns: 64px minmax(170px,.7fr) minmax(260px,1.6fr) 90px 25px;
  align-items: center;
  gap: 24px;
  min-height: 96px;
  padding: 14px 0;
  border-bottom: 1px solid var(--nouha-line);
  text-decoration: none;
}
.nouha-authors-v12__row:hover { color: inherit; background: rgba(200,169,107,.055); }
.nouha-authors-v12__portrait { width: 52px; height: 64px; overflow: hidden; background: #eee7dc; display: grid; place-items: center; color: var(--nouha-brand-burgundy); font-size: 26px; }
.nouha-authors-v12__portrait img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.2); }
.nouha-authors-v12__name { color: var(--nouha-brand-burgundy); font-size: 23px; font-weight: 700; }
.nouha-authors-v12__bio { color: #6d625d; font-size: 15px; line-height: 1.7; }
.nouha-authors-v12__count { color: #9b8f87; font-size: 14px; white-space: nowrap; }
.nouha-authors-v12__arrow { color: var(--nouha-brand-gold); font-size: 23px; transition: transform .18s ease; }
.nouha-authors-v12__row:hover .nouha-authors-v12__arrow { transform: translateX(-4px); }
@media (max-width:800px){
  .nouha-authors-v12__row{grid-template-columns:52px 1fr auto;gap:16px;}
  .nouha-authors-v12__bio{grid-column:2 / -1; padding-bottom:8px;}
  .nouha-authors-v12__count{grid-column:3;grid-row:1;}
  .nouha-authors-v12__arrow{display:none;}
}

/* Author profile — editorial, no dashboard/cards */
.nouha-author-v12 { background: var(--nouha-paper); padding-bottom: 90px; }
.nouha-author-v12__hero { padding: 60px 0 56px; border-bottom: 1px solid var(--nouha-line); }
.nouha-author-v12__hero-grid { display: grid; grid-template-columns: minmax(0,1fr) 230px; gap: 70px; align-items: center; }
.nouha-author-v12__identity h1 { margin: 2px 0 12px; color: var(--nouha-brand-burgundy); font-size: clamp(48px,6vw,80px); line-height: 1.22; }
.nouha-author-v12__identity > p { max-width: 760px; margin: 0; color: #665b56; font-size: 20px; line-height: 1.9; }
.nouha-author-v12__links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; }
.nouha-author-v12__links a { color: var(--nouha-brand-burgundy); font-size: 14px; }
.nouha-author-v12__portrait { width: 210px; height: 270px; display: grid; place-items: center; overflow: hidden; background: #eee7dc; box-shadow: 16px 16px 0 #ebe1d2; color: var(--nouha-brand-burgundy); font-size: 80px; }
.nouha-author-v12__portrait img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.12); }
.nouha-author-v12__content { padding-top: 25px; }
.nouha-author-v12__breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 52px; color: #91857d; font-size: 13px; }
.nouha-author-v12__section { padding: 50px 0; border-top: 1px solid var(--nouha-line); }
.nouha-author-v12__section > header { display: grid; grid-template-columns: 150px 1fr; gap: 28px; margin-bottom: 28px; }
.nouha-author-v12__section > header span { color: var(--nouha-brand-gold); font-size: 13px; }
.nouha-author-v12__section > header h2 { margin: 0; color: var(--nouha-brand-burgundy); font-size: 36px; line-height: 1.3; }
.nouha-author-v12__prose { max-width: 900px; margin-right: 178px; color: #433936; font-size: 19px; line-height: 2.1; }
.nouha-author-v12__prose p { margin: 0 0 1.2em; }
.nouha-author-v12__facts { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--nouha-line); border-bottom: 1px solid var(--nouha-line); }
.nouha-author-v12__facts > div { padding: 28px; }
.nouha-author-v12__facts > div:not(:last-child) { border-left: 1px solid var(--nouha-line); }
.nouha-author-v12__facts span { color: var(--nouha-brand-gold); font-size: 13px; }
.nouha-author-v12__facts p,.nouha-author-v12__facts li { color: #5e5450; }
.nouha-author-v12__facts ul { margin: 8px 0 0; padding-right: 20px; }
.nouha-author-v12__quotes { display: grid; grid-template-columns: repeat(2,1fr); gap: 0; border-top: 1px solid var(--nouha-line); }
.nouha-author-v12__quotes blockquote { margin: 0; padding: 28px 0 28px 35px; border-bottom: 1px solid var(--nouha-line); }
.nouha-author-v12__quotes blockquote:nth-child(even) { padding-right: 35px; border-right: 1px solid var(--nouha-line); }
.nouha-author-v12__quotes p { margin: 0; color: #3d312f; font-size: 23px; line-height: 1.8; }
.nouha-author-v12__quotes cite { display: block; margin-top: 12px; color: #93877f; font-style: normal; font-size: 13px; }
.nouha-author-v12__book-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 42px 24px; }
.nouha-author-v12__pagination { margin-top: 50px; }
.nouha-author-v12__pagination ul { display: flex; gap: 10px; list-style: none; padding: 0; }
.nouha-author-v12__pagination a,.nouha-author-v12__pagination span { display: inline-block; min-width: 30px; padding: 3px 8px; border-bottom: 1px solid transparent; }
.nouha-author-v12__pagination .current { color: var(--nouha-brand-burgundy); border-bottom-color: var(--nouha-brand-burgundy); }
.nouha-author-v12__notes { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid var(--nouha-line); }
.nouha-author-v12__notes article { padding: 24px 0 24px 30px; border-bottom: 1px solid var(--nouha-line); }
.nouha-author-v12__notes article:nth-child(even) { padding-right: 30px; border-right: 1px solid var(--nouha-line); }
.nouha-author-v12__notes h3 { margin: 0 0 6px; color: var(--nouha-brand-burgundy); font-size: 23px; }
.nouha-author-v12__notes p { margin: 0 0 8px; color: #655b56; }
.nouha-author-v12__notes small { color: #968a82; }
.nouha-author-v12__gallery { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.nouha-author-v12__gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.nouha-author-v12__videos { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.nouha-author-v12__videos iframe { width: 100%; aspect-ratio: 16/9; height: auto; }
@media (max-width:900px){
  .nouha-author-v12__hero-grid{grid-template-columns:1fr 180px;gap:35px;}
  .nouha-author-v12__portrait{width:170px;height:220px;}
  .nouha-author-v12__facts{grid-template-columns:1fr;}
  .nouha-author-v12__facts > div:not(:last-child){border-left:0;border-bottom:1px solid var(--nouha-line);}
  .nouha-author-v12__prose{margin-right:0;}
  .nouha-author-v12__book-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media (max-width:650px){
  .nouha-author-v12__hero-grid{grid-template-columns:1fr;}
  .nouha-author-v12__portrait{grid-row:1;width:130px;height:170px;}
  .nouha-author-v12__section > header{grid-template-columns:1fr;gap:2px;}
  .nouha-author-v12__quotes,.nouha-author-v12__notes{grid-template-columns:1fr;}
  .nouha-author-v12__quotes blockquote:nth-child(n),.nouha-author-v12__notes article:nth-child(n){padding:22px 0;border-right:0;}
  .nouha-author-v12__book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 16px;}
  .nouha-author-v12__gallery{grid-template-columns:repeat(2,1fr);}
  .nouha-author-v12__videos{grid-template-columns:1fr;}
}

/* Font lock for the Nouha presentation layer; avoids inheriting Cairo from the reusable parent. */
body,
.nouha-header,
.nouha-header input,
.nouha-header button,
.nouha-primary-nav,
.nouha-footer,
.nouha-home-v12,
.nouha-authors-v12,
.nouha-author-v12,
.nouha-brand-page {
  font-family: var(--nouha-font) !important;
}
