/*
Theme Name: IFRSology
Theme URI: https://ifrsology.com
Author: IFRSology
Description: Custom clean-room theme for IFRSology.
Version: 1.0.0
Text Domain: ifrsology
*/

/* =========================================================
   IFRSOLOGY — GLOBAL FOUNDATION
   ========================================================= */

:root {
    --ifrs-navy: #0f2742;
    --ifrs-blue: #1267e5;
    --ifrs-text: #243244;
    --ifrs-muted: #64748b;
    --ifrs-border: #e5eaf0;
    --ifrs-light: #f6f8fb;
    --ifrs-white: #ffffff;

    --ifrs-container: 1200px;
    --ifrs-radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--ifrs-white);
    color: var(--ifrs-text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--ifrs-blue);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.site-container {
    width: min(100% - 40px, var(--ifrs-container));
    margin-inline: auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    border-bottom: 1px solid var(--ifrs-border);
    background: var(--ifrs-white);
}

.site-header .site-container {
    min-height: 76px;
    display: flex;
    align-items: center;
}

.site-header a {
    color: var(--ifrs-navy);
    font-size: 24px;
    font-weight: 700;
}


/* =========================================================
   MAIN
   ========================================================= */

.site-main {
    min-height: 60vh;
}

.home-hero {
    padding: 100px 0;
    background: var(--ifrs-light);
}

.home-hero h1 {
    margin: 0 0 16px;
    color: var(--ifrs-navy);
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.05;
}

.home-hero p {
    margin: 0;
    color: var(--ifrs-muted);
    font-size: 21px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding: 32px 0;
    border-top: 1px solid var(--ifrs-border);
    background: var(--ifrs-white);
    color: var(--ifrs-muted);
}

.site-footer p {
    margin: 0;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {

    .site-container {
        width: min(100% - 32px, var(--ifrs-container));
    }

    .home-hero {
        padding: 72px 0;
    }
}

/* =========================================================
   IFRSOLOGY — PRIMARY HEADER
   ========================================================= */

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.site-logo {
    color: var(--ifrs-navy);
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -0.6px;
    line-height: 1;
}

.site-logo:hover {
    text-decoration: none;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-navigation a {
    position: relative;
    color: var(--ifrs-text);
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.main-navigation > a:not(.nav-contact)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: var(--ifrs-blue);
    transition: width 0.2s ease;
}

.main-navigation > a:not(.nav-contact):hover::after {
    width: 100%;
}

.main-navigation a:hover {
    color: var(--ifrs-blue);
    text-decoration: none;
}

.nav-contact {
    padding: 10px 18px;
    border-radius: 8px;
    background: var(--ifrs-navy);
    color: var(--ifrs-white) !important;
}

.nav-contact:hover {
    background: var(--ifrs-blue);
}

@media (max-width: 900px) {

    .main-navigation {
        display: none;
    }

    .header-inner {
        min-height: 72px;
    }
}


/* =========================================================
   IFRSOLOGY — BRAND MARK
   ========================================================= */

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
    color: #2c5595;
    text-decoration: none;
}

.site-brand:hover {
    text-decoration: none;
}

.site-brand-mark {
    display: block;
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.site-brand-name {
    color: #2c5595;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.7px;
    line-height: 1;
}


/* =========================================================
   IFRSOLOGY — BRANDED HOMEPAGE HERO
   ========================================================= */

.ifrs-home-hero {
    position: relative;
    overflow: hidden;
    padding: 108px 0 112px;
    background:
        radial-gradient(
            circle at 82% 25%,
            rgba(61, 134, 202, 0.09),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f8fbff 58%,
            #f5f9fd 100%
        );
}

.ifrs-home-hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 9%;
    width: 1px;
    height: 100%;
    background: rgba(44, 85, 149, 0.06);
}

.ifrs-home-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.95fr);
    gap: 100px;
    align-items: center;
}


/* Left side */

.ifrs-home-eyebrow {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 25px;
    color: #44af2b;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.ifrs-home-eyebrow::before {
    content: "";
    width: 34px;
    height: 3px;
    border-radius: 10px;
    background: #44af2b;
}

.ifrs-home-hero h1 {
    max-width: 720px;
    margin: 0;
    color: #2c5595;
    font-size: clamp(54px, 5.6vw, 82px);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -3px;
}

.ifrs-home-hero h1 span {
    display: block;
    margin-top: 10px;
    color: #44af2b;
}

.ifrs-home-lead {
    max-width: 640px;
    margin: 30px 0 0;
    color: #5d6f83;
    font-size: 19px;
    line-height: 1.75;
}


/* Buttons */

.ifrs-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 38px;
}

.ifrs-home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.ifrs-home-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.ifrs-home-btn-primary {
    background: #2c5595;
    color: #ffffff;
}

.ifrs-home-btn-primary:hover {
    background: #3d86ca;
    color: #ffffff;
}

.ifrs-home-btn-secondary {
    border: 1px solid #cfdbe8;
    background: #ffffff;
    color: #2c5595;
}

.ifrs-home-btn-secondary:hover {
    border-color: #44af2b;
    color: #44af2b;
}


/* Small feature row */

.ifrs-home-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 690px;
    margin-top: 56px;
    padding-top: 25px;
    border-top: 1px solid #dfe8f1;
}

.ifrs-home-meta > div {
    padding-right: 18px;
}

.ifrs-home-meta strong {
    display: block;
    margin-bottom: 3px;
    color: #2c5595;
    font-size: 14px;
}

.ifrs-home-meta span {
    display: block;
    color: #78899a;
    font-size: 12px;
    line-height: 1.45;
}


/* Right visual */

.ifrs-home-hero-visual {
    position: relative;
    min-height: 500px;
}

.ifrs-brand-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 330px;
    height: 330px;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(61, 134, 202, 0.18);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.72);
    box-shadow:
        0 30px 80px rgba(44, 85, 149, 0.08),
        inset 0 0 0 26px rgba(129, 174, 228, 0.035);
}

.ifrs-brand-orbit::before,
.ifrs-brand-orbit::after {
    content: "";
    position: absolute;
    border-radius: 50%;
}

.ifrs-brand-orbit::before {
    width: 420px;
    height: 420px;
    border: 1px dashed rgba(68, 175, 43, 0.18);
}

.ifrs-brand-orbit::after {
    width: 250px;
    height: 250px;
    border: 1px solid rgba(163, 211, 50, 0.16);
}

.ifrs-hero-mark {
    position: relative;
    z-index: 2;
    width: 155px;
    height: auto;
}


/* Floating knowledge cards */

.ifrs-hero-card {
    position: absolute;
    z-index: 3;
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 13px;
    width: 220px;
    padding: 17px 18px;
    border: 1px solid rgba(44, 85, 149, 0.10);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 16px 40px rgba(44, 85, 149, 0.10);
}

.ifrs-hero-card-one {
    top: 48px;
    right: 0;
}

.ifrs-hero-card-two {
    top: 215px;
    left: -20px;
}

.ifrs-hero-card-three {
    right: 8px;
    bottom: 33px;
}

.ifrs-card-number {
    color: #44af2b;
    font-size: 11px;
    font-weight: 800;
}

.ifrs-hero-card strong {
    display: block;
    margin-bottom: 3px;
    color: #2c5595;
    font-size: 15px;
}

.ifrs-hero-card p {
    margin: 0;
    color: #738496;
    font-size: 12px;
    line-height: 1.45;
}


/* Responsive */

@media (max-width: 1050px) {

    .ifrs-home-hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .ifrs-home-hero-visual {
        min-height: 460px;
        max-width: 650px;
        width: 100%;
        margin-inline: auto;
    }
}

@media (max-width: 700px) {

    .ifrs-home-hero {
        padding: 72px 0 80px;
    }

    .ifrs-home-hero h1 {
        font-size: 50px;
        letter-spacing: -2px;
    }

    .ifrs-home-lead {
        font-size: 17px;
    }

    .ifrs-home-meta {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .ifrs-home-actions {
        flex-direction: column;
    }

    .ifrs-home-btn {
        width: 100%;
    }

    .ifrs-home-hero-visual {
        min-height: 430px;
    }

    .ifrs-brand-orbit {
        width: 260px;
        height: 260px;
    }

    .ifrs-brand-orbit::before {
        width: 325px;
        height: 325px;
    }

    .ifrs-brand-orbit::after {
        width: 200px;
        height: 200px;
    }

    .ifrs-hero-mark {
        width: 120px;
    }

    .ifrs-hero-card {
        width: 190px;
    }
}

/* Hero headline refinement */

.ifrs-home-hero h1 {
    font-size: clamp(52px, 4.7vw, 70px);
    line-height: 1.02;
    letter-spacing: -2.4px;
}

.ifrs-home-hero-content {
    min-width: 0;
}

@media (min-width: 1051px) {
    .ifrs-home-hero h1 {
        max-width: 700px;
    }
}


/* =========================================================
   IFRSOLOGY — SYMMETRICAL HERO PATHWAY
   ========================================================= */

.ifrs-pathway-panel {
    position: relative;
    overflow: hidden;
    padding: 46px 38px 34px;
    border: 1px solid #e0e8f1;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 70px rgba(44, 85, 149, 0.08);
    text-align: center;
}

.ifrs-pathway-panel::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    top: -180px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    background: rgba(61, 134, 202, 0.08);
}

.ifrs-pathway-mark-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.ifrs-pathway-mark {
    display: block;
    width: 105px;
    height: auto;
}

.ifrs-pathway-heading {
    position: relative;
    z-index: 1;
    margin-bottom: 34px;
}

.ifrs-pathway-heading span {
    display: block;
    margin-bottom: 7px;
    color: #44af2b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.ifrs-pathway-heading strong {
    display: block;
    color: #2c5595;
    font-size: 22px;
    line-height: 1.3;
}

.ifrs-pathway-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #e1e8f0;
}

.ifrs-pathway-step {
    padding: 28px 20px 8px;
    border-right: 1px solid #e1e8f0;
}

.ifrs-pathway-step:last-child {
    border-right: 0;
}

.ifrs-pathway-number {
    display: block;
    margin-bottom: 10px;
    color: #44af2b;
    font-size: 11px;
    font-weight: 800;
}

.ifrs-pathway-step strong {
    display: block;
    margin-bottom: 8px;
    color: #2c5595;
    font-size: 16px;
}

.ifrs-pathway-step p {
    margin: 0;
    color: #718397;
    font-size: 12px;
    line-height: 1.55;
}

@media (max-width: 700px) {

    .ifrs-pathway-grid {
        grid-template-columns: 1fr;
    }

    .ifrs-pathway-step {
        border-right: 0;
        border-bottom: 1px solid #e1e8f0;
    }

    .ifrs-pathway-step:last-child {
        border-bottom: 0;
    }
}


/* =========================================================
   IFRSOLOGY — HERO JOURNEY PANEL
   ========================================================= */

.ifrs-journey-panel {
    padding: 46px 44px;
    border: 1px solid #dfe8f1;
    border-radius: 20px;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 24px 70px rgba(44,85,149,0.08);
}

.ifrs-journey-header {
    padding-bottom: 30px;
    border-bottom: 1px solid #e1e8f0;
}

.ifrs-journey-header > span {
    display: block;
    margin-bottom: 10px;
    color: #44af2b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.ifrs-journey-header h2 {
    margin: 0;
    color: #2c5595;
    font-size: 31px;
    line-height: 1.15;
    letter-spacing: -1px;
}

.ifrs-journey-header p {
    max-width: 390px;
    margin: 15px 0 0;
    color: #718397;
    font-size: 14px;
    line-height: 1.6;
}


/* Steps */

.ifrs-journey-steps {
    position: relative;
}

.ifrs-journey-step {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 20px;
    align-items: start;
    padding: 27px 0;
    border-bottom: 1px solid #e1e8f0;
}

.ifrs-journey-step:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.ifrs-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f1f7ed;
    color: #44af2b;
    font-size: 12px;
    font-weight: 800;
}

.ifrs-step-content strong {
    display: block;
    margin-bottom: 5px;
    color: #2c5595;
    font-size: 18px;
}

.ifrs-step-content p {
    max-width: 360px;
    margin: 0;
    color: #718397;
    font-size: 13px;
    line-height: 1.6;
}

@media (max-width: 700px) {

    .ifrs-journey-panel {
        padding: 34px 28px;
    }

    .ifrs-journey-header h2 {
        font-size: 27px;
    }
}


/* =========================================================
   IFRSOLOGY — MOBILE NAVIGATION
   ========================================================= */

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 23px;
    height: 2px;
    margin: 5px auto;
    border-radius: 10px;
    background: #2c5595;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

@media (max-width: 900px) {

    .header-inner {
        position: relative;
        min-height: 72px;
    }

    .site-brand-mark {
        width: 34px;
        height: 34px;
    }

    .site-brand-name {
        font-size: 23px;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .menu-toggle.is-open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        z-index: 1000;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 14px 20px 20px;
        border: 1px solid #e1e8f0;
        border-top: 0;
        border-radius: 0 0 14px 14px;
        background: #ffffff;
        box-shadow: 0 20px 40px rgba(44, 85, 149, 0.10);
    }

    .main-navigation.is-open {
        display: flex;
    }

    .main-navigation a {
        display: block;
        padding: 14px 4px;
        border-bottom: 1px solid #edf1f5;
        font-size: 15px;
    }

    .main-navigation > a:not(.nav-contact)::after {
        display: none;
    }

    .main-navigation .nav-contact {
        margin-top: 14px;
        padding: 13px 18px;
        border-bottom: 0;
        text-align: center;
    }
}

/* Hero journey selector corrections */

.ifrs-journey-step:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.ifrs-journey-step > div strong {
    display: block;
    margin-bottom: 5px;
    color: #2c5595;
    font-size: 18px;
}

.ifrs-journey-step > div p {
    max-width: 360px;
    margin: 0;
    color: #718397;
    font-size: 13px;
    line-height: 1.6;
}

/* Keep first hero headline phrase together on desktop */

@media (min-width: 1051px) {
    .ifrs-home-hero-content {
        min-width: 560px;
    }

    .ifrs-home-hero h1 {
        max-width: none;
        font-size: 64px;
    }
}


/* =========================================================
   IFRSOLOGY — EXPLORE SECTION
   ========================================================= */

.ifrs-explore {
    padding: 110px 0 120px;
    background: #ffffff;
}

.ifrs-section-heading {
    max-width: 760px;
    margin-bottom: 58px;
}

.ifrs-section-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: #44af2b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.ifrs-section-eyebrow::before {
    content: "";
    width: 32px;
    height: 3px;
    border-radius: 10px;
    background: #44af2b;
}

.ifrs-section-heading h2 {
    margin: 0;
    color: #2c5595;
    font-size: clamp(38px, 4vw, 54px);
    line-height: 1.08;
    letter-spacing: -1.8px;
}

.ifrs-section-heading h2 span {
    color: #44af2b;
}

.ifrs-section-heading > p {
    max-width: 680px;
    margin: 22px 0 0;
    color: #687b8f;
    font-size: 17px;
    line-height: 1.7;
}


/* Cards */

.ifrs-explore-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ifrs-explore-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 370px;
    padding: 32px;
    overflow: hidden;
    border: 1px solid #dfe8f1;
    border-radius: 16px;
    background: #ffffff;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

.ifrs-explore-card:hover {
    transform: translateY(-5px);
    border-color: #cbd9e8;
    box-shadow: 0 20px 50px rgba(44, 85, 149, 0.09);
}

.ifrs-explore-number {
    margin-bottom: 54px;
    color: #44af2b;
    font-size: 13px;
    font-weight: 800;
}

.ifrs-explore-label {
    display: block;
    margin-bottom: 13px;
    color: #73879b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.ifrs-explore-card h3 {
    margin: 0 0 16px;
    color: #2c5595;
    font-size: 25px;
    line-height: 1.22;
    letter-spacing: -0.6px;
}

.ifrs-explore-card p {
    margin: 0;
    color: #687b8f;
    font-size: 14px;
    line-height: 1.7;
}

.ifrs-explore-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ifrs-explore-card a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 28px;
    color: #2c5595;
    font-size: 14px;
    font-weight: 700;
}

.ifrs-explore-card a:hover {
    color: #44af2b;
    text-decoration: none;
}

.ifrs-explore-card a span {
    transition: transform 0.2s ease;
}

.ifrs-explore-card a:hover span {
    transform: translateX(4px);
}


/* Subtle card accents */

.ifrs-explore-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #2c5595;
}

.ifrs-explore-card:nth-child(2)::before {
    background: #3d86ca;
}

.ifrs-explore-card:nth-child(3)::before {
    background: #44af2b;
}


/* Responsive */

@media (max-width: 900px) {

    .ifrs-explore {
        padding: 80px 0;
    }

    .ifrs-explore-grid {
        grid-template-columns: 1fr;
    }

    .ifrs-explore-card {
        min-height: auto;
    }

    .ifrs-explore-number {
        margin-bottom: 35px;
    }
}

@media (max-width: 600px) {

    .ifrs-section-heading {
        margin-bottom: 38px;
    }

    .ifrs-section-heading h2 {
        font-size: 38px;
    }

    .ifrs-section-heading > p {
        font-size: 16px;
    }

    .ifrs-explore-card {
        padding: 28px;
    }
}


/* =========================================================
   IFRSOLOGY — STANDARDS LIBRARY PAGE
   ========================================================= */

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* ---------------------------------------------------------
   PAGE INTRO
   --------------------------------------------------------- */

.standards-page-intro {
    padding: 96px 0 72px;
    background:
        radial-gradient(
            circle at 83% 20%,
            rgba(61, 134, 202, 0.09),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f8fbff 65%,
            #f4f8fc 100%
        );
}

.standards-page-intro h1 {
    max-width: 760px;
    margin: 0;
    color: #2c5595;
    font-size: clamp(48px, 5vw, 70px);
    line-height: 1.02;
    letter-spacing: -2.5px;
}

.standards-page-intro h1 span {
    color: #44af2b;
}

.standards-page-intro > .site-container > p {
    max-width: 700px;
    margin: 25px 0 0;
    color: #687b8f;
    font-size: 18px;
    line-height: 1.75;
}


/* ---------------------------------------------------------
   SEARCH
   --------------------------------------------------------- */

.standards-search-wrap {
    position: relative;
    max-width: 760px;
    margin-top: 38px;
}

