:root {
    --irhp-green: #285f49;
    --irhp-green-dark: #123b2c;
    --irhp-green-deep: #08291e;
    --irhp-green-mid: #3d765b;
    --irhp-green-soft: #e9f3ed;
    --irhp-gold: #d6ad52;
    --irhp-gold-soft: #f4e5b9;
    --irhp-cream: #f8f6ef;
    --irhp-ink: #20241f;
    --irhp-muted: #707870;
    --irhp-border: #dce7df;
    --irhp-white: #fff;
    font-family: "Rubik", Arial, Helvetica, sans-serif;
}

html.irhp-active,
body.irhp-page-active {
    overflow-x: clip !important;
}

.irhp-page,
.irhp-page *,
.irhp-page *::before,
.irhp-page *::after {
    box-sizing: border-box;
}

.irhp-page {
    position: relative !important;
    left: auto !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 0 !important;
    overflow: visible !important;
    background: #fff;
    color: var(--irhp-ink);
    font-family: "Rubik", Arial, Helvetica, sans-serif !important;
}


.irhp-page :where(h1,h2,h3,h4,p,a,button,input,select,textarea,span,strong,small,div,section,article) {
    font-family: "Rubik", Arial, Helvetica, sans-serif !important;
}

.irhp-fullwidth-host {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: visible !important;
}

.irhp-container {
    width: min(1280px, calc(100% - 48px));
    margin-inline: auto;
}

.irhp-page svg {
    display: block;
    width: 1em;
    height: 1em;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* HERO — image is a real CSS background so theme image rules cannot move it */
.irhp-hero {
    position: relative;
    isolation: isolate;
    min-height: var(--irhp-hero-height, 690px);
    margin-top: calc(var(--irhp-overlap, 96px) * -1);
    padding: calc(132px + var(--irhp-overlap, 96px)) 0 188px;
    overflow: hidden;
    background-color: var(--irhp-green-dark);
    background-image: var(--irhp-hero-image, linear-gradient(135deg, #123b2c, #285f49));
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
}

.irhp-hero::before,
.irhp-hero::after,
.irhp-hero__pattern,
.irhp-hero__background {
    display: none !important;
}

.irhp-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(90deg,
            rgba(6, 40, 28, .56) 0%,
            rgba(12, 66, 46, .34) 38%,
            rgba(22, 92, 65, .14) 68%,
            rgba(22, 92, 65, .03) 100%),
        linear-gradient(180deg, rgba(3, 25, 17, .14) 0%, rgba(3, 25, 17, .02) 54%, rgba(3, 25, 17, .28) 100%);
    pointer-events: none;
}

.irhp-hero__container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 820px) minmax(0, 1fr);
    align-items: center;
}

.irhp-hero__content {
    min-width: 0;
    padding: 18px 0 28px;
}

.irhp-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding: 8px 14px 8px 9px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 999px;
    background: rgba(7, 42, 29, .42);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 10px 30px rgba(0,0,0,.12);
    font-size: 12px;
    font-weight: 650;
    letter-spacing: .035em;
    backdrop-filter: blur(12px);
}

.irhp-icon-circle {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,.14);
    color: #f4d982;
}

.irhp-icon-circle svg { width: 17px; height: 17px; }

.irhp-hero__title {
    max-width: 820px;
    margin: 0 !important;
    color: #fff !important;
    font-size: clamp(50px, 6.4vw, 86px) !important;
    font-weight: 800 !important;
    letter-spacing: -.052em;
    line-height: 1.01 !important;
    text-wrap: balance;
    text-shadow: 0 5px 26px rgba(0,0,0,.24);
}

.irhp-hero__title span {
    display: block;
    color: #f1d47d;
}

.irhp-hero__description {
    max-width: 680px;
    margin: 26px 0 0 !important;
    color: rgba(255,255,255,.9) !important;
    font-size: clamp(17px, 1.8vw, 20px) !important;
    font-weight: 400;
    line-height: 1.75 !important;
    text-shadow: 0 2px 13px rgba(0,0,0,.18);
}

.irhp-hero__features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 25px;
}

.irhp-hero__features span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.95);
    font-size: 13px;
    font-weight: 600;
}

.irhp-hero__features svg {
    width: 19px;
    height: 19px;
    padding: 3px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    color: #f2d779;
}

.irhp-hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 35px;
}

.irhp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 57px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 17px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.15;
    text-decoration: none !important;
    transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s ease, border-color .28s ease, background-color .28s ease;
}

.irhp-button:hover { transform: translateY(-4px); }
.irhp-button svg { width: 19px; height: 19px; }

.irhp-button--primary {
    color: var(--irhp-green-deep) !important;
    background: linear-gradient(135deg, #f7e3a7, #d4a94c);
    box-shadow: 0 16px 34px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.5);
}
.irhp-button--primary:hover { box-shadow: 0 22px 42px rgba(0,0,0,.32); }

.irhp-button--youtube {
    justify-content: flex-start;
    color: #fff !important;
    border-color: rgba(255,255,255,.25);
    background: rgba(7, 43, 30, .52);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
    backdrop-filter: blur(12px);
}
.irhp-button--youtube:hover { border-color: rgba(255,255,255,.44); background: rgba(255,255,255,.16); }

.irhp-youtube-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #fff;
    color: #dc2626;
}
.irhp-youtube-icon svg { width: 21px; height: 21px; }
.irhp-youtube-copy { text-align: left; }
.irhp-youtube-copy small,.irhp-youtube-copy strong { display:block; }
.irhp-youtube-copy small { margin-bottom:3px; color:rgba(255,255,255,.74); font-size:10px; font-weight:500; }
.irhp-youtube-copy strong { color:#fff; font-size:14px; }

/* SEARCH — highest layer and compact initial iframe */
.irhp-search-section {
    position: relative;
    z-index: 10000;
    isolation: isolate;
    margin-top: calc(var(--irhp-search-offset, 92px) * -1);
    padding: 0 18px;
    background: transparent !important;
}

.irhp-search-shell {
    position: relative;
    z-index: 10001;
    width: min(var(--irhp-search-max-width, 1120px), 100%);
    margin-inline: auto;
    padding: 0;
    border: 0;
    border-radius: 28px;
    background: transparent !important;
    box-shadow: 0 26px 60px rgba(13, 54, 39, .18);
}

.irhp-search-shell .ir-wpdm-search-embed,
.irhp-search-shell iframe.ir-wpdm-search-frame {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 180px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 28px !important;
    background: transparent !important;
    overflow: visible !important;
}

.irhp-search-missing,.irhp-notice {
    padding: 20px 22px;
    border: 1px solid var(--irhp-border);
    border-radius: 18px;
    background: #fff;
    color: var(--irhp-ink);
}

/* STATS — one modern floating data rail */
.irhp-stats {
    position: relative;
    z-index: 8;
    padding: 42px 18px 82px;
    background: linear-gradient(180deg, #f4f8f5 0%, #ffffff 100%);
}

.irhp-stats__card {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    padding: 10px;
    border: 1px solid rgba(40,95,73,.13);
    border-radius: 30px;
    background:
        radial-gradient(circle at 8% 0%, rgba(214,173,82,.16), transparent 25%),
        linear-gradient(135deg, #103d2d 0%, #1d5d46 56%, #2f7257 100%);
    box-shadow: 0 26px 66px rgba(17,59,44,.20);
}

.irhp-stat {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    min-width: 0;
    min-height: 126px;
    padding: 22px 18px;
    overflow: hidden;
    border-radius: 23px;
    color: #fff;
    transition: transform .35s cubic-bezier(.2,.8,.2,1), background-color .35s ease, box-shadow .35s ease;
}

.irhp-stat:not(:last-of-type)::before {
    content: "";
    position: absolute;
    top: 25%;
    right: 0;
    width: 1px;
    height: 50%;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,.25), transparent);
}

.irhp-stat:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,.10);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}