.standards-search {
    width: 100%;
    height: 60px;
    padding: 0 22px;
    border: 1px solid #d5e0eb;
    border-radius: 12px;
    outline: none;
    background: #ffffff;
    color: #253d58;
    font: inherit;
    font-size: 15px;
    box-shadow: 0 10px 30px rgba(44, 85, 149, 0.05);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.standards-search::placeholder {
    color: #91a0af;
}

.standards-search:focus {
    border-color: #3d86ca;
    box-shadow:
        0 0 0 4px rgba(61, 134, 202, 0.10),
        0 12px 35px rgba(44, 85, 149, 0.07);
}


/* ---------------------------------------------------------
   LIBRARY
   --------------------------------------------------------- */

.standards-library {
    padding: 58px 0 120px;
    background: #ffffff;
}


/* ---------------------------------------------------------
   FILTER NAVIGATION
   --------------------------------------------------------- */

.standards-library-nav {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 64px;
    padding: 5px;
    border: 1px solid #dfe7ef;
    border-radius: 10px;
    background: #f7f9fc;
}

.standards-filter {
    min-height: 40px;
    padding: 0 18px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #65788b;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}

.standards-filter:hover {
    color: #2c5595;
}

.standards-filter.is-active {
    background: #ffffff;
    color: #2c5595;
    box-shadow: 0 3px 10px rgba(44, 85, 149, 0.08);
}


/* ---------------------------------------------------------
   STANDARD GROUPS
   --------------------------------------------------------- */

.standards-group + .standards-group {
    margin-top: 100px;
}

.standards-group-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #dfe7ef;
}

.standards-group-kicker {
    display: block;
    margin-bottom: 7px;
    color: #44af2b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.standards-group-heading h2 {
    margin: 0;
    color: #2c5595;
    font-size: 31px;
    line-height: 1.2;
    letter-spacing: -0.8px;
}

.standards-count {
    flex-shrink: 0;
    color: #8292a1;
    font-size: 13px;
}


/* ---------------------------------------------------------
   STANDARD CARDS
   --------------------------------------------------------- */

.standards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.standard-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 245px;
    padding: 26px;
    overflow: hidden;
    border: 1px solid #dfe7ef;
    border-radius: 14px;
    background: #ffffff;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.standard-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #2c5595;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.standard-card:hover {
    transform: translateY(-4px);
    border-color: #c9d8e7;
    box-shadow: 0 18px 45px rgba(44, 85, 149, 0.08);
}

.standard-card:hover::before {
    opacity: 1;
}

.standard-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 30px;
}

.standard-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 31px;
    padding: 0 11px;
    border-radius: 6px;
    background: #eef4fa;
    color: #2c5595;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.standard-status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    max-width: 175px;
    padding: 5px 9px;
    border-radius: 6px;
    background: #f2f8ed;
    color: #46942e;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
}

.standard-card h3 {
    margin: 0 0 28px;
    color: #263e59;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.42;
    letter-spacing: -0.25px;
}

.standard-card-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: auto;
    color: #2c5595;
    font-size: 13px;
    font-weight: 700;
}

.standard-card-link > span {
    transition: transform 0.2s ease;
}

.standard-card:hover .standard-card-link {
    color: #44af2b;
}

.standard-card:hover .standard-card-link > span {
    transform: translateX(4px);
}


/* IAS variation */

.standards-group[data-group="ias"] .standard-code {
    background: #f2f8ed;
    color: #46942e;
}

.standards-group[data-group="ias"] .standard-card::before {
    background: #44af2b;
}


/* ---------------------------------------------------------
   NO RESULTS
   --------------------------------------------------------- */

.standards-empty {
    margin-top: 50px;
    padding: 50px 30px;
    border: 1px dashed #ccd8e4;
    border-radius: 14px;
    background: #f8fafc;
    color: #6d8093;
    font-size: 16px;
    text-align: center;
}


/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (max-width: 1000px) {

    .standards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .standards-page-intro {
        padding: 80px 0 64px;
    }
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 650px) {

    .standards-page-intro {
        padding: 66px 0 52px;
    }

    .standards-page-intro h1 {
        font-size: 46px;
        letter-spacing: -1.7px;
    }

    .standards-page-intro > .site-container > p {
        font-size: 16px;
    }

    .standards-search {
        height: 56px;
        padding: 0 17px;
        font-size: 14px;
    }

    .standards-library {
        padding: 42px 0 80px;
    }

    .standards-library-nav {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        width: 100%;
        margin-bottom: 48px;
    }

    .standards-filter {
        padding: 0 8px;
    }

    .standards-group + .standards-group {
        margin-top: 75px;
    }

    .standards-group-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .standards-group-heading h2 {
        font-size: 27px;
    }

    .standards-grid {
        grid-template-columns: 1fr;
    }

    .standard-card {
        min-height: 220px;
        padding: 24px;
    }

    .standard-card-top {
        margin-bottom: 25px;
    }
}

/* Make entire standard card clickable */

.standard-card {
    cursor: pointer;
}

.standard-card-link::after {
    content: "";
    position: absolute;
    inset: 0;
}

.standard-card:focus-within {
    border-color: #3d86ca;
    box-shadow: 0 0 0 3px rgba(61, 134, 202, 0.10);
}

.standard-card-link:focus {
    outline: none;
}


/* =========================================================
   IFRSOLOGY — STANDARD DETAIL PAGE
   ========================================================= */

.standard-detail-page {
    background: #ffffff;
}


/* ---------------------------------------------------------
   STANDARD HERO
   --------------------------------------------------------- */

.standard-detail-hero {
    padding: 78px 0 74px;
    background:
        radial-gradient(
            circle at 84% 20%,
            rgba(61, 134, 202, 0.08),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f8fbff 65%,
            #f4f8fc 100%
        );
}

.standard-back-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: 38px;
    color: #708398;
    font-size: 13px;
    font-weight: 700;
}

.standard-back-link:hover {
    color: #2c5595;
    text-decoration: none;
}

.standard-detail-code {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin-bottom: 20px;
    padding: 0 13px;
    border-radius: 7px;
    background: #eef4fa;
    color: #2c5595;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.4px;
}

.standard-detail-hero h1 {
    max-width: 900px;
    margin: 0;
    color: #2c5595;
    font-size: clamp(42px, 5vw, 66px);
    line-height: 1.05;
    letter-spacing: -2px;
}

.standard-detail-status {
    display: inline-flex;
    align-items: center;
    margin-top: 24px;
    min-height: 32px;
    padding: 5px 12px;
    border-radius: 7px;
    background: #f2f8ed;
    color: #46942e;
    font-size: 11px;
    font-weight: 800;
}


/* ---------------------------------------------------------
   CONTENT AREA
   --------------------------------------------------------- */

.standard-detail-content {
    padding: 82px 0 110px;
}

.standard-content-container {
    max-width: 900px;
}

.standard-detail-content h2 {
    margin: 54px 0 18px;
    color: #2c5595;
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: -0.8px;
}

.standard-detail-content h2:first-child {
    margin-top: 0;
}

.standard-detail-content h3 {
    margin: 38px 0 14px;
    color: #2c5595;
    font-size: 23px;
    line-height: 1.3;
}

.standard-detail-content p {
    margin: 0 0 22px;
    color: #52677d;
    font-size: 16px;
    line-height: 1.8;
}

.standard-detail-content ul,
.standard-detail-content ol {
    margin: 0 0 28px;
    padding-left: 24px;
    color: #52677d;
}

.standard-detail-content li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.standard-detail-content strong {
    color: #2c5595;
}


/* ---------------------------------------------------------
   PLACEHOLDER
   --------------------------------------------------------- */

.standard-content-placeholder {
    padding: 48px;
    border: 1px solid #dfe7ef;
    border-radius: 16px;
    background: #f9fbfd;
}

.standard-placeholder-label {
    display: block;
    margin-bottom: 12px;
    color: #44af2b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.standard-content-placeholder h2 {
    margin: 0 0 15px;
    color: #2c5595;
    font-size: 30px;
}

.standard-content-placeholder p {
    max-width: 650px;
    margin: 0;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 650px) {

    .standard-detail-hero {
        padding: 58px 0 56px;
    }

    .standard-back-link {
        margin-bottom: 30px;
    }

    .standard-detail-hero h1 {
        font-size: 42px;
        letter-spacing: -1.4px;
    }

    .standard-detail-content {
        padding: 60px 0 80px;
    }

    .standard-content-placeholder {
        padding: 30px 26px;
    }

    .standard-detail-content h2 {
        font-size: 28px;
    }
}


/* =========================================================
   IFRSOLOGY — WIDE HOMEPAGE HERO
   ========================================================= */

.ifrs-home-hero-wide {
    position: relative;
    overflow: hidden;
    padding: 112px 0 0;
    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(61, 134, 202, 0.11),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f9fbfe 56%,
            #f3f8fd 100%
        );
}

.ifrs-home-hero-wide::after {
    content: "";
    position: absolute;
    top: 0;
    right: 8%;
    width: 1px;
    height: 100%;
    background: rgba(44, 85, 149, 0.06);
}

.ifrs-wide-hero-main {
    position: relative;
    z-index: 1;
    max-width: 1040px;
    padding-bottom: 88px;
}

.ifrs-wide-eyebrow {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 27px;
    color: #44af2b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.35px;
}

.ifrs-wide-eyebrow-line {
    display: block;
    width: 30px;
    height: 2px;
    background: #44af2b;
}

.ifrs-home-hero-wide h1 {
    max-width: 930px;
    margin: 0;
    color: #2c5595;
    font-size: clamp(58px, 6vw, 84px);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -3.2px;
}

.ifrs-home-hero-wide h1 span {
    display: block;
    color: #44af2b;
}

.ifrs-wide-hero-lead {
    max-width: 700px;
    margin: 32px 0 0;
    color: #52677d;
    font-size: 18px;
    line-height: 1.75;
}

.ifrs-home-hero-wide .ifrs-home-actions {
    margin-top: 36px;
}


/* ---------------------------------------------------------
   APPROACH STRIP
   --------------------------------------------------------- */

.ifrs-wide-approach {
    position: relative;
    z-index: 1;
    padding: 38px 0 46px;
    border-top: 1px solid #dce5ee;
}

.ifrs-wide-approach-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

.ifrs-wide-approach-heading > span {
    color: #44af2b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.ifrs-wide-approach-heading > p {
    margin: 0;
    color: #708398;
    font-size: 14px;
}

.ifrs-wide-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.ifrs-wide-step {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 18px;
    min-height: 110px;
    padding: 8px 42px 4px 0;
}

.ifrs-wide-step + .ifrs-wide-step {
    padding-left: 42px;
    border-left: 1px solid #dce5ee;
}

.ifrs-wide-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #eef6e9;
    color: #44af2b;
    font-size: 11px;
    font-weight: 800;
}

.ifrs-wide-step h3 {
    margin: 4px 0 8px;
    color: #2c5595;
    font-size: 18px;
    line-height: 1.2;
}

.ifrs-wide-step p {
    max-width: 280px;
    margin: 0;
    color: #667b90;
    font-size: 13px;
    line-height: 1.6;
}


/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (max-width: 900px) {

    .ifrs-home-hero-wide {
        padding-top: 82px;
    }

    .ifrs-wide-hero-main {
        padding-bottom: 66px;
    }

    .ifrs-home-hero-wide h1 {
        font-size: clamp(52px, 9vw, 70px);
    }

    .ifrs-wide-approach-heading {
        display: block;
    }

    .ifrs-wide-approach-heading > p {
        margin-top: 8px;
    }

    .ifrs-wide-steps {
        grid-template-columns: 1fr;
    }

    .ifrs-wide-step {
        padding: 22px 0;
    }

    .ifrs-wide-step + .ifrs-wide-step {
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid #dce5ee;
    }

    .ifrs-wide-step p {
        max-width: 560px;
    }
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 650px) {

    .ifrs-home-hero-wide {
        padding-top: 64px;
    }

    .ifrs-wide-hero-main {
        padding-bottom: 54px;
    }

    .ifrs-wide-eyebrow {
        align-items: flex-start;
        font-size: 10px;
        line-height: 1.5;
    }

    .ifrs-wide-eyebrow-line {
        margin-top: 7px;
        flex: 0 0 auto;
    }

    .ifrs-home-hero-wide h1 {
        font-size: 48px;
        line-height: 1.02;
        letter-spacing: -2px;
    }

    .ifrs-wide-hero-lead {
        margin-top: 25px;
        font-size: 16px;
        line-height: 1.7;
    }

    .ifrs-home-hero-wide .ifrs-home-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .ifrs-home-hero-wide .ifrs-home-btn {
        justify-content: center;
        width: 100%;
    }

    .ifrs-wide-approach {
        padding: 30px 0 34px;
    }

    .ifrs-wide-step {
        grid-template-columns: 42px 1fr;
        gap: 14px;
    }

}


/* =========================================================
   FIX — WIDE HERO CONTAINER ALIGNMENT
   ========================================================= */

.ifrs-home-hero-wide > .ifrs-home-container {
    width: min(1120px, calc(100% - 48px));
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 650px) {

    .ifrs-home-hero-wide > .ifrs-home-container {
        width: calc(100% - 36px);
    }

}


/* =========================================================
   WIDE HERO — FINAL COMPOSITION REFINEMENT
   ========================================================= */

.ifrs-home-hero-wide {
    padding-top: 92px;
}

.ifrs-wide-hero-main {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 72px;
    text-align: center;
}

.ifrs-wide-eyebrow {
    justify-content: center;
}

.ifrs-home-hero-wide h1 {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.ifrs-wide-hero-lead {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.ifrs-home-hero-wide .ifrs-home-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.ifrs-wide-approach {
    padding-top: 34px;
    padding-bottom: 44px;
}

.ifrs-wide-approach-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 34px;
    text-align: center;
}

.ifrs-wide-approach-heading > p {
    margin: 0;
}

.ifrs-wide-step {
    justify-content: center;
}

@media (max-width: 650px) {

    .ifrs-home-hero-wide {
        padding-top: 62px;
    }

    .ifrs-wide-hero-main {
        padding-bottom: 52px;
        text-align: left;
    }

    .ifrs-wide-eyebrow {
        justify-content: flex-start;
    }

    .ifrs-wide-hero-lead {
        margin-left: 0;
        margin-right: 0;
    }

    .ifrs-home-hero-wide .ifrs-home-actions {
        display: grid;
        justify-content: stretch;
    }

    .ifrs-wide-approach-heading {
        align-items: flex-start;
        text-align: left;
    }

}

/* =========================================================
   IFRSOLOGY — COURSES PAGE
   ========================================================= */

.courses-page {
    background: #ffffff;
}

.courses-hero {
    padding: 92px 0 84px;
    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(61, 134, 202, 0.10),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f8fbff 68%,
            #f3f8fc 100%
        );
    border-bottom: 1px solid #e2e9f0;
}

.courses-eyebrow {
    display: block;
    margin-bottom: 22px;
    color: #44af2b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.courses-hero h1 {
    max-width: 860px;
    margin: 0;
    color: #2c5595;
    font-size: clamp(50px, 5vw, 72px);
    line-height: 1.02;
    letter-spacing: -2.7px;
}

.courses-hero h1 span {
    display: block;
    color: #44af2b;
}

.courses-hero > .ifrs-home-container > p {
    max-width: 700px;
    margin: 28px 0 0;
    color: #5f7489;
    font-size: 17px;
    line-height: 1.75;
}

.courses-catalogue {
    padding: 88px 0 110px;
}

.course-group {
    padding: 0 0 82px;
}

.course-group + .course-group {
    padding-top: 82px;
    border-top: 1px solid #e1e8ef;
}

.course-group-last {
    padding-bottom: 0;
}

.course-group-heading {
    max-width: 720px;
    margin-bottom: 38px;
}

.course-group-label {
    display: block;
    margin-bottom: 14px;
    color: #44af2b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.35px;
}

.course-group-heading h2 {
    margin: 0 0 15px;
    color: #2c5595;
    font-size: 34px;
    line-height: 1.18;
    letter-spacing: -0.9px;
}

.course-group-heading p {
    max-width: 630px;
    margin: 0;
    color: #667b90;
    font-size: 15px;
    line-height: 1.7;
}

@media (max-width: 650px) {

    .courses-hero {
        padding: 62px 0 58px;
    }

    .courses-hero h1 {
        font-size: 46px;
        letter-spacing: -1.8px;
    }

    .courses-hero > .ifrs-home-container > p {
        font-size: 16px;
    }

    .courses-catalogue {
        padding: 62px 0 80px;
    }

    .course-group {
        padding-bottom: 58px;
    }

    .course-group + .course-group {
        padding-top: 58px;
    }

    .course-group-heading h2 {
        font-size: 29px;
    }

}

/* =========================================================
   IFRSOLOGY — COURSE CARDS
   ========================================================= */

.course-grid {
    display: grid;
    gap: 22px;
}

.course-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.course-card {
    position: relative;
    min-height: 280px;
    padding: 34px 34px 32px;
    border: 1px solid #dfe7ef;
    border-radius: 16px;
    background: #ffffff;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.course-card:hover {
    transform: translateY(-3px);
    border-color: #b7cadf;
    box-shadow: 0 16px 38px rgba(37, 67, 105, 0.08);
}

.course-card-type {
    display: block;
    margin-bottom: 22px;
    color: #44af2b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.course-card h3 {
    margin: 0 0 14px;
    color: #2c5595;
    font-size: 27px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.course-card p {
    max-width: 560px;
    margin: 0 0 34px;
    color: #65798e;
    font-size: 14px;
    line-height: 1.7;
}

.course-card-link {
    position: absolute;
    left: 34px;
    bottom: 30px;
    color: #2c5595;
    font-size: 13px;
    font-weight: 800;
}

.course-card-featured {
    min-height: 245px;
    padding-right: 38%;
    background:
        radial-gradient(
            circle at 88% 20%,
            rgba(68, 175, 43, 0.10),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f7fbff 100%
        );
}

.course-card-featured::after {
    content: "IFRS";
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(44, 85, 149, 0.06);
    font-size: 88px;
    font-weight: 800;
    letter-spacing: -5px;
}

@media (max-width: 800px) {

    .course-grid-two {
        grid-template-columns: 1fr;
    }

    .course-card-featured {
        padding-right: 34px;
    }

    .course-card-featured::after {
        display: none;
    }

}

@media (max-width: 650px) {

    .course-card {
        min-height: 265px;
        padding: 28px 26px;
    }

    .course-card h3 {
        font-size: 24px;
    }

    .course-card-link {
        left: 26px;
        bottom: 26px;
    }

}

/* =========================================================
   FIX — COURSES PAGE CONTAINER ALIGNMENT
   ========================================================= */

.courses-page .ifrs-home-container {
    width: min(1120px, calc(100% - 48px));
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 650px) {

    .courses-page .ifrs-home-container {
        width: calc(100% - 36px);
    }

}

/* Course cards — full clickable area */

.course-card {
    cursor: pointer;
}

.course-card-link {
    text-decoration: none;
}

.course-card-link::after {
    content: "";
    position: absolute;
    inset: 0;
}

.course-card:focus-within {
    border-color: #3d86ca;
    box-shadow: 0 0 0 3px rgba(61, 134, 202, 0.10);
}

.course-card-link:focus {
    outline: none;
}

/* =========================================================
   IFRSOLOGY — COURSE DETAIL PAGE
   HERO + OVERVIEW
   ========================================================= */

.course-detail-page {
    background: #ffffff;
}

.course-detail-page .ifrs-home-container {
    width: min(1120px, calc(100% - 48px));
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

.course-detail-hero {
    padding: 78px 0 76px;
    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(61, 134, 202, 0.10),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f8fbff 68%,
            #f3f8fc 100%
        );
    border-bottom: 1px solid #e1e8ef;
}

.course-back-link {
    display: inline-flex;
    margin-bottom: 34px;
    color: #708398;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.course-back-link:hover {
    color: #2c5595;
}

.course-detail-eyebrow {
    display: block;
    margin-bottom: 18px;
    color: #44af2b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.course-detail-hero h1 {
    max-width: 900px;
    margin: 0;
    color: #2c5595;
    font-size: clamp(52px, 5vw, 72px);
    line-height: 1.02;
    letter-spacing: -2.5px;
}

.course-detail-lead {
    max-width: 690px;
    margin: 28px 0 0;
    color: #5f7489;
    font-size: 17px;
    line-height: 1.75;
}

.course-detail-content {
    padding: 82px 0 110px;
}

.course-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.7fr);
    gap: 70px;
    align-items: start;
    padding-bottom: 78px;
}

.course-section-label {
    display: block;
    margin-bottom: 14px;
    color: #44af2b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.35px;
}

.course-intro-grid h2,
.course-content-section h2 {
    margin: 0 0 18px;
    color: #2c5595;
    font-size: 34px;
    line-height: 1.18;
    letter-spacing: -0.8px;
}

.course-intro-grid > div > p {
    max-width: 690px;
    margin: 0;
    color: #667b90;
    font-size: 15px;
    line-height: 1.75;
}

.course-summary-card {
    padding: 30px;
    border: 1px solid #dfe7ef;
    border-radius: 16px;
    background: #f9fbfd;
}

.course-summary-card > span {
    display: block;
    margin-bottom: 22px;
    color: #44af2b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.25px;
}

.course-summary-card > div {
    padding: 18px 0;
    border-top: 1px solid #e1e8ef;
}

.course-summary-card strong {
    display: block;
    margin-bottom: 6px;
    color: #2c5595;
    font-size: 13px;
}

.course-summary-card p {
    margin: 0;
    color: #708398;
    font-size: 13px;
    line-height: 1.6;
}

@media (max-width: 800px) {

    .course-intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

}

@media (max-width: 650px) {

    .course-detail-page .ifrs-home-container {
        width: calc(100% - 36px);
    }

    .course-detail-hero {
        padding: 58px 0 56px;
    }

    .course-detail-hero h1 {
        font-size: 46px;
        letter-spacing: -1.7px;
    }

    .course-detail-content {
        padding: 60px 0 80px;
    }

}

/* =========================================================
   COURSE DETAIL — LEARNING OUTCOMES
   ========================================================= */

.course-content-section {
    padding: 72px 0;
    border-top: 1px solid #e1e8ef;
}

.course-content-section > p {
    max-width: 700px;
    margin: 0;
    color: #667b90;
    font-size: 15px;
    line-height: 1.75;
}

.course-learning-outcomes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 34px 0 0;
    padding: 0;
    list-style: none;
}

.course-learning-outcomes li {
    position: relative;
    min-height: 110px;
    padding: 24px 26px 24px 58px;
    border: 1px solid #dfe7ef;
    border-radius: 14px;
    background: #ffffff;
    color: #52677d;
    font-size: 14px;
    line-height: 1.65;
}

.course-learning-outcomes li::before {
    content: "✓";
    position: absolute;
    top: 24px;
    left: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #eef6e9;
    color: #44af2b;
    font-size: 12px;
    font-weight: 800;
}

@media (max-width: 700px) {

    .course-learning-outcomes {
        grid-template-columns: 1fr;
    }

}

/* =========================================================
   COURSE DETAIL — MODULE GRID
   ========================================================= */

.course-modules-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 34px;
}

.course-module {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 20px;
    min-height: 150px;
    padding: 26px;
    border: 1px solid #dfe7ef;
    border-radius: 14px;
    background: #ffffff;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.course-module:hover {
    transform: translateY(-2px);
    border-color: #b9cce0;
    box-shadow: 0 12px 30px rgba(37, 67, 105, 0.07);
}

.course-module-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #eef6e9;
    color: #44af2b;
    font-size: 11px;
    font-weight: 800;
}

.course-module h3 {
    margin: 2px 0 9px;
    color: #2c5595;
    font-size: 17px;
    line-height: 1.3;
}

.course-module p {
    margin: 0;
    color: #6a7f94;
    font-size: 13px;
    line-height: 1.6;
}

@media (max-width: 800px) {

    .course-modules-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 650px) {

    .course-content-section {
        padding: 54px 0;
    }

    .course-module {
        grid-template-columns: 42px 1fr;
        gap: 14px;
        padding: 22px;
    }

    .course-module-number {
        width: 38px;
        height: 38px;
    }

}

/* =========================================================
   CERTIFR — ACCA ASSESSMENT
   ========================================================= */

.course-assessment-intro {
    max-width: 700px;
}

.course-assessment-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 34px;
}

.course-assessment-stat {
    padding: 28px 24px;
    border: 1px solid #dfe7ef;
    border-radius: 14px;
    background: #f9fbfd;
}

.course-assessment-stat strong {
    display: block;
    margin-bottom: 8px;
    color: #2c5595;
    font-size: 30px;
    line-height: 1;
    letter-spacing: -1px;
}

.course-assessment-stat span {
    color: #667b90;
    font-size: 12px;
    line-height: 1.5;
}

.course-assessment-note {
    margin-top: 22px !important;
    color: #8292a2 !important;
    font-size: 12px !important;
}


/* =========================================================
   CERTIFR — ENQUIRY CTA
   ========================================================= */

.course-enquiry-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    margin-top: 10px;
    padding: 48px 52px;
    border-radius: 18px;
    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(68, 175, 43, 0.12),
            transparent 30%
        ),
        #f5f9fd;
}

.course-enquiry-copy {
    max-width: 670px;
}

.course-enquiry-copy h2 {
    margin: 0 0 12px;
    color: #2c5595;
    font-size: 34px;
    line-height: 1.15;
    letter-spacing: -0.8px;
}

.course-enquiry-copy p {
    margin: 0;
    color: #667b90;
    font-size: 14px;
    line-height: 1.7;
}

.course-enquiry-button {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 15px 21px;
    border-radius: 7px;
    background: #2c5595;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.course-enquiry-button:hover {
    transform: translateY(-2px);
    background: #244879;
    color: #ffffff;
}

@media (max-width: 850px) {

    .course-assessment-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .course-enquiry-cta {
        align-items: flex-start;
        flex-direction: column;
    }

}

@media (max-width: 550px) {

    .course-assessment-grid {
        grid-template-columns: 1fr;
    }

    .course-enquiry-cta {
        padding: 32px 26px;
    }

    .course-enquiry-copy h2 {
        font-size: 29px;
    }

    .course-enquiry-button {
        justify-content: center;
        width: 100%;
    }

}

/* =========================================================
   FIX — MAKE ENTIRE COURSE CARD CLICKABLE
   ========================================================= */

.course-card {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.course-card-link {
    position: static;
    display: inline-flex;
    align-items: center;
    margin-top: auto;
    text-decoration: none;
}

.course-card-link::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.course-card:hover .course-card-link {
    color: #3d86ca;
}

/* =========================================================
   IFRSOLOGY — CONSULTATION PAGE
   ========================================================= */

.consultation-page {
    background: #ffffff;
}

.consultation-page .ifrs-home-container {
    width: min(1120px, calc(100% - 48px));
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

.consultation-hero {
    padding: 96px 0 92px;
    background:
        radial-gradient(
            circle at 82% 20%,
            rgba(68, 175, 43, 0.10),
            transparent 28%
        ),
        radial-gradient(
            circle at 72% 55%,
            rgba(61, 134, 202, 0.08),
            transparent 36%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f8fbff 66%,
            #f3f8fc 100%
        );
    border-bottom: 1px solid #e1e8ef;
}

.consultation-eyebrow {
    display: block;
    margin-bottom: 22px;
    color: #44af2b;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.consultation-hero h1 {
    max-width: 900px;
    margin: 0;
    color: #2c5595;
    font-size: clamp(54px, 5.5vw, 76px);
    line-height: 1.02;
    letter-spacing: -2.8px;
}

.consultation-hero h1 span {
    display: block;
    color: #44af2b;
}

.consultation-hero-lead {
    max-width: 690px;
    margin: 28px 0 0;
    color: #5f7489;
    font-size: 17px;
    line-height: 1.75;
}

.consultation-primary-button {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 34px;
    padding: 15px 21px;
    border-radius: 7px;
    background: #2c5595;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.consultation-primary-button:hover {
    transform: translateY(-2px);
    background: #244879;
    color: #ffffff;
}

.consultation-services {
    padding: 92px 0;
}

.consultation-section-heading {
    max-width: 720px;
    margin-bottom: 40px;
}

.consultation-section-heading > span {
    display: block;
    margin-bottom: 14px;
    color: #44af2b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.35px;
}

.consultation-section-heading h2 {
    margin: 0 0 15px;
    color: #2c5595;
    font-size: 36px;
    line-height: 1.17;
    letter-spacing: -1px;
}

.consultation-section-heading p {
    max-width: 650px;
    margin: 0;
    color: #667b90;
    font-size: 15px;
    line-height: 1.7;
}

.consultation-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.consultation-card {
    min-height: 270px;
    padding: 32px;
    border: 1px solid #dfe7ef;
    border-radius: 16px;
    background: #ffffff;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.consultation-card:hover {
    transform: translateY(-3px);
    border-color: #b9cce0;
    box-shadow: 0 16px 36px rgba(37, 67, 105, 0.08);
}

.consultation-card-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 26px;
    border-radius: 50%;
    background: #eef6e9;
    color: #44af2b;
    font-size: 11px;
    font-weight: 800;
}

.consultation-card h3 {
    margin: 0 0 14px;
    color: #2c5595;
    font-size: 21px;
    line-height: 1.25;
}

.consultation-card p {
    margin: 0;
    color: #667b90;
    font-size: 14px;
    line-height: 1.7;
}

@media (max-width: 850px) {

    .consultation-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 650px) {

    .consultation-page .ifrs-home-container {
        width: calc(100% - 36px);
    }

    .consultation-hero {
        padding: 62px 0 60px;
    }

    .consultation-hero h1 {
        font-size: 46px;
        letter-spacing: -1.8px;
    }

}

/* =========================================================
   CONSULTATION — PROCESS + CTA
   ========================================================= */

.consultation-process {
    padding: 88px 0;
    background: #f8fafc;
    border-top: 1px solid #e1e8ef;
    border-bottom: 1px solid #e1e8ef;
}

.consultation-process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 38px;
}

.consultation-process-grid > div {
    padding: 4px 42px 8px 0;
}

.consultation-process-grid > div + div {
    padding-left: 42px;
    border-left: 1px solid #dce5ee;
}

.consultation-process-grid strong {
    display: block;
    margin-bottom: 16px;
    color: #44af2b;
    font-size: 12px;
    font-weight: 800;
}

.consultation-process-grid h3 {
    margin: 0 0 10px;
    color: #2c5595;
    font-size: 19px;
    line-height: 1.3;
}

.consultation-process-grid p {
    margin: 0;
    color: #6a7f94;
    font-size: 13px;
    line-height: 1.65;
}

.consultation-cta {
    padding: 90px 0 110px;
}

.consultation-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 50px 52px;
    border-radius: 18px;
    background:
        radial-gradient(
            circle at 88% 20%,
            rgba(68, 175, 43, 0.12),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #f6f9fd 0%,
            #eef5fb 100%
        );
}

.consultation-cta-box > div {
    max-width: 680px;
}

.consultation-cta-box > div > span {
    display: block;
    margin-bottom: 12px;
    color: #44af2b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.consultation-cta-box h2 {
    margin: 0 0 12px;
    color: #2c5595;
    font-size: 34px;
    line-height: 1.15;
    letter-spacing: -0.8px;
}

.consultation-cta-box p {
    margin: 0;
    color: #667b90;
    font-size: 14px;
    line-height: 1.7;
}

.consultation-cta-box > a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 15px 21px;
    border-radius: 7px;
    background: #2c5595;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.consultation-cta-box > a:hover {
    background: #244879;
    color: #ffffff;
}

@media (max-width: 850px) {

    .consultation-process-grid {
        grid-template-columns: 1fr;
    }

    .consultation-process-grid > div {
        padding: 24px 0;
    }

    .consultation-process-grid > div + div {
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid #dce5ee;
    }

    .consultation-cta-box {
        align-items: flex-start;
        flex-direction: column;
    }

}

@media (max-width: 650px) {

    .consultation-services,
    .consultation-process {
        padding: 62px 0;
    }

    .consultation-cta {
        padding: 62px 0 80px;
    }

    .consultation-cta-box {
        padding: 32px 26px;
    }

    .consultation-cta-box h2 {
        font-size: 29px;
    }

    .consultation-cta-box > a {
        justify-content: center;
        width: 100%;
    }

}

/* =========================================================
   IFRSOLOGY — CONTACT PAGE
   ========================================================= */

.contact-page {
    background: #ffffff;
}

.contact-page .ifrs-home-container {
    width: min(1120px, calc(100% - 48px));
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

.contact-hero {
    padding: 88px 0 82px;
    background:
        radial-gradient(
            circle at 82% 20%,
            rgba(61, 134, 202, 0.10),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f8fbff 68%,
            #f3f8fc 100%
        );
    border-bottom: 1px solid #e1e8ef;
}

.contact-eyebrow,
.contact-section-label,
.contact-form-label {
    display: block;
    margin-bottom: 16px;
    color: #44af2b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.35px;
}

.contact-hero h1 {
    margin: 0;
    color: #2c5595;
    font-size: clamp(56px, 5.5vw, 76px);
    line-height: 1;
    letter-spacing: -2.8px;
}

.contact-hero h1 span {
    color: #44af2b;
}

.contact-hero p {
    max-width: 650px;
    margin: 26px 0 0;
    color: #5f7489;
    font-size: 17px;
    line-height: 1.75;
}

.contact-main {
    padding: 88px 0 110px;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: 90px;
    align-items: start;
}

.contact-copy h2 {
    margin: 0 0 18px;
    color: #2c5595;
    font-size: 36px;
    line-height: 1.17;
    letter-spacing: -1px;
}

.contact-copy > p {
    max-width: 560px;
    margin: 0 0 38px;
    color: #667b90;
    font-size: 15px;
    line-height: 1.75;
}

.contact-option {
    padding: 22px 0;
    border-top: 1px solid #e1e8ef;
}

.contact-option strong {
    display: block;
    margin-bottom: 7px;
    color: #2c5595;
    font-size: 16px;
}

.contact-option p {
    margin: 0;
    color: #6d8194;
    font-size: 13px;
    line-height: 1.65;
}

@media (max-width: 850px) {

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 55px;
    }

}

@media (max-width: 650px) {

    .contact-page .ifrs-home-container {
        width: calc(100% - 36px);
    }

    .contact-hero {
        padding: 60px 0 56px;
    }

    .contact-hero h1 {
        font-size: 48px;
    }

    .contact-main {
        padding: 62px 0 80px;
    }

}

/* =========================================================
   CONTACT — FORM CARD
   ========================================================= */

.contact-form-card {
    padding: 38px;
    border: 1px solid #dfe7ef;
    border-radius: 18px;
    background: #f9fbfd;
}

.contact-field {
    margin-bottom: 22px;
}

.contact-field label {
    display: block;
    margin-bottom: 8px;
    color: #2c5595;
    font-size: 12px;
    font-weight: 700;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 14px;
    border: 1px solid #d4dfe9;
    border-radius: 8px;
    background: #ffffff;
    color: #334c65;
    font: inherit;
    font-size: 14px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.contact-field textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    outline: none;
    border-color: #3d86ca;
    box-shadow: 0 0 0 3px rgba(61, 134, 202, 0.10);
}

.contact-submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    padding: 15px 20px;
    border: 0;
    border-radius: 8px;
    background: #2c5595;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.contact-submit-button:hover {
    background: #244879;
}

.contact-form-note {
    margin: 14px 0 0;
    color: #8a99a8;
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
}

@media (max-width: 650px) {

    .contact-form-card {
        padding: 28px 24px;
    }

}

/* =========================================================
   IFRSOLOGY — ABOUT PAGE
   ========================================================= */

.about-page {
    background: #ffffff;
}