.irhp-stat__icon {
    flex:0 0 auto;
    display:grid;
    place-items:center;
    width:58px;
    height:58px;
    border:1px solid rgba(255,255,255,.16);
    border-radius:19px;
    background:rgba(255,255,255,.11);
    color:#f2d57d;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.12);
}
.irhp-stat__icon svg { width:28px; height:28px; }
.irhp-stat > div { min-width:0; }
.irhp-stat strong,.irhp-stat span:not(.irhp-stat__icon){display:block;}
.irhp-stat strong { color:#fff; font-size:clamp(30px,2.8vw,43px); font-weight:800; letter-spacing:-.05em; line-height:1; }
.irhp-stat span:not(.irhp-stat__icon){margin-top:8px;color:rgba(255,255,255,.73);font-size:12px;font-weight:550;line-height:1.3;}
.irhp-stats__divider{display:none;}

/* SHARED */
.irhp-section {
    position: relative;
    padding: 104px 0;
    background:#fff;
    color:var(--irhp-ink);
}
.irhp-languages { background:linear-gradient(180deg,#fff 0%,#f6faf7 100%); }
.irhp-most { background:linear-gradient(180deg,#f8f7f1 0%,#eef4f0 100%); }
.irhp-latest { background:#fff; }

.irhp-section-heading { max-width:790px; margin:0 auto 50px; text-align:center; }
.irhp-section-heading__line { display:block;width:68px;height:5px;margin:0 auto 18px;border-radius:999px;background:linear-gradient(90deg,var(--irhp-green),var(--irhp-gold)); }
.irhp-section-heading h2 { margin:0!important;color:var(--irhp-ink)!important;font-size:clamp(34px,4.2vw,54px)!important;font-weight:800!important;letter-spacing:-.045em;line-height:1.08!important;text-wrap:balance; }
.irhp-section-heading p { margin:17px auto 0!important;color:var(--irhp-muted)!important;font-size:16px!important;line-height:1.75!important; }

/* LANGUAGE CARDS — modern glass tiles */
.irhp-language-grid {
    display:grid;
    grid-template-columns:repeat(var(--irhp-language-columns,4),minmax(0,1fr));
    gap:20px;
}

.irhp-language-card {
    position:relative;
    display:grid;
    grid-template-columns:78px minmax(0,1fr) 44px;
    align-items:center;
    gap:17px;
    min-width:0;
    min-height:144px;
    padding:20px;
    overflow:hidden;
    border:1px solid rgba(40,95,73,.13);
    border-radius:26px;
    background:linear-gradient(145deg, rgba(255,255,255,.98), rgba(241,248,244,.98));
    color:var(--irhp-ink)!important;
    text-decoration:none!important;
    box-shadow:0 16px 40px rgba(20,64,46,.08);
    transform:translateZ(0);
    transition:transform .36s cubic-bezier(.2,.8,.2,1),box-shadow .36s ease,border-color .36s ease;
}

.irhp-language-card::before {
    content:"";
    position:absolute;
    top:-68px;
    right:-58px;
    width:185px;
    height:185px;
    border-radius:50%;
    background:radial-gradient(circle,rgba(214,173,82,.20),rgba(40,95,73,.06) 54%,transparent 70%);
    transition:transform .5s ease;
}

.irhp-language-card::after {
    content:"";
    position:absolute;
    inset:0;
    border-radius:inherit;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.9);
    pointer-events:none;
}

.irhp-language-card:hover {
    transform:translateY(-9px) scale(1.015);
    border-color:rgba(40,95,73,.30);
    box-shadow:0 30px 70px rgba(20,64,46,.17);
}
.irhp-language-card:hover::before { transform:scale(1.22) translate(-6px,8px); }

.irhp-language-card__flag {
    position:relative;
    z-index:1;
    display:grid;
    place-items:center;
    width:78px;
    height:78px;
    overflow:hidden;
    border:5px solid #fff;
    border-radius:50%;
    background:linear-gradient(145deg,#e9f3ed,#d8e8de);
    color:var(--irhp-green);
    box-shadow:0 15px 32px rgba(22,66,48,.17);
    transition:transform .38s cubic-bezier(.2,.8,.2,1),box-shadow .38s ease;
}
.irhp-language-card:hover .irhp-language-card__flag { transform:translateY(-3px) rotate(-3deg) scale(1.08);box-shadow:0 22px 42px rgba(22,66,48,.25); }
.irhp-language-card__flag img { display:block;width:100%;height:100%;object-fit:cover;object-position:center; }
.irhp-language-card__flag svg { width:29px;height:29px; }

.irhp-language-card__content { position:relative;z-index:1;min-width:0; }
.irhp-language-card__content strong,.irhp-language-card__content small { display:block; }
.irhp-language-card__content strong { color:var(--irhp-ink);font-size:19px;font-weight:750;line-height:1.35;overflow-wrap:anywhere; }
.irhp-language-card__content small { width:max-content;max-width:100%;margin-top:10px;padding:6px 10px;border-radius:999px;background:rgba(40,95,73,.09);color:var(--irhp-green-dark);font-size:11px;font-weight:650; }

.irhp-language-card__arrow {
    position:relative;z-index:1;display:grid;place-items:center;width:44px;height:44px;border-radius:15px;background:#fff;color:var(--irhp-green);box-shadow:0 10px 24px rgba(20,64,46,.11);transition:transform .34s ease,background .34s ease,color .34s ease;
}
.irhp-language-card:hover .irhp-language-card__arrow { transform:translateX(7px);background:var(--irhp-green);color:#fff; }
.irhp-language-card__arrow svg{width:18px;height:18px;}

.irhp-section-action{display:flex;justify-content:center;margin-top:40px;}
.irhp-button--outline{min-height:52px;border-color:rgba(40,95,73,.2);background:#fff;color:var(--irhp-green-dark)!important;box-shadow:0 10px 26px rgba(24,66,48,.07);}

/* BOOK CARDS — editorial modern layout with full uncropped cover */
.irhp-book-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px; }

.irhp-book-card {
    position:relative;
    display:grid;
    grid-template-rows:330px minmax(205px,auto);
    min-width:0;
    overflow:hidden;
    border:1px solid rgba(40,95,73,.13);
    border-radius:28px;
    background:#fff;
    box-shadow:0 18px 46px rgba(22,64,47,.09);
    transform:translateZ(0);
    transition:transform .4s cubic-bezier(.2,.8,.2,1),box-shadow .4s ease,border-color .4s ease;
}
.irhp-book-card:hover { transform:translateY(-12px);border-color:rgba(40,95,73,.30);box-shadow:0 36px 80px rgba(22,64,47,.19); }

.irhp-book-card__media {
    position:relative;
    display:grid;
    place-items:center;
    width:100%;
    min-height:330px;
    padding:27px;
    overflow:hidden;
    background:
        radial-gradient(circle at 88% 5%,rgba(214,173,82,.25),transparent 30%),
        radial-gradient(circle at 7% 100%,rgba(40,95,73,.19),transparent 38%),
        linear-gradient(145deg,#fbf8ef,#eaf3ed);
    text-decoration:none!important;
}
.irhp-book-card__media::before { content:"";position:absolute;inset:18px;border:1px solid rgba(255,255,255,.83);border-radius:21px;box-shadow:inset 0 1px 0 rgba(255,255,255,.75); }
.irhp-book-card__media::after { content:"";position:absolute;left:50%;bottom:20px;width:58%;height:30px;border-radius:50%;background:rgba(17,59,44,.20);filter:blur(16px);transform:translateX(-50%); }

.irhp-book-card__media img {
    position:relative;z-index:2;display:block;width:auto;max-width:90%;height:auto;max-height:278px;object-fit:contain;object-position:center;filter:drop-shadow(0 21px 19px rgba(22,53,41,.25));transition:transform .5s cubic-bezier(.2,.8,.2,1),filter .5s ease;
}
.irhp-book-card:hover .irhp-book-card__media img { transform:translateY(-11px) scale(1.055) rotate(-.8deg);filter:drop-shadow(0 30px 26px rgba(22,53,41,.34)); }

.irhp-book-card__placeholder { position:relative;z-index:2;display:grid;place-items:center;width:96px;height:96px;border-radius:28px;background:rgba(255,255,255,.86);color:var(--irhp-green);box-shadow:0 15px 30px rgba(22,64,47,.12); }
.irhp-book-card__placeholder svg{width:48px;height:48px;}

.irhp-book-card__body { position:relative;display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:25px 25px 24px;background:#fff; }
.irhp-book-card__term { display:inline-flex;max-width:100%;padding:7px 11px;border-radius:999px;background:var(--irhp-green-soft);color:var(--irhp-green-dark);font-size:10px;font-weight:700;line-height:1.2; }
.irhp-book-card h3 { width:100%;margin:16px 0 0!important;font-size:20px!important;font-weight:750!important;line-height:1.42!important; }
.irhp-book-card h3 a { color:var(--irhp-ink)!important;text-decoration:none!important;overflow-wrap:anywhere;transition:color .24s ease; }
.irhp-book-card:hover h3 a { color:var(--irhp-green)!important; }

.irhp-book-card__meta { display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;margin-top:auto;padding-top:23px; }
.irhp-book-card__meta span,.irhp-book-card__meta a { display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:650; }
.irhp-book-card__meta span { color:var(--irhp-muted); }
.irhp-book-card__meta a { min-height:42px;padding:0 15px;border-radius:14px;background:linear-gradient(135deg,var(--irhp-green-mid),var(--irhp-green-dark));color:#fff!important;text-decoration:none!important;box-shadow:0 11px 23px rgba(40,95,73,.22);transition:transform .28s ease,box-shadow .28s ease; }
.irhp-book-card__meta a:hover { transform:translateX(4px);box-shadow:0 16px 31px rgba(40,95,73,.31); }
.irhp-book-card__meta svg { width:16px;height:16px; }

/* MAHAD */
.irhp-mahad { background:linear-gradient(180deg,#fff,#f5f8f5); }
.irhp-mahad__card { display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:28px;padding:38px;border-radius:32px;background:linear-gradient(135deg,#0d3829,#1d6248 58%,#34765a);color:#fff;box-shadow:0 28px 70px rgba(17,59,44,.23);transition:transform .35s ease,box-shadow .35s ease; }
.irhp-mahad__card:hover { transform:translateY(-7px);box-shadow:0 38px 84px rgba(17,59,44,.31); }
.irhp-mahad__logo { display:block;width:130px;max-height:105px;object-fit:contain; }
.irhp-mahad__logo-placeholder { display:grid;place-items:center;width:98px;height:98px;border-radius:26px;background:rgba(255,255,255,.1);color:#f0d27c; }
.irhp-mahad__logo-placeholder svg{width:52px;height:52px;}
.irhp-mahad__content{min-width:0;}
.irhp-mahad__eyebrow{display:block;margin-bottom:8px;color:#f0d27c;font-size:11px;font-weight:750;letter-spacing:.12em;text-transform:uppercase;}
.irhp-mahad h2{margin:0!important;color:#fff!important;font-size:clamp(29px,3.5vw,45px)!important;font-weight:800!important;letter-spacing:-.035em;}
.irhp-mahad p{max-width:760px;margin:12px 0 0!important;color:rgba(255,255,255,.8)!important;font-size:15px!important;line-height:1.7!important;}
.irhp-button--light{color:var(--irhp-green-dark)!important;background:#fff;box-shadow:0 12px 28px rgba(0,0,0,.16);}

/* Entrance animation hooks: content remains visible if JavaScript is blocked. */
.irhp-reveal {
    opacity: 0;
    transform: translate3d(0, 34px, 0) scale(.985);
    transition: opacity .78s cubic-bezier(.2,.8,.2,1), transform .78s cubic-bezier(.2,.8,.2,1);
    transition-delay: var(--irhp-reveal-delay, 0ms);
}
.irhp-reveal.is-visible { opacity:1; transform:translate3d(0,0,0) scale(1); }
.irhp-hero__eyebrow,.irhp-hero__title,.irhp-hero__description,.irhp-hero__features,.irhp-hero__buttons {
    animation: irhpHeroEnter .78s cubic-bezier(.2,.8,.2,1) both;
}
.irhp-hero__title{animation-delay:.10s}.irhp-hero__description{animation-delay:.20s}.irhp-hero__features{animation-delay:.30s}.irhp-hero__buttons{animation-delay:.40s}
@keyframes irhpHeroEnter { from{opacity:0;transform:translate3d(-34px,18px,0)} to{opacity:1;transform:none} }

@media (max-width:1120px){
    .irhp-language-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
    .irhp-book-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
    .irhp-hero__container{grid-template-columns:minmax(0,760px) minmax(0,1fr);}
}

@media (max-width:850px){
    .irhp-container{width:min(100% - 30px,1280px);}
    .irhp-hero{min-height:var(--irhp-hero-mobile-height,620px);padding:calc(120px + var(--irhp-overlap,96px)) 0 165px;}
        .irhp-hero{background-position:62% center;}
    .irhp-hero__overlay{background:linear-gradient(180deg,rgba(5,37,26,.28),rgba(7,48,34,.42) 58%,rgba(5,37,26,.60));}
    .irhp-hero__container{grid-template-columns:minmax(0,1fr);text-align:center;}
    .irhp-hero__content{display:flex;flex-direction:column;align-items:center;}
    .irhp-hero__features,.irhp-hero__buttons{justify-content:center;}
    .irhp-search-section{padding-inline:14px;}
    .irhp-search-shell .ir-wpdm-search-embed,.irhp-search-shell iframe.ir-wpdm-search-frame{height:262px!important;}
    .irhp-stats{padding-top:28px;}
    .irhp-stats__card{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px;}
    .irhp-language-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
    .irhp-mahad__card{grid-template-columns:minmax(0,1fr);text-align:center;justify-items:center;}
}

@media (max-width:600px){
    .irhp-container{width:min(100% - 22px,1280px);}
    .irhp-hero{padding-bottom:145px;}
    .irhp-hero__title{font-size:clamp(39px,12vw,54px)!important;}
    .irhp-hero__description{font-size:16px!important;line-height:1.7!important;}
    .irhp-hero__buttons{display:grid;grid-template-columns:minmax(0,1fr);width:100%;}
    .irhp-button{width:100%;}
    .irhp-button--youtube{justify-content:center;}
    .irhp-search-section{margin-top:calc(var(--irhp-search-offset,82px) * -1);padding-inline:10px;}
    .irhp-search-shell,.irhp-search-shell iframe{border-radius:22px!important;}
    .irhp-stats{padding:22px 11px 55px;}
    .irhp-stats__card{gap:11px;}
    .irhp-stat{min-height:112px;padding:17px 14px;gap:11px;border-radius:20px;}
    .irhp-stat__icon{width:48px;height:48px;border-radius:16px;}
    .irhp-stat__icon svg{width:23px;height:23px;}
    .irhp-stat strong{font-size:27px;}
    .irhp-section{padding:78px 0;}
    .irhp-section-heading{margin-bottom:35px;}
    .irhp-language-grid{grid-template-columns:minmax(0,1fr);gap:14px;}
    .irhp-language-card{min-height:116px;padding:16px;border-radius:23px;}
    .irhp-book-grid{grid-template-columns:minmax(0,1fr);gap:20px;}
    .irhp-book-card{grid-template-rows:300px auto;}
    .irhp-mahad__card{padding:28px 20px;border-radius:25px;}
}

@media (max-width:410px){
    .irhp-stats__card{grid-template-columns:minmax(0,1fr);}
    .irhp-stat:not(:last-of-type)::before{display:none;}
    .irhp-stat{min-height:92px;}
    .irhp-language-card{grid-template-columns:64px minmax(0,1fr) 38px;gap:12px;}
    .irhp-language-card__flag{width:64px;height:64px;border-radius:21px;}
}

@media (prefers-reduced-motion:reduce){
    .irhp-button,.irhp-stat,.irhp-language-card,.irhp-book-card,.irhp-mahad__card{transition:none!important;}
    .irhp-reveal{opacity:1!important;transform:none!important;}
    .irhp-hero__eyebrow,.irhp-hero__title,.irhp-hero__description,.irhp-hero__features,.irhp-hero__buttons{animation:none!important;}
}

/* ==========================================================
   v1.5.0 refinements
   ========================================================== */

/* Wider statistics rail and non-wrapping large values. */
.irhp-stats .irhp-stats__card {
    width: min(1500px, calc(100% - 32px));
    max-width: 1500px;
    margin-inline: auto;
}

.irhp-stat > div {
    flex: 0 1 auto;
    min-width: 0;
}

.irhp-stat strong {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    font-size: clamp(28px, 2.45vw, 43px);
}

/* A fresh language-card layout with a circular flag medallion everywhere. */
.irhp-language-grid {
    gap: 24px;
}

.irhp-language-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    min-height: 232px;
    padding: 24px;
    overflow: hidden;
    border: 1px solid rgba(40, 95, 73, .12);
    border-radius: 30px;
    background:
        radial-gradient(circle at 88% 10%, rgba(214, 173, 82, .19), transparent 29%),
        linear-gradient(150deg, #ffffff 0%, #f5faf7 58%, #edf5f0 100%);
    box-shadow: 0 18px 48px rgba(20, 64, 46, .08);
}

.irhp-language-card::before {
    top: auto;
    right: -52px;
    bottom: -74px;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(40, 95, 73, .08);
    background: rgba(40, 95, 73, .035);
}

.irhp-language-card::after {
    inset: 8px;
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 23px;
    box-shadow: none;
}

.irhp-language-card:hover {
    transform: translateY(-10px);
    border-color: rgba(40, 95, 73, .28);
    box-shadow: 0 34px 76px rgba(20, 64, 46, .16);
}

.irhp-language-card__flag {
    width: 88px;
    height: 88px;
    min-width: 88px;
    min-height: 88px;
    border: 5px solid #fff;
    border-radius: 50% !important;
    box-shadow:
        0 16px 36px rgba(22, 66, 48, .17),
        0 0 0 1px rgba(40, 95, 73, .08);
}

.irhp-language-card__flag img {
    width: 100%;
    height: 100%;
    border-radius: 50% !important;
    object-fit: cover;
}

.irhp-language-card__content {
    width: 100%;
    margin-top: 20px;
    padding-right: 50px;
    text-align: start;
}

.irhp-language-card__content strong {
    display: -webkit-box;
    min-height: 54px;
    overflow: hidden;
    color: var(--irhp-ink);
    font-size: 19px;
    font-weight: 760;
    line-height: 1.42;
    word-break: normal;
    overflow-wrap: break-word;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.irhp-language-card__content small {
    margin-top: 13px;
    padding: 7px 11px;
    border: 1px solid rgba(40, 95, 73, .08);
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 7px 18px rgba(20, 64, 46, .06);
}

.irhp-language-card__arrow {
    position: absolute;
    right: 22px;
    bottom: 22px;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(40, 95, 73, .10);
    border-radius: 16px;
}

.irhp-language-card:hover .irhp-language-card__arrow {
    transform: translateX(5px) rotate(-4deg);
}

/* Keep the mobile book-cover shadow inside the media area. */
.irhp-book-card__media {
    isolation: isolate;
}

.irhp-book-card__body {
    z-index: 4;
    border-top: 1px solid rgba(40, 95, 73, .08);
    background: #fff;
    box-shadow: none;
}

/* Mahad Al-Sunnah logo replaces the old icon in a clear logo panel. */
.irhp-mahad__card {
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr) auto;
}

.irhp-mahad__logo-wrap {
    display: grid;
    place-items: center;
    width: 100%;
    min-width: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.irhp-mahad__logo {
    display: block;
    width: 100%;
    max-width: 290px;
    height: auto;
    max-height: none;
    object-fit: contain;
}

@media (max-width: 1120px) and (min-width: 768px) {
    .irhp-stat {
        gap: 11px;
        padding-inline: 12px;
    }

    .irhp-stat__icon {
        width: 50px;
        height: 50px;
        border-radius: 16px;
    }

    .irhp-stat strong {
        font-size: clamp(25px, 2.75vw, 35px);
    }
}

@media (max-width: 850px) {
    .irhp-mahad__card {
        grid-template-columns: minmax(0, 1fr);
    }

    .irhp-mahad__logo-wrap {
        width: min(100%, 440px);
    }

    .irhp-mahad__logo {
        max-width: 400px;
    }
}

@media (max-width: 767px) {
    /* One centered statistic per row: icon, value, then label. */
    .irhp-stats .irhp-stats__card {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        width: min(560px, calc(100% - 22px));
        padding: 12px;
        border-radius: 27px;
    }

    .irhp-stat {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        min-height: 184px;
        padding: 24px 18px;
        border: 1px solid rgba(255, 255, 255, .08);
        border-radius: 22px;
        background: rgba(255, 255, 255, .045);
        text-align: center;
    }

    .irhp-stat:not(:last-of-type)::before {
        display: none;
    }

    .irhp-stat > div {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .irhp-stat__icon {
        width: 62px;
        height: 62px;
        border-radius: 20px;
    }

    .irhp-stat__icon svg {
        width: 29px;
        height: 29px;
    }

    .irhp-stat strong {
        font-size: clamp(34px, 10vw, 44px);
        line-height: 1;
    }

    .irhp-stat span:not(.irhp-stat__icon) {
        margin-top: 8px;
        font-size: 13px;
    }

    /* Compact horizontal mobile language cards, while preserving the circle. */
    .irhp-language-card {
        flex-direction: row;
        align-items: center;
        min-height: 136px;
        padding: 20px 74px 20px 18px;
        border-radius: 25px;
    }

    .irhp-language-card__flag {
        width: 76px;
        height: 76px;
        min-width: 76px;
        min-height: 76px;
        border-radius: 50% !important;
    }

    .irhp-language-card__content {
        margin-top: 0;
        padding-right: 0;
    }

    .irhp-language-card__content strong {
        min-height: 0;
        font-size: 17px;
        -webkit-line-clamp: 3;
    }

    .irhp-language-card__content small {
        margin-top: 9px;
    }

    .irhp-language-card__arrow {
        right: 18px;
        bottom: 50%;
        width: 42px;
        height: 42px;
        transform: translateY(50%);
    }

    .irhp-language-card:hover .irhp-language-card__arrow {
        transform: translate(4px, 50%);
    }

    /* Remove the grey cover shadow at the image/body boundary on mobile. */
    .irhp-book-card {
        box-shadow: 0 14px 38px rgba(22, 64, 47, .10);
    }

    .irhp-book-card__media {
        border-bottom: 1px solid rgba(40, 95, 73, .08);
    }

    .irhp-book-card__media::after {
        display: none;
    }

    .irhp-book-card__media img,
    .irhp-book-card:hover .irhp-book-card__media img {
        filter: drop-shadow(0 12px 11px rgba(22, 53, 41, .16));
    }
}

@media (max-width: 410px) {
    .irhp-language-card {
        display: flex;
        padding: 17px 66px 17px 15px;
    }

    .irhp-language-card__flag {
        width: 68px;
        height: 68px;
        min-width: 68px;
        min-height: 68px;
        border-radius: 50% !important;
    }

    .irhp-language-card__arrow {
        right: 14px;
        width: 38px;
        height: 38px;
    }
}

/* =========================================================
   GLOBAL HEADER — modern, editable, no search box
   ========================================================= */
.irhp-site-header,
.irhp-site-header *,
.irhp-site-footer,
.irhp-site-footer * {
    box-sizing: border-box;
    font-family: "Rubik", Arial, Helvetica, sans-serif !important;
}

.irhp-site-header {
    position: relative;
    top: var(--irhp-header-top, 0px);
    z-index: 99990;
    width: 100%;
    min-height: var(--irhp-header-height, 88px);
    color: var(--irhp-header-text, #173f30);
    background: var(--irhp-header-bg, #fff);
    border-bottom: 1px solid rgba(40, 95, 73, .10);
    box-shadow: 0 10px 32px rgba(18, 59, 44, .07);
    transition: background-color .28s ease, box-shadow .28s ease, color .28s ease, transform .28s ease;
}

.irhp-site-header--sticky {
    position: sticky;
}

.irhp-site-header--overlay {
    position: absolute;
    left: 0;
    right: 0;
    color: var(--irhp-header-overlay-text, #fff);
    background: linear-gradient(180deg, rgba(5, 37, 26, .48), rgba(5, 37, 26, .08));
    border-bottom-color: rgba(255, 255, 255, .13);
    box-shadow: none;
    backdrop-filter: blur(8px);
}

.irhp-site-header.is-scrolled {
    position: fixed;
    left: 0;
    right: 0;
    color: var(--irhp-header-text, #173f30);
    background: color-mix(in srgb, var(--irhp-header-scrolled-bg, #fff) 94%, transparent);
    border-bottom-color: rgba(40, 95, 73, .12);
    box-shadow: 0 14px 38px rgba(18, 59, 44, .13);
    backdrop-filter: blur(18px);
}

.admin-bar .irhp-site-header {
    top: calc(var(--irhp-header-top, 0px) + 32px);
}

.irhp-site-header__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 32px;
    width: min(1380px, calc(100% - 48px));
    min-height: var(--irhp-header-height, 88px);
    margin-inline: auto;
}

.irhp-site-header__brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    color: inherit !important;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none !important;
}

.irhp-site-header__brand img {
    display: block;
    width: auto;
    max-width: 270px;
    height: 58px;
    object-fit: contain;
    object-position: left center;
}

.irhp-site-header__brand-mark {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 15px;
    color: var(--irhp-header-accent, #d6ad52);
    background: rgba(255, 255, 255, .13);
    border: 1px solid currentColor;
}

.irhp-site-header__brand-mark svg { width: 24px; height: 24px; }

.irhp-site-header__nav {
    min-width: 0;
}

.irhp-site-header__menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 2vw, 32px);
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.irhp-site-header__menu li {
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.irhp-site-header__menu > li > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: inherit !important;
    font-size: 14px;
    font-weight: 650;
    text-decoration: none !important;
    white-space: nowrap;
    transition: color .22s ease, transform .22s ease;
}

.irhp-site-header__menu > li > a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 5px;
    left: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--irhp-header-accent, #d6ad52);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s ease;
}

.irhp-site-header__menu > li:hover > a,
.irhp-site-header__menu > li.current-menu-item > a {
    color: var(--irhp-header-accent, #d6ad52) !important;
    transform: translateY(-1px);
}

.irhp-site-header__menu > li:hover > a::after,
.irhp-site-header__menu > li.current-menu-item > a::after {
    transform: scaleX(1);
}

.irhp-site-header__menu .sub-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    z-index: 30;
    display: grid;
    min-width: 230px;
    margin: 0 !important;
    padding: 10px !important;
    border: 1px solid rgba(40, 95, 73, .12);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(18, 59, 44, .18);
    list-style: none !important;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 12px);
    transition: opacity .22s ease, visibility .22s ease, transform .22s ease;
}

.irhp-site-header__menu li:hover > .sub-menu,
.irhp-site-header__menu li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.irhp-site-header__menu .sub-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 11px;
    color: #173f30 !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
}

.irhp-site-header__menu .sub-menu a:hover {
    background: #e9f3ed;
    color: #285f49 !important;
}

.irhp-site-header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.irhp-site-header__cta,
.irhp-site-header__mobile-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 19px;
    border-radius: 15px;
    color: #173f30 !important;
    background: linear-gradient(135deg, #f6e2a7, var(--irhp-header-accent, #d6ad52));
    box-shadow: 0 12px 26px rgba(13, 56, 41, .16);
    font-size: 13px;
    font-weight: 750;
    text-decoration: none !important;
    transition: transform .25s ease, box-shadow .25s ease;
}

.irhp-site-header__cta:hover,
.irhp-site-header__mobile-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 17px 34px rgba(13, 56, 41, .24);
}

.irhp-site-header__cta svg,
.irhp-site-header__mobile-cta svg { width: 17px; height: 17px; }

.irhp-site-header__toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 11px;
    border: 1px solid currentColor;
    border-radius: 14px;
    background: rgba(255, 255, 255, .12);
    color: inherit;
    cursor: pointer;
}

.irhp-site-header__toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 4px 0;
    border-radius: 999px;
    background: currentColor;
    transition: transform .25s ease, opacity .25s ease;
}

.irhp-site-header.menu-open .irhp-site-header__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.irhp-site-header.menu-open .irhp-site-header__toggle span:nth-child(2) { opacity: 0; }
.irhp-site-header.menu-open .irhp-site-header__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.irhp-site-header__mobile {
    position: absolute;
    top: 100%;
    right: 15px;
    left: 15px;
    z-index: 50;
    padding: 12px;
    border: 1px solid rgba(40, 95, 73, .13);
    border-radius: 22px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 24px 68px rgba(18, 59, 44, .22);
    color: #173f30;
    backdrop-filter: blur(18px);
}

.irhp-site-header__mobile-inner { display: grid; gap: 14px; }
.irhp-site-header__menu--mobile { display: grid; gap: 4px; }
.irhp-site-header__menu--mobile > li > a { display: flex; min-height: 46px; padding: 0 13px; border-radius: 12px; }
.irhp-site-header__menu--mobile > li > a:hover { background: #e9f3ed; }
.irhp-site-header__menu--mobile > li > a::after { display: none; }
.irhp-site-header__menu--mobile .sub-menu { position: static; display: grid; margin: 0 0 6px 16px !important; padding: 4px !important; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
.irhp-site-header__mobile-cta { width: 100%; }

/* =========================================================
   GLOBAL FOOTER
   ========================================================= */
.irhp-site-footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin: 0;
    padding: 78px 24px 0;
    color: var(--irhp-footer-text, #dce9e1);
    background: var(--irhp-footer-bg, #0d3829);
}

.irhp-site-footer__glow {
    position: absolute;
    top: -180px;
    right: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--irhp-footer-accent, #d6ad52) 23%, transparent), transparent 68%);
    pointer-events: none;
}

.irhp-site-footer__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(260px, 1.4fr) repeat(4, minmax(150px, .8fr));
    gap: clamp(28px, 4vw, 62px);
    width: min(1380px, 100%);
    margin-inline: auto;
    padding-bottom: 58px;
}

.irhp-site-footer__brand p {
    max-width: 390px;
    margin: 23px 0 0 !important;
    color: var(--irhp-footer-text, #dce9e1) !important;
    font-size: 14px !important;
    line-height: 1.8 !important;
}

.irhp-site-footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--irhp-footer-heading, #fff) !important;
    text-decoration: none !important;
}

.irhp-site-footer__logo img {
    display: block;
    width: auto;
    max-width: 300px;
    height: 74px;
    object-fit: contain;
    object-position: left center;
}

.irhp-site-footer__logo-mark {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 17px;
    color: var(--irhp-footer-accent, #d6ad52);
    background: rgba(255, 255, 255, .08);
}

.irhp-site-footer__logo-mark svg { width: 28px; height: 28px; }

.irhp-site-footer__column h2 {
    margin: 0 0 22px !important;
    color: var(--irhp-footer-heading, #fff) !important;
    font-size: 15px !important;
    font-weight: 750 !important;
    letter-spacing: .02em;
}

.irhp-site-footer__menu,
.irhp-site-footer__languages {
    display: grid;
    gap: 11px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.irhp-site-footer__menu li,
.irhp-site-footer__languages li { margin: 0 !important; padding: 0 !important; list-style: none !important; }

.irhp-site-footer__menu a,
.irhp-site-footer__languages a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--irhp-footer-text, #dce9e1) !important;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none !important;
    transition: color .2s ease, transform .2s ease;
}

.irhp-site-footer__menu a::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--irhp-footer-accent, #d6ad52);
    opacity: .65;
}

.irhp-site-footer__menu a:hover,
.irhp-site-footer__languages a:hover {
    color: var(--irhp-footer-heading, #fff) !important;
    transform: translateX(5px);
}

.irhp-site-footer__languages a { justify-content: space-between; width: 100%; }
.irhp-site-footer__languages small { padding: 3px 7px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--irhp-footer-accent, #d6ad52); font-size: 10px; }

.irhp-site-footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.irhp-site-footer__socials a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 13px;
    color: var(--irhp-footer-heading, #fff) !important;
    background: rgba(255, 255, 255, .07);
    text-decoration: none !important;
    transition: transform .24s ease, background .24s ease, color .24s ease;
}

.irhp-site-footer__socials a:hover {
    transform: translateY(-4px);
    color: #173f30 !important;
    background: var(--irhp-footer-accent, #d6ad52);
}

.irhp-site-footer__socials svg { width: 18px; height: 18px; }

.irhp-site-footer__mahad {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    color: var(--irhp-footer-accent, #d6ad52) !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
}

.irhp-site-footer__mahad svg { width: 16px; height: 16px; }

.irhp-site-footer__bottom {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: min(1380px, 100%);
    min-height: 72px;
    margin-inline: auto;
    border-top: 1px solid rgba(255, 255, 255, .10);
}

.irhp-site-footer__bottom p,
.irhp-site-footer__bottom span {
    margin: 0 !important;
    color: color-mix(in srgb, var(--irhp-footer-text, #dce9e1) 78%, transparent) !important;
    font-size: 11px !important;
}

/* =========================================================
   BOOK SHARING
   ========================================================= */
.irhp-book-share {
    width: 100%;
    margin-top: 18px;
    padding: 14px;
    border: 1px solid rgba(40, 95, 73, .10);
    border-radius: 18px;
    background: linear-gradient(145deg, #f8fbf9, #eef5f1);
}

.irhp-book-share__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 11px;
}

.irhp-book-share__head > span {
    color: var(--irhp-green-dark);
    font-size: 11px;
    font-weight: 750;
}

.irhp-book-share__head strong {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 8px;
    border-radius: 999px;
    color: var(--irhp-green-dark);
    background: #fff;
    font-size: 9px;
    font-weight: 700;
    box-shadow: 0 5px 14px rgba(22, 64, 47, .06);
}

.irhp-book-share__icons {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.irhp-share-icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 10px;
    color: #fff !important;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: 0 7px 16px rgba(18, 59, 44, .12);
    transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

.irhp-share-icon:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 22px rgba(18, 59, 44, .21);
    filter: saturate(1.1);
}

.irhp-share-icon svg { width: 17px; height: 17px; }
.irhp-social-svg { fill: currentColor !important; stroke: none !important; }
.irhp-share-icon--facebook { background: #1877f2; }
.irhp-share-icon--x { background: #151515; }
.irhp-share-icon--twitter { background: #55acee; }
.irhp-share-icon--linkedin { background: #0a66c2; }
.irhp-share-icon--pinterest { background: #bd081c; }
.irhp-share-icon--reddit { background: #ff4500; }
.irhp-share-icon--whatsapp { background: #25d366; }
.irhp-share-icon--email { background: #5c9152; }
.irhp-share-icon--instagram { background: linear-gradient(135deg, #833ab4, #fd1d1d 60%, #fcb045); }
.irhp-share-icon--telegram { background: #2aabee; }

.irhp-book-share__notice {
    display: block;
    min-height: 0;
    margin-top: 0;
    color: var(--irhp-green);
    font-size: 10px;
    font-weight: 650;
    transition: margin .2s ease;
}

.irhp-book-share__notice:not(:empty) { margin-top: 8px; }

/* Card height remains flexible after adding the sharing module. */
.irhp-book-card { grid-template-rows: 330px minmax(265px, auto); }

@media (max-width: 1180px) {
    .irhp-site-header__nav { display: none; }
    .irhp-site-header__toggle { display: block; }
    .irhp-site-footer__inner { grid-template-columns: minmax(250px, 1.2fr) repeat(2, minmax(170px, .8fr)); }
    .irhp-site-footer__social-column { grid-column: span 1; }
}

@media (max-width: 850px) {
    .admin-bar .irhp-site-header { top: calc(var(--irhp-header-mobile-top, 0px) + 46px); }
    .irhp-site-header { top: var(--irhp-header-mobile-top, 0px); min-height: var(--irhp-header-mobile-height, 72px); }
    .irhp-site-header__inner { width: min(100% - 26px, 1380px); min-height: var(--irhp-header-mobile-height, 72px); gap: 16px; }
    .irhp-site-header__brand img { max-width: 210px; height: 46px; }
    .irhp-site-header__cta { display: none; }
    .irhp-site-footer { padding: 58px 18px 0; }
    .irhp-site-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 26px; }
    .irhp-site-footer__brand { grid-column: 1 / -1; }
    .irhp-site-footer__bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding: 20px 0; }
}

@media (max-width: 600px) {
    .irhp-site-header__brand img { max-width: 170px; height: 42px; }
    .irhp-site-header__inner { width: calc(100% - 20px); }
    .irhp-site-header__mobile { right: 10px; left: 10px; border-radius: 18px; }
    .irhp-site-footer__inner { grid-template-columns: minmax(0, 1fr); }
    .irhp-site-footer__brand,
    .irhp-site-footer__social-column { grid-column: auto; }
    .irhp-site-footer__logo img { max-width: 250px; height: 64px; }
    .irhp-book-share { padding: 12px; }
    .irhp-share-icon { width: 31px; height: 31px; border-radius: 9px; }
    .irhp-book-card { grid-template-rows: 300px auto; }
}

/* Keep internal-page headers in normal sticky flow; only the hero overlay becomes fixed after scrolling. */
.irhp-site-header.is-scrolled:not(.irhp-site-header--overlay) {
    position: sticky;
}

.irhp-site-header--overlay.is-scrolled {
    position: fixed;
}

/* =========================================================
   v1.7.0 — Glass header, continuous multilingual ticker,
   two-slide cinematic hero, and Copy Link sharing icon
   ========================================================= */

/* Header wrapper never creates a white band above the homepage hero. */
.irhp-site-header {
    width: 100%;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    pointer-events: none;
}

.irhp-site-header--overlay {
    position: absolute !important;
    top: var(--irhp-header-top, 0px) !important;
    right: 0;
    left: 0;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

.irhp-site-header--sticky:not(.irhp-site-header--overlay) {
    position: sticky;
}

.irhp-site-header.is-scrolled {
    position: fixed !important;
    right: 0;
    left: 0;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.admin-bar .irhp-site-header,
.admin-bar .irhp-site-header--overlay {
    top: calc(var(--irhp-header-top, 0px) + 32px) !important;
}

.irhp-site-header__glass,
.irhp-header-ticker,
.irhp-site-header__mobile {
    pointer-events: auto;
}

.irhp-site-header__glass {
    position: relative;
    width: min(1380px, calc(100% - 34px));
    margin: 10px auto 0;
    overflow: visible;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 24px;
    color: var(--irhp-header-overlay-text, #fff);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .07)),
        rgba(6, 46, 31, .20);
    box-shadow:
        0 18px 50px rgba(4, 28, 19, .18),
        inset 0 1px 0 rgba(255, 255, 255, .22);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
    backdrop-filter: blur(18px) saturate(145%);
    transition: width .32s ease, margin .32s ease, border-radius .32s ease,
        background .32s ease, border-color .32s ease, box-shadow .32s ease,
        color .32s ease, transform .32s ease;
}

.irhp-site-header:not(.irhp-site-header--overlay) .irhp-site-header__glass {
    color: var(--irhp-header-text, #173f30);
    border-color: rgba(40, 95, 73, .14);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(244, 249, 246, .76)),
        rgba(255, 255, 255, .78);
    box-shadow: 0 14px 42px rgba(18, 59, 44, .10), inset 0 1px 0 #fff;
}

.irhp-site-header.is-scrolled .irhp-site-header__glass {
    width: min(1320px, calc(100% - 28px));
    margin-top: 7px;
    color: var(--irhp-header-text, #173f30);
    border-color: rgba(255, 255, 255, .65);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .93), rgba(238, 247, 242, .84)),
        color-mix(in srgb, var(--irhp-header-scrolled-bg, #fff) 72%, transparent);
    box-shadow: 0 17px 48px rgba(10, 49, 34, .17), inset 0 1px 0 #fff;
    -webkit-backdrop-filter: blur(22px) saturate(165%);
    backdrop-filter: blur(22px) saturate(165%);
}

.irhp-site-header__inner {
    width: 100% !important;
    max-width: none !important;
    min-height: var(--irhp-header-height, 88px);
    padding: 0 clamp(17px, 2vw, 28px);
}

.irhp-site-header__brand img {
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .12));
}

.irhp-site-header__menu > li > a {
    border-radius: 11px;
    padding-inline: 5px;
}

.irhp-site-header--overlay:not(.is-scrolled) .irhp-site-header__menu > li > a:hover,
.irhp-site-header--overlay:not(.is-scrolled) .irhp-site-header__menu > li.current-menu-item > a {
    color: #f4da8b !important;
}

.irhp-site-header__toggle {
    border-color: rgba(255, 255, 255, .36);
    background: rgba(255, 255, 255, .13);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
}

.irhp-site-header.is-scrolled .irhp-site-header__toggle,
.irhp-site-header:not(.irhp-site-header--overlay) .irhp-site-header__toggle {
    border-color: rgba(40, 95, 73, .20);
    background: rgba(40, 95, 73, .07);
}

/* Header ticker. Each active message is duplicated by JS so the viewport is
   always filled and the animation has no empty stage. */
.irhp-header-ticker {
    position: relative;
    width: 100%;
    height: 38px;
    overflow: hidden;
    color: var(--irhp-ticker-text, #fff);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .05), transparent 22%, transparent 78%, rgba(255, 255, 255, .05)),
        var(--irhp-ticker-bg, #0b3426);
    border-bottom: 1px solid rgba(255, 255, 255, .09);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .07);
}

.irhp-site-header--overlay .irhp-header-ticker {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .06), transparent 24%, transparent 76%, rgba(255, 255, 255, .06)),
        color-mix(in srgb, var(--irhp-ticker-bg, #0b3426) 86%, transparent);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.irhp-header-ticker__viewport,
.irhp-header-ticker__message {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.irhp-header-ticker__message {
    opacity: 0;
    transition: opacity .42s ease;
}

.irhp-header-ticker__message.is-active {
    opacity: 1;
}

.irhp-header-ticker__track,
.irhp-header-ticker__group {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    width: max-content;
    min-width: max-content;
    height: 100%;
    white-space: nowrap;
    will-change: transform;
}

.irhp-header-ticker__track.is-ltr {
    animation: irhpTickerRightToLeft var(--irhp-ticker-duration, 36s) linear infinite;
}

.irhp-header-ticker__track.is-rtl {
    animation: irhpTickerLeftToRight var(--irhp-ticker-duration, 36s) linear infinite;
}

.irhp-header-ticker.is-paused .irhp-header-ticker__track {
    animation-play-state: paused;
}

.irhp-header-ticker__item {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding-inline: clamp(22px, 3vw, 52px);
    color: inherit;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: .012em;
    unicode-bidi: isolate;
}

.irhp-header-ticker__separator {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border: 1px solid rgba(255, 255, 255, .20);
    border-radius: 50%;
    color: var(--irhp-header-accent, #d6ad52);
    background: rgba(255, 255, 255, .08);
    font-size: 9px;
}

@keyframes irhpTickerRightToLeft {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

@keyframes irhpTickerLeftToRight {
    from { transform: translate3d(-50%, 0, 0); }
    to { transform: translate3d(0, 0, 0); }
}

/* Cinematic two-slide hero. */
.irhp-hero {
    position: relative !important;
    isolation: isolate;
    min-height: var(--irhp-hero-height, 690px);
    margin-top: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    background: var(--irhp-green-dark) !important;
}

.irhp-hero__slides {
    position: relative;
    min-height: var(--irhp-hero-height, 690px);
}

.irhp-hero__slide {
    position: absolute;
    inset: 0;
    z-index: 0;
    min-height: var(--irhp-hero-height, 690px);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .9s ease, visibility .9s ease;
}

.irhp-hero__slide.is-active {
    z-index: 2;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.irhp-hero__slide.is-leaving {
    z-index: 1;
    opacity: 0;
    visibility: visible;
}

.irhp-hero__slide-bg,
.irhp-hero__slide-shade {
    position: absolute;
    inset: 0;
}

.irhp-hero__slide-bg {
    z-index: 0;
    background-color: var(--irhp-green-dark);
    background-image: var(--irhp-slide-image, linear-gradient(135deg, #123b2c, #285f49));
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    transform: scale(1.045);
    transition: transform 9s cubic-bezier(.16, .7, .25, 1), filter 1s ease;
    will-change: transform, filter;
}

.irhp-hero__slide.is-active .irhp-hero__slide-bg {
    transform: scale(1);
}

.irhp-hero__slide-shade {
    z-index: 1;
    background:
        linear-gradient(90deg,
            rgba(4, 35, 24, .48) 0%,
            rgba(8, 53, 36, .29) 42%,
            rgba(13, 76, 51, .08) 76%,
            rgba(13, 76, 51, .02) 100%),
        linear-gradient(180deg, rgba(2, 23, 15, .18), rgba(2, 23, 15, .03) 54%, rgba(2, 23, 15, .34));
}

.irhp-hero__slide .irhp-hero__container {
    position: relative;
    z-index: 3;
    min-height: var(--irhp-hero-height, 690px);
    padding-top: var(--irhp-hero-header-space, 132px);
    padding-bottom: 188px;
}

.irhp-hero__slide [data-irhp-hero-animate] {
    opacity: 0;
    filter: blur(12px);
    transform: translate3d(-70px, 26px, 0) skewX(-2deg);
    transition:
        opacity .72s ease,
        filter .9s ease,
        transform 1s cubic-bezier(.18, .8, .2, 1);
}

.irhp-hero__slide.is-active [data-irhp-hero-animate] {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) skewX(0);
}

.irhp-hero__slide.is-active [data-irhp-hero-animate]:nth-child(1) { transition-delay: .12s; }
.irhp-hero__slide.is-active [data-irhp-hero-animate]:nth-child(2) { transition-delay: .20s; }
.irhp-hero__slide.is-active [data-irhp-hero-animate]:nth-child(3) { transition-delay: .29s; }
.irhp-hero__slide.is-active [data-irhp-hero-animate]:nth-child(4) { transition-delay: .38s; }
.irhp-hero__slide.is-active [data-irhp-hero-animate]:nth-child(5) { transition-delay: .47s; }

.irhp-hero.is-backward .irhp-hero__slide.is-entering [data-irhp-hero-animate] {
    transform: translate3d(70px, 26px, 0) skewX(2deg);
}

.irhp-hero__slide.is-leaving [data-irhp-hero-animate] {
    opacity: 0;
    filter: blur(10px);
    transform: translate3d(58px, -18px, 0) scale(.98);
    transition-delay: 0s !important;
}

.irhp-hero__navigation {
    position: absolute;
    right: max(24px, calc((100vw - 1280px) / 2 + 24px));
    bottom: 132px;
    left: max(24px, calc((100vw - 1280px) / 2 + 24px));
    z-index: 8;
    display: flex;
    align-items: center;
    gap: 15px;
    pointer-events: none;
}

.irhp-hero__dots {
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: auto;
}

.irhp-hero__dot {
    position: relative;
    width: 38px;
    height: 12px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .24);
    cursor: pointer;
    overflow: hidden;
    transition: width .3s ease, background .3s ease, transform .3s ease;
}

.irhp-hero__dot:hover { transform: translateY(-2px); }
.irhp-hero__dot.is-active { width: 62px; background: rgba(255, 255, 255, .36); }
.irhp-hero__dot span { position: absolute; inset: 0; border-radius: inherit; background: #f0d37b; transform: scaleX(0); transform-origin: left; }
.irhp-hero__dot.is-active span { transform: scaleX(1); transition: transform .45s ease; }

.irhp-hero__progress {
    flex: 1 1 auto;
    max-width: 280px;
    height: 2px;
    overflow: hidden;
    border-radius: 99px;
    background: rgba(255, 255, 255, .20);
}

.irhp-hero__progress span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #f0d37b, #fff1ba);
    transform: scaleX(0);
    transform-origin: left;
}

.irhp-hero.is-progressing .irhp-hero__progress span {
    animation: irhpHeroProgress var(--irhp-slider-interval, 8500ms) linear forwards;
}

@keyframes irhpHeroProgress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* Copy Link replaces the misleading Instagram icon. */
.irhp-share-icon--copy {
    color: #fff;
    background: linear-gradient(135deg, #526b60, #173f30);
}

@media (max-width: 850px) {
    .admin-bar .irhp-site-header,
    .admin-bar .irhp-site-header--overlay {
        top: calc(var(--irhp-header-mobile-top, 0px) + 46px) !important;
    }

    .irhp-site-header__glass {
        width: calc(100% - 20px);
        margin-top: 7px;
        border-radius: 19px;
    }

    .irhp-site-header__inner {
        min-height: var(--irhp-header-mobile-height, 72px);
        padding-inline: 13px;
    }

    .irhp-header-ticker { height: 34px; }
    .irhp-header-ticker__item { min-height: 34px; padding-inline: 22px; font-size: 10.5px; }
    .irhp-header-ticker__separator { width: 21px; height: 21px; font-size: 8px; }

    .irhp-hero__slides,
    .irhp-hero__slide,
    .irhp-hero__slide .irhp-hero__container {
        min-height: var(--irhp-hero-mobile-height, 620px);
    }

    .irhp-hero__slide .irhp-hero__container {
        padding-top: var(--irhp-hero-mobile-header-space, 118px);
        padding-bottom: 170px;
    }

    .irhp-hero__navigation {
        right: 20px;
        bottom: 112px;
        left: 20px;
    }
}

@media (max-width: 600px) {
    .irhp-site-header__glass { border-radius: 17px; }
    .irhp-site-header__mobile { top: calc(100% + 7px); }
    .irhp-hero__slide-bg { background-position: center center; }
    .irhp-hero__slide-shade {
        background:
            linear-gradient(180deg, rgba(4, 35, 24, .40), rgba(4, 35, 24, .16) 36%, rgba(4, 35, 24, .50)),
            linear-gradient(90deg, rgba(4, 35, 24, .28), rgba(4, 35, 24, .08));
    }
    .irhp-hero__slide [data-irhp-hero-animate] {
        transform: translate3d(0, 38px, 0) scale(.98);
    }
    .irhp-hero__navigation { bottom: 102px; justify-content: center; }
    .irhp-hero__progress { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .irhp-header-ticker__track,
    .irhp-hero__progress span {
        animation: none !important;
    }
    .irhp-hero__slide,
    .irhp-hero__slide-bg,
    .irhp-hero__slide [data-irhp-hero-animate] {
        transition-duration: .01ms !important;
    }
}

.irhp-site-header.is-scrolled:not(.irhp-site-header--overlay){position:sticky!important;}


body.irhp-plugin-header-active { margin-top: 0 !important; }
.irhp-header-ticker__message,
.irhp-header-ticker__track,
.irhp-header-ticker__group { direction: ltr !important; }
@media (min-width: 851px) {
    .irhp-hero__navigation {
        right: max(34px, calc((100vw - 1280px) / 2 + 34px));
        left: auto;
        width: min(330px, 34vw);
        justify-content: flex-end;
    }
}

/* =========================================================
   v1.8.0 — seamless hero header, visible desktop transitions,
   responsive content safety, animated ticker, and site color mode
   ========================================================= */

html[data-irhp-theme="light"] { color-scheme: light; }
html[data-irhp-theme="dark"] { color-scheme: dark; }

body.irhp-home-hero-integrated,
body.irhp-home-hero-integrated #page,
body.irhp-home-hero-integrated .site,
body.irhp-home-hero-integrated .site-content,
body.irhp-home-hero-integrated main,
body.irhp-home-hero-integrated .elementor-location-single,
body.irhp-home-hero-integrated .elementor-location-archive {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.irhp-home-hero-integrated .irhp-home-hero-host {
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: 0 !important;
}

body.irhp-home-hero-integrated .irhp-page {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* The header is visually and structurally part of the hero. */
.irhp-hero > .irhp-site-header,
.irhp-language-hero > .irhp-site-header {
    position: absolute !important;
    inset: 0 0 auto 0 !important;
    top: 0 !important;
    z-index: 40;
    min-height: 0;
    margin: 0 !important;
}

.irhp-hero > .irhp-site-header.is-scrolled,
.irhp-language-hero > .irhp-site-header.is-scrolled {
    position: fixed !important;
    inset: 0 0 auto 0 !important;
}

.admin-bar .irhp-hero > .irhp-site-header,
.admin-bar .irhp-hero > .irhp-site-header.is-scrolled,
.admin-bar .irhp-language-hero > .irhp-site-header,
.admin-bar .irhp-language-hero > .irhp-site-header.is-scrolled {
    top: 32px !important;
}

.irhp-site-header__glass {
    width: min(1360px, calc(100% - 40px));
    margin: 10px auto 0 !important;
    border-color: rgba(255,255,255,.28);
    background:
        radial-gradient(circle at 12% -20%, rgba(255,255,255,.26), transparent 44%),
        linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.055)),
        rgba(5,45,30,.20);
    box-shadow: 0 20px 52px rgba(2,24,16,.19), inset 0 1px 0 rgba(255,255,255,.28);
    -webkit-backdrop-filter: blur(22px) saturate(165%);
    backdrop-filter: blur(22px) saturate(165%);
}

.irhp-site-header.is-scrolled .irhp-site-header__glass {
    background:
        linear-gradient(135deg, rgba(255,255,255,.94), rgba(239,248,243,.84)),
        color-mix(in srgb, var(--irhp-header-scrolled-bg,#fff) 80%, transparent);
}

/* Theme icon in the header. */
.irhp-theme-toggle {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.30);
    border-radius: 15px;
    color: inherit;
    background: rgba(255,255,255,.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
    cursor: pointer;
    transition: transform .26s ease, background .26s ease, border-color .26s ease;
}

.irhp-theme-toggle:hover { transform: translateY(-2px) rotate(3deg); }
.irhp-theme-toggle span {
    position: absolute;
    display: grid;
    place-items: center;
    transition: opacity .34s ease, transform .48s cubic-bezier(.2,.8,.2,1);
}
.irhp-theme-toggle svg { width: 21px; height: 21px; }
.irhp-theme-toggle__sun { opacity: 1; transform: translateY(0) rotate(0) scale(1); }
.irhp-theme-toggle__moon { opacity: 0; transform: translateY(18px) rotate(-35deg) scale(.65); }
html[data-irhp-theme="dark"] .irhp-theme-toggle__sun { opacity: 0; transform: translateY(-18px) rotate(45deg) scale(.65); }
html[data-irhp-theme="dark"] .irhp-theme-toggle__moon { opacity: 1; transform: translateY(0) rotate(0) scale(1); }
.irhp-site-header.is-scrolled .irhp-theme-toggle,
.irhp-site-header:not(.irhp-site-header--overlay) .irhp-theme-toggle {
    border-color: rgba(40,95,73,.19);
    background: rgba(40,95,73,.07);
}

/* Ticker: continuous motion plus a subtle moving sheen and message entrance. */
.irhp-header-ticker::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 -28%;
    z-index: 4;
    width: 24%;
    pointer-events: none;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.12), transparent);
    transform: skewX(-18deg);
    animation: irhpTickerSheen 6.5s ease-in-out infinite;
}

.irhp-header-ticker__message.is-active {
    animation: irhpTickerMessageIn .62s cubic-bezier(.2,.8,.2,1) both;
}

.irhp-header-ticker__separator {
    color: color-mix(in srgb, var(--irhp-header-accent,#d6ad52) 58%, #fff);
    animation: irhpTickerSeparatorPulse 2.8s ease-in-out infinite;
}

@keyframes irhpTickerSheen {
    0%, 52% { transform: translate3d(0,0,0) skewX(-18deg); opacity: 0; }
    62% { opacity: 1; }
    100% { transform: translate3d(560%,0,0) skewX(-18deg); opacity: 0; }
}
@keyframes irhpTickerMessageIn {
    from { opacity: 0; filter: blur(7px); transform: translateY(-7px); }
    to { opacity: 1; filter: blur(0); transform: translateY(0); }
}
@keyframes irhpTickerSeparatorPulse {
    0%,100% { transform: scale(.92); opacity: .70; }
    50% { transform: scale(1.06); opacity: 1; }
}

/* The runtime height is calculated from the tallest slide so the floating
   search form never covers text or buttons. */
.irhp-hero,
.irhp-hero__slides,
.irhp-hero__slide,
.irhp-hero__slide .irhp-hero__container {
    min-height: var(--irhp-hero-runtime-height, var(--irhp-hero-height, 760px));
}

.irhp-hero__slide .irhp-hero__container {
    padding-top: var(--irhp-hero-header-space, 164px);
    padding-bottom: var(--irhp-hero-bottom-space, 270px);
}

/* A real cinematic wipe on desktop and mobile. The outgoing slide stays
   opaque under the incoming slide, preventing a green blank "third slide". */
.irhp-hero__slide {
    opacity: 0;
    visibility: hidden;
    clip-path: inset(0 0 0 100%);
    transform: translate3d(0,0,0) scale(1.012);
    transition:
        clip-path 1.15s cubic-bezier(.72,0,.18,1),
        opacity .5s ease,
        transform 1.15s cubic-bezier(.2,.8,.2,1),
        visibility 0s linear 1.15s;
    will-change: clip-path, opacity, transform;
}

.irhp-hero.is-backward .irhp-hero__slide:not(.is-active) {
    clip-path: inset(0 100% 0 0);
}

.irhp-hero__slide.is-entering {
    z-index: 4;
    visibility: visible;
    opacity: 1;
    pointer-events: none;
    transition-delay: 0s;
}

.irhp-hero.is-forward .irhp-hero__slide.is-entering:not(.is-active) { clip-path: inset(0 0 0 100%); }
.irhp-hero.is-backward .irhp-hero__slide.is-entering:not(.is-active) { clip-path: inset(0 100% 0 0); }

.irhp-hero__slide.is-active {
    z-index: 5;
    visibility: visible;
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: scale(1);
    pointer-events: auto;
    transition-delay: 0s;
}

.irhp-hero__slide.is-leaving {
    z-index: 3;
    visibility: visible;
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: scale(1.035);
    pointer-events: none;
}

.irhp-hero__slide.is-entering .irhp-hero__slide-bg {
    transform: scale(1.11) rotate(.25deg);
    filter: saturate(.86) brightness(.90);
}
.irhp-hero__slide.is-active .irhp-hero__slide-bg {
    transform: scale(1);
    filter: saturate(1) brightness(1);
}
.irhp-hero__slide.is-leaving .irhp-hero__slide-bg {
    transform: scale(1.06);
    filter: saturate(.88) brightness(.84);
}

.irhp-hero__dot span,
.irhp-hero__progress span {
    background: var(--irhp-hero-indicator, #d8f3e5) !important;
}
.irhp-hero__progress span {
    background: linear-gradient(90deg, color-mix(in srgb, var(--irhp-hero-indicator,#d8f3e5) 70%, transparent), var(--irhp-hero-indicator,#d8f3e5)) !important;
}

/* Site-wide light/dark system. */
html[data-irhp-theme="light"] body {
    background: var(--irhp-theme-light-bg,#fff);
    color: var(--irhp-theme-light-text,#20241f);
}
html[data-irhp-theme="dark"] body,
html[data-irhp-theme="dark"] #page,
html[data-irhp-theme="dark"] .site,
html[data-irhp-theme="dark"] .site-content,
html[data-irhp-theme="dark"] main,
html[data-irhp-theme="dark"] .elementor-location-single,
html[data-irhp-theme="dark"] .elementor-location-archive {
    background-color: var(--irhp-theme-dark-bg,#071b14) !important;
    color: var(--irhp-theme-dark-text,#eef7f2);
}
html[data-irhp-theme="dark"] .irhp-page {
    --irhp-ink: var(--irhp-theme-dark-text,#eef7f2);
    --irhp-muted: var(--irhp-theme-dark-muted,#a9c0b5);
    --irhp-border: var(--irhp-theme-dark-border,#24483a);
    --irhp-green-soft: #112f24;
    --irhp-cream: #0b241b;
    background: var(--irhp-theme-dark-bg,#071b14) !important;
    color: var(--irhp-theme-dark-text,#eef7f2);
}
html[data-irhp-theme="dark"] .irhp-stats,
html[data-irhp-theme="dark"] .irhp-languages,
html[data-irhp-theme="dark"] .irhp-books,
html[data-irhp-theme="dark"] .irhp-latest,
html[data-irhp-theme="dark"] .irhp-mahad {
    background: var(--irhp-theme-dark-bg,#071b14) !important;
    color: var(--irhp-theme-dark-text,#eef7f2);
}
html[data-irhp-theme="dark"] .irhp-stats__card,
html[data-irhp-theme="dark"] .irhp-language-card,
html[data-irhp-theme="dark"] .irhp-book-card,
html[data-irhp-theme="dark"] .irhp-search-missing,
html[data-irhp-theme="dark"] .irhp-notice {
    color: var(--irhp-theme-dark-text,#eef7f2) !important;
    background: var(--irhp-theme-dark-surface,#0d2a20) !important;
    border-color: var(--irhp-theme-dark-border,#24483a) !important;
    box-shadow: 0 18px 46px rgba(0,0,0,.22);
}
html[data-irhp-theme="dark"] .irhp-section-heading h2,
html[data-irhp-theme="dark"] .irhp-book-card h3,
html[data-irhp-theme="dark"] .irhp-language-card strong,
html[data-irhp-theme="dark"] .irhp-stat strong { color: var(--irhp-theme-dark-text,#eef7f2) !important; }
html[data-irhp-theme="dark"] .irhp-section-heading p,
html[data-irhp-theme="dark"] .irhp-book-card p,
html[data-irhp-theme="dark"] .irhp-language-card span,
html[data-irhp-theme="dark"] .irhp-stat span { color: var(--irhp-theme-dark-muted,#a9c0b5) !important; }
html[data-irhp-theme="dark"] .irhp-site-header:not(.irhp-site-header--overlay) .irhp-site-header__glass,
html[data-irhp-theme="dark"] .irhp-site-header.is-scrolled .irhp-site-header__glass {
    color: var(--irhp-theme-dark-text,#eef7f2);
    border-color: rgba(134,201,170,.22);
    background: linear-gradient(135deg, rgba(19,53,41,.94), rgba(7,27,20,.88));
    box-shadow: 0 18px 48px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.08);
}
html[data-irhp-theme="dark"] .irhp-site-header.is-scrolled .irhp-theme-toggle,
html[data-irhp-theme="dark"] .irhp-site-header.is-scrolled .irhp-site-header__toggle {
    color: var(--irhp-theme-dark-text,#eef7f2);
    border-color: rgba(134,201,170,.25);
    background: rgba(134,201,170,.08);
}
html[data-irhp-theme="dark"] .irhp-site-header__mobile {
    color: var(--irhp-theme-dark-text,#eef7f2);
    border-color: var(--irhp-theme-dark-border,#24483a);
    background: rgba(9,32,24,.98);
}
html[data-irhp-theme="dark"] .irhp-site-header__menu .sub-menu {
    color: var(--irhp-theme-dark-text,#eef7f2);
    border-color: var(--irhp-theme-dark-border,#24483a);
    background: var(--irhp-theme-dark-surface,#0d2a20);
}
html[data-irhp-theme="dark"] .irhp-site-header__menu .sub-menu a { color: var(--irhp-theme-dark-text,#eef7f2) !important; }
html[data-irhp-theme="dark"] .irhp-site-header__menu .sub-menu a:hover,
html[data-irhp-theme="dark"] .irhp-site-header__menu--mobile > li > a:hover { background: rgba(134,201,170,.10); }

@media (max-width: 850px) {
    .admin-bar .irhp-hero > .irhp-site-header,
    .admin-bar .irhp-hero > .irhp-site-header.is-scrolled,
.irhp-language-hero > .irhp-site-header.is-scrolled { top: 46px !important; }

    .irhp-hero,
    .irhp-hero__slides,
    .irhp-hero__slide,
    .irhp-hero__slide .irhp-hero__container {
        min-height: var(--irhp-hero-runtime-height, max(var(--irhp-hero-mobile-height, 780px), 780px));
    }

    .irhp-hero__slide .irhp-hero__container {
        padding-top: var(--irhp-hero-mobile-header-space, 138px);
        padding-bottom: var(--irhp-hero-mobile-bottom-space, 310px);
    }

    .irhp-hero__content { width: 100%; max-width: 100%; padding-bottom: 0; }
    .irhp-hero__buttons {
        display: flex !important;
        visibility: visible !important;
        opacity: 1;
        flex-direction: row;
        align-items: stretch;
        width: 100%;
    }
    .irhp-hero__buttons .irhp-button { display: inline-flex !important; visibility: visible !important; }
    .irhp-hero__navigation { bottom: calc(var(--irhp-search-offset, 92px) + 34px); }
}

@media (max-width: 600px) {
    .irhp-site-header__glass { width: calc(100% - 18px); margin-top: 7px !important; }
    .irhp-theme-toggle { width: 43px; height: 43px; flex-basis: 43px; border-radius: 14px; }
    .irhp-site-header__actions { gap: 8px; }

    .irhp-hero__slide .irhp-hero__container {
        padding-top: var(--irhp-hero-mobile-header-space, 138px);
        padding-bottom: var(--irhp-hero-mobile-bottom-space, 330px);
    }
    .irhp-hero__title { font-size: clamp(38px, 11.5vw, 58px) !important; }
    .irhp-hero__description { font-size: 15px !important; line-height: 1.65 !important; }
    .irhp-hero__features { gap: 9px 13px; margin-top: 18px; }
    .irhp-hero__features span { font-size: 11.5px; }
    .irhp-hero__buttons { flex-direction: column; gap: 10px; margin-top: 23px; }
    .irhp-hero__buttons .irhp-button { width: 100%; min-height: 54px; }
    .irhp-button--youtube { justify-content: center; }
    .irhp-hero__navigation { bottom: calc(var(--irhp-search-offset, 92px) + 25px); }
}

@media (prefers-reduced-motion: reduce) {
    .irhp-header-ticker::after,
    .irhp-header-ticker__separator { animation: none !important; }
}

/* Server-rendered no-gap fallback before JavaScript moves the header into hero. */
body.irhp-header-over-hero,
body.irhp-header-over-hero #page,
body.irhp-header-over-hero .site,
body.irhp-header-over-hero .site-content,
body.irhp-header-over-hero main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
body.irhp-header-over-hero > .irhp-site-header--overlay,
body.irhp-header-over-hero #page > .irhp-site-header--overlay,
body.irhp-header-over-hero .site > .irhp-site-header--overlay {
    top: 0 !important;
    margin: 0 !important;
}

/* =========================================================
   v1.9.0 — definitive no-gap header, black night mode,
   mode-specific logos, compact hero spacing, and dark cards
   ========================================================= */

/* The header and hero are one visual unit. These rules also work before JS
   moves the header into the hero, which prevents a white flash or spacer. */
html.irhp-home-hero-integrated,
html.irhp-home-hero-integrated body,
body.irhp-header-over-hero,
body.irhp-home-hero-integrated,
body.irhp-header-over-hero #page,
body.irhp-home-hero-integrated #page,
body.irhp-header-over-hero .site,
body.irhp-home-hero-integrated .site,
body.irhp-header-over-hero .site-content,
body.irhp-home-hero-integrated .site-content,
body.irhp-header-over-hero main,
body.irhp-home-hero-integrated main,
body.irhp-home-hero-integrated .elementor,
body.irhp-home-hero-integrated .elementor-location-single,
body.irhp-home-hero-integrated .elementor-location-archive,
body.irhp-home-hero-integrated .irhp-home-hero-host {
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: 0 !important;
}

body:has(.irhp-hero[data-irhp-hero-slider]) > .irhp-site-header,
body:has(.irhp-hero[data-irhp-hero-slider]) #page > .irhp-site-header,
body:has(.irhp-hero[data-irhp-hero-slider]) .site > .irhp-site-header {
    position: absolute !important;
    inset: 0 0 auto 0 !important;
    margin: 0 !important;
}

.irhp-hero,
.irhp-hero[data-irhp-hero-slider],
.irhp-hero > .irhp-site-header,
.irhp-hero > .irhp-site-header.is-scrolled,
.irhp-language-hero > .irhp-site-header.is-scrolled {
    margin-top: 0 !important;
    border-top: 0 !important;
}

.irhp-hero > .irhp-site-header,
.irhp-language-hero > .irhp-site-header {
    top: 0 !important;
}

.irhp-site-header__glass,
.irhp-site-header.is-scrolled .irhp-site-header__glass,
.irhp-site-header:not(.irhp-site-header--overlay) .irhp-site-header__glass {
    margin-top: 0 !important;
}

/* On scroll the requested extra glass panel disappears completely. */
.irhp-site-header.is-scrolled .irhp-site-header__glass,
html[data-irhp-theme="dark"] .irhp-site-header.is-scrolled .irhp-site-header__glass {
    border-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

/* Keep a deliberate gap between the final menu item and the mode switch. */
.irhp-site-header__actions {
    gap: 14px !important;
    margin-inline-start: clamp(16px, 1.7vw, 28px);
}

.irhp-site-header__nav {
    padding-inline-end: 4px;
}

/* Ensure the sun/moon icons are outlined SVGs rather than a filled dot. */
.irhp-theme-toggle svg {
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.9 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.irhp-theme-toggle__sun,
.irhp-theme-toggle__moon {
    line-height: 0;
}

/* Separate logos for light and dark appearances. */
.irhp-mode-logo {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.irhp-mode-logo img {
    display: block;
}

.irhp-mode-logo__dark {
    display: none !important;
}

html[data-irhp-theme="dark"] .irhp-mode-logo__light {
    display: none !important;
}

html[data-irhp-theme="dark"] .irhp-mode-logo__dark {
    display: block !important;
}

.irhp-site-header__brand .irhp-mode-logo img {
    width: auto;
    max-width: 270px;
    height: 58px;
    object-fit: contain;
    object-position: left center;
}

.irhp-site-footer__logo .irhp-mode-logo img {
    width: auto;
    max-width: 300px;
    height: 74px;
    object-fit: contain;
    object-position: left center;
}

/* The hero keeps only the space required for its content and floating form. */
.irhp-hero__slide .irhp-hero__container {
    padding-bottom: var(--irhp-hero-bottom-space, 190px) !important;
}

/* True black night mode. */
html[data-irhp-theme="dark"] body,
html[data-irhp-theme="dark"] #page,
html[data-irhp-theme="dark"] .site,
html[data-irhp-theme="dark"] .site-content,
html[data-irhp-theme="dark"] main,
html[data-irhp-theme="dark"] .elementor,
html[data-irhp-theme="dark"] .elementor-section,
html[data-irhp-theme="dark"] .e-con,
html[data-irhp-theme="dark"] .elementor-location-single,
html[data-irhp-theme="dark"] .elementor-location-archive,
html[data-irhp-theme="dark"] .irhp-page,
html[data-irhp-theme="dark"] .irhp-stats,
html[data-irhp-theme="dark"] .irhp-languages,
html[data-irhp-theme="dark"] .irhp-books,
html[data-irhp-theme="dark"] .irhp-latest,
html[data-irhp-theme="dark"] .irhp-mahad,
html[data-irhp-theme="dark"] .irhp-search-section {
    background-color: var(--irhp-theme-dark-bg, #000) !important;
    color: var(--irhp-theme-dark-text, #fff) !important;
}

html[data-irhp-theme="dark"] .irhp-page {
    --irhp-ink: var(--irhp-theme-dark-text, #fff);
    --irhp-muted: var(--irhp-theme-dark-muted, #b8b8b8);
    --irhp-border: var(--irhp-theme-dark-border, #262626);
    --irhp-green-soft: #171717;
    --irhp-cream: #050505;
}

/* Modern language cards in dark mode. */
html[data-irhp-theme="dark"] .irhp-language-card {
    color: var(--irhp-theme-dark-text, #fff) !important;
    border-color: #292929 !important;
    background:
        radial-gradient(circle at 12% 8%, rgba(214,173,82,.13), transparent 34%),
        radial-gradient(circle at 92% 100%, rgba(61,118,91,.14), transparent 38%),
        linear-gradient(145deg, #151515 0%, #080808 72%, #030303 100%) !important;
    box-shadow: 0 24px 58px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.055) !important;
}

html[data-irhp-theme="dark"] .irhp-language-card::before {
    background: radial-gradient(circle, rgba(214,173,82,.15), transparent 66%) !important;
}

html[data-irhp-theme="dark"] .irhp-language-card::after {
    border-color: rgba(255,255,255,.045) !important;
}

html[data-irhp-theme="dark"] .irhp-language-card:hover {
    border-color: rgba(214,173,82,.42) !important;
    box-shadow: 0 30px 72px rgba(0,0,0,.62), 0 0 0 1px rgba(214,173,82,.10) inset !important;
}

html[data-irhp-theme="dark"] .irhp-language-card__flag {
    border-color: rgba(255,255,255,.13) !important;
    background: #111 !important;
    box-shadow: 0 18px 38px rgba(0,0,0,.52) !important;
}

html[data-irhp-theme="dark"] .irhp-language-card__content strong {
    color: #fff !important;
}

html[data-irhp-theme="dark"] .irhp-language-card__content small {
    color: #e8d39a !important;
    background: rgba(214,173,82,.11) !important;
    border: 1px solid rgba(214,173,82,.16);
}

html[data-irhp-theme="dark"] .irhp-language-card__arrow {
    color: #e7d18f !important;
    border-color: #303030 !important;
    background: #151515 !important;
}

html[data-irhp-theme="dark"] .irhp-language-card:hover .irhp-language-card__arrow {
    color: #080808 !important;
    background: #e0bd67 !important;
}

/* Book cards are fully nocturnal, including the body and share strip. */
html[data-irhp-theme="dark"] .irhp-book-card {
    color: var(--irhp-theme-dark-text, #fff) !important;
    border-color: #292929 !important;
    background: #090909 !important;
    box-shadow: 0 24px 60px rgba(0,0,0,.50) !important;
}

html[data-irhp-theme="dark"] .irhp-book-card:hover {
    border-color: rgba(214,173,82,.34) !important;
    box-shadow: 0 34px 78px rgba(0,0,0,.68) !important;
}

html[data-irhp-theme="dark"] .irhp-book-card__media {
    background: linear-gradient(145deg, #181818, #080808) !important;
}

html[data-irhp-theme="dark"] .irhp-book-card__body {
    color: var(--irhp-theme-dark-text, #fff) !important;
    background: #0b0b0b !important;
}

html[data-irhp-theme="dark"] .irhp-book-card h3,
html[data-irhp-theme="dark"] .irhp-book-card h3 a {
    color: #fff !important;
}

html[data-irhp-theme="dark"] .irhp-book-card__term {
    color: #ead69d !important;
    background: #1a1a1a !important;
    border: 1px solid #2e2e2e;
}

html[data-irhp-theme="dark"] .irhp-book-card__meta span {
    color: var(--irhp-theme-dark-muted, #b8b8b8) !important;
}

html[data-irhp-theme="dark"] .irhp-book-share {
    color: var(--irhp-theme-dark-text, #fff) !important;
    border-color: #252525 !important;
    background: #070707 !important;
}

/* Search shell and its iframe visually belong to the black mode. */
html[data-irhp-theme="dark"] .irhp-search-shell {
    border-color: #252525 !important;
    background: #080808 !important;
    box-shadow: 0 28px 70px rgba(0,0,0,.58) !important;
}

html[data-irhp-theme="dark"] iframe.ir-wpdm-search-frame {
    color-scheme: dark;
    background: transparent !important;
}

/* Dark header controls remain readable without restoring the removed glass box. */
html[data-irhp-theme="dark"] .irhp-site-header.is-scrolled {
    color: #fff !important;
}

html[data-irhp-theme="dark"] .irhp-site-header.is-scrolled .irhp-theme-toggle,
html[data-irhp-theme="dark"] .irhp-site-header.is-scrolled .irhp-site-header__toggle {
    color: #fff !important;
    border-color: #343434 !important;
    background: #0c0c0c !important;
    box-shadow: 0 10px 28px rgba(0,0,0,.38) !important;
}

html[data-irhp-theme="dark"] .irhp-site-header__mobile {
    color: #fff !important;
    border-color: #282828 !important;
    background: rgba(5,5,5,.98) !important;
}

html[data-irhp-theme="dark"] .irhp-site-header__menu .sub-menu {
    color: #fff !important;
    border-color: #282828 !important;
    background: #090909 !important;
}

@media (max-width: 850px) {
    .irhp-hero__slide .irhp-hero__container {
        padding-bottom: var(--irhp-hero-mobile-bottom-space, 175px) !important;
    }

    .irhp-site-header__glass {
        margin-top: 0 !important;
    }

    .irhp-site-header__actions {
        margin-inline-start: 10px;
        gap: 9px !important;
    }
}

@media (max-width: 600px) {
    .irhp-site-header__glass {
        margin-top: 0 !important;
    }

    .irhp-hero__slide .irhp-hero__container {
        padding-bottom: var(--irhp-hero-mobile-bottom-space, 175px) !important;
    }

    .irhp-hero__navigation {
        bottom: calc(var(--irhp-search-offset, 92px) + 14px) !important;
    }

    .irhp-site-header__brand .irhp-mode-logo img {
        max-width: 210px;
        height: 48px;
    }

    .irhp-site-footer__logo .irhp-mode-logo img {
        max-width: 250px;
        height: 64px;
    }
}

/* Complete the black palette across the remaining global components. */
html[data-irhp-theme="dark"] .irhp-site-footer {
    --irhp-footer-bg: #000000;
    --irhp-footer-text: var(--irhp-theme-dark-muted, #b8b8b8);
    --irhp-footer-heading: #ffffff;
    color: var(--irhp-theme-dark-muted, #b8b8b8) !important;
    background: #000000 !important;
    border-top: 1px solid #202020;
}

html[data-irhp-theme="dark"] .irhp-site-footer__bottom {
    border-color: #202020 !important;
    background: #050505 !important;
}

html[data-irhp-theme="dark"] .irhp-stats__card {
    border: 1px solid #242424 !important;
    background: linear-gradient(145deg, #121212, #030303) !important;
    box-shadow: 0 26px 66px rgba(0,0,0,.60) !important;
}

html[data-irhp-theme="dark"] .irhp-stat {
    background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.015)) !important;
    border-color: #282828 !important;
}

html[data-irhp-theme="dark"] .irhp-stat strong {
    color: #ffffff !important;
}

html[data-irhp-theme="dark"] .irhp-mahad__card {
    border: 1px solid #292929 !important;
    background:
        radial-gradient(circle at 85% 10%, rgba(214,173,82,.15), transparent 34%),
        linear-gradient(145deg, #141414, #020202) !important;
    box-shadow: 0 30px 74px rgba(0,0,0,.60) !important;
}


/* =========================================================
   v2.0.0 — cream/green header, black/green dark mode,
   reliable desktop slider motion, and extensible builder
   ========================================================= */

.irhp-site-header__glass,
.irhp-site-header:not(.irhp-site-header--overlay) .irhp-site-header__glass {
    margin-top: var(--irhp-header-panel-gap, 12px) !important;
    color: var(--irhp-header-light-panel-text, #173f30) !important;
    border-color: color-mix(in srgb, var(--irhp-header-accent, #2f6d53) 24%, transparent) !important;
    background:
        radial-gradient(circle at 12% -30%, rgba(255,255,255,.88), transparent 44%),
        linear-gradient(135deg, color-mix(in srgb, var(--irhp-header-light-panel, #f4f0e4) 96%, white), var(--irhp-header-light-panel, #f4f0e4)) !important;
    box-shadow: 0 20px 52px rgba(18,59,44,.14), inset 0 1px 0 rgba(255,255,255,.78) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

.irhp-site-header--overlay:not(.is-scrolled) .irhp-site-header__glass {
    color: var(--irhp-header-light-panel-text, #173f30) !important;
}

.irhp-site-header__menu > li:hover > a,
.irhp-site-header__menu > li.current-menu-item > a {
    color: var(--irhp-header-accent, #2f6d53) !important;
}

.irhp-site-header__menu > li > a::after {
    background: var(--irhp-header-accent, #2f6d53) !important;
}

.irhp-site-header__cta,
.irhp-site-header__mobile-cta,
.irhp-theme-toggle,
.irhp-site-header__toggle {
    color: #fff !important;
    border-color: color-mix(in srgb, var(--irhp-header-accent, #2f6d53) 80%, #fff 20%) !important;
    background: linear-gradient(135deg, color-mix(in srgb, var(--irhp-header-accent, #2f6d53) 82%, #fff 18%), var(--irhp-header-accent, #2f6d53)) !important;
    box-shadow: 0 12px 28px color-mix(in srgb, var(--irhp-header-accent, #2f6d53) 28%, transparent) !important;
}

.irhp-site-header__toggle span {
    background: #fff !important;
}

html[data-irhp-theme="dark"] .irhp-site-header__glass,
html[data-irhp-theme="dark"] .irhp-site-header:not(.irhp-site-header--overlay) .irhp-site-header__glass {
    color: var(--irhp-header-dark-panel-text, #fff) !important;
    border-color: color-mix(in srgb, var(--irhp-header-accent, #55b88a) 38%, #111) !important;
    background:
        radial-gradient(circle at 12% -30%, rgba(85,184,138,.13), transparent 42%),
        linear-gradient(145deg, #0b0b0b, var(--irhp-header-dark-panel, #050505)) !important;
    box-shadow: 0 22px 58px rgba(0,0,0,.62), inset 0 1px 0 rgba(255,255,255,.055) !important;
}

/* Keep the previously requested transparent scrolled state. */
.irhp-site-header.is-scrolled .irhp-site-header__glass,
html[data-irhp-theme="dark"] .irhp-site-header.is-scrolled .irhp-site-header__glass {
    margin-top: 0 !important;
    color: inherit !important;
    border-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Strong desktop transition that cannot be cancelled by hover. */
@media (min-width: 851px) {
    .irhp-hero__slide {
        clip-path: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translate3d(7%, 0, 0) scale(1.055) !important;
        transition: opacity .78s ease, transform 1.18s cubic-bezier(.2,.82,.18,1), visibility 0s linear 1.18s !important;
    }
    .irhp-hero.is-backward .irhp-hero__slide {
        transform: translate3d(-7%, 0, 0) scale(1.055) !important;
    }
    .irhp-hero__slide.is-entering,
    .irhp-hero__slide.is-active,
    .irhp-hero__slide.is-leaving {
        visibility: visible !important;
    }
    .irhp-hero__slide.is-entering {
        opacity: 0 !important;
        z-index: 5 !important;
    }
    .irhp-hero__slide.is-active {
        opacity: 1 !important;
        transform: translate3d(0, 0, 0) scale(1) !important;
        transition-delay: 0s !important;
    }
    .irhp-hero__slide.is-leaving {
        opacity: 0 !important;
        transform: translate3d(-5%, 0, 0) scale(1.08) !important;
        z-index: 4 !important;
    }
    .irhp-hero.is-backward .irhp-hero__slide.is-leaving {
        transform: translate3d(5%, 0, 0) scale(1.08) !important;
    }
    .irhp-hero__slide [data-irhp-hero-animate] {
        transition: opacity .72s ease, transform .92s cubic-bezier(.2,.8,.2,1), filter .72s ease !important;
    }
    .irhp-hero__slide.is-entering [data-irhp-hero-animate] {
        opacity: 0 !important;
        transform: translate3d(0, 34px, 0) !important;
        filter: blur(7px) !important;
    }
    .irhp-hero__slide.is-active [data-irhp-hero-animate] {
        opacity: 1 !important;
        transform: translate3d(0, 0, 0) !important;
        filter: blur(0) !important;
    }
}

/* Black mode uses green rather than yellow throughout book areas. */
html[data-irhp-theme="dark"] .irhp-most,
html[data-irhp-theme="dark"] #irhp-most,
html[data-irhp-theme="dark"] .irhp-latest,
html[data-irhp-theme="dark"] #irhp-latest {
    background: var(--irhp-theme-dark-bg, #000) !important;
    color: var(--irhp-theme-dark-text, #fff) !important;
}

html[data-irhp-theme="dark"] .irhp-most .irhp-section-heading h2,
html[data-irhp-theme="dark"] .irhp-most .irhp-section-heading p,
html[data-irhp-theme="dark"] .irhp-latest .irhp-section-heading h2,
html[data-irhp-theme="dark"] .irhp-latest .irhp-section-heading p {
    color: var(--irhp-theme-dark-text, #fff) !important;
}

html[data-irhp-theme="dark"] .irhp-most .irhp-section-heading p,
html[data-irhp-theme="dark"] .irhp-latest .irhp-section-heading p {
    color: var(--irhp-theme-dark-muted, #b8b8b8) !important;
}

html[data-irhp-theme="dark"] .irhp-book-card:hover,
html[data-irhp-theme="dark"] .irhp-language-card:hover {
    border-color: color-mix(in srgb, var(--irhp-theme-dark-accent, #55b88a) 66%, transparent) !important;
    box-shadow: 0 34px 78px rgba(0,0,0,.68), 0 0 0 1px color-mix(in srgb, var(--irhp-theme-dark-accent, #55b88a) 18%, transparent) inset !important;
}

html[data-irhp-theme="dark"] .irhp-book-card__term,
html[data-irhp-theme="dark"] .irhp-book-card__meta a,
html[data-irhp-theme="dark"] .irhp-book-card__meta a svg,
html[data-irhp-theme="dark"] .irhp-book-share__count,
html[data-irhp-theme="dark"] .irhp-language-card__content small,
html[data-irhp-theme="dark"] .irhp-language-card__arrow {
    color: var(--irhp-theme-dark-accent, #55b88a) !important;
}

html[data-irhp-theme="dark"] .irhp-book-card__term,
html[data-irhp-theme="dark"] .irhp-language-card__content small {
    background: color-mix(in srgb, var(--irhp-theme-dark-accent, #55b88a) 11%, #0b0b0b) !important;
    border-color: color-mix(in srgb, var(--irhp-theme-dark-accent, #55b88a) 24%, #222) !important;
}

html[data-irhp-theme="dark"] .irhp-language-card:hover .irhp-language-card__arrow {
    color: #03140d !important;
    background: var(--irhp-theme-dark-accent, #55b88a) !important;
}

.irhp-custom-section {
    width: 100%;
    min-width: 0;
}

@media (max-width: 850px) {
    .irhp-site-header__glass,
    .irhp-site-header:not(.irhp-site-header--overlay) .irhp-site-header__glass {
        margin-top: var(--irhp-header-mobile-panel-gap, 8px) !important;
    }
    .irhp-site-header.is-scrolled .irhp-site-header__glass,
    html[data-irhp-theme="dark"] .irhp-site-header.is-scrolled .irhp-site-header__glass {
        margin-top: 0 !important;
    }
}

/* =========================================================
   v2.1.0 — persistent header, refined cards and sections,
   Islamic heading ornament, HTML builder, footer imagery
   ========================================================= */

/* Keep the sticky header above every theme, Elementor, WPDM and social layer. */
.irhp-site-header,
.irhp-site-header.is-scrolled,
.irhp-site-header--detached {
    z-index: 2147482000 !important;
    overflow: visible !important;
}

.irhp-site-header--detached,
.irhp-site-header.is-scrolled {
    position: fixed !important;
    inset: 0 0 auto 0 !important;
    width: 100% !important;
}

.admin-bar .irhp-site-header--detached,
.admin-bar .irhp-site-header.is-scrolled {
    top: 32px !important;
}

/* The header keeps the agreed cream/green or black/green palette while scrolling. */
.irhp-site-header.is-scrolled .irhp-site-header__glass,
.irhp-site-header--detached .irhp-site-header__glass,
.irhp-site-header.is-scrolled:not(.irhp-site-header--overlay) .irhp-site-header__glass {
    margin-top: var(--irhp-header-panel-gap, 12px) !important;
    color: var(--irhp-header-light-panel-text, #173f30) !important;
    border: 1px solid color-mix(in srgb, var(--irhp-header-accent, #2f6d53) 25%, transparent) !important;
    background:
        radial-gradient(circle at 9% -25%, rgba(255,255,255,.92), transparent 42%),
        linear-gradient(135deg, color-mix(in srgb, var(--irhp-header-light-panel, #f4f0e4) 96%, #fff), var(--irhp-header-light-panel, #f4f0e4)) !important;
    box-shadow: 0 20px 54px rgba(18,59,44,.16), inset 0 1px 0 rgba(255,255,255,.82) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

html[data-irhp-theme="dark"] .irhp-site-header.is-scrolled .irhp-site-header__glass,
html[data-irhp-theme="dark"] .irhp-site-header--detached .irhp-site-header__glass,
html[data-irhp-theme="dark"] .irhp-site-header.is-scrolled:not(.irhp-site-header--overlay) .irhp-site-header__glass {
    color: var(--irhp-header-dark-panel-text, #fff) !important;
    border-color: color-mix(in srgb, var(--irhp-header-accent, #55b88a) 40%, #101010) !important;
    background:
        radial-gradient(circle at 10% -28%, rgba(85,184,138,.16), transparent 43%),
        linear-gradient(145deg, #0c0c0c, var(--irhp-header-dark-panel, #050505)) !important;
    box-shadow: 0 24px 64px rgba(0,0,0,.68), inset 0 1px 0 rgba(255,255,255,.06) !important;
}

@media (max-width: 850px) {
    .admin-bar .irhp-site-header--detached,
    .admin-bar .irhp-site-header.is-scrolled { top: 46px !important; }
    .irhp-site-header.is-scrolled .irhp-site-header__glass,
    .irhp-site-header--detached .irhp-site-header__glass {
        margin-top: var(--irhp-header-mobile-panel-gap, 8px) !important;
    }
}

/* Force a clearly visible two-layer desktop transition even when a theme has broad transition resets. */
@media (min-width: 851px) {
    .irhp-hero.irhp-force-desktop-motion .irhp-hero__slide,
    .irhp-hero.irhp-force-desktop-motion .irhp-hero__slide-bg,
    .irhp-hero.irhp-force-desktop-motion [data-irhp-hero-animate] {
        will-change: opacity, transform, filter !important;
        animation-play-state: running !important;
    }
}

/* Islamic eight-point ornament replaces the generic gradient line. */
.irhp-section-heading__line {
    position: relative;
    display: block;
    width: 118px !important;
    height: 30px !important;
    margin: 0 auto 18px !important;
    border-radius: 0 !important;
    background:
        linear-gradient(90deg, transparent 0 4%, color-mix(in srgb, var(--irhp-green) 48%, transparent) 4% 40%, transparent 40% 60%, color-mix(in srgb, var(--irhp-green) 48%, transparent) 60% 96%, transparent 96% 100%) center/100% 1px no-repeat !important;
}
.irhp-section-heading__line::before {
    content: "";
    position: absolute;
    inset: 3px auto auto 50%;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--irhp-green), color-mix(in srgb, var(--irhp-green) 76%, #c9a84f));
    clip-path: polygon(50% 0,61% 30%,85% 15%,70% 39%,100% 50%,70% 61%,85% 85%,61% 70%,50% 100%,39% 70%,15% 85%,30% 61%,0 50%,30% 39%,15% 15%,39% 30%);
    transform: translateX(-50%) rotate(8deg);
    box-shadow: 0 7px 18px rgba(40,95,73,.22);
}
.irhp-section-heading__line::after {
    content: "";
    position: absolute;
    top: 12px;
    left: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f7f0d8;
    transform: translateX(-50%);
    box-shadow: 0 0 0 1px rgba(255,255,255,.55);
}
html[data-irhp-theme="dark"] .irhp-section-heading__line::before {
    background: linear-gradient(135deg, var(--irhp-theme-dark-accent, #55b88a), #2f6d53);
    box-shadow: 0 8px 22px rgba(85,184,138,.24);
}
html[data-irhp-theme="dark"] .irhp-section-heading__line::after { background: #07130d; }

/* Decorative, quiet Islamic geometry behind language and book sections. */
.irhp-languages,
.irhp-most,
.irhp-latest {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-color: #f8faf7 !important;
    background-image:
        radial-gradient(circle at 10% 8%, rgba(47,109,83,.10), transparent 28%),
        radial-gradient(circle at 92% 88%, rgba(201,168,79,.10), transparent 30%),
        linear-gradient(45deg, rgba(47,109,83,.025) 25%, transparent 25%, transparent 75%, rgba(47,109,83,.025) 75%),
        linear-gradient(-45deg, rgba(47,109,83,.025) 25%, transparent 25%, transparent 75%, rgba(47,109,83,.025) 75%) !important;
    background-size: auto, auto, 42px 42px, 42px 42px !important;
    background-position: center, center, 0 0, 21px 21px !important;
}
.irhp-languages::before,
.irhp-most::before,
.irhp-latest::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 360px;
    height: 360px;
    top: -190px;
    right: -130px;
    border: 1px solid rgba(47,109,83,.10);
    border-radius: 42% 58% 52% 48%;
    transform: rotate(26deg);
    box-shadow: 0 0 0 42px rgba(47,109,83,.025), 0 0 0 84px rgba(201,168,79,.018);
}
.irhp-languages > .irhp-container,
.irhp-most > .irhp-container,
.irhp-latest > .irhp-container {
    position: relative;
    z-index: 2;
}
html[data-irhp-theme="dark"] .irhp-languages,
html[data-irhp-theme="dark"] .irhp-most,
html[data-irhp-theme="dark"] .irhp-latest {
    background-color: #000 !important;
    background-image:
        radial-gradient(circle at 9% 8%, rgba(85,184,138,.11), transparent 26%),
        radial-gradient(circle at 91% 90%, rgba(47,109,83,.12), transparent 29%),
        linear-gradient(45deg, rgba(85,184,138,.025) 25%, transparent 25%, transparent 75%, rgba(85,184,138,.025) 75%),
        linear-gradient(-45deg, rgba(85,184,138,.025) 25%, transparent 25%, transparent 75%, rgba(85,184,138,.025) 75%) !important;
    background-size: auto, auto, 42px 42px, 42px 42px !important;
}
html[data-irhp-theme="dark"] .irhp-languages::before,
html[data-irhp-theme="dark"] .irhp-most::before,
html[data-irhp-theme="dark"] .irhp-latest::before {
    border-color: rgba(85,184,138,.10);
    box-shadow: 0 0 0 42px rgba(85,184,138,.022), 0 0 0 84px rgba(85,184,138,.012);
}

/* Refined book cards: uniform geometry and full, uncropped covers over a cover-derived backdrop. */
.irhp-book-grid {
    align-items: stretch;
    grid-auto-rows: 1fr;
}
.irhp-book-card {
    height: 100%;
    grid-template-rows: 352px minmax(280px, auto) !important;
    border-radius: 30px !important;
    border-color: rgba(47,109,83,.14) !important;
    background: #fff !important;
    box-shadow: 0 22px 56px rgba(22,64,47,.11), 0 1px 0 rgba(255,255,255,.9) inset !important;
}
.irhp-book-card::before {
    content: "";
    position: absolute;
    z-index: 6;
    top: 0;
    left: 34px;
    width: 72px;
    height: 4px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, var(--irhp-green), color-mix(in srgb, var(--irhp-green) 60%, #c9a84f));
    box-shadow: 0 4px 16px rgba(47,109,83,.20);
}
.irhp-book-card:hover {
    transform: translateY(-10px) scale(1.006) !important;
    border-color: rgba(47,109,83,.38) !important;
    box-shadow: 0 38px 88px rgba(22,64,47,.20), 0 0 0 1px rgba(47,109,83,.08) inset !important;
}
.irhp-book-card__media {
    min-height: 352px !important;
    padding: 12px !important;
    isolation: isolate;
    background: linear-gradient(145deg,#eef5ef,#f8f5e9) !important;
}
.irhp-book-card__media::before {
    content: "" !important;
    position: absolute !important;
    z-index: 0 !important;
    inset: -24px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background-image: var(--irhp-book-cover, linear-gradient(145deg,#e6efe9,#f5ecd4)) !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    filter: blur(24px) saturate(.82) brightness(1.05) !important;
    opacity: .30 !important;
    transform: scale(1.14) !important;
    box-shadow: none !important;
}
.irhp-book-card__media::after {
    content: "" !important;
    position: absolute !important;
    z-index: 1 !important;
    inset: 0 !important;
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.34), rgba(255,255,255,.06)),
        radial-gradient(circle at 50% 86%, rgba(23,63,48,.18), transparent 30%) !important;
    filter: none !important;
    transform: none !important;
}
.irhp-book-card__media img {
    position: relative !important;
    z-index: 3 !important;
    width: calc(100% - 18px) !important;
    height: calc(100% - 18px) !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center !important;
    padding: 0 !important;
    border-radius: 7px;
    filter: drop-shadow(0 23px 24px rgba(18,45,34,.28)) !important;
}
.irhp-book-card:hover .irhp-book-card__media img {
    transform: translateY(-7px) scale(1.025) !important;
    filter: drop-shadow(0 31px 29px rgba(18,45,34,.36)) !important;
}
.irhp-book-card__body {
    min-height: 280px;
    padding: 27px 27px 25px !important;
    border-top-color: rgba(47,109,83,.10) !important;
    background:
        radial-gradient(circle at 100% 0, rgba(47,109,83,.055), transparent 32%),
        #fff !important;
}
.irhp-book-card h3 {
    min-height: 4.1em;
    margin-top: 17px !important;
    font-size: clamp(19px,1.45vw,22px) !important;
    line-height: 1.38 !important;
}
.irhp-book-share {
    width: 100%;
    margin-top: 18px;
    border-radius: 19px !important;
}
html[data-irhp-theme="dark"] .irhp-book-card {
    background: #080808 !important;
    border-color: #252525 !important;
    box-shadow: 0 25px 64px rgba(0,0,0,.56), inset 0 1px 0 rgba(255,255,255,.04) !important;
}
html[data-irhp-theme="dark"] .irhp-book-card::before {
    background: linear-gradient(90deg, var(--irhp-theme-dark-accent,#55b88a), #2f6d53);
}
html[data-irhp-theme="dark"] .irhp-book-card__media {
    background: linear-gradient(145deg,#161616,#050505) !important;
}
html[data-irhp-theme="dark"] .irhp-book-card__media::before {
    filter: blur(25px) saturate(.72) brightness(.55) !important;
    opacity: .38 !important;
}
html[data-irhp-theme="dark"] .irhp-book-card__media::after {
    background:
        linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.38)),
        radial-gradient(circle at 50% 88%, rgba(85,184,138,.15), transparent 31%) !important;
}
html[data-irhp-theme="dark"] .irhp-book-card__body {
    border-top-color: #242424 !important;
    background:
        radial-gradient(circle at 100% 0, rgba(85,184,138,.07), transparent 32%),
        #090909 !important;
}

@media (max-width: 600px) {
    .irhp-book-card { grid-template-rows: 330px auto !important; }
    .irhp-book-card__media { min-height: 330px !important; padding: 10px !important; }
    .irhp-book-card__media img { width: calc(100% - 10px) !important; height: calc(100% - 10px) !important; }
    .irhp-book-card h3 { min-height: 0; }
}

/* Footer image plus editable color overlay. */
.irhp-site-footer {
    background-color: var(--irhp-footer-bg, #0d3829) !important;
    background-image:
        linear-gradient(var(--irhp-footer-overlay, rgba(13,56,41,.88)), var(--irhp-footer-overlay, rgba(13,56,41,.88))),
        var(--irhp-footer-image, none) !important;
    background-position: center, var(--irhp-footer-image-position, center center) !important;
    background-size: auto, var(--irhp-footer-image-size, cover) !important;
    background-repeat: no-repeat, var(--irhp-footer-image-repeat, no-repeat) !important;
    background-attachment: scroll, scroll !important;
}
html[data-irhp-theme="dark"] .irhp-site-footer {
    background-color: #000 !important;
    background-image:
        linear-gradient(rgb(0 0 0 / var(--irhp-footer-overlay-alpha, .88)), rgb(0 0 0 / var(--irhp-footer-overlay-alpha, .88))),
        var(--irhp-footer-image, none) !important;
    background-position: center, var(--irhp-footer-image-position, center center) !important;
    background-size: auto, var(--irhp-footer-image-size, cover) !important;
    background-repeat: no-repeat, var(--irhp-footer-image-repeat, no-repeat) !important;
}

/* Builder HTML sections are independent of Elementor and do not inherit unwanted width limits. */
.irhp-custom-section--html {
    width: 100%;
    min-width: 0;
    margin: 0;
}
.irhp-custom-section--html > :first-child { margin-top: 0; }
.irhp-custom-section--html > :last-child { margin-bottom: 0; }

/* =========================================================
   v2.2.0 — numbered glass slider navigation, responsive
   language picker, luminous section backgrounds, modern
   book cards, and independently configurable sticky header
   ========================================================= */

/* Sticky behavior is activated by JavaScript only for the enabled viewport. */
.irhp-site-header.irhp-sticky-active.is-scrolled,
.irhp-site-header.irhp-sticky-active.irhp-site-header--detached {
    position: fixed !important;
    inset: 0 0 auto 0 !important;
    z-index: 2147483000 !important;
    width: 100% !important;
}

/* Dark header navigation remains readable; green is reserved for interaction. */
html[data-irhp-theme="dark"] .irhp-site-header__menu > li > a,
html[data-irhp-theme="dark"] .irhp-site-header__menu--mobile > li > a,
html[data-irhp-theme="dark"] .irhp-site-header.is-scrolled .irhp-site-header__menu > li > a,
html[data-irhp-theme="dark"] .irhp-site-header--detached .irhp-site-header__menu > li > a {
    color: #ffffff !important;
}
html[data-irhp-theme="dark"] .irhp-site-header__menu > li:hover > a,
html[data-irhp-theme="dark"] .irhp-site-header__menu > li.current-menu-item > a,
html[data-irhp-theme="dark"] .irhp-site-header__menu--mobile > li:hover > a,
html[data-irhp-theme="dark"] .irhp-site-header__menu--mobile > li.current-menu-item > a {
    color: var(--irhp-header-accent, #55b88a) !important;
}

/* Numbered circular glass navigation for the two hero slides. */
.irhp-hero__navigation {
    gap: 0 !important;
}
.irhp-hero__dots {
    display: flex !important;
    align-items: center;
    gap: 12px !important;
    padding: 8px !important;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    background: rgba(10,38,28,.18);
    box-shadow: 0 16px 38px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.18);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    backdrop-filter: blur(16px) saturate(1.2);
}
.irhp-hero__dot,
.irhp-hero__dot.is-active {
    position: relative;
    display: grid !important;
    place-items: center;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.34) !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.13) !important;
    color: #ffffff !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 8px 20px rgba(0,0,0,.14);
    transform: none !important;
    transition: transform .28s ease, background .28s ease, border-color .28s ease, box-shadow .28s ease !important;
}
.irhp-hero__dot:hover {
    transform: translateY(-3px) scale(1.04) !important;
    border-color: rgba(255,255,255,.60) !important;
}
.irhp-hero__dot.is-active {
    border-color: color-mix(in srgb, var(--irhp-green, #2f6d53) 64%, #fff) !important;
    background: linear-gradient(145deg, color-mix(in srgb, var(--irhp-green, #2f6d53) 88%, #fff 12%), var(--irhp-green-dark, #173f30)) !important;
    box-shadow: 0 12px 28px rgba(16,61,43,.32), inset 0 1px 0 rgba(255,255,255,.30) !important;
}
.irhp-hero__dot span,
.irhp-hero__dot.is-active span {
    position: static !important;
    inset: auto !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
    background: none !important;
    color: inherit !important;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    transform: none !important;
    transition: none !important;
}
.irhp-hero__progress { display: none !important; }

/* Desktop language menu floats over the page instead of stretching the form row. */
.irhp-search-shell {
    position: relative;
    overflow: visible !important;
}
@media (min-width: 651px) {
    .irhp-search-shell.is-language-dropdown-open--desktop {
        z-index: 2147481000 !important;
        min-height: 180px;
    }
    .irhp-search-shell iframe.ir-wpdm-search-frame.irhp-language-dropdown-open--desktop {
        position: absolute !important;
        inset: 0 0 auto 0 !important;
        z-index: 2147481001 !important;
        width: 100% !important;
        height: 520px !important;
        min-height: 520px !important;
        overflow: visible !important;
    }
}

/* Remove geometric patterns; use only soft luminous brand-colored forms. */
.irhp-languages,
.irhp-most,
.irhp-latest {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-color: #f8faf7 !important;
    background-image:
        radial-gradient(circle at 8% 18%, rgba(47,109,83,.10) 0, rgba(47,109,83,.05) 15%, transparent 34%),
        radial-gradient(circle at 88% 78%, rgba(216,190,112,.11) 0, rgba(216,190,112,.045) 18%, transparent 38%),
        radial-gradient(circle at 52% 108%, rgba(85,184,138,.07) 0, transparent 32%) !important;
    background-size: auto !important;
    background-position: center !important;
}
.irhp-languages::before,
.irhp-most::before,
.irhp-latest::before,
.irhp-languages::after,
.irhp-most::after,
.irhp-latest::after {
    content: "";
    position: absolute;
    z-index: -1;
    border: 0 !important;
    border-radius: 50% !important;
    pointer-events: none;
    transform: none !important;
}
.irhp-languages::before,
.irhp-most::before,
.irhp-latest::before {
    top: 8%;
    right: -110px;
    width: 330px;
    height: 330px;
    background: rgba(47,109,83,.10);
    box-shadow: 0 0 110px 58px rgba(47,109,83,.075) !important;
    filter: blur(26px);
}
.irhp-languages::after,
.irhp-most::after,
.irhp-latest::after {
    bottom: -150px;
    left: -90px;
    width: 290px;
    height: 290px;
    background: rgba(216,190,112,.10);
    box-shadow: 0 0 100px 52px rgba(216,190,112,.07) !important;
    filter: blur(30px);
}
html[data-irhp-theme="dark"] .irhp-languages,
html[data-irhp-theme="dark"] .irhp-most,
html[data-irhp-theme="dark"] .irhp-latest {
    background-color: #000 !important;
    background-image:
        radial-gradient(circle at 8% 18%, rgba(85,184,138,.13) 0, rgba(85,184,138,.055) 17%, transparent 36%),
        radial-gradient(circle at 88% 78%, rgba(47,109,83,.14) 0, rgba(47,109,83,.055) 18%, transparent 39%),
        radial-gradient(circle at 52% 108%, rgba(85,184,138,.08) 0, transparent 32%) !important;
}
html[data-irhp-theme="dark"] .irhp-languages::before,
html[data-irhp-theme="dark"] .irhp-most::before,
html[data-irhp-theme="dark"] .irhp-latest::before {
    background: rgba(85,184,138,.10);
    box-shadow: 0 0 120px 62px rgba(85,184,138,.075) !important;
}
html[data-irhp-theme="dark"] .irhp-languages::after,
html[data-irhp-theme="dark"] .irhp-most::after,
html[data-irhp-theme="dark"] .irhp-latest::after {
    background: rgba(47,109,83,.12);
    box-shadow: 0 0 110px 56px rgba(47,109,83,.08) !important;
}

/* Book cards inherit the rounded, luminous language-card identity. */
.irhp-book-grid {
    align-items: stretch;
    grid-auto-rows: 1fr;
}
.irhp-book-card {
    position: relative;
    display: grid;
    grid-template-rows: 350px minmax(290px, auto) !important;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(47,109,83,.14) !important;
    border-radius: 32px !important;
    background: linear-gradient(145deg, rgba(255,255,255,.99), rgba(242,248,244,.98)) !important;
    box-shadow: 0 20px 52px rgba(20,64,46,.10), inset 0 1px 0 rgba(255,255,255,.92) !important;
    transform: translateZ(0);
}
.irhp-book-card::before {
    display: none !important;
    content: none !important;
}
.irhp-book-card:hover {
    transform: translateY(-10px) scale(1.008) !important;
    border-color: rgba(47,109,83,.36) !important;
    box-shadow: 0 38px 88px rgba(20,64,46,.19), 0 0 0 1px rgba(47,109,83,.07) inset !important;
}
.irhp-book-card__media {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 350px !important;
    padding: 10px !important;
    overflow: hidden;
    isolation: isolate;
    border-bottom: 1px solid rgba(47,109,83,.09);
    background: linear-gradient(145deg, #edf5ef, #f8f4e9) !important;
}
.irhp-book-card__media::before {
    content: "" !important;
    position: absolute !important;
    z-index: 0 !important;
    inset: -32px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background-image: var(--irhp-book-cover, linear-gradient(145deg,#e4efe8,#f5ecd5)) !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    filter: blur(28px) saturate(.82) brightness(1.06) !important;
    opacity: .34 !important;
    transform: scale(1.16) !important;
    box-shadow: none !important;
}
.irhp-book-card__media::after {
    content: "" !important;
    position: absolute !important;
    z-index: 1 !important;
    inset: 0 !important;
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.30), rgba(255,255,255,.06)),
        radial-gradient(circle at 50% 92%, rgba(23,63,48,.16), transparent 31%) !important;
    filter: none !important;
    transform: none !important;
}
.irhp-book-card__media img {
    position: relative !important;
    z-index: 3 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    padding: 0 !important;
    border-radius: 9px;
    filter: drop-shadow(0 20px 22px rgba(18,45,34,.26)) !important;
    transform: none !important;
}
.irhp-book-card:hover .irhp-book-card__media img {
    transform: translateY(-5px) scale(1.018) !important;
    filter: drop-shadow(0 29px 28px rgba(18,45,34,.34)) !important;
}
.irhp-book-card__body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    min-height: 290px;
    padding: 25px 25px 24px !important;
    border-top: 0 !important;
    background:
        radial-gradient(circle at 105% -5%, rgba(47,109,83,.085), transparent 36%),
        linear-gradient(145deg, rgba(255,255,255,.99), rgba(247,250,248,.98)) !important;
}
.irhp-book-card__body::after {
    content: "";
    position: absolute;
    top: -80px;
    right: -65px;
    z-index: -1;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(85,184,138,.12), transparent 70%);
    pointer-events: none;
}
.irhp-book-card h3 {
    min-height: 3.95em;
    margin-top: 16px !important;
    font-size: clamp(19px,1.45vw,22px) !important;
    line-height: 1.38 !important;
}
.irhp-book-share {
    width: 100%;
    margin-top: 18px;
    border-radius: 20px !important;
}
.irhp-book-card__meta a,
.irhp-book-card__meta a svg,
html[data-irhp-theme="dark"] .irhp-book-card__meta a,
html[data-irhp-theme="dark"] .irhp-book-card__meta a svg {
    color: #ffffff !important;
    stroke: currentColor !important;
}
html[data-irhp-theme="dark"] .irhp-book-card {
    border-color: #282828 !important;
    background: linear-gradient(145deg, #111, #050505) !important;
    box-shadow: 0 26px 66px rgba(0,0,0,.58), inset 0 1px 0 rgba(255,255,255,.045) !important;
}
html[data-irhp-theme="dark"] .irhp-book-card:hover {
    border-color: color-mix(in srgb, var(--irhp-theme-dark-accent,#55b88a) 68%, transparent) !important;
    box-shadow: 0 38px 90px rgba(0,0,0,.72), 0 0 0 1px color-mix(in srgb, var(--irhp-theme-dark-accent,#55b88a) 18%, transparent) inset !important;
}
html[data-irhp-theme="dark"] .irhp-book-card__media {
    border-bottom-color: #252525;
    background: linear-gradient(145deg,#171717,#050505) !important;
}
html[data-irhp-theme="dark"] .irhp-book-card__media::before {
    filter: blur(29px) saturate(.72) brightness(.50) !important;
    opacity: .40 !important;
}
html[data-irhp-theme="dark"] .irhp-book-card__media::after {
    background:
        linear-gradient(180deg, rgba(0,0,0,.03), rgba(0,0,0,.38)),
        radial-gradient(circle at 50% 92%, rgba(85,184,138,.15), transparent 31%) !important;
}
html[data-irhp-theme="dark"] .irhp-book-card__body {
    background:
        radial-gradient(circle at 105% -5%, rgba(85,184,138,.09), transparent 36%),
        linear-gradient(145deg, #0d0d0d, #070707) !important;
}

@media (max-width: 850px) {
    .irhp-hero__dots { gap: 9px !important; padding: 6px !important; }
    .irhp-hero__dot,
    .irhp-hero__dot.is-active { width: 40px !important; min-width: 40px !important; height: 40px !important; }
}
@media (max-width: 600px) {
    .irhp-book-card { grid-template-rows: 330px auto !important; }
    .irhp-book-card__media { min-height: 330px !important; padding: 8px !important; }
    .irhp-book-card h3 { min-height: 0; }
}

/* Final specificity fixes for theme wrappers that force the hero header absolute. */
body:has(.irhp-hero[data-irhp-hero-slider]) > .irhp-site-header.irhp-sticky-active.is-scrolled,
body:has(.irhp-hero[data-irhp-hero-slider]) > .irhp-site-header.irhp-sticky-active.irhp-site-header--detached,
body:has(.irhp-hero[data-irhp-hero-slider]) #page > .irhp-site-header.irhp-sticky-active.is-scrolled,
body:has(.irhp-hero[data-irhp-hero-slider]) .site > .irhp-site-header.irhp-sticky-active.is-scrolled {
    position: fixed !important;
    inset: 0 0 auto 0 !important;
}
html[data-irhp-theme="dark"] .irhp-site-header--overlay:not(.is-scrolled) .irhp-site-header__menu > li.current-menu-item > a,
html[data-irhp-theme="dark"] .irhp-site-header.is-scrolled .irhp-site-header__menu > li.current-menu-item > a,
html[data-irhp-theme="dark"] .irhp-site-header--detached .irhp-site-header__menu > li.current-menu-item > a {
    color: #ffffff !important;
}
html[data-irhp-theme="dark"] .irhp-site-header__menu > li:hover > a,
html[data-irhp-theme="dark"] .irhp-site-header__menu--mobile > li:hover > a {
    color: var(--irhp-header-accent, #55b88a) !important;
}

/* Preserve pure-white navigation glyphs in dark mode despite theme text-fill rules. */
html[data-irhp-theme="dark"] .irhp-site-header .irhp-site-header__menu > li > a,
html[data-irhp-theme="dark"] .irhp-site-header .irhp-site-header__menu > li.current-menu-item > a,
html[data-irhp-theme="dark"] .irhp-site-header .irhp-site-header__menu--mobile > li > a {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    opacity: 1 !important;
    filter: none !important;
}
html[data-irhp-theme="dark"] .irhp-site-header .irhp-site-header__menu > li:hover > a,
html[data-irhp-theme="dark"] .irhp-site-header .irhp-site-header__menu--mobile > li:hover > a {
    color: var(--irhp-header-accent, #55b88a) !important;
    -webkit-text-fill-color: var(--irhp-header-accent, #55b88a) !important;
}


/* =========================================================
   v2.3.0 — unified search/statistics flow, stable dark-mode
   overlap, and collision-proof header logo/navigation layout
   ========================================================= */

/* One continuous visual canvas behind the floating search, statistics rail,
   and the section that follows it. Component cards keep their own surfaces. */
.irhp-page {
    --irhp-flow-bg-start: #f3f7f3;
    --irhp-flow-bg-mid: #edf4ef;
    --irhp-flow-bg-end: #f8faf8;
    background: var(--irhp-flow-bg-start) !important;
}

.irhp-page > .irhp-search-section,
.irhp-search-section {
    background: transparent !important;
}

.irhp-stats {
    margin-top: -1px;
    background:
        radial-gradient(circle at 14% 8%, rgba(47,109,83,.075), transparent 29%),
        radial-gradient(circle at 88% 38%, rgba(214,173,82,.055), transparent 25%),
        linear-gradient(180deg, var(--irhp-flow-bg-start) 0%, var(--irhp-flow-bg-mid) 100%) !important;
}

.irhp-languages {
    background:
        radial-gradient(circle at 88% 4%, rgba(47,109,83,.065), transparent 28%),
        linear-gradient(180deg, var(--irhp-flow-bg-mid) 0%, var(--irhp-flow-bg-end) 100%) !important;
}

/* The floating form and statistics rail now share the same light/green visual
   vocabulary without flattening their intentionally different card colors. */
.irhp-search-shell {
    border: 1px solid rgba(47,109,83,.10) !important;
    box-shadow: 0 28px 68px rgba(19,63,45,.15), 0 0 0 1px rgba(255,255,255,.72) inset !important;
}

.irhp-stats__card {
    box-shadow: 0 28px 68px rgba(19,63,45,.18), 0 0 0 1px rgba(255,255,255,.05) inset !important;
}

/* Dark mode must preserve the exact same negative overlap as light mode.
   The old black background on the search section visually cancelled the
   overlap, so the canvas belongs to .irhp-page while the section stays clear. */
html[data-irhp-theme="dark"] .irhp-page {
    --irhp-flow-bg-start: #000000;
    --irhp-flow-bg-mid: #030303;
    --irhp-flow-bg-end: #000000;
    background: #000000 !important;
}

html[data-irhp-theme="dark"] .irhp-page > .irhp-search-section,
html[data-irhp-theme="dark"] .irhp-hero + .irhp-search-section,
html[data-irhp-theme="dark"] .irhp-search-section {
    position: relative !important;
    z-index: 10000 !important;
    margin-top: calc(var(--irhp-search-offset, 92px) * -1) !important;
    margin-block-start: calc(var(--irhp-search-offset, 92px) * -1) !important;
    top: auto !important;
    transform: none !important;
    background: transparent !important;
    background-color: transparent !important;
}

html[data-irhp-theme="dark"] .irhp-stats {
    background:
        radial-gradient(circle at 15% 9%, rgba(85,184,138,.075), transparent 29%),
        radial-gradient(circle at 87% 38%, rgba(47,109,83,.065), transparent 25%),
        linear-gradient(180deg, #000000 0%, #030303 100%) !important;
}

html[data-irhp-theme="dark"] .irhp-languages {
    background:
        radial-gradient(circle at 88% 4%, rgba(85,184,138,.065), transparent 28%),
        linear-gradient(180deg, #030303 0%, #000000 100%) !important;
}

html[data-irhp-theme="dark"] .irhp-search-shell {
    border-color: rgba(85,184,138,.18) !important;
    background: #080808 !important;
    box-shadow: 0 30px 72px rgba(0,0,0,.72), 0 0 0 1px rgba(85,184,138,.06) inset !important;
}

/* Reserve a real logo column and never let navigation paint over it. */
.irhp-site-header__inner {
    grid-template-columns: minmax(220px, 270px) minmax(0, 1fr) max-content !important;
    column-gap: clamp(18px, 1.8vw, 32px) !important;
}

.irhp-site-header__brand {
    position: relative;
    z-index: 3;
    width: 100%;
    min-width: 220px !important;
    max-width: 270px;
    flex: 0 0 auto;
    overflow: visible;
}

.irhp-site-header__brand .irhp-mode-logo {
    display: flex;
    width: 100%;
    min-width: 0;
    flex: 0 0 auto;
}

.irhp-site-header__brand .irhp-mode-logo img,
.irhp-site-header__brand > img {
    width: auto !important;
    max-width: 100% !important;
    flex: 0 0 auto;
}

.irhp-site-header__nav {
    min-width: 0 !important;
    margin-inline-start: clamp(4px, .75vw, 14px);
    overflow: hidden;
}

.irhp-site-header__menu {
    gap: clamp(11px, 1.2vw, 24px) !important;
}

.irhp-site-header__menu > li > a {
    font-size: clamp(12.5px, .9vw, 14px) !important;
}

.irhp-site-header__actions {
    position: relative;
    z-index: 4;
    flex: 0 0 auto;
}

/* Switch to the mobile navigation before the logo and menu can collide.
   This breakpoint intentionally exceeds the previous 1180px threshold. */
@media (max-width: 1320px) {
    .irhp-site-header__inner {
        grid-template-columns: minmax(0, 1fr) max-content !important;
    }

    .irhp-site-header__nav {
        display: none !important;
    }

    .irhp-site-header__toggle {
        display: block !important;
    }

    .irhp-site-header__brand {
        min-width: 0 !important;
        max-width: 270px;
    }

    .irhp-site-header__actions {
        margin-inline-start: auto !important;
    }
}

@media (max-width: 850px) {
    html[data-irhp-theme="dark"] .irhp-page > .irhp-search-section,
    html[data-irhp-theme="dark"] .irhp-hero + .irhp-search-section,
    html[data-irhp-theme="dark"] .irhp-search-section {
        margin-top: calc(var(--irhp-search-offset, 82px) * -1) !important;
        margin-block-start: calc(var(--irhp-search-offset, 82px) * -1) !important;
    }

    .irhp-site-header__brand {
        max-width: min(210px, 56vw);
    }
}

@media (max-width: 600px) {
    .irhp-site-header__brand {
        max-width: min(170px, 49vw);
    }
}

/* =========================================================
   v2.4.0 — one continuous card-section canvas and
   container-aware, never-clipped header navigation
   ========================================================= */

/* A single visual canvas now runs from the floating search through every
   card-based homepage section. Section wrappers stay transparent so there
   are no white/green bands or gradient seams between them. */
.irhp-page {
    --irhp-unified-canvas: #f8faf7;
    background-color: var(--irhp-unified-canvas) !important;
    background-image:
        radial-gradient(ellipse 720px 560px at 4% 24%, rgba(47,109,83,.075), transparent 72%),
        radial-gradient(ellipse 760px 620px at 96% 58%, rgba(85,184,138,.065), transparent 72%),
        radial-gradient(ellipse 640px 520px at 18% 88%, rgba(214,173,82,.045), transparent 74%) !important;
    background-repeat: no-repeat !important;
}

.irhp-page > .irhp-search-section,
.irhp-page > .irhp-stats,
.irhp-page > .irhp-section,
.irhp-page > .irhp-languages,
.irhp-page > .irhp-most,
.irhp-page > .irhp-latest,
.irhp-page > .irhp-books,
.irhp-page > .irhp-mahad,
.irhp-page .irhp-search-section,
.irhp-page .irhp-stats,
.irhp-page .irhp-languages,
.irhp-page .irhp-most,
.irhp-page .irhp-latest,
.irhp-page .irhp-books,
.irhp-page .irhp-mahad {
    background-color: transparent !important;
    background-image: none !important;
    border-block: 0 !important;
}

/* Remove accidental one-pixel seams introduced by theme section wrappers. */
.irhp-page > .irhp-search-section + .irhp-stats,
.irhp-page > .irhp-stats + .irhp-section,
.irhp-page > .irhp-section + .irhp-section {
    margin-block-start: -1px;
}

html[data-irhp-theme="dark"] .irhp-page {
    --irhp-unified-canvas: #000000;
    background-color: #000000 !important;
    background-image:
        radial-gradient(ellipse 760px 590px at 4% 24%, rgba(85,184,138,.075), transparent 72%),
        radial-gradient(ellipse 780px 640px at 96% 58%, rgba(47,109,83,.075), transparent 72%),
        radial-gradient(ellipse 620px 500px at 18% 88%, rgba(85,184,138,.035), transparent 74%) !important;
}

html[data-irhp-theme="dark"] .irhp-page > .irhp-search-section,
html[data-irhp-theme="dark"] .irhp-page > .irhp-stats,
html[data-irhp-theme="dark"] .irhp-page > .irhp-section,
html[data-irhp-theme="dark"] .irhp-page > .irhp-languages,
html[data-irhp-theme="dark"] .irhp-page > .irhp-most,
html[data-irhp-theme="dark"] .irhp-page > .irhp-latest,
html[data-irhp-theme="dark"] .irhp-page > .irhp-books,
html[data-irhp-theme="dark"] .irhp-page > .irhp-mahad,
html[data-irhp-theme="dark"] .irhp-page .irhp-search-section,
html[data-irhp-theme="dark"] .irhp-page .irhp-stats,
html[data-irhp-theme="dark"] .irhp-page .irhp-languages,
html[data-irhp-theme="dark"] .irhp-page .irhp-most,
html[data-irhp-theme="dark"] .irhp-page .irhp-latest,
html[data-irhp-theme="dark"] .irhp-page .irhp-books,
html[data-irhp-theme="dark"] .irhp-page .irhp-mahad {
    background-color: transparent !important;
    background-image: none !important;
}

/* Navigation labels must never be hidden merely to make the row fit. The
   script below measures the real container and collapses the menu first. */
.irhp-site-header__glass {
    container-type: inline-size;
    container-name: irhpHeaderPanel;
}

.irhp-site-header__nav {
    overflow: visible !important;
    min-width: 0 !important;
}

.irhp-site-header__menu {
    width: max-content;
    max-width: none !important;
    justify-content: center;
    overflow: visible !important;
}

.irhp-site-header__menu > li,
.irhp-site-header__menu > li > a {
    flex: 0 0 auto;
    max-width: none !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
}

.irhp-site-header.irhp-header-menu-collapsed .irhp-site-header__inner {
    grid-template-columns: minmax(0, 1fr) max-content !important;
}

.irhp-site-header.irhp-header-menu-collapsed .irhp-site-header__nav {
    display: none !important;
}

.irhp-site-header.irhp-header-menu-collapsed .irhp-site-header__toggle {
    display: block !important;
}

.irhp-site-header.irhp-header-menu-collapsed .irhp-site-header__brand {
    min-width: 0 !important;
    max-width: min(270px, 58vw) !important;
}

.irhp-site-header.irhp-header-menu-collapsed .irhp-site-header__actions {
    margin-inline-start: auto !important;
}

/* CSS-level safety net before JavaScript completes its first measurement. */
@container irhpHeaderPanel (max-width: 1180px) {
    .irhp-site-header__inner {
        grid-template-columns: minmax(0, 1fr) max-content !important;
    }
    .irhp-site-header__nav {
        display: none !important;
    }
    .irhp-site-header__toggle {
        display: block !important;
    }
    .irhp-site-header__brand {
        min-width: 0 !important;
        max-width: min(270px, 58vw) !important;
    }
    .irhp-site-header__actions {
        margin-inline-start: auto !important;
    }
}

/* Invisible natural-width measurement state used by the fit detector. */
.irhp-site-header.irhp-header-menu-collapsed.irhp-header-measuring .irhp-site-header__nav {
    position: absolute !important;
    inset: auto !important;
    display: block !important;
    width: max-content !important;
    max-width: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* =========================================================
   v2.5.0 — deterministic sticky desktop navigation
   =========================================================
   The desktop menu must never disappear merely because the overlay header
   is moved from the hero to <body> while scrolling. Desktop and mobile now
   use one explicit breakpoint, so first paint and sticky state share the
   exact same layout and no temporary hamburger can appear on desktop. */

@media (min-width: 1101px) {
    .irhp-site-header__inner,
    .irhp-site-header.irhp-header-menu-collapsed .irhp-site-header__inner {
        display: grid !important;
        grid-template-columns: minmax(170px, clamp(190px, 17vw, 260px)) minmax(0, 1fr) max-content !important;
        align-items: center !important;
        column-gap: clamp(12px, 1.35vw, 24px) !important;
        overflow: visible !important;
    }

    .irhp-site-header__brand,
    .irhp-site-header.irhp-header-menu-collapsed .irhp-site-header__brand {
        width: 100% !important;
        min-width: 0 !important;
        max-width: clamp(190px, 17vw, 260px) !important;
        overflow: visible !important;
    }

    .irhp-site-header__brand .irhp-mode-logo {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .irhp-site-header__brand img {
        width: auto !important;
        max-width: 100% !important;
        height: clamp(46px, 4vw, 58px) !important;
    }

    .irhp-site-header__nav,
    .irhp-site-header.irhp-header-menu-collapsed .irhp-site-header__nav {
        position: static !important;
        display: block !important;
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .irhp-site-header__menu,
    .irhp-site-header.irhp-header-menu-collapsed .irhp-site-header__menu {
        display: flex !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        gap: clamp(9px, 1.15vw, 22px) !important;
        overflow: visible !important;
    }

    .irhp-site-header__menu > li,
    .irhp-site-header__menu > li > a {
        min-width: 0 !important;
        flex: 0 0 auto !important;
    }

    .irhp-site-header__menu > li > a {
        padding-inline: clamp(2px, .35vw, 5px) !important;
        font-size: clamp(11.5px, .83vw, 14px) !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
    }

    .irhp-site-header__actions,
    .irhp-site-header.irhp-header-menu-collapsed .irhp-site-header__actions {
        display: flex !important;
        flex: 0 0 auto !important;
        margin-inline-start: 0 !important;
        gap: clamp(8px, .8vw, 12px) !important;
        white-space: nowrap !important;
    }

    /* The hamburger is a mobile/tablet control only. */
    .irhp-site-header__toggle,
    .irhp-site-header.irhp-header-menu-collapsed .irhp-site-header__toggle {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .irhp-site-header__cta {
        min-height: 46px !important;
        padding-inline: clamp(12px, 1vw, 18px) !important;
        font-size: clamp(11.5px, .8vw, 13px) !important;
    }

    .irhp-theme-toggle {
        flex: 0 0 46px !important;
        width: 46px !important;
        height: 46px !important;
    }
}

/* Compact, but still fully visible, navigation on standard laptop widths. */
@media (min-width: 1101px) and (max-width: 1420px) {
    .irhp-site-header__glass,
    .irhp-site-header.is-scrolled .irhp-site-header__glass,
    .irhp-site-header--detached .irhp-site-header__glass {
        width: calc(100% - 24px) !important;
    }

    .irhp-site-header__inner,
    .irhp-site-header.irhp-header-menu-collapsed .irhp-site-header__inner {
        grid-template-columns: minmax(155px, 190px) minmax(0, 1fr) max-content !important;
        column-gap: 11px !important;
        padding-inline: 15px !important;
    }

    .irhp-site-header__brand,
    .irhp-site-header.irhp-header-menu-collapsed .irhp-site-header__brand {
        max-width: 190px !important;
    }

    .irhp-site-header__menu,
    .irhp-site-header.irhp-header-menu-collapsed .irhp-site-header__menu {
        gap: clamp(7px, .8vw, 12px) !important;
    }

    .irhp-site-header__menu > li > a {
        padding-inline: 2px !important;
        font-size: clamp(11px, .78vw, 12.5px) !important;
    }

    .irhp-site-header__actions,
    .irhp-site-header.irhp-header-menu-collapsed .irhp-site-header__actions {
        gap: 7px !important;
    }

    .irhp-site-header__cta {
        min-height: 44px !important;
        padding-inline: 12px !important;
        font-size: 11.5px !important;
    }

    .irhp-theme-toggle {
        flex-basis: 44px !important;
        width: 44px !important;
        height: 44px !important;
    }
}

/* Mobile/tablet layout starts only at the explicit breakpoint. */
@media (max-width: 1100px) {
    .irhp-site-header__inner,
    .irhp-site-header.irhp-header-menu-collapsed .irhp-site-header__inner {
        grid-template-columns: minmax(0, 1fr) max-content !important;
    }

    .irhp-site-header__nav,
    .irhp-site-header.irhp-header-menu-collapsed .irhp-site-header__nav {
        display: none !important;
    }

    .irhp-site-header__toggle,
    .irhp-site-header.irhp-header-menu-collapsed .irhp-site-header__toggle {
        display: block !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
}

/* =========================================================
   WPDM LANGUAGE ARCHIVE BUILDER — v2.6.0
   ========================================================= */
.irhp-language-page,
.irhp-language-page *,
.irhp-language-page *::before,
.irhp-language-page *::after{box-sizing:border-box}
.irhp-language-page{position:relative;width:100vw;max-width:100vw;margin-inline:calc(50% - 50vw);overflow:hidden;background:var(--irhp-theme-light-bg,#fff);color:var(--irhp-ink);font-family:"Rubik",Arial,sans-serif}
.irhp-language-page :where(h1,h2,h3,p,a,button,input,select,span,strong,small,div,section,article){font-family:"Rubik",Arial,sans-serif!important}
.irhp-language-page svg{display:block;width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.irhp-language-hero{position:relative;isolation:isolate;min-height:470px;padding:150px 0 86px;color:#fff;background:#173f30 var(--irhp-language-bg,linear-gradient(135deg,#173f30,#2f6d53)) center/cover no-repeat;overflow:hidden}
.irhp-language-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(3,22,15,.88),rgba(11,59,41,.72) 46%,rgba(13,67,47,.34)),linear-gradient(180deg,rgba(0,0,0,.12),rgba(0,0,0,.45));opacity:var(--irhp-language-overlay,.48)}
.irhp-language-hero::after{content:"";position:absolute;inset:auto -8% -42% auto;width:460px;height:460px;border-radius:50%;background:radial-gradient(circle,rgba(214,173,82,.26),transparent 66%);filter:blur(12px);z-index:-1}
.irhp-language-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:34px;font-size:13px;font-weight:600;color:rgba(255,255,255,.75)}
.irhp-language-breadcrumb a{color:#fff;text-decoration:none}
.irhp-language-hero__content{display:grid;grid-template-columns:auto minmax(0,760px);align-items:center;gap:34px}
.irhp-language-hero__image{width:132px;height:132px;padding:11px;border:1px solid rgba(255,255,255,.34);border-radius:36px;background:rgba(255,255,255,.12);backdrop-filter:blur(18px);box-shadow:0 28px 70px rgba(0,0,0,.22)}
.irhp-language-hero__image img{width:100%;height:100%;object-fit:cover;border-radius:27px}
.irhp-language-hero__eyebrow{display:inline-flex;margin-bottom:13px;padding:8px 12px;border:1px solid rgba(255,255,255,.25);border-radius:999px;background:rgba(255,255,255,.1);font-size:12px;font-weight:700;letter-spacing:.03em}
.irhp-language-hero h1{margin:0!important;color:#fff!important;font-size:clamp(42px,6vw,78px)!important;font-weight:800!important;line-height:1.02!important;letter-spacing:-.045em}
.irhp-language-hero__original{margin:11px 0 0!important;color:#d7f0e4;font-size:22px;font-weight:650}
.irhp-language-hero__description{max-width:720px;margin:18px 0 0!important;color:rgba(255,255,255,.84);font-size:17px;line-height:1.8}
.irhp-language-hero__stats{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.irhp-language-hero__stats span{display:inline-flex;align-items:baseline;gap:7px;padding:11px 15px;border:1px solid rgba(255,255,255,.2);border-radius:15px;background:rgba(255,255,255,.1);backdrop-filter:blur(12px);font-size:12px;font-weight:600}
.irhp-language-hero__stats strong{color:#fff;font-size:19px}
.irhp-language-filters{position:relative;z-index:8;margin-top:-43px;padding-bottom:24px}
.irhp-language-filterbar{display:grid;grid-template-columns:minmax(250px,1fr) minmax(190px,270px) auto auto;align-items:center;gap:12px;padding:14px;border:1px solid rgba(40,95,73,.14);border-radius:27px;background:rgba(255,255,255,.94);backdrop-filter:blur(22px);box-shadow:0 24px 65px rgba(23,63,48,.16)}
.irhp-language-filterbar label{margin:0}
.irhp-language-filterbar__search{position:relative;display:flex;align-items:center}
.irhp-language-filterbar__search svg{position:absolute;inset-inline-start:18px;width:21px;height:21px;color:var(--irhp-green)}
.irhp-language-filterbar input,.irhp-language-filterbar select{width:100%;height:58px;margin:0!important;padding:0 18px;border:1px solid #d8e4dc!important;border-radius:17px!important;background:#fff!important;color:#20241f!important;font-size:15px!important;outline:none;box-shadow:none!important}
.irhp-language-filterbar__search input{padding-inline-start:52px!important}
.irhp-language-filterbar input:focus,.irhp-language-filterbar select:focus{border-color:#2f6d53!important;box-shadow:0 0 0 4px rgba(47,109,83,.1)!important}
.irhp-language-filterbar .irhp-button{height:58px;white-space:nowrap}
.irhp-language-view-switch{display:flex;gap:5px;padding:5px;border-radius:15px;background:#eef4f0}
.irhp-language-view-switch a{display:grid;place-items:center;width:44px;height:44px;border-radius:11px;color:#597066;text-decoration:none;font-size:23px;font-weight:700}
.irhp-language-view-switch a.is-active{background:#2f6d53;color:#fff;box-shadow:0 8px 18px rgba(47,109,83,.22)}
.irhp-language-results-count{padding:15px 8px 0;color:var(--irhp-muted);font-size:13px;font-weight:600}
.irhp-language-results-count strong{color:var(--irhp-green);font-size:16px}
.irhp-language-page>.irhp-section{position:relative;padding:72px 0;background:transparent}
.irhp-language-page>.irhp-section::before{content:"";position:absolute;z-index:-1;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(47,109,83,.10),transparent 67%);filter:blur(22px);pointer-events:none}
.irhp-language-page>.irhp-section:nth-of-type(even)::before{left:-180px;top:8%}.irhp-language-page>.irhp-section:nth-of-type(odd)::before{right:-180px;bottom:2%}
.irhp-language-featured__card{display:grid;grid-template-columns:minmax(260px,420px) minmax(0,1fr);gap:52px;align-items:center;padding:30px;border:1px solid rgba(47,109,83,.14);border-radius:36px;background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(239,247,242,.96));box-shadow:0 30px 80px rgba(23,63,48,.12)}
.irhp-language-featured__media{position:relative;display:grid;place-items:center;min-height:420px;border-radius:28px;overflow:hidden;background:#e8f0eb var(--cover) center/cover no-repeat}
.irhp-language-featured__media::before{content:"";position:absolute;inset:0;background:rgba(238,245,241,.72);backdrop-filter:blur(20px)}
.irhp-language-featured__media img{position:relative;z-index:1;max-width:86%;max-height:390px;object-fit:contain;filter:drop-shadow(0 28px 24px rgba(18,59,44,.28))}
.irhp-language-featured__badge{display:inline-flex;padding:8px 12px;border-radius:999px;background:#e2f0e8;color:#1f5e43;font-size:11px;font-weight:750}
.irhp-language-featured__body h2{margin:18px 0 12px!important;font-size:clamp(30px,4vw,52px)!important;line-height:1.16!important;color:var(--irhp-ink)!important}
.irhp-language-featured__body p{color:var(--irhp-muted);font-size:16px;line-height:1.8}
.irhp-language-featured__meta{margin:20px 0}.irhp-language-featured__meta span{display:inline-flex;align-items:center;gap:8px;color:var(--irhp-green);font-weight:700}
.irhp-language-book-grid{display:grid;grid-template-columns:repeat(var(--irhp-language-columns,3),minmax(0,1fr));gap:28px}
.irhp-language-book-grid.is-list{grid-template-columns:1fr}
.irhp-language-book-grid.is-list .irhp-book-card{grid-template-columns:260px minmax(0,1fr);grid-template-rows:none;min-height:320px}
.irhp-language-book-grid.is-list .irhp-book-card__media{min-height:320px}
.irhp-language-load-more{text-align:center;margin-top:38px}
.irhp-language-pagination ul{display:flex;justify-content:center;gap:8px;margin:38px 0 0;padding:0;list-style:none}.irhp-language-pagination a,.irhp-language-pagination span{display:grid;place-items:center;min-width:44px;height:44px;padding:0 12px;border-radius:13px;background:#fff;color:#234c3a;text-decoration:none;box-shadow:0 8px 24px rgba(23,63,48,.1)}.irhp-language-pagination .current{background:#2f6d53;color:#fff}
.irhp-language-empty{grid-column:1/-1;padding:70px 30px;text-align:center;border:1px dashed #b8ccc0;border-radius:28px;background:rgba(255,255,255,.65)}
.irhp-language-about__card{display:grid;grid-template-columns:auto 1fr;gap:28px;padding:40px;border:1px solid rgba(47,109,83,.16);border-radius:32px;background:linear-gradient(135deg,#f4f0e4,#edf5f0);box-shadow:0 25px 70px rgba(23,63,48,.1)}
.irhp-language-about__ornament{display:grid;place-items:center;width:74px;height:74px;border-radius:24px;background:#2f6d53;color:#fff;font-size:31px;box-shadow:0 18px 34px rgba(47,109,83,.25)}
.irhp-language-about__card h2{margin:0 0 12px!important;font-size:34px!important;color:var(--irhp-ink)!important}.irhp-language-about__content{color:var(--irhp-muted);font-size:16px;line-height:1.9}.irhp-language-about__content p:last-child{margin-bottom:0}
.irhp-language-others .irhp-language-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.irhp-language-mahad__card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:28px;padding:34px 38px;border-radius:34px;background:linear-gradient(135deg,#153f2f,#2f6d53);color:#fff;box-shadow:0 30px 75px rgba(14,56,40,.25)}
.irhp-language-mahad__icon{display:grid;place-items:center;width:72px;height:72px;border:1px solid rgba(255,255,255,.25);border-radius:23px;background:rgba(255,255,255,.12)}.irhp-language-mahad__icon svg{width:38px;height:38px}.irhp-language-mahad__card h2{margin:0 0 8px!important;color:#fff!important;font-size:30px!important}.irhp-language-mahad__card p{margin:0!important;color:rgba(255,255,255,.78)}
.irhp-language-faq__list{display:grid;gap:12px;max-width:900px;margin-inline:auto}.irhp-language-faq__item{overflow:hidden;border:1px solid rgba(47,109,83,.15);border-radius:20px;background:#fff;box-shadow:0 12px 34px rgba(23,63,48,.07)}.irhp-language-faq__item button{display:flex;align-items:center;justify-content:space-between;width:100%;padding:22px 24px;border:0;background:transparent;color:var(--irhp-ink);font-size:16px;font-weight:700;text-align:start;cursor:pointer}.irhp-language-faq__item button b{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#eaf3ed;color:#2f6d53;font-size:22px;transition:transform .25s}.irhp-language-faq__item button[aria-expanded="true"] b{transform:rotate(45deg)}.irhp-language-faq__item>div{padding:0 24px 22px;color:var(--irhp-muted);line-height:1.8}
html[data-irhp-theme="dark"] .irhp-language-page{background:#000;color:#fff}
html[data-irhp-theme="dark"] .irhp-language-filterbar,html[data-irhp-theme="dark"] .irhp-language-faq__item{background:rgba(10,10,10,.96);border-color:#2a2a2a}
html[data-irhp-theme="dark"] .irhp-language-filterbar input,html[data-irhp-theme="dark"] .irhp-language-filterbar select{background:#111!important;border-color:#2b2b2b!important;color:#fff!important}
html[data-irhp-theme="dark"] .irhp-language-view-switch{background:#171717}html[data-irhp-theme="dark"] .irhp-language-view-switch a{color:#bbb}
html[data-irhp-theme="dark"] .irhp-language-featured__card,html[data-irhp-theme="dark"] .irhp-language-about__card{background:linear-gradient(145deg,#0a0a0a,#111);border-color:#292929;box-shadow:0 28px 80px rgba(0,0,0,.45)}
html[data-irhp-theme="dark"] .irhp-language-featured__media{background-color:#121212}html[data-irhp-theme="dark"] .irhp-language-featured__media::before{background:rgba(10,10,10,.65)}
html[data-irhp-theme="dark"] .irhp-language-featured__body h2,html[data-irhp-theme="dark"] .irhp-language-about__card h2,html[data-irhp-theme="dark"] .irhp-language-faq__item button{color:#fff!important}
html[data-irhp-theme="dark"] .irhp-language-featured__body p,html[data-irhp-theme="dark"] .irhp-language-about__content,html[data-irhp-theme="dark"] .irhp-language-faq__item>div{color:#b8b8b8}
html[data-irhp-theme="dark"] .irhp-language-empty{background:#0b0b0b;border-color:#333}html[data-irhp-theme="dark"] .irhp-language-pagination a{background:#111;color:#fff}
@media(max-width:1024px){.irhp-language-filterbar{grid-template-columns:1fr 240px auto}.irhp-language-view-switch{grid-column:1/-1;justify-self:end}.irhp-language-book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.irhp-language-others .irhp-language-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.irhp-language-hero{min-height:520px;padding:128px 0 80px}.irhp-language-hero__content{grid-template-columns:1fr;gap:22px}.irhp-language-hero__image{width:96px;height:96px;border-radius:27px}.irhp-language-hero h1{font-size:42px!important}.irhp-language-filterbar{grid-template-columns:1fr;padding:11px;border-radius:22px}.irhp-language-filterbar .irhp-button{width:100%}.irhp-language-view-switch{grid-column:auto;justify-self:stretch;justify-content:center}.irhp-language-page>.irhp-section{padding:52px 0}.irhp-language-featured__card{grid-template-columns:1fr;gap:26px;padding:18px}.irhp-language-featured__media{min-height:360px}.irhp-language-book-grid,.irhp-language-others .irhp-language-grid{grid-template-columns:1fr}.irhp-language-book-grid.is-list .irhp-book-card{grid-template-columns:1fr;grid-template-rows:300px auto}.irhp-language-about__card{grid-template-columns:1fr;padding:27px}.irhp-language-mahad__card{grid-template-columns:1fr;text-align:center;justify-items:center;padding:30px 24px}.irhp-language-mahad__card p{max-width:500px}.irhp-language-breadcrumb{margin-bottom:24px}.irhp-language-filters{margin-top:-32px}}

.irhp-language-filterbar .irhp-button,.irhp-language-featured__body .irhp-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0!important;background:linear-gradient(135deg,#3d765b,#173f30)!important;color:#fff!important;text-decoration:none!important;box-shadow:0 14px 30px rgba(47,109,83,.24)}
.irhp-language-filterbar .irhp-button svg,.irhp-language-featured__body .irhp-button svg{width:17px;height:17px}
html[data-irhp-theme="dark"] .irhp-language-filterbar .irhp-button,html[data-irhp-theme="dark"] .irhp-language-featured__body .irhp-button{background:linear-gradient(135deg,#2f7a58,#174b36)!important;color:#fff!important}


/* ===== v2.7.0 language page refinements ===== */
.irhp-language-hero {
    min-height: 520px;
    padding-top: 210px;
}
.irhp-language-hero .irhp-container { position: relative; z-index: 2; }
.irhp-language-hero__content { align-items: center; }
.irhp-language-hero__stats { margin-top: 26px; }
@media(max-width:760px){
    .irhp-language-hero { padding-top: 156px; min-height: 500px; }
}

.irhp-language-filterbar__select {
    position: relative;
    display: flex;
    align-items: center;
}
.irhp-language-filterbar__select::after {
    content: "";
    position: absolute;
    inset-inline-end: 18px;
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-40%) rotate(45deg);
    color: var(--irhp-green);
    pointer-events: none;
}
.irhp-language-filterbar__select select {
    padding-inline-end: 44px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: linear-gradient(180deg, rgba(255,255,255,.96), rgba(246,250,247,.96)) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 10px 24px rgba(23,63,48,.06) !important;
}
html[data-irhp-theme="dark"] .irhp-language-filterbar__select::after { color: #78c49d; }
html[data-irhp-theme="dark"] .irhp-language-filterbar__select select {
    background-image: linear-gradient(180deg, rgba(20,20,20,.98), rgba(11,11,11,.98)) !important;
}

.irhp-language-featured__body .irhp-book-share {
    width: 100%;
    margin: 18px 0 22px;
}
.irhp-language-featured__body .irhp-book-share__icons {
    flex-wrap: wrap;
}

.irhp-language-others .irhp-language-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.irhp-language-mahad__card {
    grid-template-columns: auto minmax(0,1fr) auto;
}
.irhp-language-mahad__logo-wrap {
    display: grid;
    place-items: center;
    width: 110px;
    min-width: 110px;
    height: 110px;
    padding: 14px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,.20);
    background: rgba(255,255,255,.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
}
.irhp-language-mahad__logo {
    width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}
@media(max-width:760px){
    .irhp-language-mahad__card { grid-template-columns: 1fr; }
    .irhp-language-mahad__logo-wrap { width: 92px; height: 92px; min-width: 92px; }
}

.irhp-language-faq__list {
    max-width: 980px;
    gap: 16px;
}
.irhp-language-faq__item {
    border-radius: 26px;
    background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(241,248,244,.96));
    border: 1px solid rgba(47,109,83,.15);
    box-shadow: 0 24px 55px rgba(23,63,48,.08);
}
.irhp-language-faq__item button {
    padding: 22px 24px;
    font-size: 18px;
    gap: 18px;
}
.irhp-language-faq__item button span { flex: 1; }
.irhp-language-faq__item button b {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: linear-gradient(135deg, #3d765b, #173f30);
    color: #fff;
    box-shadow: 0 12px 26px rgba(47,109,83,.24);
}
.irhp-language-faq__item > div {
    padding: 0 24px 24px;
}
html[data-irhp-theme="dark"] .irhp-language-faq__item {
    background: linear-gradient(145deg, rgba(9,9,9,.98), rgba(18,18,18,.97));
    border-color: #2b2b2b;
    box-shadow: 0 26px 56px rgba(0,0,0,.42);
}
html[data-irhp-theme="dark"] .irhp-language-faq__item button b {
    background: linear-gradient(135deg, #2f7a58, #174b36);
}

.irhp-language-book-grid.is-list .irhp-book-card {
    align-items: stretch;
    min-height: 0;
}
.irhp-language-book-grid.is-list .irhp-book-card__body {
    height: auto;
    justify-content: flex-start;
}
.irhp-language-book-grid.is-list .irhp-book-card h3 {
    min-height: 0 !important;
}
.irhp-language-book-grid.is-list .irhp-book-card__meta {
    margin-top: 18px;
}
@media(max-width:760px){
    .irhp-language-book-grid.is-list .irhp-book-card,
    .irhp-language-book-grid.is-list .irhp-book-card__media {
        min-height: 0;
    }
}

.irhp-language-about__content,
.irhp-language-about__content p,
.irhp-language-about__content li {
    overflow-wrap: anywhere;
    word-break: break-word;
}
.irhp-language-about__content a {
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
}

.irhp-language-filters,
.irhp-language-hero__content > *,
.irhp-language-featured__card,
.irhp-language-about__card,
.irhp-language-faq__item,
.irhp-language-mahad__card,
.irhp-language-empty,
.irhp-language-results-count,
.irhp-language-pagination,
.irhp-language-load-more {
    will-change: transform, opacity;
}


/* =========================================================
   v2.8.0 — language hero safety, compact list cards,
   green FAQ, larger Mahad logo and AJAX states
   ========================================================= */
.irhp-language-hero {
    padding-top: var(--irhp-language-header-safe, 235px) !important;
    padding-bottom: 86px !important;
    min-height: calc(var(--irhp-language-header-safe, 235px) + 320px) !important;
}
.irhp-language-hero__content {
    position: relative;
    z-index: 3;
}
@media (max-width: 760px) {
    .irhp-language-hero {
        padding-top: var(--irhp-language-header-safe, 175px) !important;
        padding-bottom: 72px !important;
        min-height: calc(var(--irhp-language-header-safe, 175px) + 360px) !important;
    }
}

.irhp-language-page.is-ajax-loading [data-irhp-books-section] {
    opacity: .55;
    transform: translateY(8px);
    pointer-events: none;
}
[data-irhp-books-section] {
    transition: opacity .25s ease, transform .25s ease;
}
.irhp-language-filterbar.is-loading .irhp-button {
    cursor: wait;
    opacity: .78;
}
.irhp-language-filterbar.is-loading .irhp-button::after {
    content: "";
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,.42);
    border-top-color: #fff;
    border-radius: 50%;
    animation: irhp-language-spin .72s linear infinite;
}
@keyframes irhp-language-spin { to { transform: rotate(360deg); } }

/* The list card must size from its actual content, never from grid-card minimums. */
.irhp-language-book-grid.is-list {
    grid-auto-rows: auto !important;
    align-items: start !important;
}
.irhp-language-book-grid.is-list .irhp-book-card {
    grid-template-columns: 260px minmax(0,1fr) !important;
    grid-template-rows: none !important;
    align-self: start !important;
    height: auto !important;
    min-height: 0 !important;
}
.irhp-language-book-grid.is-list .irhp-book-card__media {
    align-self: stretch !important;
    height: auto !important;
    min-height: 100% !important;
    padding: 10px !important;
}
.irhp-language-book-grid.is-list .irhp-book-card__body {
    align-self: stretch !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 24px 26px !important;
}
.irhp-language-book-grid.is-list .irhp-book-card h3 {
    min-height: 0 !important;
}
.irhp-language-book-grid.is-list .irhp-book-card__meta {
    margin-top: 18px !important;
    padding-top: 0 !important;
}
@media (max-width: 760px) {
    .irhp-language-book-grid.is-list .irhp-book-card {
        grid-template-columns: 1fr !important;
        grid-template-rows: 300px auto !important;
    }
    .irhp-language-book-grid.is-list .irhp-book-card__media {
        min-height: 300px !important;
        height: 300px !important;
    }
}

/* Fully green modern FAQ — theme button styles cannot inject yellow. */
.irhp-language-faq__list {
    max-width: 980px !important;
    gap: 16px !important;
}
.irhp-language-faq__item {
    overflow: hidden !important;
    border: 1px solid rgba(39,111,78,.22) !important;
    border-radius: 26px !important;
    background: #f3faf6 !important;
    box-shadow: 0 22px 54px rgba(20,82,55,.10) !important;
}
.irhp-language-faq__item > button,
.irhp-language-faq__item > button:hover,
.irhp-language-faq__item > button:focus {
    width: 100% !important;
    min-height: 82px !important;
    padding: 20px 22px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: linear-gradient(135deg, #367b5b, #174b36) !important;
    color: #fff !important;
    box-shadow: none !important;
    transform: none !important;
}
.irhp-language-faq__item > button span {
    color: #fff !important;
}
.irhp-language-faq__item > button b {
    flex: 0 0 auto;
    width: 40px !important;
    height: 40px !important;
    border: 1px solid rgba(255,255,255,.32) !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,.14) !important;
    color: #fff !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18) !important;
}
.irhp-language-faq__item > div {
    padding: 22px 24px 24px !important;
    border-top: 1px solid rgba(39,111,78,.12);
    background: linear-gradient(180deg, #f7fcf9, #eef8f2) !important;
    color: #4f665a !important;
}
html[data-irhp-theme="dark"] .irhp-language-faq__item {
    border-color: rgba(85,184,138,.24) !important;
    background: #07100c !important;
    box-shadow: 0 28px 66px rgba(0,0,0,.58) !important;
}
html[data-irhp-theme="dark"] .irhp-language-faq__item > button,
html[data-irhp-theme="dark"] .irhp-language-faq__item > button:hover,
html[data-irhp-theme="dark"] .irhp-language-faq__item > button:focus {
    background: linear-gradient(135deg, #276b4c, #0b3021) !important;
}
html[data-irhp-theme="dark"] .irhp-language-faq__item > div {
    border-top-color: rgba(85,184,138,.15) !important;
    background: linear-gradient(180deg, #0c1712, #07100c) !important;
    color: #c3d3ca !important;
}

/* Large transparent Mahad logo with no box around it. */
.irhp-language-mahad__card {
    grid-template-columns: minmax(190px, 260px) minmax(0,1fr) auto !important;
    gap: clamp(24px, 4vw, 52px) !important;
}
.irhp-language-mahad__logo {
    display: block !important;
    width: min(260px, 100%) !important;
    height: auto !important;
    max-height: none !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    object-fit: contain !important;
}
.irhp-language-mahad__logo-wrap { display: contents !important; }
@media (max-width: 760px) {
    .irhp-language-mahad__card {
        grid-template-columns: 1fr !important;
    }
    .irhp-language-mahad__logo {
        width: min(230px, 80vw) !important;
        margin-inline: auto !important;
    }
}

/* The removed section remains hidden even if a stale cached layout contains it. */
.irhp-language-others { display: none !important; }

@media (prefers-reduced-motion: reduce) {
    [data-irhp-books-section],
    .irhp-language-filterbar.is-loading .irhp-button::after {
        transition: none !important;
        animation: none !important;
    }
}


/* =========================================================
   v2.8.1 — definitive language hero/header separation
   ========================================================= */
.irhp-language-hero {
    box-sizing: border-box !important;
    padding-top: var(--irhp-language-header-safe, 250px) !important;
}
.irhp-language-hero > .irhp-container {
    position: relative;
    z-index: 3;
}
.irhp-language-hero__content {
    margin-top: 0 !important;
    transform: none !important;
}
@media (max-width: 760px) {
    .irhp-language-hero {
        padding-top: var(--irhp-language-header-safe, 190px) !important;
    }
}

/* =========================================================
   v2.9.0 — WPDM single book page builder
   ========================================================= */
.irhp-book-page{
    --irhp-book-surface:#fff;
    --irhp-book-soft:#f3f7f4;
    --irhp-book-line:rgba(40,95,73,.15);
    width:100vw!important;
    max-width:100vw!important;
    margin-inline:calc(50% - 50vw)!important;
    overflow:hidden;
    background:#fff;
    color:var(--irhp-ink);
}
.irhp-book-page>.irhp-section{position:relative;padding:76px 0;background:transparent}
.irhp-book-page>.irhp-section:nth-of-type(even){background:linear-gradient(180deg,rgba(245,249,246,.76),rgba(255,255,255,.96))}
.irhp-book-page>.irhp-section::before{content:"";position:absolute;width:380px;height:380px;border-radius:50%;background:radial-gradient(circle,rgba(47,109,83,.09),transparent 68%);filter:blur(18px);pointer-events:none;z-index:0}
.irhp-book-page>.irhp-section:nth-of-type(odd)::before{right:-170px;top:5%}.irhp-book-page>.irhp-section:nth-of-type(even)::before{left:-170px;bottom:0}
.irhp-book-page>.irhp-section>.irhp-container{position:relative;z-index:1}

.irhp-book-hero{position:relative;isolation:isolate;min-height:620px;padding:var(--irhp-book-header-safe,245px) 0 105px;color:#fff;background:#123b2c var(--irhp-book-hero-cover,linear-gradient(135deg,#123b2c,#2f6d53)) center/cover no-repeat;overflow:hidden}
.irhp-book-hero::before{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,rgba(2,19,13,.96),rgba(9,54,38,.84) 50%,rgba(9,54,38,.48)),linear-gradient(180deg,rgba(0,0,0,.12),rgba(0,0,0,.48));opacity:var(--irhp-book-hero-overlay,.58)}
.irhp-book-hero::after{content:"";position:absolute;z-index:-1;inset:auto -8% -52% auto;width:620px;height:620px;border-radius:50%;background:radial-gradient(circle,rgba(91,188,139,.27),transparent 68%);filter:blur(18px)}
.irhp-book-hero>.irhp-site-header{position:absolute!important;inset:0 0 auto 0!important;top:0!important;z-index:40;margin:0!important}
.irhp-book-hero>.irhp-site-header.is-scrolled{position:fixed!important;inset:0 0 auto 0!important}
.admin-bar .irhp-book-hero>.irhp-site-header,.admin-bar .irhp-book-hero>.irhp-site-header.is-scrolled{top:32px!important}
.irhp-book-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-bottom:34px;color:rgba(255,255,255,.68);font-size:12px;font-weight:600}
.irhp-book-breadcrumb a{color:#fff!important;text-decoration:none!important}.irhp-book-breadcrumb span:last-child{max-width:580px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.irhp-book-hero__content{max-width:920px}
.irhp-book-hero__eyebrow,.irhp-book-hero__term{display:inline-flex;align-items:center;margin:0 10px 16px 0;padding:8px 13px;border:1px solid rgba(255,255,255,.24);border-radius:999px;background:rgba(255,255,255,.1);color:#fff!important;font-size:12px;font-weight:700;text-decoration:none!important;backdrop-filter:blur(12px)}
.irhp-book-hero__term{background:rgba(85,184,138,.2);border-color:rgba(121,216,171,.38)}
.irhp-book-hero h1{max-width:980px;margin:0!important;color:#fff!important;font-size:clamp(42px,6vw,82px)!important;font-weight:800!important;line-height:1.05!important;letter-spacing:-.045em;text-wrap:balance;text-shadow:0 8px 32px rgba(0,0,0,.28)}
.irhp-book-hero__stats{display:flex;flex-wrap:wrap;gap:12px;margin-top:27px}
.irhp-book-hero__stats span{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border:1px solid rgba(255,255,255,.18);border-radius:15px;background:rgba(255,255,255,.09);font-size:12px;backdrop-filter:blur(10px)}
.irhp-book-hero__stats svg{width:17px;height:17px;color:#8bd2ad}.irhp-book-hero__stats strong{font-size:16px;color:#fff}
.irhp-book-hero__actions{display:flex;flex-wrap:wrap;gap:13px;margin-top:34px}.irhp-book-hero__actions .irhp-button--primary{background:linear-gradient(135deg,#55b88a,#2f6d53)!important;color:#fff!important}

.irhp-book-overview__card{display:grid;grid-template-columns:minmax(280px,430px) minmax(0,1fr);gap:52px;align-items:center;padding:30px;border:1px solid var(--irhp-book-line);border-radius:38px;background:linear-gradient(145deg,#fff,#f0f7f3);box-shadow:0 34px 85px rgba(22,64,47,.13)}
.irhp-book-overview__cover{position:relative;display:grid;place-items:center;min-height:510px;padding:28px;border-radius:29px;overflow:hidden;background:#e8f0eb var(--cover) center/cover no-repeat}
.irhp-book-overview__cover::before{content:"";position:absolute;inset:0;background:rgba(238,246,241,.75);backdrop-filter:blur(22px)}
.irhp-book-overview__cover img{position:relative;z-index:1;display:block;max-width:92%;max-height:455px;object-fit:contain;filter:drop-shadow(0 30px 26px rgba(16,48,36,.3))}
.irhp-book-overview__cover>span{position:absolute;z-index:2;left:18px;top:18px;padding:8px 12px;border-radius:999px;background:#2f6d53;color:#fff;font-size:11px;font-weight:750;box-shadow:0 12px 24px rgba(47,109,83,.24)}
.irhp-book-overview__term{display:inline-flex;padding:8px 12px;border-radius:999px;background:#e2f1e8;color:#1f5e43!important;font-size:11px;font-weight:750;text-decoration:none!important}
.irhp-book-overview__body h2{margin:18px 0 15px!important;color:var(--irhp-ink)!important;font-size:clamp(30px,4vw,54px)!important;line-height:1.15!important;letter-spacing:-.035em}
.irhp-book-overview__body>p{margin:0!important;color:var(--irhp-muted);font-size:16px;line-height:1.85}
.irhp-book-overview__chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.irhp-book-overview__chips span{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border:1px solid rgba(47,109,83,.13);border-radius:13px;background:#fff;color:#48675a;font-size:12px;font-weight:650}.irhp-book-overview__chips svg{width:16px;height:16px;color:#2f6d53}
.irhp-book-overview__actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}.irhp-book-overview__actions>.irhp-button:first-child{background:linear-gradient(135deg,#3d765b,#173f30)!important;color:#fff!important}

.irhp-book-reader__shell{overflow:hidden;border:1px solid rgba(47,109,83,.18);border-radius:30px;background:#0c1712;box-shadow:0 38px 90px rgba(15,48,35,.22)}
.irhp-book-reader__toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 18px;background:linear-gradient(135deg,#173f30,#2f6d53);color:#fff}
.irhp-book-reader__toolbar>span,.irhp-book-reader__toolbar>div,.irhp-book-reader__toolbar button,.irhp-book-reader__toolbar a{display:flex;align-items:center;gap:8px}.irhp-book-reader__toolbar>span{min-width:0;font-size:13px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.irhp-book-reader__toolbar>div{flex-shrink:0}
.irhp-book-reader__toolbar button,.irhp-book-reader__toolbar a{min-height:40px;padding:0 13px;border:1px solid rgba(255,255,255,.2);border-radius:12px;background:rgba(255,255,255,.1);color:#fff!important;font:inherit;font-size:12px;font-weight:700;text-decoration:none!important;cursor:pointer}
.irhp-book-reader__content{min-height:var(--irhp-reader-height,820px);background:#111}.irhp-book-reader__content iframe,.irhp-book-reader__content embed,.irhp-book-reader__content object{display:block;width:100%!important;min-height:var(--irhp-reader-height,820px)!important;border:0!important}.irhp-book-reader__content>*{max-width:100%}
.irhp-book-reader__fallback{display:grid;place-items:center;min-height:420px;margin:0!important;padding:30px;color:#fff;text-align:center}
.irhp-book-reader__shell:fullscreen,.irhp-book-reader__shell.is-pseudo-fullscreen{position:fixed!important;inset:0!important;z-index:999999!important;width:100vw!important;height:100vh!important;border-radius:0!important}.irhp-book-reader__shell:fullscreen .irhp-book-reader__content,.irhp-book-reader__shell.is-pseudo-fullscreen .irhp-book-reader__content,.irhp-book-reader__shell:fullscreen iframe,.irhp-book-reader__shell.is-pseudo-fullscreen iframe{height:calc(100vh - 68px)!important;min-height:calc(100vh - 68px)!important}

.irhp-book-sharing__card{max-width:980px;margin-inline:auto;padding:28px;border:1px solid var(--irhp-book-line);border-radius:28px;background:linear-gradient(145deg,#fff,#eff7f2);box-shadow:0 25px 65px rgba(22,64,47,.1)}
.irhp-book-sharing__card .irhp-book-share{margin:0;width:100%}.irhp-book-sharing__card .irhp-book-share__head{font-size:16px}.irhp-book-sharing__card .irhp-share-icon{width:45px;height:45px;border-radius:14px}

.irhp-book-description__card{position:relative;max-width:1000px;margin-inline:auto;padding:42px;border:1px solid var(--irhp-book-line);border-radius:32px;background:#fff;box-shadow:0 25px 70px rgba(22,64,47,.09)}
.irhp-book-description__content{color:#4f5f57;font-size:17px;line-height:2;overflow-wrap:anywhere;word-break:break-word}.irhp-book-description__content a{overflow-wrap:anywhere;word-break:break-word}.irhp-book-description__card.is-collapsed .irhp-book-description__content{max-height:350px;overflow:hidden;mask-image:linear-gradient(#000 70%,transparent);-webkit-mask-image:linear-gradient(#000 70%,transparent)}
.irhp-book-description__card>button{display:flex;align-items:center;gap:8px;margin:25px auto 0;padding:12px 18px;border:0;border-radius:14px;background:#e5f2ea;color:#225d42;font-weight:750;cursor:pointer}

.irhp-book-details__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.irhp-book-detail{display:grid;grid-template-columns:52px 1fr;align-items:center;column-gap:14px;padding:21px;border:1px solid var(--irhp-book-line);border-radius:24px;background:#fff;box-shadow:0 14px 38px rgba(22,64,47,.07)}.irhp-book-detail>span{grid-row:1/3;display:grid;place-items:center;width:52px;height:52px;border-radius:17px;background:#e3f1e8;color:#2f6d53}.irhp-book-detail small{color:var(--irhp-muted);font-size:11px;font-weight:650}.irhp-book-detail strong{color:var(--irhp-ink);font-size:14px;overflow-wrap:anywhere}

.irhp-book-language__card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:28px;padding:34px 38px;border-radius:34px;background:linear-gradient(135deg,#153f2f,#2f6d53);color:#fff;box-shadow:0 30px 75px rgba(14,56,40,.24)}.irhp-book-language__card>img,.irhp-book-language__card>span{display:grid;place-items:center;width:100px;height:100px;border-radius:28px;object-fit:cover;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2)}.irhp-book-language__card small{color:#9fddbd;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.irhp-book-language__card h2{margin:7px 0 5px!important;color:#fff!important;font-size:34px!important}.irhp-book-language__card p{margin:0!important;color:rgba(255,255,255,.72)}.irhp-book-language__card .irhp-button{background:#fff!important;color:#173f30!important}

.irhp-book-navigation__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.irhp-book-navigation__item{display:grid;grid-template-columns:72px minmax(0,1fr) auto;align-items:center;gap:17px;padding:16px;border:1px solid var(--irhp-book-line);border-radius:25px;background:#fff;color:var(--irhp-ink)!important;text-decoration:none!important;box-shadow:0 18px 45px rgba(22,64,47,.08);transition:transform .28s ease,box-shadow .28s ease}.irhp-book-navigation__item:hover{transform:translateY(-5px);box-shadow:0 26px 58px rgba(22,64,47,.14)}.irhp-book-navigation__item img{width:72px;height:85px;border-radius:15px;object-fit:contain;background:#edf3ef}.irhp-book-navigation__item small,.irhp-book-navigation__item strong{display:block}.irhp-book-navigation__item small{margin-bottom:5px;color:#2f6d53;font-size:11px;font-weight:700}.irhp-book-navigation__item strong{font-size:14px;line-height:1.45}.irhp-book-navigation__item>svg{width:20px;height:20px}.irhp-book-navigation__item.is-prev>svg{transform:rotate(180deg)}

.irhp-book-sticky-actions{position:fixed;z-index:9998;left:50%;bottom:18px;display:flex;gap:7px;padding:7px;border:1px solid rgba(47,109,83,.18);border-radius:22px;background:rgba(255,255,255,.92);box-shadow:0 20px 55px rgba(10,42,29,.22);backdrop-filter:blur(18px);transform:translateX(-50%)}.irhp-book-sticky-actions a,.irhp-book-sticky-actions button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:46px;padding:0 16px;border:0;border-radius:15px;background:transparent;color:#244e3b!important;font:inherit;font-size:12px;font-weight:750;text-decoration:none!important;cursor:pointer}.irhp-book-sticky-actions a:first-child{background:#2f6d53;color:#fff!important}.irhp-book-sticky-actions svg{width:17px;height:17px}

html[data-irhp-theme="dark"] .irhp-book-page{--irhp-book-surface:#0d0d0d;--irhp-book-soft:#111;--irhp-book-line:#292929;background:#000;color:#fff}
html[data-irhp-theme="dark"] .irhp-book-page>.irhp-section:nth-of-type(even){background:linear-gradient(180deg,#050505,#000)}
html[data-irhp-theme="dark"] .irhp-book-overview__card,html[data-irhp-theme="dark"] .irhp-book-sharing__card,html[data-irhp-theme="dark"] .irhp-book-description__card,html[data-irhp-theme="dark"] .irhp-book-detail,html[data-irhp-theme="dark"] .irhp-book-navigation__item{background:linear-gradient(145deg,#0b0b0b,#121212);border-color:#292929;box-shadow:0 28px 70px rgba(0,0,0,.45)}
html[data-irhp-theme="dark"] .irhp-book-overview__cover{background-color:#151515}html[data-irhp-theme="dark"] .irhp-book-overview__cover::before{background:rgba(7,7,7,.7)}
html[data-irhp-theme="dark"] .irhp-book-overview__body h2,html[data-irhp-theme="dark"] .irhp-book-detail strong,html[data-irhp-theme="dark"] .irhp-book-navigation__item{color:#fff!important}
html[data-irhp-theme="dark"] .irhp-book-overview__body>p,html[data-irhp-theme="dark"] .irhp-book-description__content{color:#b8b8b8}
html[data-irhp-theme="dark"] .irhp-book-overview__chips span{background:#151515;border-color:#2c2c2c;color:#d4d4d4}
html[data-irhp-theme="dark"] .irhp-book-detail>span{background:#143c2c;color:#72c69a}
html[data-irhp-theme="dark"] .irhp-book-sticky-actions{background:rgba(8,8,8,.92);border-color:#292929}html[data-irhp-theme="dark"] .irhp-book-sticky-actions a,html[data-irhp-theme="dark"] .irhp-book-sticky-actions button{color:#fff!important}

@media(max-width:1024px){.irhp-book-overview__card{grid-template-columns:340px minmax(0,1fr);gap:30px}.irhp-book-details__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
    .irhp-book-page>.irhp-section{padding:52px 0}.irhp-book-hero{min-height:560px;padding:var(--irhp-book-header-safe,190px) 0 75px}.irhp-book-hero h1{font-size:42px!important}.irhp-book-breadcrumb{margin-bottom:24px}.irhp-book-breadcrumb span:last-child{max-width:220px}.irhp-book-hero__actions{display:grid;grid-template-columns:1fr 1fr}.irhp-book-hero__actions .irhp-button{min-width:0;padding:0 12px}
    .irhp-book-overview__card{grid-template-columns:1fr;gap:25px;padding:17px;border-radius:28px}.irhp-book-overview__cover{min-height:390px}.irhp-book-overview__cover img{max-height:350px}.irhp-book-overview__body{padding:0 8px 8px}.irhp-book-overview__body h2{font-size:32px!important}.irhp-book-overview__actions{display:grid;grid-template-columns:1fr 1fr}.irhp-book-overview__actions .irhp-button{padding:0 11px}
    .irhp-book-reader__toolbar{align-items:flex-start;flex-direction:column}.irhp-book-reader__toolbar>div{width:100%;justify-content:space-between}.irhp-book-reader__content,.irhp-book-reader__content iframe,.irhp-book-reader__content embed,.irhp-book-reader__content object{min-height:var(--irhp-reader-mobile-height,620px)!important}.irhp-book-reader__toolbar button,.irhp-book-reader__toolbar a{flex:1;justify-content:center}
    .irhp-book-description__card{padding:25px;border-radius:25px}.irhp-book-details__grid{grid-template-columns:1fr}.irhp-book-language__card{grid-template-columns:1fr;text-align:center;justify-items:center;padding:29px 22px}.irhp-book-navigation__grid{grid-template-columns:1fr}.irhp-book-sticky-actions{bottom:10px;width:calc(100% - 20px);justify-content:space-between}.irhp-book-sticky-actions a,.irhp-book-sticky-actions button{flex:1;padding:0 8px}.irhp-book-sticky-actions span{font-size:11px}
}
@media(max-width:782px){.admin-bar .irhp-book-hero>.irhp-site-header,.admin-bar .irhp-book-hero>.irhp-site-header.is-scrolled{top:46px!important}}
@media(prefers-reduced-motion:reduce){.irhp-book-navigation__item{transition:none!important}}

/* =========================================================
   v2.10.0 — adaptive book reader, compact hero title,
   integrated sharing and modern sticky navigation/actions
   ========================================================= */

/* Book hero title: use the full content width and keep long desktop titles on one line. */
.irhp-book-hero__content {
    max-width: none !important;
    width: 100%;
}
.irhp-book-hero h1[data-irhp-fit-book-title] {
    max-width: 100% !important;
    font-size: clamp(30px, 3.4vw, 58px) !important;
    line-height: 1.12 !important;
    letter-spacing: -.035em;
}
@media (min-width: 761px) {
    .irhp-book-hero h1[data-irhp-fit-book-title] {
        white-space: nowrap;
        text-wrap: nowrap;
    }
}

/* Sharing now belongs to the upper book information card. */
.irhp-book-overview__sharing {
    width: 100%;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid rgba(47,109,83,.14);
}
.irhp-book-overview__sharing .irhp-book-share {
    width: 100%;
    margin: 0;
    padding: 18px;
    border-radius: 22px;
    background: rgba(235,245,239,.72);
    box-shadow: inset 0 0 0 1px rgba(47,109,83,.10);
}
.irhp-book-overview__sharing .irhp-book-share__icons { flex-wrap: wrap; }
html[data-irhp-theme="dark"] .irhp-book-overview__sharing {
    border-color: #292929;
}
html[data-irhp-theme="dark"] .irhp-book-overview__sharing .irhp-book-share {
    background: rgba(18,18,18,.88);
    box-shadow: inset 0 0 0 1px #2b2b2b;
}

/* Reader no longer reserves a black screen for unsupported Word/other files. */
.irhp-book-reader__shell {
    background: linear-gradient(145deg,#f6faf7,#eef5f1) !important;
}
.irhp-book-reader__content {
    min-height: 0 !important;
    background: transparent !important;
}
.irhp-book-reader__shell.has-preview .irhp-book-reader__content > iframe[data-irhp-reader-frame] {
    display: block;
    width: 100% !important;
    height: var(--irhp-reader-height,820px) !important;
    min-height: var(--irhp-reader-height,820px) !important;
    border: 0 !important;
    background: #fff !important;
}
.irhp-book-reader__assist {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    border-top: 1px solid rgba(47,109,83,.14);
    background: #fff;
}
.irhp-book-reader__assist p {
    margin: 0 !important;
    color: var(--irhp-muted);
    font-size: 13px;
}
.irhp-book-reader__assist .irhp-button { min-height: 46px; padding-inline: 18px; }
.irhp-book-reader__legacy {
    overflow: hidden;
    max-height: 270px;
    background: #fff;
}
.irhp-book-reader__legacy iframe,
.irhp-book-reader__legacy embed,
.irhp-book-reader__legacy object {
    min-height: 260px !important;
    max-height: 260px !important;
}
.irhp-book-reader__fallback-card {
    display: grid;
    grid-template-columns: auto minmax(0,1fr) auto;
    align-items: center;
    gap: 22px;
    margin: 24px;
    padding: 28px;
    border: 1px solid rgba(47,109,83,.15);
    border-radius: 26px;
    background: linear-gradient(145deg,#fff,#eff7f2);
    box-shadow: 0 22px 55px rgba(22,64,47,.10);
}
.irhp-book-reader__fallback-card > span {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    border-radius: 21px;
    background: linear-gradient(135deg,#55b88a,#2f6d53);
    color: #fff;
}
.irhp-book-reader__fallback-card > span svg { width: 32px; height: 32px; }
.irhp-book-reader__fallback-card h3 {
    margin: 0 0 7px !important;
    color: var(--irhp-ink) !important;
    font-size: 22px !important;
}
.irhp-book-reader__fallback-card p {
    margin: 0 !important;
    color: var(--irhp-muted);
    line-height: 1.7;
}
.irhp-book-file-list {
    display: grid;
    gap: 11px;
    padding: 18px;
    border-top: 1px solid rgba(47,109,83,.14);
    background: rgba(255,255,255,.72);
}
.irhp-book-file-card {
    display: grid;
    grid-template-columns: 48px minmax(0,1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 13px 14px;
    border: 1px solid rgba(47,109,83,.13);
    border-radius: 17px;
    background: #fff;
}
.irhp-book-file-card__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    background: #e6f3eb;
    color: #2f6d53;
}
.irhp-book-file-card__copy { min-width: 0; }
.irhp-book-file-card__copy strong,
.irhp-book-file-card__copy small { display: block; }
.irhp-book-file-card__copy strong {
    overflow: hidden;
    color: var(--irhp-ink);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.irhp-book-file-card__copy small { margin-top: 4px; color: var(--irhp-muted); font-size: 11px; }
.irhp-book-file-card > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    padding: 0 13px;
    border-radius: 13px;
    background: linear-gradient(135deg,#3d765b,#173f30);
    color: #fff !important;
    font-size: 11px;
    font-weight: 750;
    text-decoration: none !important;
}
html[data-irhp-theme="dark"] .irhp-book-reader__shell {
    background: linear-gradient(145deg,#080808,#111) !important;
    border-color: #2a2a2a;
}
html[data-irhp-theme="dark"] .irhp-book-reader__assist,
html[data-irhp-theme="dark"] .irhp-book-file-list,
html[data-irhp-theme="dark"] .irhp-book-reader__legacy { background: #0d0d0d; border-color: #292929; }
html[data-irhp-theme="dark"] .irhp-book-reader__fallback-card,
html[data-irhp-theme="dark"] .irhp-book-file-card {
    background: linear-gradient(145deg,#0b0b0b,#151515);
    border-color: #292929;
    box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
html[data-irhp-theme="dark"] .irhp-book-reader__fallback-card h3,
html[data-irhp-theme="dark"] .irhp-book-file-card__copy strong { color: #fff !important; }
html[data-irhp-theme="dark"] .irhp-book-file-card__icon { background: #16251d; color: #70c596; }

/* Previous / next books as discreet sticky edge cards. */
.irhp-book-edge-navigation {
    position: fixed;
    inset: 0;
    z-index: 9990;
    pointer-events: none;
}
.irhp-book-edge-navigation__item {
    position: fixed;
    top: 56%;
    display: grid;
    grid-template-columns: 48px 64px minmax(0,1fr);
    align-items: center;
    gap: 11px;
    width: 62px;
    min-height: 76px;
    padding: 7px;
    overflow: hidden;
    border: 1px solid rgba(47,109,83,.20);
    background: rgba(255,255,255,.92);
    color: var(--irhp-ink) !important;
    box-shadow: 0 18px 50px rgba(10,42,29,.20);
    text-decoration: none !important;
    backdrop-filter: blur(20px) saturate(145%);
    transform: translateY(-50%);
    transition: width .34s cubic-bezier(.2,.8,.2,1), transform .3s ease, box-shadow .3s ease;
    pointer-events: auto;
}
.irhp-book-edge-navigation__item.is-prev { left: 0; border-radius: 0 24px 24px 0; }
.irhp-book-edge-navigation__item.is-next { right: 0; grid-template-columns: minmax(0,1fr) 64px 48px; border-radius: 24px 0 0 24px; }
.irhp-book-edge-navigation__item:hover,
.irhp-book-edge-navigation__item:focus-visible { width: min(330px,calc(100vw - 36px)); box-shadow: 0 25px 65px rgba(10,42,29,.28); }
.irhp-book-edge-navigation__item img {
    width: 56px;
    height: 62px;
    border-radius: 13px;
    object-fit: contain;
    background: #edf4f0;
}
.irhp-book-edge-navigation__copy { min-width: 180px; opacity: 0; transition: opacity .2s ease .06s; }
.irhp-book-edge-navigation__item:hover .irhp-book-edge-navigation__copy,
.irhp-book-edge-navigation__item:focus-visible .irhp-book-edge-navigation__copy { opacity: 1; }
.irhp-book-edge-navigation__copy small,
.irhp-book-edge-navigation__copy strong { display: block; }
.irhp-book-edge-navigation__copy small { margin-bottom: 4px; color: #2f6d53; font-size: 10px; font-weight: 750; }
.irhp-book-edge-navigation__copy strong { font-size: 13px; line-height: 1.4; }
.irhp-book-edge-navigation__arrow {
    display: grid;
    place-items: center;
    width: 48px;
    height: 58px;
    border-radius: 17px;
    background: linear-gradient(135deg,#55b88a,#2f6d53);
    color: #fff;
}
.irhp-book-edge-navigation__arrow svg { width: 21px; height: 21px; }
.irhp-book-edge-navigation__item.is-prev .irhp-book-edge-navigation__arrow svg { transform: rotate(180deg); }
.irhp-book-edge-navigation__item.is-next .irhp-book-edge-navigation__copy { grid-column: 1; grid-row: 1; text-align: end; }
.irhp-book-edge-navigation__item.is-next img { grid-column: 2; grid-row: 1; }
.irhp-book-edge-navigation__item.is-next .irhp-book-edge-navigation__arrow { grid-column: 3; grid-row: 1; }
html[data-irhp-theme="dark"] .irhp-book-edge-navigation__item { background: rgba(9,9,9,.94); border-color: #2b2b2b; color: #fff !important; }
html[data-irhp-theme="dark"] .irhp-book-edge-navigation__item img { background: #171717; }

/* Modern bottom sticky action dock. */
.irhp-book-page { padding-bottom: 92px; }
.irhp-book-sticky-actions {
    bottom: max(18px,env(safe-area-inset-bottom)) !important;
    gap: 8px !important;
    padding: 8px !important;
    border: 1px solid rgba(47,109,83,.18) !important;
    border-radius: 27px !important;
    background: rgba(248,251,249,.88) !important;
    box-shadow: 0 24px 70px rgba(8,39,26,.25), inset 0 1px 0 rgba(255,255,255,.9) !important;
    backdrop-filter: blur(24px) saturate(160%) !important;
}
.irhp-book-sticky-actions a,
.irhp-book-sticky-actions button {
    gap: 9px !important;
    min-height: 54px !important;
    padding: 0 18px !important;
    border: 1px solid transparent !important;
    border-radius: 19px !important;
    background: transparent !important;
    color: #234d39 !important;
    transition: transform .24s ease,background .24s ease,box-shadow .24s ease !important;
}
.irhp-book-sticky-actions a:hover,
.irhp-book-sticky-actions button:hover { transform: translateY(-3px); }
.irhp-book-sticky-actions .is-read,
.irhp-book-sticky-actions .is-share {
    background: linear-gradient(135deg,#4a9b72,#245d43) !important;
    color: #fff !important;
    box-shadow: 0 13px 28px rgba(36,93,67,.24) !important;
}
.irhp-book-sticky-actions .is-download {
    border-color: rgba(47,109,83,.16) !important;
    background: rgba(255,255,255,.78) !important;
}
.irhp-book-sticky-actions__icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 11px;
    background: rgba(255,255,255,.15);
}
.irhp-book-sticky-actions .is-download .irhp-book-sticky-actions__icon { background: #e5f2ea; color: #2f6d53; }
html[data-irhp-theme="dark"] .irhp-book-sticky-actions {
    background: rgba(7,7,7,.90) !important;
    border-color: #292929 !important;
    box-shadow: 0 26px 75px rgba(0,0,0,.56), inset 0 1px 0 rgba(255,255,255,.05) !important;
}
html[data-irhp-theme="dark"] .irhp-book-sticky-actions .is-download { background: #151515 !important; border-color: #303030 !important; color: #fff !important; }
html[data-irhp-theme="dark"] .irhp-book-sticky-actions .is-download .irhp-book-sticky-actions__icon { background: #1e3328; color: #76c99c; }

/* Remove yellow/gold button treatments across the plugin. */
.irhp-button--primary,
.irhp-site-header__cta,
.irhp-book-description__card > button,
.irhp-book-sticky-actions .is-share,
.irhp-book-sticky-actions .is-read {
    border-color: transparent !important;
    background: linear-gradient(135deg,#4a9b72,#245d43) !important;
    color: #fff !important;
    box-shadow: 0 14px 30px rgba(36,93,67,.24) !important;
}
.irhp-button--primary:hover,
.irhp-site-header__cta:hover,
.irhp-book-description__card > button:hover,
.irhp-book-sticky-actions .is-share:hover,
.irhp-book-sticky-actions .is-read:hover {
    background: linear-gradient(135deg,#57ad7f,#1d5239) !important;
    color: #fff !important;
}

/* Keep theme back-to-top controls safely above the mobile book action dock. */
body:has(.irhp-book-page) :is(.aux-goto-top-btn,.aux-back-to-top,.aux-scroll-top,.back-to-top,.scroll-to-top,.to-top,#back-to-top,#scroll-to-top,#site-back-to-top) {
    bottom: 104px !important;
    z-index: 10020 !important;
}

@media (max-width: 900px) {
    .irhp-book-edge-navigation__item { top: 52%; width: 48px; min-height: 62px; padding: 5px; grid-template-columns: 38px 52px minmax(0,1fr); }
    .irhp-book-edge-navigation__item.is-next { grid-template-columns: minmax(0,1fr) 52px 38px; }
    .irhp-book-edge-navigation__arrow { width: 38px; height: 50px; border-radius: 14px; }
    .irhp-book-edge-navigation__item img { width: 46px; height: 52px; }
    .irhp-book-edge-navigation__item:hover,.irhp-book-edge-navigation__item:focus-visible { width: min(285px,calc(100vw - 26px)); }
}

@media (max-width: 760px) {
    .irhp-book-hero h1[data-irhp-fit-book-title] { font-size: clamp(27px,9vw,42px) !important; white-space: normal; }
    .irhp-book-reader__shell.has-preview .irhp-book-reader__content > iframe[data-irhp-reader-frame] {
        height: var(--irhp-reader-mobile-height,620px) !important;
        min-height: var(--irhp-reader-mobile-height,620px) !important;
    }
    .irhp-book-reader__fallback-card { grid-template-columns: 1fr; justify-items: center; margin: 14px; padding: 24px 18px; text-align: center; }
    .irhp-book-reader__fallback-card .irhp-button { width: 100%; }
    .irhp-book-reader__assist { align-items: stretch; flex-direction: column; }
    .irhp-book-reader__assist .irhp-button { width: 100%; }
    .irhp-book-file-card { grid-template-columns: 44px minmax(0,1fr); }
    .irhp-book-file-card > a { grid-column: 1/-1; justify-content: center; }
    .irhp-book-overview__sharing .irhp-book-share { padding: 14px; }
    .irhp-book-sticky-actions {
        bottom: max(10px,env(safe-area-inset-bottom)) !important;
        width: calc(100% - 18px) !important;
        gap: 5px !important;
        padding: 6px !important;
        border-radius: 23px !important;
    }
    .irhp-book-sticky-actions a,
    .irhp-book-sticky-actions button { min-height: 50px !important; padding: 0 7px !important; border-radius: 17px !important; }
    .irhp-book-sticky-actions__icon { width: 27px; height: 27px; border-radius: 9px; }
    .irhp-book-sticky-actions span:not(.irhp-book-sticky-actions__icon) { font-size: 10px !important; }
    body:has(.irhp-book-page) :is(.aux-goto-top-btn,.aux-back-to-top,.aux-scroll-top,.back-to-top,.scroll-to-top,.to-top,#back-to-top,#scroll-to-top,#site-back-to-top) {
        bottom: 92px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .irhp-book-edge-navigation__item,
    .irhp-book-edge-navigation__copy,
    .irhp-book-sticky-actions a,
    .irhp-book-sticky-actions button { transition: none !important; }
}
body.irhp-book-page-active :is(.aux-goto-top-btn,.aux-back-to-top,.aux-scroll-top,.back-to-top,.scroll-to-top,.to-top,#back-to-top,#scroll-to-top,#site-back-to-top) {
    bottom: 104px !important;
    z-index: 10020 !important;
}
@media (max-width:760px) {
    body.irhp-book-page-active :is(.aux-goto-top-btn,.aux-back-to-top,.aux-scroll-top,.back-to-top,.scroll-to-top,.to-top,#back-to-top,#scroll-to-top,#site-back-to-top) {
        bottom: 92px !important;
    }
}
/* Keep the next-book arrow visible while its right-edge card is collapsed. */
.irhp-book-edge-navigation__item.is-next {
    grid-template-columns: 48px 64px minmax(0,1fr);
}
.irhp-book-edge-navigation__item.is-next .irhp-book-edge-navigation__copy,
.irhp-book-edge-navigation__item.is-next img,
.irhp-book-edge-navigation__item.is-next .irhp-book-edge-navigation__arrow {
    grid-column: auto;
    grid-row: auto;
}
.irhp-book-edge-navigation__item.is-next .irhp-book-edge-navigation__copy { text-align: start; }
@media (max-width:900px) {
    .irhp-book-edge-navigation__item.is-next { grid-template-columns: 38px 52px minmax(0,1fr); }
}


/* =========================================================
   v2.11.0 — mobile PDF preview, equal sticky actions,
   and touch-friendly previous/next book sheet
   ========================================================= */

/* Mobile PDF viewer loading layer. */
.irhp-book-reader__content { position: relative; }
.irhp-book-reader__loading {
    position: absolute;
    inset: 0 0 auto;
    z-index: 3;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
    height: var(--irhp-reader-height,820px);
    background: linear-gradient(145deg,#f7faf8,#edf5f0);
    color: #315c48;
    text-align: center;
    transition: opacity .25s ease, visibility .25s ease;
}
.irhp-book-reader__loading.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.irhp-book-reader__loading .irhp-book-reader__spinner {
    width: 42px;
    height: 42px;
    border: 4px solid rgba(47,109,83,.18);
    border-top-color: #2f6d53;
    border-radius: 50%;
    animation: irhp-reader-spin .85s linear infinite;
}
.irhp-book-reader__loading p { margin: 0 !important; font-size: 13px; font-weight: 700; }
@keyframes irhp-reader-spin { to { transform: rotate(360deg); } }
html[data-irhp-theme="dark"] .irhp-book-reader__loading { background: linear-gradient(145deg,#0b0b0b,#141414); color: #8fd4ad; }

/* All three sticky actions use exactly the same geometry. */
.irhp-book-sticky-actions {
    display: grid !important;
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    width: min(520px,calc(100% - 28px)) !important;
    box-sizing: border-box !important;
}
.irhp-book-sticky-actions a,
.irhp-book-sticky-actions button {
    width: 100% !important;
    min-width: 0 !important;
    height: 56px !important;
    min-height: 56px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    box-sizing: border-box !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}
.irhp-book-sticky-actions a > span:last-child,
.irhp-book-sticky-actions button > span:last-child {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    line-height: 1;
}

/* Touch-friendly mobile previous/next preview sheet. */
.irhp-book-mobile-nav[hidden] { display: none !important; }
.irhp-book-mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 10060;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.irhp-book-mobile-nav__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(3,18,12,.52);
    backdrop-filter: blur(7px);
}
.irhp-book-mobile-nav__sheet {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 96px minmax(0,1fr);
    align-items: center;
    gap: 18px;
    width: min(520px,calc(100% - 20px));
    margin: 0 10px calc(88px + env(safe-area-inset-bottom));
    padding: 18px;
    border: 1px solid rgba(47,109,83,.18);
    border-radius: 28px;
    background: rgba(250,252,250,.97);
    box-shadow: 0 28px 80px rgba(3,25,16,.34);
    animation: irhp-mobile-nav-in .3s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes irhp-mobile-nav-in { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
.irhp-book-mobile-nav__close {
    position: absolute;
    top: 12px;
    inset-inline-end: 12px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: #e7f2eb;
    color: #245d43;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}
.irhp-book-mobile-nav__media {
    display: grid;
    place-items: center;
    width: 96px;
    height: 122px;
    overflow: hidden;
    border-radius: 19px;
    background: linear-gradient(145deg,#edf5f0,#dcebe2);
}
.irhp-book-mobile-nav__media img { width: 100%; height: 100%; object-fit: contain; }
.irhp-book-mobile-nav__media > span { color: #2f6d53; }
.irhp-book-mobile-nav__media > span svg { width: 42px; height: 42px; }
.irhp-book-mobile-nav__content { min-width: 0; padding-inline-end: 28px; }
.irhp-book-mobile-nav__content small { display: block; margin-bottom: 7px; color: #2f6d53; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.irhp-book-mobile-nav__content h3 { margin: 0 0 15px !important; color: var(--irhp-ink) !important; font-size: 18px !important; line-height: 1.45 !important; overflow-wrap: anywhere; }
.irhp-book-mobile-nav__content .irhp-button { min-height: 45px; padding: 0 16px; border-radius: 14px; background: linear-gradient(135deg,#4a9b72,#245d43) !important; color: #fff !important; }
html[data-irhp-theme="dark"] .irhp-book-mobile-nav__sheet { background: rgba(10,10,10,.98); border-color: #303030; box-shadow: 0 30px 85px rgba(0,0,0,.68); }
html[data-irhp-theme="dark"] .irhp-book-mobile-nav__close { background: #173326; color: #8ed3ad; }
html[data-irhp-theme="dark"] .irhp-book-mobile-nav__media { background: linear-gradient(145deg,#191919,#0d0d0d); }
html[data-irhp-theme="dark"] .irhp-book-mobile-nav__content h3 { color: #fff !important; }
body.irhp-mobile-book-nav-open { overflow: hidden !important; }

@media (max-width:760px) {
    .irhp-book-reader__loading { height: var(--irhp-reader-mobile-height,620px); }
    .irhp-book-reader__shell.has-preview .irhp-book-reader__content > iframe[data-irhp-reader-frame] {
        display: block !important;
        width: 100% !important;
        height: var(--irhp-reader-mobile-height,620px) !important;
        min-height: var(--irhp-reader-mobile-height,620px) !important;
        background: #fff !important;
    }
    .irhp-book-sticky-actions {
        width: calc(100% - 18px) !important;
        grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    }
    .irhp-book-sticky-actions a,
    .irhp-book-sticky-actions button {
        height: 56px !important;
        min-height: 56px !important;
        padding: 0 6px !important;
    }
    .irhp-book-sticky-actions__icon { flex: 0 0 28px; }
    .irhp-book-edge-navigation__item:hover,
    .irhp-book-edge-navigation__item:focus-visible { width: 48px; }
}

@media (min-width:761px) {
    .irhp-book-mobile-nav { display: none !important; }
}

@media (prefers-reduced-motion:reduce) {
    .irhp-book-reader__loading .irhp-book-reader__spinner { animation: none; }
    .irhp-book-mobile-nav__sheet { animation: none; }
}

/* =========================================================
   v2.12.0 — local PDF.js reader and green mobile navigation
   ========================================================= */
.irhp-book-reader__content {
    min-height: var(--irhp-reader-height,820px) !important;
    background: #e8f0eb !important;
}
.irhp-pdf-viewer {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: var(--irhp-reader-height,820px);
    min-height: var(--irhp-reader-height,820px);
    overflow: hidden;
    background: linear-gradient(145deg,#e9f1ec,#dce9e1);
    color: #183f2e;
}
.irhp-pdf-viewer__controls {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    min-height: 58px;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(47,109,83,.16);
    background: rgba(255,255,255,.94);
    box-shadow: 0 8px 24px rgba(17,59,44,.08);
    backdrop-filter: blur(16px);
}
.irhp-pdf-viewer__controls button,
.irhp-pdf-viewer__page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 40px;
    height: 40px;
    margin: 0 !important;
    padding: 0 11px !important;
    border: 1px solid #d7e5dc !important;
    border-radius: 12px !important;
    background: #f6faf7 !important;
    color: #285f49 !important;
    font: inherit;
    font-size: 14px;
    font-weight: 750;
    line-height: 1;
    box-shadow: none !important;
}
.irhp-pdf-viewer__controls button:hover,
.irhp-pdf-viewer__controls button.is-active {
    border-color: #2f6d53 !important;
    background: #2f6d53 !important;
    color: #fff !important;
}
.irhp-pdf-viewer__controls button:disabled {
    opacity: .42;
    cursor: not-allowed;
    transform: none !important;
}
.irhp-pdf-viewer__page { min-width: 112px; cursor: text; }
.irhp-pdf-viewer__page input {
    width: 48px !important;
    height: 30px !important;
    margin: 0 !important;
    padding: 0 4px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: inherit !important;
    text-align: center;
    font: inherit;
    box-shadow: none !important;
    appearance: textfield;
}
.irhp-pdf-viewer__page input::-webkit-inner-spin-button,
.irhp-pdf-viewer__page input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.irhp-pdf-viewer__divider { width: 1px; height: 28px; margin: 0 3px; background: #d7e5dc; }
.irhp-pdf-viewer__zoom { min-width: 54px; color: #315c48; font-size: 12px; font-weight: 750; text-align: center; }
.irhp-pdf-viewer__fit { min-width: 88px !important; }
.irhp-pdf-viewer__viewport {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    padding: 18px 14px 36px;
    text-align: center;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}
.irhp-pdf-viewer__viewport canvas {
    display: block;
    max-width: none !important;
    margin: 0 auto;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 20px 55px rgba(5,35,23,.22);
}
.irhp-pdf-viewer.is-rendering .irhp-pdf-viewer__viewport canvas { opacity: .72; }
.irhp-pdf-viewer__error[hidden] { display: none !important; }
.irhp-pdf-viewer__error {
    position: absolute;
    inset: 58px 0 0;
    z-index: 8;
    display: grid;
    grid-template-columns: auto minmax(0,1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 34px;
    background: linear-gradient(145deg,#f7faf8,#eaf3ed);
    color: #244e3b;
}
.irhp-pdf-viewer__error > span {
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    border-radius: 22px;
    background: #dfeee5;
    color: #2f6d53;
}
.irhp-pdf-viewer__error > span svg { width: 34px; height: 34px; }
.irhp-pdf-viewer__error h3 { margin: 0 0 7px !important; color: #173f30 !important; font-size: 21px !important; }
.irhp-pdf-viewer__error p { margin: 0 !important; color: #64746b !important; }
.irhp-pdf-viewer.has-error .irhp-pdf-viewer__controls,
.irhp-pdf-viewer.has-error .irhp-pdf-viewer__viewport { display: none; }
.irhp-pdf-viewer .irhp-book-reader__loading {
    inset: 58px 0 0;
    width: auto;
    height: auto !important;
    min-height: 0 !important;
}
.irhp-book-reader__shell:fullscreen .irhp-pdf-viewer,
.irhp-book-reader__shell.is-pseudo-fullscreen .irhp-pdf-viewer {
    height: calc(100vh - 68px) !important;
    min-height: calc(100vh - 68px) !important;
}
html[data-irhp-theme="dark"] .irhp-book-reader__content { background: #070b09 !important; }
html[data-irhp-theme="dark"] .irhp-pdf-viewer { background: linear-gradient(145deg,#101612,#050806); color: #fff; }
html[data-irhp-theme="dark"] .irhp-pdf-viewer__controls { border-color: #29372f; background: rgba(10,14,11,.95); box-shadow: 0 8px 24px rgba(0,0,0,.28); }
html[data-irhp-theme="dark"] .irhp-pdf-viewer__controls button,
html[data-irhp-theme="dark"] .irhp-pdf-viewer__page { border-color: #2c3a32 !important; background: #121a15 !important; color: #eaf7ef !important; }
html[data-irhp-theme="dark"] .irhp-pdf-viewer__controls button:hover,
html[data-irhp-theme="dark"] .irhp-pdf-viewer__controls button.is-active { border-color: #4d9a70 !important; background: #286548 !important; color: #fff !important; }
html[data-irhp-theme="dark"] .irhp-pdf-viewer__divider { background: #314139; }
html[data-irhp-theme="dark"] .irhp-pdf-viewer__zoom { color: #a9cbbb; }
html[data-irhp-theme="dark"] .irhp-pdf-viewer__viewport canvas { box-shadow: 0 22px 60px rgba(0,0,0,.55); }
html[data-irhp-theme="dark"] .irhp-pdf-viewer__error { background: linear-gradient(145deg,#101612,#080c09); color: #fff; }
html[data-irhp-theme="dark"] .irhp-pdf-viewer__error > span { background: #173326; color: #82d1a5; }
html[data-irhp-theme="dark"] .irhp-pdf-viewer__error h3 { color: #fff !important; }
html[data-irhp-theme="dark"] .irhp-pdf-viewer__error p { color: #a9b7af !important; }

/* Force the mobile previous/next overlay to green, never yellow. */
.irhp-book-mobile-nav,
.irhp-book-mobile-nav__backdrop {
    background-color: transparent !important;
    background-image: none !important;
}
.irhp-book-mobile-nav__backdrop {
    background: linear-gradient(180deg,rgba(4,35,24,.86),rgba(2,20,13,.94)) !important;
    color: transparent !important;
    box-shadow: none !important;
}
.irhp-book-mobile-nav__sheet {
    background: linear-gradient(145deg,rgba(251,253,251,.99),rgba(232,244,237,.99)) !important;
    border-color: rgba(47,109,83,.24) !important;
}
.irhp-book-mobile-nav__close {
    background: #dfeee5 !important;
    color: #235d42 !important;
    box-shadow: none !important;
}
.irhp-book-mobile-nav__close:hover { background: #2f6d53 !important; color: #fff !important; }
html[data-irhp-theme="dark"] .irhp-book-mobile-nav__backdrop {
    background: linear-gradient(180deg,rgba(0,12,7,.91),rgba(0,0,0,.97)) !important;
}
html[data-irhp-theme="dark"] .irhp-book-mobile-nav__sheet {
    background: linear-gradient(145deg,rgba(14,20,16,.99),rgba(5,8,6,.99)) !important;
}
html[data-irhp-theme="dark"] .irhp-book-mobile-nav__close { background: #173326 !important; color: #8ed3ad !important; }

@media (max-width:760px) {
    .irhp-book-reader__content {
        min-height: var(--irhp-reader-mobile-height,620px) !important;
    }
    .irhp-pdf-viewer {
        height: var(--irhp-reader-mobile-height,620px);
        min-height: var(--irhp-reader-mobile-height,620px);
    }
    .irhp-pdf-viewer__controls {
        justify-content: flex-start;
        min-height: 56px;
        padding: 7px 8px;
        gap: 5px;
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
    }
    .irhp-pdf-viewer__controls::-webkit-scrollbar { display: none; }
    .irhp-pdf-viewer__controls button,
    .irhp-pdf-viewer__page { flex: 0 0 auto; height: 40px; min-width: 38px; padding: 0 9px !important; }
    .irhp-pdf-viewer__page { min-width: 104px; }
    .irhp-pdf-viewer__fit { min-width: 82px !important; }
    .irhp-pdf-viewer__viewport { padding: 12px 8px 28px; }
    .irhp-pdf-viewer .irhp-book-reader__loading { inset: 56px 0 0; }
    .irhp-pdf-viewer__error { inset: 56px 0 0; grid-template-columns: 1fr; justify-items: center; align-content: center; text-align: center; padding: 24px; }
    .irhp-pdf-viewer__error .irhp-button { width: 100%; }
}

@media (prefers-reduced-motion:reduce) {
    .irhp-pdf-viewer__viewport canvas { transition: none !important; }
}


/* =========================================================
   v2.13.0 — title-only language search, continuous PDF pages,
   and deterministic green header navigation states
   ========================================================= */
:root {
    --irhp-nav-hover-green: #2f6d53;
    --irhp-nav-hover-green-dark: #75c99d;
}

/* Header links never use yellow/gold, even when the saved accent color is gold. */
.irhp-site-header .irhp-site-header__menu > li > a,
.irhp-site-header--overlay:not(.is-scrolled) .irhp-site-header__menu > li > a {
    -webkit-text-fill-color: currentColor !important;
}
.irhp-site-header .irhp-site-header__menu > li:hover > a,
.irhp-site-header .irhp-site-header__menu > li:focus-within > a,
.irhp-site-header .irhp-site-header__menu > li.current-menu-item:not(.irhp-hash-menu-item) > a,
.irhp-site-header .irhp-site-header__menu > li.current_page_item:not(.irhp-hash-menu-item) > a,
.irhp-site-header .irhp-site-header__menu > li.irhp-section-current > a,
.irhp-site-header--overlay:not(.is-scrolled) .irhp-site-header__menu > li:hover > a,
.irhp-site-header--overlay:not(.is-scrolled) .irhp-site-header__menu > li:focus-within > a,
.irhp-site-header--overlay:not(.is-scrolled) .irhp-site-header__menu > li.irhp-section-current > a {
    color: var(--irhp-nav-hover-green) !important;
    -webkit-text-fill-color: var(--irhp-nav-hover-green) !important;
}
.irhp-site-header .irhp-site-header__menu > li > a::after,
.irhp-site-header--overlay:not(.is-scrolled) .irhp-site-header__menu > li > a::after {
    background: var(--irhp-nav-hover-green) !important;
}

/* Hash links are neutral unless their actual section is in view. */
.irhp-site-header .irhp-site-header__menu > li.irhp-hash-menu-item:not(.irhp-section-current) > a {
    color: inherit !important;
    -webkit-text-fill-color: currentColor !important;
    transform: none !important;
}
.irhp-site-header .irhp-site-header__menu > li.irhp-hash-menu-item:not(.irhp-section-current) > a::after {
    transform: scaleX(0) !important;
}
.irhp-site-header .irhp-site-header__menu > li.irhp-hash-menu-item:hover > a,
.irhp-site-header .irhp-site-header__menu > li.irhp-hash-menu-item:focus-within > a,
.irhp-site-header .irhp-site-header__menu > li.irhp-hash-menu-item.irhp-section-current > a {
    color: var(--irhp-nav-hover-green) !important;
    -webkit-text-fill-color: var(--irhp-nav-hover-green) !important;
}
.irhp-site-header .irhp-site-header__menu > li.irhp-hash-menu-item:hover > a::after,
.irhp-site-header .irhp-site-header__menu > li.irhp-hash-menu-item:focus-within > a::after,
.irhp-site-header .irhp-site-header__menu > li.irhp-hash-menu-item.irhp-section-current > a::after {
    transform: scaleX(1) !important;
}

html[data-irhp-theme="dark"] .irhp-site-header .irhp-site-header__menu > li > a,
html[data-irhp-theme="dark"] .irhp-site-header .irhp-site-header__menu > li.irhp-hash-menu-item:not(.irhp-section-current) > a {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}
html[data-irhp-theme="dark"] .irhp-site-header .irhp-site-header__menu > li:hover > a,
html[data-irhp-theme="dark"] .irhp-site-header .irhp-site-header__menu > li:focus-within > a,
html[data-irhp-theme="dark"] .irhp-site-header .irhp-site-header__menu > li.irhp-section-current > a,
html[data-irhp-theme="dark"] .irhp-site-header .irhp-site-header__menu > li.current-menu-item:not(.irhp-hash-menu-item) > a,
html[data-irhp-theme="dark"] .irhp-site-header .irhp-site-header__menu > li.current_page_item:not(.irhp-hash-menu-item) > a {
    color: var(--irhp-nav-hover-green-dark) !important;
    -webkit-text-fill-color: var(--irhp-nav-hover-green-dark) !important;
}
html[data-irhp-theme="dark"] .irhp-site-header .irhp-site-header__menu > li > a::after {
    background: var(--irhp-nav-hover-green-dark) !important;
}

.irhp-pdf-viewer__scroll-toggle { min-width: 112px !important; }
.irhp-pdf-viewer__pages[hidden] { display: none !important; }
.irhp-pdf-viewer__pages {
    display: grid;
    justify-items: center;
    gap: 24px;
    width: 100%;
    min-height: 100%;
    padding: 2px 0 24px;
}
.irhp-pdf-viewer__scroll-page {
    position: relative;
    display: grid;
    justify-items: center;
    width: 100%;
    min-height: 260px;
    scroll-margin-top: 18px;
}
.irhp-pdf-viewer__scroll-page::before {
    content: attr(data-page-label);
    position: absolute;
    top: 10px;
    inset-inline-start: max(14px, calc(50% - 320px));
    z-index: 2;
    padding: 6px 10px;
    border: 1px solid rgba(47,109,83,.16);
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    color: #315c48;
    font-size: 11px;
    font-weight: 750;
    box-shadow: 0 8px 20px rgba(17,59,44,.08);
    pointer-events: none;
}
.irhp-pdf-viewer__scroll-page canvas {
    display: block;
    max-width: none !important;
    margin: 0 auto;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 20px 55px rgba(5,35,23,.22);
}
.irhp-pdf-viewer__scroll-page.is-loading::after {
    content: "";
    width: 34px;
    height: 34px;
    margin-top: 90px;
    border: 3px solid rgba(47,109,83,.18);
    border-top-color: #2f6d53;
    border-radius: 50%;
    animation: irhp-pdf-scroll-spin .8s linear infinite;
}
.irhp-pdf-viewer__scroll-page.is-loading canvas { display: none; }
.irhp-pdf-viewer.is-scroll-mode > .irhp-pdf-viewer__viewport > canvas { display: none !important; }
.irhp-pdf-viewer.is-scroll-mode .irhp-pdf-viewer__viewport {
    scroll-behavior: smooth;
    text-align: initial;
}
@keyframes irhp-pdf-scroll-spin { to { transform: rotate(360deg); } }

html[data-irhp-theme="dark"] .irhp-pdf-viewer__scroll-page::before {
    border-color: #314139;
    background: rgba(12,18,14,.94);
    color: #a9cbbb;
    box-shadow: 0 10px 24px rgba(0,0,0,.32);
}
html[data-irhp-theme="dark"] .irhp-pdf-viewer__scroll-page canvas {
    box-shadow: 0 22px 60px rgba(0,0,0,.55);
}

@media (max-width:760px) {
    .irhp-pdf-viewer__scroll-toggle { min-width: 104px !important; }
    .irhp-pdf-viewer__pages { gap: 16px; padding-bottom: 18px; }
    .irhp-pdf-viewer__scroll-page { min-height: 190px; }
    .irhp-pdf-viewer__scroll-page::before {
        top: 7px;
        inset-inline-start: 8px;
        padding: 5px 8px;
        font-size: 10px;
    }
}

@media (prefers-reduced-motion:reduce) {
    .irhp-pdf-viewer.is-scroll-mode .irhp-pdf-viewer__viewport { scroll-behavior: auto; }
    .irhp-pdf-viewer__scroll-page.is-loading::after { animation: none; }
}

/* =========================================================
   v2.14.0 — resilient individual files, search-first language
   results, floating language sharing, and custom 404 page
   ========================================================= */

/* Language search: immediate feedback and results directly below the form. */
.irhp-language-clear-search {
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid rgba(47,109,83,.24) !important;
    border-radius: 14px !important;
    background: #eef6f1 !important;
    color: #245d43 !important;
    font: inherit;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
    transition: background .2s ease,color .2s ease,border-color .2s ease,transform .2s ease;
}
.irhp-language-clear-search:hover,
.irhp-language-clear-search:focus-visible {
    border-color: #2f6d53 !important;
    background: #2f6d53 !important;
    color: #fff !important;
    transform: translateY(-1px);
}
.irhp-language-clear-search[hidden],
.irhp-language-featured[hidden] { display: none !important; }
.irhp-language-search-status {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 28px;
    margin-top: 12px;
    color: #4d685b;
    font-size: 13px;
    font-weight: 600;
}
.irhp-language-search-status strong { color: #245d43; font-size: 15px; }
.irhp-language-search-status__spinner {
    width: 17px;
    height: 17px;
    border: 2px solid rgba(47,109,83,.2);
    border-top-color: #2f6d53;
    border-radius: 50%;
    animation: irhp-language-search-spin .7s linear infinite;
}
@keyframes irhp-language-search-spin { to { transform: rotate(360deg); } }
.irhp-language-page.has-active-language-search .irhp-language-filters {
    position: relative;
    z-index: 3;
}
.irhp-language-page.has-active-language-search .irhp-language-books {
    padding-top: clamp(30px,4vw,56px) !important;
}
.irhp-language-page.has-active-language-search .irhp-language-books .irhp-section-heading {
    margin-bottom: 24px;
}
.irhp-language-page.is-ajax-loading .irhp-language-filterbar button[type="submit"] {
    pointer-events: none;
    opacity: .72;
}
html[data-irhp-theme="dark"] .irhp-language-clear-search {
    border-color: #2d473a !important;
    background: #13231a !important;
    color: #a7d7bd !important;
}
html[data-irhp-theme="dark"] .irhp-language-clear-search:hover,
html[data-irhp-theme="dark"] .irhp-language-clear-search:focus-visible {
    border-color: #55b88a !important;
    background: #2f7653 !important;
    color: #fff !important;
}
html[data-irhp-theme="dark"] .irhp-language-search-status { color: #a9b9b0; }
html[data-irhp-theme="dark"] .irhp-language-search-status strong { color: #79c99f; }

/* Individual file buttons always target and visually represent one file. */
.irhp-book-file-card > a,
.irhp-book-file-card > a:hover,
.irhp-book-file-card > a:focus-visible {
    background-image: none !important;
    box-shadow: none;
}
.irhp-book-file-card > a {
    background-color: #2f6d53 !important;
    color: #fff !important;
}
.irhp-book-file-card > a:hover,
.irhp-book-file-card > a:focus-visible {
    background-color: #1f513d !important;
    color: #fff !important;
}
html[data-irhp-theme="dark"] .irhp-book-file-card > a {
    background-color: #347c58 !important;
    color: #fff !important;
}
html[data-irhp-theme="dark"] .irhp-book-file-card > a:hover,
html[data-irhp-theme="dark"] .irhp-book-file-card > a:focus-visible {
    background-color: #43956b !important;
}

/* Floating sharing controls on every language archive. */
.irhp-language-share {
    position: fixed;
    z-index: 9993;
    inset-inline-end: 18px;
    top: 50%;
    display: flex;
    align-items: center;
    gap: 9px;
    transform: translateY(-50%);
    font-family: var(--irhp-font,"Rubik",sans-serif);
}
.irhp-language-share__toggle,
.irhp-language-share__panel a,
.irhp-language-share__panel button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0 !important;
    background-image: none !important;
    color: #fff !important;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(18,70,49,.2);
}
.irhp-language-share__toggle {
    flex-direction: column;
    gap: 4px;
    width: 64px;
    min-width: 64px;
    height: 72px;
    padding: 8px !important;
    border-radius: 20px !important;
    background: linear-gradient(145deg,#3c8762,#245d43) !important;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
}
.irhp-language-share__toggle svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.irhp-language-share__panel {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 8px;
    border: 1px solid rgba(47,109,83,.17);
    border-radius: 18px;
    background: rgba(250,253,251,.96);
    box-shadow: 0 20px 50px rgba(10,53,36,.18);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(12px) scale(.94);
    transition: opacity .2s ease,visibility .2s ease,transform .2s ease;
    backdrop-filter: blur(12px);
}
[dir="rtl"] .irhp-language-share__panel { transform: translateX(-12px) scale(.94); }
.irhp-language-share.is-open .irhp-language-share__panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0) scale(1);
}
.irhp-language-share__panel a,
.irhp-language-share__panel button {
    width: 42px;
    height: 42px;
    padding: 0 !important;
    border-radius: 13px !important;
    background: #edf6f0 !important;
    color: #276448 !important;
    font: inherit;
    font-size: 13px;
    font-weight: 850;
    box-shadow: none;
    text-decoration: none !important;
    transition: background .18s ease,color .18s ease,transform .18s ease;
}
.irhp-language-share__panel a:hover,
.irhp-language-share__panel a:focus-visible,
.irhp-language-share__panel button:hover,
.irhp-language-share__panel button:focus-visible {
    background: #2f6d53 !important;
    color: #fff !important;
    transform: translateY(-1px);
}
.irhp-language-share__panel svg { width: 19px; height: 19px; }
.irhp-language-share__panel svg:not(.irhp-social-svg) { fill: none; stroke: currentColor; stroke-width: 1.9; }
.irhp-language-share__panel .irhp-social-svg { fill: currentColor !important; stroke: none !important; }
.irhp-language-share__notice {
    position: absolute;
    inset-inline-end: 0;
    top: calc(100% + 8px);
    width: max-content;
    max-width: 210px;
    padding: 7px 10px;
    border-radius: 10px;
    background: #153e2d;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
}
.irhp-language-share__notice:not(:empty) { animation: irhp-share-notice 2.4s ease both; }
@keyframes irhp-share-notice { 0%,100%{opacity:0;transform:translateY(-4px)} 12%,82%{opacity:1;transform:translateY(0)} }
html[data-irhp-theme="dark"] .irhp-language-share__panel {
    border-color: #2a4135;
    background: rgba(10,15,12,.96);
    box-shadow: 0 22px 55px rgba(0,0,0,.46);
}
html[data-irhp-theme="dark"] .irhp-language-share__panel a,
html[data-irhp-theme="dark"] .irhp-language-share__panel button {
    background: #15251c !important;
    color: #91d5af !important;
}
html[data-irhp-theme="dark"] .irhp-language-share__panel a:hover,
html[data-irhp-theme="dark"] .irhp-language-share__panel a:focus-visible,
html[data-irhp-theme="dark"] .irhp-language-share__panel button:hover,
html[data-irhp-theme="dark"] .irhp-language-share__panel button:focus-visible {
    background: #347c58 !important;
    color: #fff !important;
}

/* Branded 404 page — green and cream only. */
.irhp-404-page {
    --irhp-404-green: #2f6d53;
    --irhp-404-deep: #174a35;
    --irhp-404-cream: #f5f7f1;
    min-height: 100vh;
    overflow: hidden;
    background: var(--irhp-404-cream);
    color: #173d2e;
    font-family: var(--irhp-font,"Rubik",sans-serif);
}
.irhp-404-hero {
    position: relative;
    isolation: isolate;
    min-height: 680px;
    display: grid;
    align-items: center;
    padding: clamp(160px,16vw,215px) 0 clamp(80px,9vw,125px);
    background:
        radial-gradient(circle at 12% 18%,rgba(85,184,138,.22),transparent 30%),
        radial-gradient(circle at 88% 74%,rgba(47,109,83,.17),transparent 34%),
        linear-gradient(145deg,#fbfcf9 0%,#edf5ef 55%,#dfeee5 100%);
}
.irhp-404-hero::before,
.irhp-404-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(47,109,83,.12);
    border-radius: 50%;
}
.irhp-404-hero::before { width: 420px; height: 420px; inset-inline-start: -210px; top: 18%; }
.irhp-404-hero::after { width: 310px; height: 310px; inset-inline-end: -150px; bottom: -90px; }
.irhp-404-hero__inner {
    display: grid;
    grid-template-columns: minmax(260px,.72fr) minmax(0,1.28fr);
    align-items: center;
    gap: clamp(38px,7vw,100px);
}
.irhp-404-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 330px;
}
.irhp-404-visual__number {
    color: rgba(47,109,83,.11);
    font-size: clamp(145px,18vw,280px);
    font-weight: 900;
    line-height: .8;
    letter-spacing: -.08em;
    user-select: none;
}
.irhp-404-visual__book {
    position: absolute;
    display: grid;
    place-items: center;
    width: 126px;
    height: 126px;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 36px;
    background: linear-gradient(145deg,#3e8964,#205b40);
    color: #fff;
    box-shadow: 0 28px 70px rgba(25,85,59,.3);
    transform: rotate(-6deg);
}
.irhp-404-visual__book svg { width: 58px; height: 58px; fill: none; stroke: currentColor; stroke-width: 1.45; }
.irhp-404-copy { max-width: 760px; }
.irhp-404-copy__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(47,109,83,.1);
    color: #2f6d53;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.irhp-404-copy h1 {
    margin: 18px 0 14px;
    color: #173d2e !important;
    font-size: clamp(42px,6vw,82px);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -.045em;
}
.irhp-404-copy > p {
    max-width: 650px;
    margin: 0;
    color: #536c60;
    font-size: clamp(16px,1.6vw,20px);
    line-height: 1.75;
}
.irhp-404-search {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 10px;
    max-width: 760px;
    margin-top: 30px;
    padding: 9px;
    border: 1px solid rgba(47,109,83,.18);
    border-radius: 22px;
    background: rgba(255,255,255,.88);
    box-shadow: 0 20px 55px rgba(30,83,59,.12);
    backdrop-filter: blur(10px);
}
.irhp-404-search label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 0 14px;
}
.irhp-404-search label svg { flex: 0 0 auto; width: 22px; height: 22px; fill: none; stroke: #2f6d53; stroke-width: 1.8; }
.irhp-404-search input {
    width: 100%;
    min-width: 0;
    height: 54px;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    color: #173d2e !important;
    font: inherit;
    font-size: 15px;
    box-shadow: none !important;
}
.irhp-404-search input::placeholder { color: #809087; }
.irhp-404-search .irhp-button { min-height: 54px; border-radius: 15px !important; }
.irhp-404-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}
.irhp-404-actions .irhp-button { min-height: 48px; }
.irhp-404-back {
    min-height: 46px;
    padding: 0 12px;
    border: 0 !important;
    background: transparent !important;
    color: #2f6d53 !important;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.irhp-404-results { background: #fff; }
.irhp-404-empty {
    display: grid;
    justify-items: center;
    max-width: 700px;
    margin: 0 auto;
    padding: clamp(38px,7vw,72px);
    border: 1px solid rgba(47,109,83,.14);
    border-radius: 30px;
    background: #f4f8f5;
    text-align: center;
}
.irhp-404-empty > span {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    border-radius: 20px;
    background: #dfeee5;
    color: #2f6d53;
}
.irhp-404-empty > span svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.irhp-404-empty h2 { margin: 18px 0 8px; color: #173d2e !important; }
.irhp-404-empty p { margin: 0 0 22px; color: #64786e; }
html[data-irhp-theme="dark"] .irhp-404-page { background: #000; color: #fff; }
html[data-irhp-theme="dark"] .irhp-404-hero {
    background:
        radial-gradient(circle at 12% 18%,rgba(65,145,101,.2),transparent 30%),
        radial-gradient(circle at 88% 74%,rgba(35,103,72,.18),transparent 34%),
        linear-gradient(145deg,#050806 0%,#0c1510 55%,#101f17 100%);
}
html[data-irhp-theme="dark"] .irhp-404-visual__number { color: rgba(111,201,154,.1); }
html[data-irhp-theme="dark"] .irhp-404-copy h1 { color: #fff !important; }
html[data-irhp-theme="dark"] .irhp-404-copy > p { color: #a9b9b0; }
html[data-irhp-theme="dark"] .irhp-404-copy__eyebrow { background: #13271c; color: #79c99f; }
html[data-irhp-theme="dark"] .irhp-404-search { border-color: #2a4034; background: rgba(8,13,10,.9); box-shadow: 0 24px 65px rgba(0,0,0,.38); }
html[data-irhp-theme="dark"] .irhp-404-search input { color: #fff !important; }
html[data-irhp-theme="dark"] .irhp-404-search input::placeholder { color: #7f8d85; }
html[data-irhp-theme="dark"] .irhp-404-back { color: #79c99f !important; }
html[data-irhp-theme="dark"] .irhp-404-results { background: #050706; }
html[data-irhp-theme="dark"] .irhp-404-empty { border-color: #293a31; background: #0c120e; }
html[data-irhp-theme="dark"] .irhp-404-empty > span { background: #14291d; color: #82d1a5; }
html[data-irhp-theme="dark"] .irhp-404-empty h2 { color: #fff !important; }
html[data-irhp-theme="dark"] .irhp-404-empty p { color: #a7b4ac; }

@media (max-width:980px) {
    .irhp-404-hero__inner { grid-template-columns: 1fr; gap: 10px; text-align: center; }
    .irhp-404-visual { min-height: 220px; }
    .irhp-404-copy { margin-inline: auto; }
    .irhp-404-copy > p { margin-inline: auto; }
    .irhp-404-actions { justify-content: center; }
    .irhp-404-visual__book { width: 100px; height: 100px; border-radius: 28px; }
    .irhp-404-visual__book svg { width: 46px; height: 46px; }
}
@media (max-width:760px) {
    .irhp-language-filterbar { align-items: stretch; }
    .irhp-language-clear-search { width: 100%; }
    .irhp-language-search-status { padding-inline: 4px; }
    .irhp-language-share {
        inset-inline-end: 12px;
        top: auto;
        bottom: calc(84px + env(safe-area-inset-bottom, 0px));
        transform: none;
        flex-direction: column-reverse;
        align-items: flex-end;
    }
    .irhp-language-share__toggle {
        flex-direction: row;
        width: auto;
        min-width: 54px;
        height: 50px;
        padding: 0 14px !important;
        border-radius: 17px !important;
    }
    .irhp-language-share__toggle span { display: none; }
    .irhp-language-share__panel {
        flex-direction: row;
        max-width: calc(100vw - 24px);
        transform: translateY(10px) scale(.94);
    }
    [dir="rtl"] .irhp-language-share__panel { transform: translateY(10px) scale(.94); }
    .irhp-language-share.is-open .irhp-language-share__panel { transform: translateY(0) scale(1); }
    .irhp-404-hero { min-height: 0; padding: 138px 0 70px; }
    .irhp-404-visual { min-height: 175px; }
    .irhp-404-visual__number { font-size: clamp(125px,43vw,190px); }
    .irhp-404-visual__book { width: 82px; height: 82px; border-radius: 23px; }
    .irhp-404-visual__book svg { width: 39px; height: 39px; }
    .irhp-404-copy h1 { font-size: clamp(38px,12vw,56px); }
    .irhp-404-copy > p { font-size: 15px; }
    .irhp-404-search { grid-template-columns: 1fr; padding: 8px; border-radius: 19px; }
    .irhp-404-search label { min-height: 52px; }
    .irhp-404-search .irhp-button { width: 100%; }
    .irhp-404-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
    .irhp-404-actions .irhp-button { width: 100%; }
}
@media (prefers-reduced-motion:reduce) {
    .irhp-language-search-status__spinner { animation: none; }
    .irhp-language-share__notice:not(:empty) { animation: none; opacity: 1; }
}


/* =========================================================
   v2.15.0 — mobile share clearance and real PDF progress
   ========================================================= */
.irhp-book-reader__loading-content {
    display: grid;
    justify-items: center;
    gap: 9px;
    width: min(320px, calc(100% - 40px));
}
.irhp-book-reader__loading-content p {
    margin: 0 !important;
    font-size: 13px;
    font-weight: 750;
}
.irhp-book-reader__progress {
    position: relative;
    width: 100%;
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(47,109,83,.16);
    box-shadow: inset 0 1px 2px rgba(17,70,48,.1);
}
.irhp-book-reader__progress > span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg,#2f6d53,#4b9970);
    transition: width .2s ease;
}
.irhp-book-reader__loading-content strong {
    min-width: 48px;
    color: #245d43;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
}
.irhp-book-reader__loading.is-indeterminate .irhp-book-reader__progress > span {
    animation: irhp-reader-progress-indeterminate 1.15s ease-in-out infinite;
}
.irhp-book-reader__loading.is-preparing .irhp-book-reader__progress > span {
    width: 100% !important;
}
@keyframes irhp-reader-progress-indeterminate {
    0% { transform: translateX(-130%); }
    55% { transform: translateX(180%); }
    100% { transform: translateX(180%); }
}
html[data-irhp-theme="dark"] .irhp-book-reader__progress {
    background: rgba(125,206,163,.15);
    box-shadow: inset 0 1px 2px rgba(0,0,0,.35);
}
html[data-irhp-theme="dark"] .irhp-book-reader__progress > span {
    background: linear-gradient(90deg,#347c58,#70c493);
}
html[data-irhp-theme="dark"] .irhp-book-reader__loading-content strong { color: #8fd4ad; }

@media (max-width:760px) {
    .irhp-language-share {
        bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important;
    }
}
@media (prefers-reduced-motion:reduce) {
    .irhp-book-reader__loading.is-indeterminate .irhp-book-reader__progress > span {
        animation: none;
        transform: none;
        width: 50% !important;
    }
    .irhp-book-reader__progress > span { transition: none; }
}