.about-page .ifrs-home-container {
    width: min(1120px, calc(100% - 48px));
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

.about-hero {
    padding: 96px 0 90px;
    background:
        radial-gradient(
            circle at 82% 20%,
            rgba(61, 134, 202, 0.10),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f8fbff 68%,
            #f3f8fc 100%
        );
    border-bottom: 1px solid #e1e8ef;
}

.about-eyebrow,
.about-section-label {
    display: block;
    margin-bottom: 18px;
    color: #44af2b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.about-hero h1 {
    max-width: 950px;
    margin: 0;
    color: #2c5595;
    font-size: clamp(56px, 5.5vw, 78px);
    line-height: 1.01;
    letter-spacing: -3px;
}

.about-hero h1 span {
    display: block;
    color: #44af2b;
}

.about-hero-lead {
    max-width: 700px;
    margin: 30px 0 0;
    color: #5f7489;
    font-size: 17px;
    line-height: 1.75;
}

.about-intro {
    padding: 92px 0;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 100px;
    align-items: start;
}

.about-intro-grid h2 {
    max-width: 500px;
    margin: 0;
    color: #2c5595;
    font-size: 38px;
    line-height: 1.16;
    letter-spacing: -1.1px;
}

.about-intro-copy p {
    margin: 0 0 22px;
    color: #667b90;
    font-size: 15px;
    line-height: 1.8;
}

@media (max-width: 800px) {

    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

}

@media (max-width: 650px) {

    .about-page .ifrs-home-container {
        width: calc(100% - 36px);
    }

    .about-hero {
        padding: 62px 0 58px;
    }

    .about-hero h1 {
        font-size: 46px;
        letter-spacing: -1.8px;
    }

    .about-intro {
        padding: 62px 0;
    }

    .about-intro-grid h2 {
        font-size: 31px;
    }

}

/* =========================================================
   ABOUT — APPROACH + OFFERINGS
   ========================================================= */

.about-approach {
    padding: 88px 0;
    background: #f8fafc;
    border-top: 1px solid #e1e8ef;
    border-bottom: 1px solid #e1e8ef;
}

.about-section-heading {
    max-width: 720px;
    margin-bottom: 42px;
}

.about-section-heading > span {
    display: block;
    margin-bottom: 14px;
    color: #44af2b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.35px;
}

.about-section-heading h2 {
    margin: 0 0 14px;
    color: #2c5595;
    font-size: 36px;
    line-height: 1.16;
    letter-spacing: -1px;
}

.about-section-heading p {
    max-width: 640px;
    margin: 0;
    color: #667b90;
    font-size: 15px;
    line-height: 1.7;
}

.about-approach-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
}

.about-approach-grid article {
    padding: 10px 42px 12px 0;
}

.about-approach-grid article + article {
    padding-left: 42px;
    border-left: 1px solid #dce5ee;
}

.about-approach-grid article > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 22px;
    border-radius: 50%;
    background: #eef6e9;
    color: #44af2b;
    font-size: 11px;
    font-weight: 800;
}

.about-approach-grid h3 {
    margin: 0 0 10px;
    color: #2c5595;
    font-size: 20px;
}

.about-approach-grid p {
    margin: 0;
    color: #6a7f94;
    font-size: 13px;
    line-height: 1.7;
}

.about-offering {
    padding: 92px 0 110px;
}

.about-offering-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.about-offering-grid article {
    position: relative;
    min-height: 245px;
    padding: 32px;
    border: 1px solid #dfe7ef;
    border-radius: 16px;
    background: #ffffff;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.about-offering-grid article:hover {
    transform: translateY(-3px);
    border-color: #b9cce0;
    box-shadow: 0 16px 36px rgba(37, 67, 105, 0.08);
}

.about-offering-grid h3 {
    margin: 0 0 13px;
    color: #2c5595;
    font-size: 22px;
}

.about-offering-grid p {
    margin: 0 0 36px;
    color: #667b90;
    font-size: 14px;
    line-height: 1.7;
}

.about-offering-grid a {
    position: absolute;
    left: 32px;
    bottom: 30px;
    color: #2c5595;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 850px) {

    .about-approach-grid,
    .about-offering-grid {
        grid-template-columns: 1fr;
    }

    .about-approach-grid article {
        padding: 26px 0;
    }

    .about-approach-grid article + article {
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid #dce5ee;
    }

}

@media (max-width: 650px) {

    .about-approach,
    .about-offering {
        padding: 62px 0;
    }

}

/* =========================================================
   IFRSOLOGY — NEWS & INSIGHTS
   ========================================================= */

.insights-page {
    background: #ffffff;
}

.insights-page .ifrs-home-container {
    width: min(1120px, calc(100% - 48px));
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

.insights-hero {
    padding: 94px 0 88px;
    background:
        radial-gradient(
            circle at 82% 20%,
            rgba(61, 134, 202, 0.10),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f8fbff 68%,
            #f3f8fc 100%
        );
    border-bottom: 1px solid #e1e8ef;
}

.insights-eyebrow {
    display: block;
    margin-bottom: 20px;
    color: #44af2b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.insights-hero h1 {
    max-width: 950px;
    margin: 0;
    color: #2c5595;
    font-size: clamp(56px, 5.5vw, 76px);
    line-height: 1.01;
    letter-spacing: -2.8px;
}

.insights-hero h1 span {
    display: block;
    color: #44af2b;
}

.insights-hero-lead {
    max-width: 700px;
    margin: 28px 0 0;
    color: #5f7489;
    font-size: 17px;
    line-height: 1.75;
}

.insights-categories {
    padding: 86px 0;
}

.insights-section-heading {
    max-width: 720px;
    margin-bottom: 38px;
}

.insights-section-heading > span {
    display: block;
    margin-bottom: 14px;
    color: #44af2b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.35px;
}

.insights-section-heading h2 {
    margin: 0;
    color: #2c5595;
    font-size: 36px;
    line-height: 1.16;
    letter-spacing: -1px;
}

.insights-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.insights-category-card {
    position: relative;
    min-height: 210px;
    padding: 30px;
    border: 1px solid #dfe7ef;
    border-radius: 16px;
    background: #ffffff;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.insights-category-card:hover {
    transform: translateY(-3px);
    border-color: #b9cce0;
    box-shadow: 0 16px 36px rgba(37, 67, 105, 0.08);
}

.insights-category-label {
    display: block;
    margin-bottom: 18px;
    color: #2c5595;
    font-size: 19px;
    font-weight: 800;
}

.insights-category-card p {
    margin: 0 0 34px;
    color: #667b90;
    font-size: 13px;
    line-height: 1.7;
}

.insights-category-card a {
    position: absolute;
    left: 30px;
    bottom: 26px;
    color: #2c5595;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 850px) {

    .insights-category-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 650px) {

    .insights-page .ifrs-home-container {
        width: calc(100% - 36px);
    }

    .insights-hero {
        padding: 62px 0 58px;
    }

    .insights-hero h1 {
        font-size: 46px;
        letter-spacing: -1.8px;
    }

}

/* =========================================================
   NEWS & INSIGHTS — ARTICLES
   ========================================================= */

.insights-latest {
    padding: 86px 0 110px;
    background: #f8fafc;
    border-top: 1px solid #e1e8ef;
}

.insights-article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.insights-article-card {
    display: flex;
    flex-direction: column;
    min-height: 290px;
    padding: 30px;
    border: 1px solid #dfe7ef;
    border-radius: 16px;
    background: #ffffff;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.insights-article-card:hover {
    transform: translateY(-3px);
    border-color: #b9cce0;
    box-shadow: 0 16px 36px rgba(37, 67, 105, 0.08);
}

.insights-article-category {
    display: block;
    margin-bottom: 18px;
    color: #44af2b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.insights-article-card h3 {
    margin: 0 0 14px;
    font-size: 21px;
    line-height: 1.3;
}

.insights-article-card h3 a {
    color: #2c5595;
    text-decoration: none;
}

.insights-article-card p {
    margin: 0 0 28px;
    color: #667b90;
    font-size: 13px;
    line-height: 1.7;
}

.insights-article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #e5ebf1;
}

.insights-article-footer time {
    color: #8a99a8;
    font-size: 11px;
}

.insights-article-footer a {
    color: #2c5595;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.insights-empty-state {
    padding: 52px;
    border: 1px solid #dfe7ef;
    border-radius: 18px;
    background: #ffffff;
    text-align: center;
}

.insights-empty-state > span {
    display: block;
    margin-bottom: 12px;
    color: #44af2b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.insights-empty-state h3 {
    margin: 0 0 12px;
    color: #2c5595;
    font-size: 28px;
}

.insights-empty-state p {
    max-width: 560px;
    margin: 0 auto;
    color: #667b90;
    font-size: 14px;
    line-height: 1.7;
}

@media (max-width: 950px) {

    .insights-article-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 650px) {

    .insights-categories,
    .insights-latest {
        padding: 62px 0;
    }

    .insights-article-grid {
        grid-template-columns: 1fr;
    }

    .insights-empty-state {
        padding: 38px 24px;
    }

}

/* =========================================================
   IFRSOLOGY — SINGLE INSIGHT ARTICLE
   ========================================================= */

.insight-single-page {
    background: #ffffff;
}

.insight-single-page .ifrs-home-container {
    width: min(1120px, calc(100% - 48px));
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

.insight-single-hero {
    padding: 72px 0 74px;
    background:
        radial-gradient(
            circle at 82% 20%,
            rgba(61, 134, 202, 0.10),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f8fbff 68%,
            #f3f8fc 100%
        );
    border-bottom: 1px solid #e1e8ef;
}

.insight-back-link {
    display: inline-flex;
    margin-bottom: 34px;
    color: #708398;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.insight-back-link:hover {
    color: #2c5595;
}

.insight-single-category {
    display: block;
    margin-bottom: 18px;
    color: #44af2b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.35px;
    text-transform: uppercase;
}

.insight-single-hero h1 {
    max-width: 930px;
    margin: 0;
    color: #2c5595;
    font-size: clamp(46px, 5vw, 68px);
    line-height: 1.06;
    letter-spacing: -2.2px;
}

.insight-single-meta {
    margin-top: 24px;
    color: #8292a2;
    font-size: 12px;
}

@media (max-width: 650px) {

    .insight-single-page .ifrs-home-container {
        width: calc(100% - 36px);
    }

    .insight-single-hero {
        padding: 56px 0;
    }

    .insight-single-hero h1 {
        font-size: 42px;
        letter-spacing: -1.5px;
    }

}

/* =========================================================
   SINGLE INSIGHT — ARTICLE BODY
   ========================================================= */

.insight-single-content {
    padding: 78px 0 110px;
}

.insight-article-body {
    max-width: 780px;
    margin: 0 auto;
}

.insight-article-body > *:first-child {
    margin-top: 0;
}

.insight-article-body p {
    margin: 0 0 24px;
    color: #52677d;
    font-size: 16px;
    line-height: 1.85;
}

.insight-article-body h2 {
    margin: 54px 0 18px;
    color: #2c5595;
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: -0.7px;
}

.insight-article-body h3 {
    margin: 38px 0 14px;
    color: #2c5595;
    font-size: 23px;
    line-height: 1.3;
}

.insight-article-body ul,
.insight-article-body ol {
    margin: 0 0 28px;
    padding-left: 24px;
    color: #52677d;
}

.insight-article-body li {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.75;
}

.insight-article-body strong {
    color: #2c5595;
}

.insight-article-body blockquote {
    margin: 36px 0;
    padding: 24px 28px;
    border-left: 3px solid #44af2b;
    background: #f7fafc;
    color: #4f657a;
}

.insight-article-body a {
    color: #2c5595;
    font-weight: 700;
}

.insight-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.insight-article-body table {
    width: 100%;
    margin: 32px 0;
    border-collapse: collapse;
    font-size: 14px;
}

.insight-article-body th,
.insight-article-body td {
    padding: 14px;
    border: 1px solid #dfe7ef;
    text-align: left;
}

.insight-article-body th {
    background: #f5f8fb;
    color: #2c5595;
}

@media (max-width: 650px) {

    .insight-single-content {
        padding: 58px 0 80px;
    }

    .insight-article-body h2 {
        font-size: 28px;
    }

}

/* =========================================================
   IFRSOLOGY — SITE FOOTER
   ========================================================= */

.site-footer {
    margin-top: 0;
    background: #173a67;
    color: #ffffff;
}

.footer-container {
    width: min(1120px, calc(100% - 48px));
    max-width: 1120px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 0.8fr));
    gap: 64px;
    padding: 68px 0 58px;
}

.footer-brand {
    max-width: 330px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 21px;
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-decoration: none;
}

.footer-logo img {
    display: block;
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.footer-brand p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    line-height: 1.75;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer-column-title {
    margin-bottom: 8px;
    color: #81aee4;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    line-height: 1.5;
    text-decoration: none;
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.footer-column a:hover {
    color: #ffffff;
    transform: translateX(2px);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 22px 0 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
    line-height: 1.6;
}

.footer-disclaimer {
    text-align: right;
}

@media (max-width: 900px) {

    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 42px 50px;
    }

    .footer-brand {
        max-width: 420px;
    }

}

@media (max-width: 650px) {

    .footer-container {
        width: calc(100% - 36px);
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 38px 28px;
        padding: 52px 0 44px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .footer-disclaimer {
        text-align: left;
    }

}

@media (max-width: 420px) {

    .footer-main {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   ABOUT — REFERENCE BRAND VISUAL
   ========================================================= */

.about-reference-brand {
    padding: 72px 0 82px;
    background: #ffffff;
}

.about-reference-brand-inner {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.about-reference-title {
    margin: 0 0 44px;
    color: #39ae2f;
    font-size: clamp(30px, 3.1vw, 48px);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -1px;
}


/* Main wordmark area */

.about-reference-stage {
    position: relative;
    width: min(940px, 88%);
    height: 330px;
    margin-left: auto;
}


/* Upper dashed bracket — deliberately only above IFRS */

.about-reference-top-bracket {
    position: absolute;
    top: 0;
    left: 0;
    width: 43%;
    height: 56px;

    border-top: 3px dashed #FFAD00;
    border-left: 3px dashed #FFAD00;
    border-right: 3px dashed #FFAD00;

    border-radius: 28px 28px 0 0;
}


/* Large IFRSology word */

.about-reference-wordmark {
    position: absolute;
    top: 57px;
    left: 0;

    display: flex;
    align-items: baseline;

    color: #2c5595;
    white-space: nowrap;

    font-size: clamp(104px, 10.2vw, 160px);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.045em;
}

.about-reference-ifrs {
    font-weight: 300;
    letter-spacing: 0.075em;
}

.about-reference-ology {
    font-weight: 300;
    letter-spacing: -0.035em;
}


/* Lower dashed bracket — spans the full word */

.about-reference-bottom-bracket {
    position: absolute;
    left: 3%;
    width: 76%;
    bottom: 0;
    height: 50px;

    border-left: 3px dashed #FFAD00;
    border-right: 3px dashed #FFAD00;
    border-bottom: 3px dashed #FFAD00;

    border-radius: 0 0 30px 30px;
}


/* Tagline */

.about-reference-tagline {
    width: min(940px, 88%);
    margin: 22px 0 0 auto;
    transform: translateX(-9%);

    color: #39ae2f;
    font-size: clamp(38px, 4.5vw, 66px);
    font-weight: 300;
    line-height: 1.12;
    letter-spacing: -1.5px;
    text-align: center;
}


/* Tablet */

@media (max-width: 900px) {

    .about-reference-title {
        margin-bottom: 36px;
        font-size: 30px;
    }

    .about-reference-stage {
        width: 100%;
        height: 265px;
    }

    .about-reference-wordmark {
        top: 58px;
        font-size: clamp(80px, 14vw, 118px);
    }

    .about-reference-tagline {
        width: 100%;
        font-size: 42px;
    }
}


/* Mobile */

@media (max-width: 650px) {

    .about-reference-brand {
        padding: 54px 0 62px;
    }

    .about-reference-title {
        margin-bottom: 30px;
        font-size: 24px;
        line-height: 1.3;
    }

    .about-reference-stage {
        height: 190px;
    }

    .about-reference-top-bracket {
        width: 43%;
        height: 35px;
        border-width: 2px;
        border-radius: 18px 18px 0 0;
    }

    .about-reference-wordmark {
        top: 40px;
        font-size: clamp(52px, 17vw, 76px);
    }

    .about-reference-bottom-bracket {
        height: 32px;
        border-width: 2px;
        border-radius: 0 0 18px 18px;
    }

    .about-reference-tagline {
        margin-top: 18px;
        transform: none;
        font-size: 31px;
        line-height: 1.15;
    }
}

/* Header navigation accent */
.site-header nav a::after,
.site-nav a::after,
.main-navigation a::after {
    background-color: #FFAD00 !important;
}

.site-header nav a:hover,
.site-header nav a:focus-visible,
.site-header nav a[aria-current="page"],
.site-nav a:hover,
.site-nav a[aria-current="page"],
.main-navigation a:hover,
.main-navigation a[aria-current="page"] {
    border-bottom-color: #FFAD00 !important;
}

/* Header navigation accent — Orange */
.site-header nav a::after,
.site-nav a::after,
.main-navigation a::after {
    background-color: #FFAD00 !important;
}

.site-header nav a:hover,
.site-header nav a:focus-visible,
.site-header nav a[aria-current="page"],
.site-nav a:hover,
.site-nav a[aria-current="page"],
.main-navigation a:hover,
.main-navigation a[aria-current="page"] {
    border-bottom-color: #FFAD00 !important;
}

/* About page dotted frame accent */
.about-brand-frame,
.about-brand-frame::before,
.about-brand-frame::after {
    border-color: #FFAD00 !important;
}

.about-brand-frame svg,
.about-brand-frame path,
.about-brand-frame line {
    stroke: #FFAD00 !important;
}

/* =========================================================
   IFRSOLOGY — GLOBAL EYEBROW ACCENT
   ========================================================= */

[class*="eyebrow"] {
    color: #FFAD00 !important;
}

[class*="eyebrow"]::before,
[class*="eyebrow"]::after {
    background-color: #FFAD00 !important;
    border-color: #FFAD00 !important;
}


/* =========================================================
   MEET HESHAM PAGE
   ========================================================= */

.hesham-page {
    background: #ffffff;
}

.hesham-page .ifrs-home-container {
    width: min(1120px, calc(100% - 48px));
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}


/* HERO */

.hesham-hero {
    padding: 74px 0 84px;
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(61, 134, 202, 0.10),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f8fbff 70%,
            #f3f8fc 100%
        );
    border-bottom: 1px solid #e1e8ef;
}

.hesham-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
    gap: 82px;
    align-items: center;
}

.hesham-eyebrow {
    display: block;
    margin-bottom: 18px;
    color: #FFAD00;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.hesham-hero h1 {
    margin: 0;
    color: #2c5595;
    font-size: clamp(58px, 6vw, 82px);
    line-height: 0.98;
    letter-spacing: -3px;
}

.hesham-hero h1 span {
    display: block;
    color: #44af2b;
}

.hesham-hero-role {
    max-width: 570px;
    margin: 27px 0 0;
    color: #2c5595;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.5;
}

.hesham-hero-intro {
    max-width: 600px;
    margin: 20px 0 0;
    color: #60768b;
    font-size: 15px;
    line-height: 1.8;
}

.hesham-hero-actions,
.hesham-closing-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 31px;
}

.hesham-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 47px;
    padding: 0 23px;
    border-radius: 8px;
    background: #173a67;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.hesham-primary-button:hover {
    background: #2c5595;
}

.hesham-text-link {
    color: #2c5595;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}


/* PORTRAIT */

.hesham-portrait-wrap {
    position: relative;
    max-width: 430px;
    margin-left: auto;
    padding: 0 0 18px 18px;
}

.hesham-portrait-accent {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 72%;
    height: 72%;
    border-left: 3px solid #FFAD00;
    border-bottom: 3px solid #FFAD00;
    border-radius: 0 0 0 22px;
}

.hesham-portrait {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    border-radius: 22px;
}


/* STORY */

.hesham-story {
    padding: 94px 0;
}

.hesham-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 100px;
}

.hesham-section-heading h2 {
    margin: 0;
    color: #2c5595;
    font-size: 38px;
    line-height: 1.16;
    letter-spacing: -1.1px;
}

.hesham-story-copy p {
    margin: 0 0 21px;
    color: #63798e;
    font-size: 15px;
    line-height: 1.8;
}


/* PERSPECTIVE */

.hesham-perspective {
    padding: 88px 0 94px;
    background: #f8fafc;
    border-top: 1px solid #e1e8ef;
    border-bottom: 1px solid #e1e8ef;
}

.hesham-section-heading-center {
    max-width: 720px;
    margin: 0 auto 44px;
    text-align: center;
}

.hesham-section-heading-center p {
    max-width: 620px;
    margin: 15px auto 0;
    color: #667b90;
    font-size: 14px;
    line-height: 1.75;
}

.hesham-perspective-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.hesham-perspective-grid article {
    padding: 32px;
    border: 1px solid #dfe7ef;
    border-radius: 16px;
    background: #ffffff;
}

.hesham-card-number {
    display: block;
    margin-bottom: 24px;
    color: #FFAD00;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.hesham-perspective-grid h3 {
    margin: 0 0 11px;
    color: #2c5595;
    font-size: 22px;
}

.hesham-perspective-grid p {
    margin: 0;
    color: #667b90;
    font-size: 13px;
    line-height: 1.75;
}


/* METHOD */

.hesham-method {
    padding: 96px 0;
}

.hesham-method-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 100px;
    align-items: start;
}

.hesham-method h2 {
    max-width: 420px;
    margin: 0;
    color: #2c5595;
    font-size: 46px;
    line-height: 1.08;
    letter-spacing: -1.5px;
}

.hesham-method h2 span {
    color: #44af2b;
}

.hesham-method-steps > div {
    padding: 0 0 27px;
    margin-bottom: 27px;
    border-bottom: 1px solid #dfe7ef;
}

.hesham-method-steps > div:last-child {
    margin-bottom: 0;
}

.hesham-method-steps strong {
    display: block;
    margin-bottom: 8px;
    color: #2c5595;
    font-size: 17px;
}

.hesham-method-steps p {
    margin: 0;
    color: #667b90;
    font-size: 14px;
    line-height: 1.75;
}


/* CLOSING */

.hesham-closing {
    padding: 84px 0 96px;
    background: #f8fafc;
    border-top: 1px solid #e1e8ef;
}

.hesham-closing-inner {
    max-width: 760px;
}

.hesham-closing h2 {
    margin: 0 0 15px;
    color: #2c5595;
    font-size: 42px;
    line-height: 1.15;
    letter-spacing: -1.2px;
}

.hesham-closing-inner > p {
    max-width: 650px;
    margin: 0;
    color: #667b90;
    font-size: 15px;
    line-height: 1.75;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .hesham-hero-grid,
    .hesham-story-grid,
    .hesham-method-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hesham-portrait-wrap {
        max-width: 480px;
        margin: 0;
    }

    .hesham-perspective-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {

    .hesham-page .ifrs-home-container {
        width: calc(100% - 36px);
    }

    .hesham-hero {
        padding: 58px 0 62px;
    }

    .hesham-hero h1 {
        font-size: 52px;
        letter-spacing: -2px;
    }

    .hesham-story,
    .hesham-perspective,
    .hesham-method,
    .hesham-closing {
        padding: 62px 0;
    }

    .hesham-section-heading h2 {
        font-size: 31px;
    }

    .hesham-method h2 {
        font-size: 38px;
    }

    .hesham-hero-actions,
    .hesham-closing-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* IFRSOLOGY — ABOUT NAVIGATION DROPDOWN */

.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-trigger {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
}

.nav-dropdown-arrow {
    position: relative;
    top: -1px;
    font-size: 12px;
    transition: transform 0.2s ease;
}

.nav-dropdown-menu {
    position: absolute;
    z-index: 1000;
    top: calc(100% + 18px);
    right: -24px;

    width: 310px;
    padding: 8px;

    border: 1px solid #dfe7ef;
    border-radius: 14px;

    background: #ffffff;

    box-shadow:
        0 18px 48px rgba(23, 58, 103, 0.14);

    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);

    transition:
        opacity 0.18s ease,
        visibility 0.18s ease,
        transform 0.18s ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown:hover .nav-dropdown-arrow,
.nav-dropdown:focus-within .nav-dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu::before {
    content: "";
    position: absolute;
    top: -18px;
    left: 0;
    right: 0;
    height: 18px;
}

.nav-dropdown-menu > a {
    display: block !important;
    padding: 14px 15px !important;

    border-radius: 9px;

    text-decoration: none !important;

    transition:
        background-color 0.18s ease,
        transform 0.18s ease;
}

.nav-dropdown-menu > a::after {
    display: none !important;
}

.nav-dropdown-menu > a:hover,
.nav-dropdown-menu > a:focus-visible {
    background: #f6f9fc;
    transform: none !important;
}

.nav-dropdown-menu strong {
    display: block;

    margin-bottom: 4px;

    color: #2c5595;

    font-size: 13px;
    font-weight: 800;
}

.nav-dropdown-menu span:not(.nav-dropdown-arrow) {
    display: block;

    color: #718498;

    font-size: 11px;
    font-weight: 400;
    line-height: 1.45;
}


/* Mobile navigation */

@media (max-width: 800px) {

    .nav-dropdown {
        display: block;
        width: 100%;
    }

    .nav-dropdown-trigger {
        width: 100%;
    }

    .nav-dropdown-arrow {
        margin-left: auto;
    }

    .nav-dropdown-menu {
        position: static;

        width: 100%;
        margin: 4px 0 8px;
        padding: 4px 0 4px 14px;

        border: 0;
        border-left: 2px solid #FFAD00;
        border-radius: 0;

        box-shadow: none;

        opacity: 1;
        visibility: visible;
        transform: none;

        background: transparent;
    }

    .nav-dropdown-menu > a {
        padding: 10px 12px !important;
    }

    .nav-dropdown-menu span {
        display: none !important;
    }

}

/* =========================================================
   MEET HESHAM — HERO REFINEMENT
   ========================================================= */

.hesham-hero {
    padding: 88px 0 92px;
}

.hesham-hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.75fr);
    gap: 72px;
    align-items: center;
}

.hesham-hero-content {
    max-width: 620px;
}

.hesham-hero .hesham-eyebrow {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.hesham-hero .hesham-eyebrow::before {
    content: "";
    display: block;
    width: 30px;
    height: 2px;
    background: #FFAD00;
}

.hesham-hero h1 {
    font-size: clamp(58px, 5.7vw, 78px);
    line-height: 0.98;
    letter-spacing: -2.8px;
}

.hesham-hero-role {
    max-width: 560px;
    margin-top: 27px;
    font-size: 18px;
    line-height: 1.55;
}

.hesham-hero-intro {
    max-width: 570px;
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.8;
}

.hesham-hero-actions {
    margin-top: 30px;
}


/* Portrait */

.hesham-portrait-wrap {
    position: relative;
    width: 100%;
    max-width: 390px;
    margin-left: auto;
    padding: 0 0 15px 15px;
}

.hesham-portrait {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 22px 52px rgba(23, 58, 103, 0.13);
}

.hesham-portrait-accent {
    left: 0;
    bottom: 0;
    width: 67%;
    height: 67%;
    border-left: 3px solid #FFAD00;
    border-bottom: 3px solid #FFAD00;
    border-radius: 0 0 0 18px;
}


/* Tablet */

@media (max-width: 900px) {

    .hesham-hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hesham-hero-content {
        max-width: 680px;
    }

    .hesham-portrait-wrap {
        max-width: 420px;
        margin-left: 0;
    }
}


/* Mobile */

@media (max-width: 650px) {

    .hesham-hero {
        padding: 58px 0 66px;
    }

    .hesham-hero h1 {
        font-size: 50px;
        letter-spacing: -2px;
    }

    .hesham-hero-role {
        font-size: 17px;
    }

    .hesham-portrait-wrap {
        max-width: 100%;
    }
}

/* Homepage hero eyebrow + accent line */
.hero-eyebrow {
    color: #C121EB !important;
}

.hero-eyebrow::before {
    background: #C121EB !important;
}


/* Homepage hero eyebrow + accent line */
.hero-eyebrow {
    color: #C121EB !important;
}

.hero-eyebrow::before {
    background: #C121EB !important;
}


/* Homepage hero eyebrow — Purple */
.ifrs-wide-eyebrow {
    color: #C121EB !important;
}

.ifrs-wide-eyebrow-line {
    background-color: #C121EB !important;
    border-color: #C121EB !important;
}


/* Homepage hero eyebrow — Pink Purple */
.ifrs-wide-eyebrow {
    color: #DD57D4 !important;
}

.ifrs-wide-eyebrow-line {
    background-color: #DD57D4 !important;
    border-color: #DD57D4 !important;
}


/* =========================================================
   IFRSOLOGY — GLOBAL EYEBROW ACCENT COLOR
   ========================================================= */

/* All eyebrow text */
[class*="eyebrow"] {
    color: #DD57D4 !important;
}

/* Accent lines created with pseudo-elements */
[class*="eyebrow"]::before,
[class*="eyebrow"]::after {
    background-color: #DD57D4 !important;
    border-color: #DD57D4 !important;
}

/* Separate eyebrow line elements */
[class*="eyebrow-line"] {
    background-color: #DD57D4 !important;
    border-color: #DD57D4 !important;
}


/* IFRS Consultation — eyebrow */
body .consultation-eyebrow {
    color: #DD57D4 !important;
}

body .consultation-eyebrow::before,
body .consultation-eyebrow::after {
    background-color: #DD57D4 !important;
    border-color: #DD57D4 !important;
}


/* Consultation section eyebrow */
.consultation-page .consultation-section-heading > span {
    color: #DD57D4 !important;
}


/* =========================================================
   IFRSOLOGY DESIGN SYSTEM — EYEBROW / KICKER ACCENT
   Change ONLY this variable to recolor all eyebrow elements.
   ========================================================= */

:root {
    --ifrs-eyebrow-color: #DD57D4;
}

/* ---------------------------------------------------------
   EYEBROW / KICKER TEXT
   --------------------------------------------------------- */

.ifrs-wide-eyebrow,
.ifrs-section-eyebrow,
.courses-eyebrow,
.course-detail-eyebrow,
.course-section-label,
.standards-group-kicker,
.consultation-eyebrow,
.consultation-section-heading > span,
.contact-eyebrow,
.contact-section-label,
.about-eyebrow,
.about-section-label,
.about-section-heading > span,
.insights-eyebrow,
.insights-section-heading > span,
.insights-category-label,
.hesham-eyebrow {
    color: var(--ifrs-eyebrow-color) !important;
}

/* ---------------------------------------------------------
   EYEBROW ACCENT LINES
   --------------------------------------------------------- */

.ifrs-wide-eyebrow-line,
.ifrs-section-eyebrow::before,
.ifrs-section-eyebrow::after,
.course-detail-eyebrow::before,
.course-detail-eyebrow::after,
.consultation-eyebrow::before,
.consultation-eyebrow::after,
.contact-eyebrow::before,
.contact-eyebrow::after,
.about-eyebrow::before,
.about-eyebrow::after,
.insights-eyebrow::before,
.insights-eyebrow::after,
.hesham-eyebrow::before,
.hesham-eyebrow::after {
    background-color: var(--ifrs-eyebrow-color) !important;
    border-color: var(--ifrs-eyebrow-color) !important;
}



/* =========================================================
   HOMEPAGE — CONSULTATION CTA
   ========================================================= */

.home-consultation-cta {
    padding: 80px 0;
    background: #f4f8fc;
    border-top: 1px solid #e1e8ef;
}

.home-consultation-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 56px 64px;
    background: #ffffff;
    border: 1px solid #dce6f0;
    border-radius: 20px;
}

.home-consultation-cta-content {
    max-width: 720px;
}

.home-consultation-cta h2 {
    margin: 0 0 18px;
    color: #2c5595;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -1.5px;
}

.home-consultation-cta h2 span {
    color: #37b52d;
}

.home-consultation-cta p {
    max-width: 680px;
    margin: 0;
    color: #58708d;
    font-size: 18px;
    line-height: 1.7;
}

.home-consultation-cta-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
    gap: 18px;
}

.home-consultation-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 17px 26px;
    background: #2c5595;
    color: #ffffff !important;
    border-radius: 9px;
    font-weight: 700;
    text-decoration: none !important;
    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
}

.home-consultation-cta-primary:hover {
    background: #214477;
    transform: translateY(-2px);
}

.home-consultation-cta-primary span {
    transition: transform 0.2s ease;
}

.home-consultation-cta-primary:hover span {
    transform: translateX(4px);
}

.home-consultation-cta-secondary {
    color: #2c5595 !important;
    font-weight: 700;
    text-decoration: none !important;
}

.home-consultation-cta-secondary:hover {
    text-decoration: underline !important;
}

@media (max-width: 850px) {

    .home-consultation-cta {
        padding: 56px 0;
    }

    .home-consultation-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
        padding: 38px 28px;
    }

    .home-consultation-cta-actions {
        width: 100%;
    }

}



/* =========================================================
   IFRS STANDARDS — SEARCH TOOLBAR
   ========================================================= */

.ifrs-standards-toolbar {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    margin-top: 34px;
}

.ifrs-standards-toolbar-search {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

.ifrs-standards-toolbar-search input {
    width: 100% !important;
    margin: 0 !important;
}

.ifrs-standards-toolbar-filters {
    display: flex !important;
    align-items: center;
    flex-shrink: 0;
    margin: 0 !important;
}

.ifrs-standards-toolbar-filters button {
    white-space: nowrap;
}

.ifrs-standards-toolbar-filters button.ifrs-filter-active {
    background: #ffffff !important;
    color: #2c5595 !important;
    box-shadow: 0 2px 8px rgba(31, 69, 120, 0.08);
}


/* Mobile */

@media (max-width: 760px) {

    .ifrs-standards-toolbar {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .ifrs-standards-toolbar-filters {
        width: 100%;
    }

}



/* =========================================================
   IFRS STANDARDS — UNIFIED SEARCH + FILTER TOOLBAR
   ========================================================= */

.standards-page-intro .ifrs-section-eyebrow {
    display: none !important;
}

.standards-page-intro .standards-toolbar {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    margin-top: 34px;
}

.standards-page-intro .standards-search-wrap {
    flex: 1 1 auto;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
}

.standards-page-intro .standards-search {
    width: 100% !important;
    margin: 0 !important;
}

.standards-page-intro .standards-library-nav {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    margin: 0 !important;
}

.standards-page-intro .standards-filter {
    white-space: nowrap;
}


/* Mobile */

@media (max-width: 760px) {

    .standards-page-intro .standards-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .standards-page-intro .standards-library-nav {
        align-self: flex-start;
    }

}


/* IFRS Standards — slightly larger standard number badge */
.standard-card .standard-code {
    font-size: 13px !important;
}


/* IFRS Standards — larger standard number badge */
.standard-card .standard-code {
    font-size: 15px !important;
    font-weight: 800 !important;
}


/* IFRS Standards — standard number badge */
.standard-card .standard-code {
    font-size: 20px !important;
    font-weight: 800 !important;
}


/* IFRS Standards — tighten spacing between search and standards list */
.standards-page-intro {
    padding-bottom: 36px !important;
}

.standards-library {
    padding-top: 36px !important;
}


/* IFRS Standards — remove extra gap when first group is filtered out */
.standards-group[hidden] + .standards-group {
    margin-top: 0 !important;
    padding-top: 0 !important;
}


/* IFRS Standards — larger standard number badge */
.standard-card .standard-code {
    font-size: 25px !important;
    font-weight: 800 !important;
}


/* =========================================================
   HOMEPAGE HERO — SYMMETRICAL 3 CTA BUTTONS
   ========================================================= */

.ifrs-home-actions {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;

    width: 100% !important;
    max-width: 660px !important;

    margin-left: auto !important;
    margin-right: auto !important;
}

.ifrs-home-actions .ifrs-home-btn {
    width: 100% !important;
    min-width: 0 !important;
    height: 48px !important;

    padding: 0 18px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;

    text-align: center !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}

/* Keep primary CTA visually dominant */
.ifrs-home-actions .ifrs-home-btn-primary {
    background: #2c5595 !important;
    color: #ffffff !important;
}

/* Matching secondary buttons */
.ifrs-home-actions .ifrs-home-btn-secondary {
    background: #ffffff !important;
    color: #2c5595 !important;
    border: 1px solid #cad8e8 !important;
}

/* Mobile */
@media (max-width: 700px) {

    .ifrs-home-actions {
        grid-template-columns: 1fr !important;
        max-width: 420px !important;
    }

    .ifrs-home-actions .ifrs-home-btn {
        width: 100% !important;
    }
}


/* =========================================================
   HOMEPAGE HERO CTA — STRONGER CLICKABLE AFFORDANCE
   ========================================================= */

.ifrs-home-actions .ifrs-home-btn {
    cursor: pointer !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    box-shadow: 0 3px 10px rgba(35, 76, 135, 0.10) !important;

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background-color 0.18s ease,
        border-color 0.18s ease !important;
}

/* Primary */
.ifrs-home-actions .ifrs-home-btn-primary {
    box-shadow: 0 5px 14px rgba(44, 85, 149, 0.22) !important;
}

.ifrs-home-actions .ifrs-home-btn-primary:hover {
    background: #244a85 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(44, 85, 149, 0.28) !important;
}

/* Secondary */
.ifrs-home-actions .ifrs-home-btn-secondary {
    background: #ffffff !important;
    border: 1.5px solid #b9cce2 !important;
}

.ifrs-home-actions .ifrs-home-btn-secondary::after {
    content: "→";
    margin-left: 8px;
    font-size: 16px;
    transition: transform 0.18s ease;
}

.ifrs-home-actions .ifrs-home-btn-secondary:hover {
    background: #f4f8fc !important;
    border-color: #2c5595 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 7px 18px rgba(44, 85, 149, 0.16) !important;
}

.ifrs-home-actions .ifrs-home-btn-secondary:hover::after {
    transform: translateX(3px);
}

/* Click / press */
.ifrs-home-actions .ifrs-home-btn:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 6px rgba(44, 85, 149, 0.14) !important;
}


/* Homepage hero CTA — slightly larger */
.ifrs-home-actions {
    max-width: 720px !important;
    gap: 14px !important;
}

.ifrs-home-actions .ifrs-home-btn {
    height: 56px !important;
    padding: 0 22px !important;
    font-size: 16px !important;
}


/* Homepage hero CTA — more space below hero subtext */
.ifrs-home-actions {
    margin-top: 32px !important;
}



/* =========================================================
   HOMEPAGE HERO — PATHWAY CTA CARDS
   ========================================================= */

.ifrs-hero-pathways {
    width: 100%;
    max-width: 1080px;
    margin: 38px auto 0;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ifrs-hero-pathway {
    position: relative;

    display: flex;
    flex-direction: column;

    min-height: 205px;
    padding: 28px 30px 26px;

    background: #ffffff;
    border: 1px solid #d7e2ee;
    border-radius: 14px;

    text-align: left;
    text-decoration: none !important;

    box-shadow: 0 4px 14px rgba(35, 76, 135, 0.07);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}


/* Top accent */

.ifrs-hero-pathway::before {
    content: "";

    position: absolute;
    top: -1px;
    left: 14px;
    right: 14px;

    height: 4px;

    border-radius: 14px 14px 0 0;

    background: #2c5595;
}

.ifrs-hero-pathway-consultation::before {
    background: #37b52d;
}

.ifrs-hero-pathway-learning::before {
    background: #438fd2;
}

.ifrs-hero-pathway-standards::before {
    background: #2c5595;
}


/* Label */

.ifrs-hero-pathway-label {
    margin-bottom: 15px;

    color: #6c7f96;

    font-size: 11px;
    line-height: 1;
    font-weight: 800;

    letter-spacing: 1.3px;
}


/* Heading */

.ifrs-hero-pathway h3 {
    margin: 0 0 13px;

    color: #2c5595;

    font-size: 22px;
    line-height: 1.25;
    font-weight: 750;
}


/* Description */

.ifrs-hero-pathway p {
    margin: 0 0 24px;

    color: #617892;

    font-size: 15px;
    line-height: 1.6;
}


/* Bottom action */

.ifrs-hero-pathway-link {
    margin-top: auto;

    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: #2c5595;

    font-size: 14px;
    font-weight: 750;
}

.ifrs-hero-pathway-link > span {
    transition: transform 0.2s ease;
}


/* Hover — whole card clearly clickable */

.ifrs-hero-pathway:hover {
    transform: translateY(-4px);

    border-color: #b7cce2;

    box-shadow: 0 12px 28px rgba(35, 76, 135, 0.14);
}

.ifrs-hero-pathway:hover .ifrs-hero-pathway-link > span {
    transform: translateX(4px);
}


/* Primary consultation pathway */

.ifrs-hero-pathway-consultation {
    border-color: #cfe3cb;
}

.ifrs-hero-pathway-consultation:hover {
    border-color: #37b52d;
}


/* Keyboard accessibility */

.ifrs-hero-pathway:focus-visible {
    outline: 3px solid rgba(44, 85, 149, 0.25);
    outline-offset: 3px;
}


/* Tablet */

@media (max-width: 900px) {

    .ifrs-hero-pathways {
        grid-template-columns: 1fr;
        max-width: 620px;
    }

    .ifrs-hero-pathway {
        min-height: 0;
    }

}


/* Mobile */

@media (max-width: 600px) {

    .ifrs-hero-pathways {
        margin-top: 30px;
        gap: 14px;
    }

    .ifrs-hero-pathway {
        padding: 24px;
    }

    .ifrs-hero-pathway h3 {
        font-size: 20px;
    }

}



/* =========================================================
   IFRS LEARNING — PROFESSIONAL EDUCATION GRID
   ========================================================= */

.course-grid-three {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 22px !important;
}

.course-grid-three .course-card {
    height: 100%;
}


/* Tablet */

@media (max-width: 950px) {

    .course-grid-three {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

}


/* Mobile */

@media (max-width: 650px) {

    .course-grid-three {
        grid-template-columns: 1fr !important;
    }

}



/* === IFRSOLOGY IFRS ADVISORY PAGE START === */

.ifrsa-page {
    --ifrsa-navy: #102a43;
    --ifrsa-navy-deep: #081f35;
    --ifrsa-blue: #1677c8;
    --ifrsa-blue-dark: #0c5f9d;
    --ifrsa-blue-soft: #eaf5fc;
    --ifrsa-bg: #f6f9fc;
    --ifrsa-border: #dce6ef;
    --ifrsa-text: #526575;
    --ifrsa-white: #ffffff;

    color: var(--ifrsa-text);
    background: var(--ifrsa-white);
}

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

.ifrsa-shell {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.ifrsa-section {
    padding: 100px 0;
}

.ifrsa-section-label {
    margin: 0 0 20px;
    color: var(--ifrsa-blue);
    font-size: 0.76rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.ifrsa-section h2,
.ifrsa-service-card h3,
.ifrsa-impact-item h3,
.ifrsa-process-step h3 {
    color: var(--ifrsa-navy);
}

.ifrsa-section-heading {
    max-width: 900px;
    margin-bottom: 54px;
}

.ifrsa-section-heading-narrow {
    max-width: 780px;
}

.ifrsa-section-heading h2 {
    margin: 0 0 24px;
    max-width: 820px;
    font-size: clamp(2rem, 3.5vw, 3.25rem);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.ifrsa-heading-copy {
    max-width: 760px;
    color: var(--ifrsa-text);
    font-size: 1.06rem;
    line-height: 1.8;
}

.ifrsa-heading-copy p {
    margin: 0 0 14px;
}


/* HERO */

.ifrsa-hero {
    position: relative;
    overflow: hidden;
    padding: 122px 0 126px;
    background:
        radial-gradient(circle at 88% 18%, rgba(22, 119, 200, 0.10), transparent 31%),
        linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
    border-bottom: 1px solid #edf2f7;
}

.ifrsa-hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -150px;
    bottom: -230px;
    border: 1px solid rgba(22, 119, 200, 0.12);
    border-radius: 50%;
}

.ifrsa-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.ifrsa-hero h1 {
    max-width: 880px;
    margin: 0;
    color: var(--ifrsa-navy);
    font-size: clamp(3rem, 6vw, 5.2rem);
    line-height: 1.02;
    letter-spacing: -0.055em;
    font-weight: 700;
}

.ifrsa-hero-intro {
    max-width: 720px;
    margin: 30px 0 38px;
    color: var(--ifrsa-text);
    font-size: clamp(1.08rem, 1.6vw, 1.28rem);
    line-height: 1.72;
}

.ifrsa-primary-btn,
.ifrsa-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 54px;
    padding: 0 25px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        border-color 0.2s ease;
}

.ifrsa-primary-btn {
    background: var(--ifrsa-blue);
    color: #ffffff;
    border: 1px solid var(--ifrsa-blue);
}

.ifrsa-primary-btn:hover,
.ifrsa-primary-btn:focus-visible {
    background: var(--ifrsa-blue-dark);
    border-color: var(--ifrsa-blue-dark);
    color: #ffffff;
    transform: translateY(-1px);
}


/* SERVICE CARDS */

.ifrsa-services {
    background: #ffffff;
}

.ifrsa-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.ifrsa-service-card {
    position: relative;
    min-height: 270px;
    padding: 30px 30px 32px;
    background: #ffffff;
    border: 1px solid var(--ifrsa-border);
    border-radius: 10px;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.ifrsa-service-card:hover {
    transform: translateY(-3px);
    border-color: #bad7e9;
    box-shadow: 0 16px 40px rgba(16, 42, 67, 0.07);
}

.ifrsa-card-number {
    display: block;
    margin-bottom: 34px;
    color: var(--ifrsa-blue);
    font-size: 0.79rem;
    font-weight: 800;
    letter-spacing: 0.11em;
}

.ifrsa-service-card h3 {
    margin: 0 0 15px;
    font-size: 1.25rem;
    line-height: 1.3;
}

.ifrsa-service-card p {
    margin: 0;
    font-size: 0.97rem;
    line-height: 1.72;
}


/* IMPACT FLOW */

.ifrsa-impact-section {
    background: var(--ifrsa-bg);
    border-top: 1px solid #edf2f7;
    border-bottom: 1px solid #edf2f7;
}

.ifrsa-impact-flow {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
    margin-top: 58px;
}

.ifrsa-impact-item {
    position: relative;
    min-height: 215px;
    padding: 26px 20px 24px;
    background: #ffffff;
    border: 1px solid var(--ifrsa-border);
    border-top: 3px solid var(--ifrsa-blue);
    border-radius: 8px;
}

.ifrsa-impact-item:not(:last-child)::after {
    content: "→";
    position: absolute;
    z-index: 3;
    top: 50%;
    right: -23px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    border-radius: 50%;
    background: var(--ifrsa-blue);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 800;
    box-shadow: 0 0 0 5px var(--ifrsa-bg);
}

.ifrsa-impact-number {
    display: block;
    margin-bottom: 22px;
    color: var(--ifrsa-blue);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.ifrsa-impact-item h3 {
    margin: 0 0 12px;
    font-size: 1.05rem;
}

.ifrsa-impact-item p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.6;
}


/* WHEN TO INVOLVE */

.ifrsa-need-section {
    background: #ffffff;
}

.ifrsa-need-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
}

.ifrsa-need-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    min-height: 84px;
    padding: 20px 22px;
    background: #ffffff;
    border: 1px solid var(--ifrsa-border);
    border-radius: 8px;
}

.ifrsa-check {
    flex: 0 0 29px;
    width: 29px;
    height: 29px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--ifrsa-blue-soft);
    color: var(--ifrsa-blue-dark);
    font-size: 0.82rem;
    font-weight: 800;
}

.ifrsa-need-item p {
    margin: 1px 0 0;
    color: var(--ifrsa-navy);
    font-size: 0.96rem;
    line-height: 1.55;
}


/* PROCESS */

.ifrsa-process-section {
    background: var(--ifrsa-bg);
    border-top: 1px solid #edf2f7;
}

.ifrsa-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--ifrsa-border);
}

.ifrsa-process-step {
    position: relative;
    padding: 37px 30px 10px 0;
}

.ifrsa-process-step:not(:last-child) {
    margin-right: 30px;
    border-right: 1px solid var(--ifrsa-border);
}

.ifrsa-process-number {
    display: block;
    margin-bottom: 28px;
    color: var(--ifrsa-blue);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.11em;
}

.ifrsa-process-step h3 {
    margin: 0 0 14px;
    font-size: 1.18rem;
    line-height: 1.35;
}

.ifrsa-process-step p {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.7;
}


/* FINAL CTA */

.ifrsa-final-cta {
    padding: 105px 0;
    background:
        radial-gradient(circle at 90% 20%, rgba(77, 170, 231, 0.17), transparent 28%),
        var(--ifrsa-navy-deep);
}

.ifrsa-final-cta-inner {
    max-width: 820px;
}

.ifrsa-section-label-light {
    color: #72c3f2;
}

.ifrsa-final-cta h2 {
    max-width: 760px;
    margin: 0 0 24px;
    color: #ffffff;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.ifrsa-final-cta p:not(.ifrsa-section-label) {
    max-width: 700px;
    margin: 0 0 34px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 1.05rem;
    line-height: 1.75;
}

.ifrsa-cta-btn {
    background: #ffffff;
    border: 1px solid #ffffff;
    color: var(--ifrsa-navy-deep);
}

.ifrsa-cta-btn:hover,
.ifrsa-cta-btn:focus-visible {
    background: transparent;
    color: #ffffff;
    transform: translateY(-1px);
}


/* TABLET */

@media (max-width: 1050px) {

    .ifrsa-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ifrsa-impact-flow {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;
    }

    .ifrsa-impact-item:nth-child(3)::after {
        display: none;
    }

    .ifrsa-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
    }

    .ifrsa-process-step,
    .ifrsa-process-step:not(:last-child) {
        margin: 0;
        padding-right: 25px;
        border-right: 0;
    }

}


/* MOBILE */

@media (max-width: 720px) {

    .ifrsa-shell {
        width: min(100% - 32px, 1180px);
    }

    .ifrsa-section {
        padding: 72px 0;
    }

    .ifrsa-hero {
        padding: 82px 0 86px;
    }

    .ifrsa-hero h1 {
        font-size: clamp(2.55rem, 12vw, 4rem);
    }

    .ifrsa-hero-intro {
        margin-top: 24px;
    }

    .ifrsa-section-heading {
        margin-bottom: 38px;
    }

    .ifrsa-service-grid,
    .ifrsa-need-grid,
    .ifrsa-process-grid {
        grid-template-columns: 1fr;
    }

    .ifrsa-service-card {
        min-height: 0;
    }

    .ifrsa-impact-flow {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .ifrsa-impact-item {
        min-height: 0;
    }

    .ifrsa-impact-item:not(:last-child)::after,
    .ifrsa-impact-item:nth-child(3)::after {
        content: "↓";
        display: flex;
        top: auto;
        right: 50%;
        bottom: -32px;
        transform: translateX(50%);
        box-shadow: 0 0 0 5px var(--ifrsa-bg);
    }

    .ifrsa-process-step,
    .ifrsa-process-step:not(:last-child) {
        padding: 28px 0;
        border-bottom: 1px solid var(--ifrsa-border);
    }

    .ifrsa-process-step:last-child {
        border-bottom: 0;
    }

    .ifrsa-final-cta {
        padding: 78px 0;
    }

}


/* === IFRSOLOGY IFRS ADVISORY PAGE END === */

/* === IFRSOLOGY PATHWAY ICONS START === */

/*
 * Service identity row:
 * icon tile + pathway label.
 */

.ifrs-hero-pathway-kicker {
    display: flex;
    align-items: center;
    gap: 13px;

    min-height: 52px;
    margin-bottom: 16px;
}

.ifrs-hero-pathway-kicker .ifrs-hero-pathway-label {
    margin-bottom: 0;
}


/* Icon tile */

.ifrs-hero-pathway-icon {
    flex: 0 0 52px;

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #dbe5ef;
    border-radius: 12px;

    background: #f5f8fb;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.ifrs-hero-pathway-icon img {
    display: block;

    width: 33px;
    height: 33px;

    object-fit: contain;
}


/* Advisory — green */

.ifrs-hero-pathway-consultation .ifrs-hero-pathway-icon {
    background: #f2fbf1;
    border-color: #d6efd3;
}

.ifrs-hero-pathway-consultation .ifrs-hero-pathway-icon img {
    width: 32px;
    height: 32px;
}


/* Learning — blue */

.ifrs-hero-pathway-learning .ifrs-hero-pathway-icon {
    background: #f1f7fc;
    border-color: #d6e7f5;
}

.ifrs-hero-pathway-learning .ifrs-hero-pathway-icon img {
    width: 33px;
    height: 33px;
}


/* IFRS summaries — navy */

.ifrs-hero-pathway-standards .ifrs-hero-pathway-icon {
    background: #f2f5fa;
    border-color: #d9e1ed;
}

.ifrs-hero-pathway-standards .ifrs-hero-pathway-icon img {
    width: 30px;
    height: 30px;
}


/* Card interaction */

.ifrs-hero-pathway:hover .ifrs-hero-pathway-icon {
    transform: translateY(-2px);
}

.ifrs-hero-pathway-consultation:hover .ifrs-hero-pathway-icon {
    background: #eaf8e8;
    border-color: #bfe5ba;
}

.ifrs-hero-pathway-learning:hover .ifrs-hero-pathway-icon {
    background: #e8f3fb;
    border-color: #bfdcf1;
}

.ifrs-hero-pathway-standards:hover .ifrs-hero-pathway-icon {
    background: #e9eef6;
    border-color: #c4d0e2;
}


/* Mobile */

@media (max-width: 600px) {

    .ifrs-hero-pathway-kicker {
        gap: 12px;
        margin-bottom: 15px;
    }

    .ifrs-hero-pathway-icon {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
        border-radius: 11px;
    }

    .ifrs-hero-pathway-icon img,
    .ifrs-hero-pathway-consultation .ifrs-hero-pathway-icon img,
    .ifrs-hero-pathway-learning .ifrs-hero-pathway-icon img,
    .ifrs-hero-pathway-standards .ifrs-hero-pathway-icon img {
        max-width: 28px;
        max-height: 28px;
    }

}

/* === IFRSOLOGY PATHWAY ICONS END === */

/* =========================================================
   HOMEPAGE PATHWAY CARDS — CLICKABLE INTERACTION
   ========================================================= */

.ifrs-hero-pathway {
    position: relative;
    cursor: pointer;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

.ifrs-hero-pathway:hover {
    transform: translateY(-6px);
    box-shadow:
        0 16px 35px rgba(28, 65, 120, 0.14),
        0 4px 10px rgba(28, 65, 120, 0.06);
}

.ifrs-hero-pathway .pathway-icon {
    transition: transform 0.22s ease;
}

.ifrs-hero-pathway:hover .pathway-icon {
    transform: scale(1.06);
}

.ifrs-hero-pathway .pathway-arrow {
    display: inline-block;
    transition: transform 0.22s ease;
}

.ifrs-hero-pathway:hover .pathway-arrow {
    transform: translateX(5px);
}


/* =========================================================
   HOMEPAGE PATHWAY CARDS — STRONGER CLICKABLE AFFORDANCE
   ========================================================= */

.ifrs-hero-pathway {
    position: relative;

    /* Visible even before hover */
    box-shadow:
        0 6px 18px rgba(35, 76, 135, 0.09),
        0 1px 3px rgba(35, 76, 135, 0.05);

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

/* Small permanent action arrow */
.ifrs-hero-pathway::after {
    content: "→";
    position: absolute;
    top: 28px;
    right: 28px;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    border: 1px solid #d7e2f0;
    background: #f5f8fc;

    color: #2e5a9c;
    font-size: 18px;
    font-weight: 600;

    transition:
        transform 0.22s ease,
        background 0.22s ease,
        border-color 0.22s ease;
}

.ifrs-hero-pathway:hover {
    transform: translateY(-7px);

    box-shadow:
        0 18px 38px rgba(28, 65, 120, 0.16),
        0 5px 12px rgba(28, 65, 120, 0.07);
}

.ifrs-hero-pathway:hover::after {
    transform: translateX(4px);
    background: #eef4fb;
    border-color: #b9cde5;
}


/* Remove bottom CTA arrows only */
.ifrs-hero-pathway-link > span {
    display: none !important;
}


/* =========================================================
   HOMEPAGE PATHWAY CARDS — CTA BUTTONS
   ========================================================= */

/* Keep card content vertically structured so CTAs align */
.ifrs-hero-pathway {
    display: flex;
    flex-direction: column;
}

/* Turn existing bottom link into a compact CTA */
.ifrs-hero-pathway-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    width: fit-content;
    margin-top: auto;

    padding: 10px 16px;

    background: #f2f6fb;
    border: 1px solid #d8e3f0;
    border-radius: 8px;

    color: #28558f !important;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.2;
    text-decoration: none !important;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

/* We are keeping the circular top-right arrow,
   so hide the old arrow inside the bottom CTA */
.ifrs-hero-pathway-link > span {
    display: none !important;
}

/* CTA reaction when hovering anywhere over the card */
.ifrs-hero-pathway:hover .ifrs-hero-pathway-link {
    background: #e8f0fa;
    border-color: #bfd0e5;
}

/* Small independent CTA hover */
.ifrs-hero-pathway-link:hover {
    transform: translateY(-1px);
}

/* Keep the existing circular top-right arrow untouched */
.ifrs-hero-pathway::after {
    display: flex;
}


/* Center homepage pathway CTA buttons */
.ifrs-hero-pathway-link {
    align-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}



/* === IFRSOLOGY LEARNING PATHWAYS START === */


/* ---------------------------------------------------------
   MAIN PATHWAYS SECTION
   --------------------------------------------------------- */

.learning-pathways {
    padding: 86px 0 96px;
    background: #ffffff;
}

.learning-pathways-intro {
    max-width: 700px;
    margin-bottom: 40px;
}

.learning-pathways-intro h2 {
    margin: 0 0 12px;
    color: #102a43;
    font-size: 35px;
    line-height: 1.18;
    letter-spacing: -0.9px;
}

.learning-pathways-intro p {
    max-width: 630px;
    margin: 0;
    color: #667b90;
    font-size: 15px;
    line-height: 1.7;
}


/* ---------------------------------------------------------
   TWO MAIN PATHWAY CARDS
   --------------------------------------------------------- */

.learning-pathway-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.learning-pathway-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 430px;
    width: 100%;
    padding: 42px 40px 36px;
    overflow: hidden;

    border: 1px solid #dce6ef;
    border-radius: 18px;

    background:
        radial-gradient(
            circle at 92% 7%,
            rgba(22, 119, 200, 0.08),
            transparent 34%
        ),
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f8fbfe 100%
        );

    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;

    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        background 0.22s ease;
}

.learning-pathway-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: transparent;
    transition: background 0.22s ease;
}

.learning-pathway-card:hover {
    transform: translateY(-4px);
    border-color: #b7cadf;
    box-shadow: 0 18px 42px rgba(16, 42, 67, 0.09);
}

.learning-pathway-card:hover::before,
.learning-pathway-card.is-active::before {
    background: #dd57d4;
}

.learning-pathway-card.is-active {
    border-color: #9dbbd5;
    box-shadow:
        0 18px 44px rgba(16, 42, 67, 0.10),
        0 0 0 2px rgba(22, 119, 200, 0.05);
}

.learning-pathway-card:focus-visible {
    outline: 3px solid rgba(22, 119, 200, 0.22);
    outline-offset: 4px;
}


/* ---------------------------------------------------------
   PATHWAY CONTENT
   --------------------------------------------------------- */

.learning-pathway-content {
    position: relative;
    z-index: 1;
}

.learning-pathway-card h2 {
    max-width: 440px;
    margin: 0 0 21px;
    color: #102a43;
    font-size: 34px;
    line-height: 1.12;
    letter-spacing: -0.9px;
}

.learning-pathway-lead {
    max-width: 470px;
    margin: 0 0 14px;
    color: #2c5595;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
}

.learning-pathway-description {
    max-width: 480px;
    margin: 0;
    color: #65798e;
    font-size: 14px;
    line-height: 1.72;
}


/* ---------------------------------------------------------
   OFFERINGS PREVIEW INSIDE MAIN CARD
   --------------------------------------------------------- */

.learning-pathway-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 27px;
}

.learning-pathway-preview span {
    display: inline-flex;
    align-items: center;
    min-height: 31px;
    padding: 6px 11px;

    border: 1px solid #dbe5ee;
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.78);

    color: #526a80;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}


/* ---------------------------------------------------------
   PATHWAY FOOTER
   --------------------------------------------------------- */

.learning-pathway-footer {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;

    margin-top: 42px;
    padding-top: 25px;

    border-top: 1px solid #dce6ee;
}

.learning-pathway-purpose {
    max-width: 260px;
    color: #dd57d4;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: 1.15px;
}

.learning-pathway-action {
    flex: 0 0 auto;
    color: #2c5595;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}


/* ---------------------------------------------------------
   REVEALED OFFERINGS AREA
   --------------------------------------------------------- */

.learning-offerings {
    scroll-margin-top: 90px;
    padding: 88px 0 110px;
    border-top: 1px solid #e1e8ef;
    background: #f8fafc;
}

.learning-offerings[hidden] {
    display: none !important;
}

.learning-offerings.is-active {
    animation: learningPanelIn 0.28s ease;
}

@keyframes learningPanelIn {

    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

.learning-offerings-heading {
    max-width: 760px;
    margin-bottom: 40px;
}

.learning-offerings-back {
    display: block;
    margin-bottom: 13px;

    color: #dd57d4;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.25px;
}

.learning-offerings-heading h2 {
    margin: 0 0 14px;
    color: #102a43;
    font-size: 36px;
    line-height: 1.18;
    letter-spacing: -1px;
}

.learning-offerings-heading p {
    max-width: 680px;
    margin: 0;

    color: #667b90;
    font-size: 15px;
    line-height: 1.72;
}


/* ---------------------------------------------------------
   THREE-COLUMN PROFESSIONAL EDUCATION GRID
   --------------------------------------------------------- */

.learning-offerings .course-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.learning-offerings .course-card {
    background: #ffffff;
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 900px) {

    .learning-pathway-grid {
        grid-template-columns: 1fr;
    }

    .learning-pathway-card {
        min-height: 390px;
    }

    .learning-offerings .course-grid-three {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 650px) {

    .learning-pathways {
        padding: 62px 0 72px;
    }

    .learning-pathways-intro {
        margin-bottom: 30px;
    }

    .learning-pathways-intro h2 {
        font-size: 29px;
    }

    .learning-pathway-card {
        min-height: 0;
        padding: 31px 27px 28px;
        border-radius: 15px;
    }

    .learning-pathway-card h2 {
        font-size: 28px;
    }

    .learning-pathway-lead {
        font-size: 16px;
    }

    .learning-pathway-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        margin-top: 32px;
    }

    .learning-pathway-action {
        white-space: normal;
    }

    .learning-offerings {
        padding: 64px 0 80px;
    }

    .learning-offerings-heading h2 {
        font-size: 30px;
    }

}


/* === IFRSOLOGY LEARNING PATHWAYS END === */


/* === IFRSOLOGY LEARNING FINAL REFINEMENTS START === */


/* =========================================================
   1. PATHWAY SECTION — slightly tighter
   ========================================================= */

.learning-pathways {
    padding-top: 78px;
    padding-bottom: 82px;
}

.learning-pathways-intro {
    margin-bottom: 34px;
}


/* =========================================================
   2. MAIN PATHWAY CARDS — reduce excessive height
   ========================================================= */

.learning-pathway-grid {
    gap: 22px;
}

.learning-pathway-card {
    min-height: 370px;
    padding: 38px 38px 32px;

    border-radius: 14px;

    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}


/* Remove magenta selection bar entirely */

.learning-pathway-card::before {
    display: none !important;
}


/* Cleaner hover */

.learning-pathway-card:hover {
    transform: translateY(-2px);

    border-color: #bfd0df;

    box-shadow:
        0 10px 26px rgba(16, 42, 67, 0.065);
}


/* =========================================================
   3. CLEAN SELECTED STATE
   ========================================================= */

.learning-pathway-card.is-active {
    transform: none;

    border-color: #abc5da;

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f4f9fd 100%
        );

    box-shadow:
        0 8px 24px rgba(16, 42, 67, 0.06);
}


/*
Keyboard accessibility remains visible,
but mouse selection no longer creates a double-outline effect.
*/

.learning-pathway-card:focus {
    outline: none;
}

.learning-pathway-card:focus-visible {
    outline: 2px solid #1677c8;
    outline-offset: 3px;
}


/* =========================================================
   4. PATHWAY TYPOGRAPHY
   ========================================================= */

.learning-pathway-card h2 {
    margin-bottom: 18px;
    font-size: 32px;
}

.learning-pathway-lead {
    margin-bottom: 12px;

    font-size: 17px;
    line-height: 1.48;
}

.learning-pathway-description {
    font-size: 14px;
    line-height: 1.68;
}


/* =========================================================
   5. OFFERING PILLS — supporting information, not buttons
   ========================================================= */

.learning-pathway-preview {
    gap: 7px;
    margin-top: 22px;
}

.learning-pathway-preview span {
    min-height: 27px;

    padding: 4px 9px;

    border-color: #e1e8ee;

    background: rgba(255, 255, 255, 0.52);

    color: #607589;

    font-size: 10px;
    font-weight: 700;
}


/* =========================================================
   6. PURPOSE + CTA AREA
   ========================================================= */

.learning-pathway-footer {
    gap: 18px;

    margin-top: 32px;
    padding-top: 21px;

    border-top-color: #e0e7ed;
}

.learning-pathway-purpose {
    color: #dd57d4;

    font-size: 10px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 1.1px;
}

.learning-pathway-action {
    color: #2c5595;

    font-size: 13px;
    font-weight: 800;
}


/* =========================================================
   7. REVEALED OFFERINGS — visually closer to the selection
   ========================================================= */

.learning-offerings {
    scroll-margin-top: 90px;

    padding-top: 70px;
    padding-bottom: 96px;

    border-top: 1px solid #e3eaf0;

    background: #f7f9fb;
}

.learning-offerings-heading {
    margin-bottom: 34px;
}

.learning-offerings-heading h2 {
    margin-bottom: 12px;

    font-size: 34px;
}


/* =========================================================
   8. PRODUCT CARDS — slightly more restrained
   ========================================================= */

.learning-offerings .course-card {
    border-radius: 14px;

    box-shadow: none;
}

.learning-offerings .course-card:hover {
    transform: translateY(-2px);

    border-color: #c1d0dd;

    box-shadow:
        0 10px 25px rgba(16, 42, 67, 0.055);
}


/* =========================================================
   9. MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .learning-pathway-card {
        min-height: 0;
    }

}


@media (max-width: 650px) {

    .learning-pathways {
        padding-top: 58px;
        padding-bottom: 64px;
    }

    .learning-pathway-card {
        min-height: 0;

        padding: 30px 26px 27px;

        border-radius: 13px;
    }

    .learning-pathway-card h2 {
        font-size: 27px;
    }

    .learning-pathway-footer {
        margin-top: 28px;
        padding-top: 19px;
    }

    .learning-offerings {
        padding-top: 58px;
        padding-bottom: 74px;
    }

}


/* === IFRSOLOGY LEARNING FINAL REFINEMENTS END === */


/* === IFRSOLOGY LEARNING COMPACT SPACING START === */


/* HERO — less vertical emptiness */

.courses-hero {
    padding-top: 66px;
    padding-bottom: 58px;
}

.courses-hero > .ifrs-home-container > p {
    margin-top: 20px;
}


/* CHOOSE PATHWAY SECTION */

.learning-pathways {
    padding-top: 54px;
    padding-bottom: 58px;
}

.learning-pathways-intro {
    margin-bottom: 26px;
}

.learning-pathways-intro h2 {
    margin-bottom: 8px;
}


/* MAIN TWO CARDS */

.learning-pathway-card {
    min-height: 320px;
    padding: 30px 32px 26px;
}

.learning-pathway-card h2 {
    margin-bottom: 14px;
}

.learning-pathway-lead {
    margin-bottom: 9px;
}

.learning-pathway-preview {
    margin-top: 17px;
}

.learning-pathway-footer {
    margin-top: 22px;
    padding-top: 17px;
}


/* REVEALED QUALIFICATION / EDUCATION SECTIONS */

.learning-offerings {
    padding-top: 50px;
    padding-bottom: 66px;
}

.learning-offerings-heading {
    margin-bottom: 27px;
}

.learning-offerings-back {
    margin-bottom: 9px;
}

.learning-offerings-heading h2 {
    margin-bottom: 9px;
}


/* OFFERING CARDS */

.learning-offerings .course-card {
    min-height: 245px;
    padding: 28px 30px 27px;
}

.learning-offerings .course-card-type {
    margin-bottom: 16px;
}

.learning-offerings .course-card h3 {
    margin-bottom: 11px;
}

.learning-offerings .course-card p {
    margin-bottom: 28px;
}

.learning-offerings .course-card-link {
    left: 30px;
    bottom: 25px;
}


/* MOBILE */

@media (max-width: 650px) {

    .courses-hero {
        padding-top: 48px;
        padding-bottom: 44px;
    }

    .learning-pathways {
        padding-top: 44px;
        padding-bottom: 48px;
    }

    .learning-pathways-intro {
        margin-bottom: 22px;
    }

    .learning-pathway-card {
        padding: 26px 24px 24px;
    }

    .learning-pathway-footer {
        margin-top: 20px;
    }

    .learning-offerings {
        padding-top: 44px;
        padding-bottom: 56px;
    }

}


/* === IFRSOLOGY LEARNING COMPACT SPACING END === */


/* === IFRSOLOGY LEARNING ACCENT TIGHTEN START === */


/* =========================================================
   HERO → PATHWAY TRANSITION
   Reduce the combined vertical space
   ========================================================= */

.courses-hero {
    padding-bottom: 38px;
}

.learning-pathways {
    padding-top: 38px;
}


/* =========================================================
   MAIN PATHWAY CARDS
   Short top accent line
   ========================================================= */

.learning-pathway-card {
    position: relative;
}


/* Previous left accent remains disabled */

.learning-pathway-card::before {
    display: none !important;
}


/* Short top accent line */

.learning-pathway-card::after {
    content: "";
    position: absolute;

    top: 0;
    left: 32px;

    width: 52px;
    height: 4px;

    background: #dd57d4;
    border-radius: 0 0 3px 3px;

    pointer-events: none;
}


/* Give the accent line enough breathing room */

.learning-pathway-card {
    padding-top: 34px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .courses-hero {
        padding-bottom: 30px;
    }

    .learning-pathways {
        padding-top: 30px;
    }

    .learning-pathway-card::after {
        left: 24px;
        width: 46px;
        height: 3px;
    }

    .learning-pathway-card {
        padding-top: 30px;
    }

}


/* === IFRSOLOGY LEARNING ACCENT TIGHTEN END === */


/* === IFRSOLOGY LEARNING TITLE ARROWS START === */


/* ---------------------------------------------------------
   Main pathway card titles
   Homepage-style circular clickability indicator
   --------------------------------------------------------- */

.learning-pathway-card h2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    max-width: none;
}


/* Circular arrow — same visual language as homepage */

.learning-pathway-card h2::after {
    content: "→";

    flex: 0 0 34px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    border: 1px solid #d7e2f0;
    border-radius: 50%;

    background: #f5f8fc;

    color: #2e5a9c;

    font-size: 17px;
    font-weight: 700;
    line-height: 1;

    transition:
        transform 0.18s ease,
        background 0.18s ease,
        border-color 0.18s ease;
}


/* Reinforce clickability on hover */

.learning-pathway-card:hover h2::after {
    transform: translateX(4px);

    border-color: #bfd0df;
    background: #edf4fa;
}


/* Selected pathway — keep arrow subtle */

.learning-pathway-card.is-active h2::after {
    border-color: #b8ccdd;
    background: #edf5fb;
}


/* Mobile */

@media (max-width: 650px) {

    .learning-pathway-card h2 {
        gap: 14px;
    }

    .learning-pathway-card h2::after {
        flex-basis: 32px;

        width: 32px;
        height: 32px;

        font-size: 16px;
    }

}


/* === IFRSOLOGY LEARNING TITLE ARROWS END === */


/* =========================================================
   IFRS STANDARDS — CLICKABLE CARDS / CIRCULAR ARROW
   ========================================================= */

.ifrsology-standard-card-clickable {
    position: relative !important;
    cursor: pointer;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

/*
 * Existing standard link becomes a transparent overlay
 * covering the entire card.
 */
.ifrsology-standard-card-overlay {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 5;
    text-decoration: none !important;
    background: transparent !important;
}


/* Circular arrow */
.ifrsology-standard-card-arrow {
    position: absolute;
    top: 28px;
    right: 28px;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #cbd9e8;
    border-radius: 50%;

    background: #eaf5fc;
    color: #24599a;

    font-size: 20px;
    font-weight: 500;
    line-height: 1;

    transition:
        transform 0.22s ease,
        background-color 0.22s ease,
        color 0.22s ease,
        border-color 0.22s ease;
}


/* Card hover */
.ifrsology-standard-card-clickable:hover {
    border-color: #b5cae0 !important;
    box-shadow: 0 10px 28px rgba(16, 42, 67, 0.08);
    transform: translateY(-2px);
}


/* Arrow hover */
.ifrsology-standard-card-clickable:hover
.ifrsology-standard-card-arrow {
    background: #24599a;
    border-color: #24599a;
    color: #ffffff;
    transform: translateX(3px);
}


/*
 * Make room for the arrow when a card also has
 * Legacy / Effective 2027 / other status badge.
 */
.ifrsology-standard-status-badge {
    margin-right: 58px !important;
}


/* Keyboard accessibility */
.ifrsology-standard-card-overlay:focus-visible {
    outline: 3px solid rgba(36, 89, 154, 0.28);
    outline-offset: 3px;
    border-radius: inherit;
}


/* Mobile */
@media (max-width: 767px) {

    .ifrsology-standard-card-arrow {
        top: 22px;
        right: 22px;
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .ifrsology-standard-status-badge {
        margin-right: 50px !important;
    }
}



/* === HOMEPAGE PATHWAY ICON REFINEMENT === */
.ifrs-hero-pathway-icon img {
    width: 36px;
    height: 36px;
    display: block;
    object-fit: contain;
}

/* === HOMEPAGE CLEAN FINISH START === */

/*
 * Keep the introduction and pathway cards visually connected.
 */
.ifrs-home-hero-wide .ifrs-wide-hero-lead {
    margin-bottom: 0 !important;
}

.ifrs-home-hero-wide .ifrs-hero-pathways {
    margin-top: 30px !important;
}

/*
 * Slightly tighter on phones.
 */
@media (max-width: 760px) {
    .ifrs-home-hero-wide .ifrs-hero-pathways {
        margin-top: 24px !important;
    }
}

/*
 * Clean transition from homepage into footer.
 */
.site-footer {
    border-top: 1px solid #e5edf5;
}

/* === HOMEPAGE CLEAN FINISH END === */

/* === HOMEPAGE CLEAN FINISH START === */

/*
 * Keep the introduction and pathway cards visually connected.
 */
.ifrs-home-hero-wide .ifrs-wide-hero-lead {
    margin-bottom: 0 !important;
}

.ifrs-home-hero-wide .ifrs-hero-pathways {
    margin-top: 30px !important;
}

/*
 * Slightly tighter on phones.
 */
@media (max-width: 760px) {
    .ifrs-home-hero-wide .ifrs-hero-pathways {
        margin-top: 24px !important;
    }
}

/*
 * Clean transition from homepage into footer.
 */
.site-footer {
    border-top: 1px solid #e5edf5;
}

/* === HOMEPAGE CLEAN FINISH END === */

/* === HOMEPAGE FOOTER SPACING REFINEMENT === */

/* Less empty space after the pathway cards */
body.home .ifrs-home-hero-wide {
    padding-bottom: 58px !important;
}

/* Bring footer content slightly closer to the top */
body.home .site-footer .footer-main {
    padding-top: 70px !important;
}

/* Keep mobile comfortable */
@media (max-width: 650px) {

    body.home .ifrs-home-hero-wide {
        padding-bottom: 44px !important;
    }

    body.home .site-footer .footer-main {
        padding-top: 50px !important;
    }

}

/* === END HOMEPAGE FOOTER SPACING REFINEMENT === */



/* =========================================================
   HOMEPAGE PATHWAY CARDS — PRODUCT TITLE HIERARCHY
   ========================================================= */

.ifrs-hero-pathway-kicker {
    align-items: center;
    gap: 12px;
    padding-right: 46px;
    margin-bottom: 16px;
}

.ifrs-hero-pathway-label {
    color: #173f7a;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
    text-transform: none;
}

.ifrs-hero-pathway h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #254f82;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

/* Keep product title comfortably sized on smaller screens */
@media (max-width: 767px) {
    .ifrs-hero-pathway-label {
        font-size: 22px;
    }
}



/* =========================================================
   HOMEPAGE PATHWAY TITLES — SINGLE-LINE REFINEMENT
   ========================================================= */

.ifrs-hero-pathway-label {
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 21px;
    line-height: 1.15;
}



/* =========================================================
   IFRSOLOGY — IFRS LEARNING NAVIGATION DROPDOWN
   ========================================================= */

.nav-learning-dropdown .nav-dropdown-trigger-wrap {
    display: flex;
    align-items: center;
}

.nav-learning-dropdown .nav-dropdown-toggle {
    display: none;
}

/*
 * Keep anchor destinations clear of the header when opened
 * from the navigation dropdown.
 */
#qualifications-offerings,
#education-offerings {
    scroll-margin-top: 110px;
}


/* ---------------------------------------------------------
   MOBILE / TABLET
   --------------------------------------------------------- */

@media (max-width: 900px) {

    .nav-learning-dropdown {
        display: block;
        width: 100%;
    }

    .nav-learning-dropdown .nav-dropdown-trigger-wrap {
        width: 100%;
        border-bottom: 1px solid #edf1f5;
    }

    .main-navigation .nav-learning-dropdown .nav-dropdown-trigger {
        flex: 1 1 auto;
        min-width: 0;
        padding: 14px 4px;
        border-bottom: 0;
    }

    .nav-learning-dropdown .nav-dropdown-arrow-desktop {
        display: none;
    }

    .nav-learning-dropdown .nav-dropdown-toggle {
        display: inline-flex;
        flex: 0 0 44px;
        width: 44px;
        height: 44px;

        align-items: center;
        justify-content: center;

        margin-left: 4px;
        padding: 0;

        border: 0;
        border-radius: 8px;

        background: transparent;
        color: var(--ifrs-text);

        cursor: pointer;
    }

    .nav-learning-dropdown .nav-dropdown-toggle:hover,
    .nav-learning-dropdown .nav-dropdown-toggle:focus-visible {
        background: #f3f7fb;
        color: var(--ifrs-blue);
    }

    .nav-learning-dropdown .nav-dropdown-toggle:focus-visible {
        outline: 2px solid var(--ifrs-blue);
        outline-offset: 2px;
    }

    /*
     * Change the desktop floating dropdown into an
     * expandable section inside the mobile menu.
     */
    .nav-learning-dropdown .nav-dropdown-menu {
        position: static;

        top: auto;
        right: auto;

        display: none;

        width: 100%;
        margin: 0;
        padding: 5px 0 8px 14px;

        border: 0;
        border-radius: 0;

        background: #ffffff;
        box-shadow: none;

        opacity: 1;
        visibility: visible;
        transform: none;

        transition: none;
    }

    .nav-learning-dropdown.is-open .nav-dropdown-menu {
        display: block;
    }

    .nav-learning-dropdown .nav-dropdown-menu::before {
        display: none;
    }

    .main-navigation .nav-learning-dropdown .nav-dropdown-menu > a {
        padding: 11px 12px !important;
        border-bottom: 0;
        border-radius: 8px;
    }

    .nav-learning-dropdown .nav-dropdown-menu > a strong {
        display: block;
    }

    .nav-learning-dropdown .nav-dropdown-menu > a span {
        display: block;
        margin-top: 3px;
        white-space: normal;
    }

    .nav-learning-dropdown.is-open
    .nav-dropdown-toggle
    .nav-dropdown-arrow {
        transform: rotate(180deg);
    }

}



/* =========================================================
   IFRSOLOGY STANDARD NEXT STEP START
   Summary → Learning / Advisory conversion pathway
   ========================================================= */

.ifrs-next-step {
    margin-top: 72px;
    padding: 48px 0 16px;
    border-top: 1px solid #dfe8f0;
}

.ifrs-next-step-heading {
    max-width: 720px;
    margin-bottom: 30px;
}

.ifrs-next-step-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #1677c8;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.ifrs-next-step-heading h2 {
    margin: 0 0 12px;
    color: #102a43;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.ifrs-next-step-heading p {
    max-width: 650px;
    margin: 0;
    color: #52677a;
    font-size: 1rem;
    line-height: 1.7;
}

.ifrs-next-step-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.ifrs-next-step-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 285px;
    padding: 28px 30px 26px;
    overflow: hidden;
    color: inherit;
    text-decoration: none !important;
    background: #f8fbfe;
    border: 1px solid #dfe9f2;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(16, 42, 67, 0.035);
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.ifrs-next-step-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: #1677c8;
}

.ifrs-next-step-card:hover {
    transform: translateY(-3px);
    background: #ffffff;
    border-color: #bdd8ec;
    box-shadow: 0 12px 30px rgba(16, 42, 67, 0.09);
}

.ifrs-next-step-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 26px;
}

.ifrs-next-step-label {
    color: #1677c8;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ifrs-next-step-arrow {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: #1677c8;
    font-size: 1.15rem;
    background: #eaf5fc;
    border-radius: 50%;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
}

.ifrs-next-step-card:hover .ifrs-next-step-arrow {
    color: #ffffff;
    background: #1677c8;
    transform: translateX(2px);
}

.ifrs-next-step-card h3 {
    margin: 0 0 13px;
    color: #102a43;
    font-size: 1.28rem;
    line-height: 1.3;
    letter-spacing: -0.015em;
}

.ifrs-next-step-card p {
    margin: 0 0 24px;
    color: #52677a;
    font-size: 0.96rem;
    line-height: 1.7;
}

.ifrs-next-step-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: #0c5f9d;
    font-size: 0.92rem;
    font-weight: 700;
}

.ifrs-next-step-card:hover .ifrs-next-step-link {
    color: #1677c8;
}

@media (max-width: 760px) {

    .ifrs-next-step {
        margin-top: 52px;
        padding-top: 38px;
    }

    .ifrs-next-step-grid {
        grid-template-columns: 1fr;
    }

    .ifrs-next-step-card {
        min-height: 0;
        padding: 25px 24px 24px;
    }

}


/* IFRSOLOGY STANDARD NEXT STEP END */



/* === IFRSOLOGY IMMERSIVE HOMEPAGE START === */

/*
 * Direction:
 * Premium / intelligent / architectural.
 *
 * Inspired by the sense of depth and movement seen in the
 * reference website, but deliberately restrained for IFRSology.
 *
 * The content remains stable and readable.
 * Only the visual environment moves.
 */


/* =========================================================
   HOMEPAGE HEADER — BLEND INTO THE EXPERIENCE
   ========================================================= */

body.home .site-header {
    position: relative;
    z-index: 50;

    background: rgba(249, 252, 255, 0.92);
    border-bottom-color: rgba(151, 175, 202, 0.22);

    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}


/* =========================================================
   IMMERSIVE HERO CANVAS
   ========================================================= */

body.home .ifrs-home-hero-wide {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    min-height: calc(100svh - 76px);

    padding-top: clamp(68px, 8vh, 92px);
    padding-bottom: clamp(60px, 7vh, 82px);

    background:
        radial-gradient(
            ellipse at 50% -8%,
            rgba(61, 134, 202, 0.17) 0%,
            rgba(61, 134, 202, 0.06) 32%,
            transparent 62%
        ),
        radial-gradient(
            circle at 10% 42%,
            rgba(68, 175, 43, 0.075) 0%,
            transparent 31%
        ),
        radial-gradient(
            circle at 92% 58%,
            rgba(44, 85, 149, 0.075) 0%,
            transparent 32%
        ),
        linear-gradient(
            180deg,
            #fbfdff 0%,
            #f7fafd 46%,
            #f3f8fc 100%
        );
}


/*
 * Perspective grid.
 *
 * Kept extremely light so that it reads as depth / architecture,
 * rather than a technology or gaming effect.
 */

body.home .ifrs-home-hero-wide::before {
    content: "";

    position: absolute;
    z-index: 0;

    width: 150%;
    height: 115%;

    left: -25%;
    top: 20%;

    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(44, 85, 149, 0.065) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(44, 85, 149, 0.065) 1px,
            transparent 1px
        );

    background-size: 74px 74px;

    opacity: 0.30;

    transform-origin: 50% 100%;
    transform:
        perspective(720px)
        rotateX(61deg)
        scale(1.20)
        translateY(13%);

    -webkit-mask-image:
        radial-gradient(
            ellipse at 50% 58%,
            #000 0%,
            rgba(0,0,0,0.92) 32%,
            transparent 76%
        );

    mask-image:
        radial-gradient(
            ellipse at 50% 58%,
            #000 0%,
            rgba(0,0,0,0.92) 32%,
            transparent 76%
        );

    animation:
        ifrsology-grid-movement 22s linear infinite;
}


/*
 * Slowly moving light volume.
 * This creates depth without becoming an obvious animation.
 */

body.home .ifrs-home-hero-wide::after {
    content: "";

    position: absolute;
    z-index: 0;

    width: 980px;
    height: 650px;

    left: 50%;
    top: 44%;

    pointer-events: none;

    border-radius: 50%;

    background:
        radial-gradient(
            ellipse at center,
            rgba(112, 171, 220, 0.11) 0%,
            rgba(112, 171, 220, 0.045) 38%,
            transparent 70%
        );

    filter: blur(8px);

    transform: translate(-50%, -50%) scale(1);

    animation:
        ifrsology-light-breathe 12s ease-in-out infinite alternate;
}


/* Keep all actual homepage content above the visual field */

body.home .ifrs-home-hero-wide > .ifrs-home-container {
    position: relative;
    z-index: 2;
}


/* =========================================================
   HERO MESSAGE — ONE CLEAR VISUAL PRIORITY
   ========================================================= */

body.home .ifrs-wide-hero-main {
    position: relative;
    z-index: 2;
}


body.home .ifrs-wide-hero-main > h1 {
    position: relative;

    max-width: 950px;

    margin-left: auto;
    margin-right: auto;

    text-align: center;

    font-size: clamp(58px, 6.4vw, 92px);
    font-weight: 720;
    line-height: 0.96;
    letter-spacing: -0.047em;

    text-wrap: balance;
}


/*
 * Retain the green IFRSology brand expression,
 * but make the second line feel integrated with the main title.
 */

body.home .ifrs-wide-hero-main > h1 span {
    margin-top: 9px;
}


/* Lead paragraph */

body.home .ifrs-wide-hero-lead {
    max-width: 690px;

    margin-top: 27px;
    margin-left: auto;
    margin-right: auto;

    text-align: center;

    color: #5f7185;

    font-size: 18px;
    line-height: 1.68;

    text-wrap: balance;
}


/* =========================================================
   THREE PRODUCTS — SECONDARY LAYER
   ========================================================= */

body.home .ifrs-hero-pathways {
    position: relative;
    z-index: 3;

    margin-top: clamp(48px, 6vh, 68px);
}


/*
 * Cards become slightly translucent.
 *
 * They remain professional white cards, but now feel like they
 * belong inside the hero environment rather than sitting on top
 * of a completely flat white page.
 */

body.home .ifrs-hero-pathway {
    border-color: rgba(151, 178, 205, 0.50);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.94) 0%,
            rgba(250, 253, 255, 0.86) 100%
        );

    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);

    box-shadow:
        0 16px 42px rgba(25, 63, 105, 0.075),
        0 2px 8px rgba(25, 63, 105, 0.035);

    transition:
        transform 0.28s cubic-bezier(.2,.7,.2,1),
        box-shadow 0.28s ease,
        border-color 0.28s ease,
        background 0.28s ease;
}


/*
 * Very restrained identity accents.
 */

body.home .ifrs-hero-pathway-consultation {
    border-top-color: rgba(68, 175, 43, 0.50);
}

body.home .ifrs-hero-pathway-learning {
    border-top-color: rgba(61, 134, 202, 0.55);
}

body.home .ifrs-hero-pathway-standards {
    border-top-color: rgba(44, 85, 149, 0.55);
}


/* Premium rather than exaggerated hover */

body.home .ifrs-hero-pathway:hover {
    transform: translateY(-6px);

    border-color: rgba(127, 159, 192, 0.68);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.985) 0%,
            rgba(248, 252, 255, 0.94) 100%
        );

    box-shadow:
        0 24px 55px rgba(25, 63, 105, 0.115),
        0 5px 14px rgba(25, 63, 105, 0.045);
}


/*
 * Keep the existing circular arrow but make it feel integrated
 * with the new visual language.
 */

body.home .ifrs-hero-pathway::after {
    background: rgba(235, 244, 252, 0.90);

    border-color: rgba(158, 185, 211, 0.62);

    box-shadow:
        0 5px 14px rgba(44, 85, 149, 0.06);
}


body.home .ifrs-hero-pathway:hover::after {
    background: #e5f0fa;
    border-color: #abc8e1;

    transform: translateX(3px);
}


/* Product identity remains prominent */

body.home .ifrs-hero-pathway-label {
    color: #173f7a;

    font-size: 21px;
    font-weight: 720;

    letter-spacing: -0.025em;
}


/* Supporting card heading stays subordinate */

body.home .ifrs-hero-pathway h3 {
    color: #3c5f87;

    font-size: 17px;
    font-weight: 600;
}


/* =========================================================
   MOTION
   ========================================================= */

@keyframes ifrsology-grid-movement {

    0% {
        background-position:
            0 0,
            0 0;
    }

    100% {
        background-position:
            0 74px,
            74px 0;
    }

}


@keyframes ifrsology-light-breathe {

    0% {
        transform:
            translate(-52%, -50%)
            scale(0.96);

        opacity: 0.72;
    }

    100% {
        transform:
            translate(-48%, -47%)
            scale(1.08);

        opacity: 1;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    body.home .ifrs-home-hero-wide {
        min-height: auto;

        padding-top: 68px;
        padding-bottom: 66px;
    }

    body.home .ifrs-wide-hero-main > h1 {
        font-size: clamp(54px, 8vw, 76px);
    }

    body.home .ifrs-hero-pathways {
        margin-top: 46px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    body.home .ifrs-home-hero-wide {
        min-height: auto;

        padding-top: 48px !important;
        padding-bottom: 52px !important;
    }


    body.home .ifrs-home-hero-wide::before {
        width: 180%;
        left: -40%;

        top: 24%;

        background-size: 52px 52px;

        opacity: 0.20;

        transform:
            perspective(600px)
            rotateX(63deg)
            scale(1.25)
            translateY(16%);
    }


    body.home .ifrs-home-hero-wide::after {
        width: 600px;
        height: 480px;

        top: 34%;

        opacity: 0.70;
    }


    body.home .ifrs-wide-hero-main > h1 {
        max-width: 560px;

        font-size: clamp(45px, 13vw, 61px);
        line-height: 0.99;
        letter-spacing: -0.043em;
    }


    body.home .ifrs-wide-hero-lead {
        max-width: 520px;

        margin-top: 22px;

        font-size: 16px;
        line-height: 1.63;
    }


    body.home .ifrs-hero-pathways {
        margin-top: 38px;
    }


    body.home .ifrs-hero-pathway-label {
        font-size: 21px;
    }

}


/* =========================================================
   ACCESSIBILITY — RESPECT REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    body.home .ifrs-home-hero-wide::before,
    body.home .ifrs-home-hero-wide::after {
        animation: none !important;
    }

}


/* === IFRSOLOGY IMMERSIVE HOMEPAGE END === */

