:root{
    --hub-blue:#0b3b91;
    --hub-blue-dark:#07255f;
    --hub-blue-deep:#061b48;
    --hub-electric:#1769ff;
    --hub-sky:#eaf4ff;
    --hub-gold:#f4b942;
    --hub-ink:#101828;
    --hub-muted:#667085;
    --hub-line:#e4eaf2;
    --hub-bg:#f7faff;
    --hub-white:#ffffff;
    --hub-shadow:0 22px 55px rgba(18,47,92,.12);
}

*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    color:var(--hub-ink);
    background:var(--hub-white);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    -webkit-font-smoothing:antialiased;
}

img{
    display:block;
    max-width:100%;
}

a{
    color:inherit;
}

.hub-container{
    width:min(1240px,calc(100% - 40px));
    margin:0 auto;
}

.hub-header{
    position:sticky;
    top:0;
    z-index:50;
    border-bottom:1px solid rgba(228,234,242,.9);
    background:rgba(255,255,255,.94);
    backdrop-filter:blur(18px);
}

.hub-header-inner{
    width:min(1240px,calc(100% - 40px));
    min-height:76px;
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;
}

.hub-brand{
    display:flex;
    align-items:center;
    gap:12px;
    text-decoration:none;
}

.hub-brand-mark{
    width:43px;
    height:43px;
    display:grid;
    place-items:center;
    border-radius:14px;
    color:#fff;
    font-size:14px;
    font-weight:900;
    letter-spacing:-.4px;
    background:
        linear-gradient(
            145deg,
            var(--hub-electric),
            var(--hub-blue-dark)
        );
    box-shadow:0 10px 24px rgba(23,105,255,.25);
}

.hub-brand strong,
.hub-brand small{
    display:block;
}

.hub-brand strong{
    color:var(--hub-blue-dark);
    font-size:15px;
}

.hub-brand small{
    margin-top:2px;
    color:var(--hub-muted);
    font-size:11px;
    font-weight:700;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.hub-nav{
    display:flex;
    align-items:center;
    gap:28px;
}

.hub-nav a{
    color:#344054;
    font-size:13px;
    font-weight:750;
    text-decoration:none;
}

.hub-nav a:hover{
    color:var(--hub-electric);
}

.hub-nav .hub-home-link{
    padding:11px 16px;
    border:1px solid var(--hub-line);
    border-radius:12px;
    background:#fff;
    color:var(--hub-blue);
}

.hub-hero{
    position:relative;
    overflow:hidden;
    padding:54px 0 62px;
    background:
        radial-gradient(
            circle at 85% 18%,
            rgba(71,147,255,.24),
            transparent 31%
        ),
        linear-gradient(
            135deg,
            #f9fcff 0%,
            #edf5ff 47%,
            #f8fbff 100%
        );
}

.hub-hero::before{
    content:"";
    position:absolute;
    width:480px;
    height:480px;
    left:-230px;
    bottom:-280px;
    border-radius:50%;
    background:rgba(23,105,255,.06);
}

.hub-hero-grid{
    position:relative;
    z-index:1;
    display:grid;
    grid-template-columns:
        minmax(0,1fr)
        minmax(440px,.92fr);
    gap:54px;
    align-items:center;
}

.hub-eyebrow,
.hub-kicker{
    color:var(--hub-electric);
    font-size:12px;
    font-weight:900;
    letter-spacing:.13em;
    text-transform:uppercase;
}

.hub-hero h1{
    max-width:690px;
    margin:18px 0 22px;
    color:var(--hub-blue-deep);
    font-size:clamp(44px,5.5vw,76px);
    line-height:.99;
    letter-spacing:-.055em;
}

.hub-hero h1 span{
    color:var(--hub-electric);
}

.hub-hero-copy > p{
    max-width:660px;
    margin:0;
    color:#526078;
    font-size:18px;
    line-height:1.75;
}

.hub-hero-actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:30px;
}

.hub-button{
    display:inline-flex;
    min-height:48px;
    align-items:center;
    justify-content:center;
    padding:0 20px;
    border-radius:13px;
    font-size:14px;
    font-weight:850;
    text-decoration:none;
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.hub-button:hover{
    transform:translateY(-2px);
}

.hub-button-primary{
    color:#fff;
    background:
        linear-gradient(
            135deg,
            var(--hub-electric),
            var(--hub-blue)
        );
    box-shadow:0 14px 28px rgba(23,105,255,.24);
}

.hub-button-secondary{
    border:1px solid #d6e1ef;
    color:var(--hub-blue);
    background:rgba(255,255,255,.8);
}

.hub-trust-row{
    display:flex;
    flex-wrap:wrap;
    gap:10px 22px;
    margin-top:30px;
}

.hub-trust-row span{
    color:#53647d;
    font-size:12px;
    font-weight:750;
}

.hub-trust-row span::before{
    content:"✓";
    margin-right:7px;
    color:var(--hub-electric);
    font-weight:900;
}

.hub-lead-card{
    position:relative;
    min-height:475px;
    overflow:hidden;
    border-radius:30px;
    background:#0c2f70;
    box-shadow:0 30px 70px rgba(8,40,103,.24);
    text-decoration:none;
}

.hub-lead-card img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .5s ease;
}

.hub-lead-card:hover img{
    transform:scale(1.035);
}

.hub-lead-card::after{
    content:"";
    position:absolute;
    inset:0;
    background:
        linear-gradient(
            180deg,
            rgba(4,20,52,.02) 20%,
            rgba(4,20,52,.86) 100%
        );
}

.hub-lead-overlay{
    position:absolute;
    z-index:2;
    right:0;
    bottom:0;
    left:0;
    padding:34px;
    color:#fff;
}

.hub-category-label{
    display:inline-flex;
    margin-bottom:12px;
    color:var(--hub-electric);
    font-size:11px;
    font-weight:900;
    letter-spacing:.09em;
    text-transform:uppercase;
}

.hub-lead-overlay .hub-category-label{
    color:#cfe0ff;
}

.hub-lead-overlay h2{
    max-width:560px;
    margin:0;
    font-size:29px;
    line-height:1.12;
    letter-spacing:-.025em;
}

.hub-lead-overlay p{
    max-width:580px;
    margin:12px 0 15px;
    color:rgba(255,255,255,.84);
    font-size:14px;
    line-height:1.6;
}

.hub-read-link{
    color:var(--hub-electric);
    font-size:13px;
    font-weight:850;
    text-decoration:none;
}

.hub-lead-overlay .hub-read-link{
    color:#fff;
}

.hub-section{
    padding:82px 0;
}

.hub-category-section{
    background:#fff;
}

.hub-featured-section{
    background:var(--hub-bg);
}

.hub-latest-section{
    background:#fff;
}

.hub-section-heading{
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:40px;
    margin-bottom:32px;
}

.hub-section-heading h2{
    margin:9px 0 0;
    color:var(--hub-blue-deep);
    font-size:clamp(30px,3vw,42px);
    line-height:1.08;
    letter-spacing:-.035em;
}

.hub-section-heading > p{
    max-width:500px;
    margin:0;
    color:var(--hub-muted);
    font-size:14px;
    line-height:1.7;
}

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

.hub-category-card{
    min-height:220px;
    padding:25px;
    border:1px solid var(--hub-line);
    border-radius:22px;
    background:#fff;
    text-decoration:none;
    box-shadow:0 8px 24px rgba(16,24,40,.035);
    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.hub-category-card:hover{
    transform:translateY(-4px);
    border-color:#c9dcfa;
    box-shadow:var(--hub-shadow);
}

.hub-category-icon{
    width:44px;
    height:44px;
    display:grid;
    place-items:center;
    margin-bottom:25px;
    border-radius:13px;
    color:var(--hub-electric);
    background:var(--hub-sky);
    font-size:15px;
    font-weight:900;
}

.hub-category-card strong{
    display:block;
    color:var(--hub-blue-deep);
    font-size:18px;
}

.hub-category-card p{
    min-height:48px;
    margin:10px 0 18px;
    color:var(--hub-muted);
    font-size:13px;
    line-height:1.65;
}

.hub-category-card > span:last-child{
    color:var(--hub-electric);
    font-size:12px;
    font-weight:850;
}

.hub-featured-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:22px;
}

.hub-feature-card,
.hub-article-card{
    overflow:hidden;
    border:1px solid var(--hub-line);
    border-radius:22px;
    background:#fff;
    box-shadow:0 10px 30px rgba(16,24,40,.05);
}

.hub-card-image{
    display:block;
    overflow:hidden;
    aspect-ratio:16/9;
    background:#eaf0f8;
}

.hub-card-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .4s ease;
}

.hub-feature-card:hover img,
.hub-article-card:hover img{
    transform:scale(1.035);
}

.hub-card-body{
    padding:22px;
}

.hub-card-body h3{
    margin:0;
    color:var(--hub-blue-deep);
    font-size:20px;
    line-height:1.28;
    letter-spacing:-.02em;
}

.hub-card-body h3 a{
    text-decoration:none;
}

.hub-card-body p{
    margin:11px 0 18px;
    color:var(--hub-muted);
    font-size:13px;
    line-height:1.7;
}

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

.hub-meta{
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    gap:10px;
    margin-bottom:12px;
    color:#7a889e;
    font-size:11px;
    font-weight:750;
}

.hub-clear-filter{
    padding:11px 15px;
    border:1px solid var(--hub-line);
    border-radius:12px;
    color:var(--hub-blue);
    background:#fff;
    font-size:12px;
    font-weight:850;
    text-decoration:none;
}

.hub-empty{
    padding:50px 30px;
    border:1px dashed #cbd8ea;
    border-radius:22px;
    text-align:center;
    background:var(--hub-bg);
}

.hub-empty strong{
    color:var(--hub-blue-deep);
    font-size:20px;
}

.hub-empty p{
    color:var(--hub-muted);
}

.hub-empty a{
    color:var(--hub-electric);
    font-weight:800;
}

.hub-cta{
    padding:20px 0 84px;
}

.hub-cta-panel{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:50px;
    padding:50px;
    overflow:hidden;
    border-radius:30px;
    color:#fff;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(76,151,255,.42),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            var(--hub-blue-deep),
            var(--hub-blue)
        );
    box-shadow:0 25px 65px rgba(8,45,112,.18);
}

.hub-cta .hub-kicker{
    color:#aecdff;
}

.hub-cta h2{
    max-width:720px;
    margin:10px 0;
    font-size:clamp(29px,3vw,42px);
    line-height:1.1;
    letter-spacing:-.035em;
}

.hub-cta p{
    max-width:720px;
    margin:0;
    color:rgba(255,255,255,.76);
    line-height:1.7;
}

.hub-button-light{
    flex:0 0 auto;
    color:var(--hub-blue);
    background:#fff;
}

.hub-footer{
    padding:48px 0;
    border-top:1px solid var(--hub-line);
    background:#f8fafc;
}

.hub-footer-inner{
    display:grid;
    grid-template-columns:1fr auto;
    gap:26px 40px;
}

.hub-footer strong{
    color:var(--hub-blue-deep);
}

.hub-footer p{
    margin:6px 0 0;
    color:var(--hub-muted);
    font-size:12px;
}

.hub-footer-links{
    display:flex;
    flex-wrap:wrap;
    gap:18px;
}

.hub-footer-links a{
    color:#53647d;
    font-size:12px;
    font-weight:750;
    text-decoration:none;
}

.hub-footer-bottom{
    grid-column:1/-1;
    padding-top:22px;
    border-top:1px solid var(--hub-line);
    color:#8491a4;
    font-size:11px;
}

@media (max-width:1000px){

    .hub-hero-grid{
        grid-template-columns:1fr;
    }

    .hub-lead-card{
        min-height:460px;
    }

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

}

@media (max-width:720px){

    .hub-container,
    .hub-header-inner{
        width:min(100% - 28px,1240px);
    }

    .hub-header-inner{
        min-height:68px;
    }

    .hub-nav a:not(.hub-home-link){
        display:none;
    }

    .hub-brand small{
        display:none;
    }

    .hub-hero{
        padding:38px 0 45px;
    }

    .hub-hero-grid{
        gap:34px;
    }

    .hub-hero h1{
        font-size:46px;
    }

    .hub-hero-copy > p{
        font-size:16px;
    }

    .hub-lead-card{
        min-height:410px;
        border-radius:23px;
    }

    .hub-lead-overlay{
        padding:24px;
    }

    .hub-lead-overlay h2{
        font-size:24px;
    }

    .hub-section{
        padding:62px 0;
    }

    .hub-section-heading{
        display:block;
    }

    .hub-section-heading > p,
    .hub-clear-filter{
        display:inline-block;
        margin-top:15px;
    }

    .hub-category-grid,
    .hub-featured-grid,
    .hub-article-grid{
        grid-template-columns:1fr;
    }

    .hub-category-card{
        min-height:auto;
    }

    .hub-cta-panel{
        display:block;
        padding:34px 25px;
        border-radius:24px;
    }

    .hub-cta .hub-button{
        margin-top:25px;
    }

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

    .hub-footer-bottom{
        grid-column:auto;
    }

}

@media (max-width:430px){

    .hub-hero h1{
        font-size:40px;
    }

    .hub-home-link{
        padding:9px 11px !important;
        font-size:11px !important;
    }

    .hub-lead-card{
        min-height:370px;
    }

}


/* ==========================================================
   ACADEMY HUB — PREMIUM ARTICLE READER
   R2E-G7A5
   ========================================================== */

.hub-article-body {
    background:
        linear-gradient(
            180deg,
            #f7fbff 0,
            #ffffff 540px
        );
}

.hub-reader {
    min-height: 70vh;
}

.hub-reader-hero {
    padding:
        clamp(42px, 6vw, 82px)
        0
        clamp(42px, 6vw, 72px);
}

.hub-reader-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 36px;
    color: #43566f;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.hub-reader-back:hover {
    color: #102f67;
}

.hub-reader-heading {
    max-width: 940px;
    margin: 0 auto;
    text-align: center;
}

.hub-reader-category {
    display: inline-flex;
    margin-bottom: 18px;
    color: #1263df;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
    text-decoration: none;
    text-transform: uppercase;
}

.hub-reader-heading h1 {
    max-width: 900px;
    margin: 0 auto;
    color: #0b1f3a;
    font-size:
        clamp(38px, 6vw, 72px);
    font-weight: 850;
    letter-spacing: -.045em;
    line-height: .99;
}

.hub-reader-deck {
    max-width: 760px;
    margin: 24px auto 0;
    color: #52647b;
    font-size:
        clamp(17px, 2vw, 21px);
    line-height: 1.65;
}

.hub-reader-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
    color: #758399;
    font-size: 13px;
    font-weight: 650;
}

.hub-reader-media {
    overflow: hidden;
    max-width: 1180px;
    margin:
        clamp(38px, 5vw, 58px)
        auto
        0;
    border-radius: 30px;
    background: #e8eef7;
    box-shadow:
        0 30px 70px
        rgba(18, 47, 91, .13);
}

.hub-reader-media img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.hub-reader-content-section {
    padding:
        20px
        0
        clamp(80px, 10vw, 140px);
}

.hub-reader-layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 760px);
    justify-content: center;
    gap: clamp(44px, 7vw, 92px);
    align-items: start;
}

.hub-reader-aside {
    position: sticky;
    top: 30px;
}

.hub-reader-aside-card {
    padding: 25px;
    border: 1px solid #dfe8f4;
    border-radius: 22px;
    background: #f7fbff;
}

.hub-reader-aside-card strong {
    display: block;
    margin: 12px 0 20px;
    color: #102f67;
    font-size: 18px;
    line-height: 1.45;
}

.hub-reader-aside-card a {
    color: #1263df;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.hub-reader-content {
    min-width: 0;
    color: #27384d;
    font-size: 18px;
    line-height: 1.82;
}

.hub-reader-content > :first-child {
    margin-top: 0;
}

.hub-reader-content p {
    margin:
        0
        0
        1.55em;
}

.hub-reader-content h2 {
    margin:
        2.1em
        0
        .7em;
    color: #0d294f;
    font-size:
        clamp(27px, 3vw, 36px);
    letter-spacing: -.025em;
    line-height: 1.18;
}

.hub-reader-content h3 {
    margin:
        1.9em
        0
        .65em;
    color: #143866;
    font-size: 24px;
    line-height: 1.25;
}

.hub-reader-content ul,
.hub-reader-content ol {
    margin:
        0
        0
        1.6em;
    padding-left: 1.4em;
}

.hub-reader-content li {
    margin-bottom: .65em;
}

.hub-reader-content blockquote {
    margin:
        2.2em
        0;
    padding:
        25px
        28px;
    border-left: 4px solid #1769e0;
    border-radius: 0 18px 18px 0;
    background: #f3f8ff;
    color: #17385f;
    font-size: 20px;
    font-weight: 650;
}

.hub-reader-content a {
    color: #1263df;
    font-weight: 700;
}

.hub-reader-content img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

.hub-reader-end {
    margin-top: 64px;
    padding:
        clamp(30px, 5vw, 48px);
    border-radius: 28px;
    background:
        linear-gradient(
            135deg,
            #092958,
            #1358b7
        );
    color: #ffffff;
}

.hub-reader-end .hub-eyebrow {
    color: #9bc7ff;
}

.hub-reader-end h2 {
    margin:
        10px
        0
        14px;
    color: #ffffff;
    font-size:
        clamp(27px, 4vw, 39px);
}

.hub-reader-end p {
    max-width: 610px;
    color: #d9e8fb;
}

.hub-reader-not-found {
    display: grid;
    min-height: 70vh;
    place-items: center;
    padding: 80px 0;
}

.hub-reader-not-found-card {
    max-width: 700px;
    margin: auto;
    padding:
        clamp(40px, 7vw, 72px);
    border: 1px solid #dfe8f4;
    border-radius: 30px;
    background: #ffffff;
    text-align: center;
    box-shadow:
        0 25px 70px
        rgba(17, 47, 88, .10);
}

.hub-reader-not-found-card h1 {
    margin: 12px 0 15px;
    color: #0b1f3a;
    font-size:
        clamp(34px, 5vw, 54px);
    letter-spacing: -.04em;
}

.hub-reader-not-found-card p {
    margin:
        0
        auto
        28px;
    color: #607086;
    font-size: 17px;
    line-height: 1.65;
}

@media (max-width:1000px) {

    .hub-reader-layout {
        grid-template-columns: minmax(0, 760px);
    }

    .hub-reader-aside {
        display: none;
    }
}

@media (max-width:720px) {

    .hub-reader-hero {
        padding-top: 30px;
    }

    .hub-reader-back {
        margin-bottom: 28px;
    }

    .hub-reader-heading {
        text-align: left;
    }

    .hub-reader-deck {
        margin-left: 0;
    }

    .hub-reader-meta {
        justify-content: flex-start;
    }

    .hub-reader-media {
        border-radius: 20px;
    }

    .hub-reader-content {
        font-size: 17px;
        line-height: 1.75;
    }

    .hub-reader-end {
        border-radius: 22px;
    }
}

@media (max-width:430px) {

    .hub-reader-heading h1 {
        font-size: 38px;
    }

    .hub-reader-media {
        margin-top: 32px;
        border-radius: 16px;
    }

    .hub-reader-content {
        font-size: 16.5px;
    }

    .hub-reader-content blockquote {
        padding: 20px;
        font-size: 18px;
    }

    .hub-reader-end {
        padding: 27px 23px;
    }
}

/* ============================================================
   Academy Hub G7A7 — Premium Editorial Reader
   ============================================================ */

.hub-brand-mark-logo {
    overflow: hidden;
    padding: 0;
    background: transparent;
    box-shadow: 0 8px 22px rgba(16, 47, 103, .14);
}

.hub-brand-mark-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hub-reader-content {
    font-size: 1.075rem;
    line-height: 1.9;
    letter-spacing: -.006em;
}

.hub-reader-content p {
    margin: 0 0 1.45rem;
}

.hub-reader-content h2 {
    position: relative;
    margin: 3.2rem 0 1.15rem;
    padding-top: .2rem;
    font-size: clamp(1.55rem, 2.2vw, 2rem);
    line-height: 1.22;
    letter-spacing: -.025em;
}

.hub-reader-content h2::before {
    content: "";
    display: block;
    width: 48px;
    height: 4px;
    margin-bottom: .9rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #1263df, #f4b942);
}

.hub-reader-content h3 {
    margin: 2.2rem 0 .85rem;
    font-size: 1.25rem;
    line-height: 1.35;
}

.hub-reader-content strong {
    color: #102f67;
    font-weight: 750;
}

.hub-reader-content ul,
.hub-reader-content ol {
    margin: 1.25rem 0 1.75rem;
    padding-left: 1.55rem;
}

.hub-reader-content li {
    margin: .6rem 0;
    padding-left: .35rem;
}

.hub-reader-content li::marker {
    color: #1263df;
    font-weight: 800;
}

.hub-inline-code {
    padding: .16em .42em;
    border: 1px solid #dbe6f4;
    border-radius: 6px;
    background: #f3f7fc;
    color: #123d75;
    font-size: .88em;
    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        "Liberation Mono",
        monospace;
}

.hub-code-block {
    position: relative;
    overflow-x: auto;
    margin: 1.5rem 0 2rem;
    padding: 1.35rem 1.45rem;
    border: 1px solid rgba(120, 166, 226, .22);
    border-radius: 16px;
    background: #091a31;
    box-shadow: 0 18px 42px rgba(11, 31, 58, .12);
}

.hub-code-block code {
    display: block;
    min-width: max-content;
    color: #e8f2ff;
    font-size: .92rem;
    line-height: 1.75;
    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        "Liberation Mono",
        monospace;
    white-space: pre;
}

.hub-reader-content blockquote {
    margin: 2rem 0;
    padding: 1.25rem 1.4rem;
    border-radius: 0 14px 14px 0;
    background: linear-gradient(
        90deg,
        rgba(18, 99, 223, .08),
        rgba(18, 99, 223, .025)
    );
}

@media (max-width: 720px) {
    .hub-reader-content {
        font-size: 1rem;
        line-height: 1.82;
    }

    .hub-reader-content h2 {
        margin-top: 2.5rem;
    }

    .hub-code-block {
        margin-left: -.25rem;
        margin-right: -.25rem;
        padding: 1.1rem;
        border-radius: 12px;
    }
}

/* ============================================================
   Academy Hub G7A9 — Article Header & Navigation Polish
   ============================================================ */

/*
 * Premium article header navigation.
 * Overrides only presentation; no structural changes.
 */

.hub-header {
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid rgba(16, 47, 103, .08);
    box-shadow: 0 5px 24px rgba(16, 47, 103, .045);
}

.hub-header-inner {
    min-height: 78px;
}

.hub-brand {
    flex-shrink: 0;
}

.hub-brand-mark-logo {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    box-shadow: 0 8px 22px rgba(16, 47, 103, .12);
}

.hub-brand strong {
    font-size: 16px;
    line-height: 1.15;
    letter-spacing: -.01em;
}

.hub-brand small {
    margin-top: 4px;
    font-size: 10.5px;
    letter-spacing: .13em;
}

/* Header navigation — remove browser-link appearance */

.hub-nav {
    gap: 10px;
}

.hub-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: #344054;
    text-decoration: none;
    font-size: 13px;
    font-weight: 750;
    line-height: 1;
    transition:
        color .18s ease,
        background .18s ease,
        border-color .18s ease,
        transform .18s ease,
        box-shadow .18s ease;
}

.hub-nav a:hover {
    color: #102f67;
    background: #f4f8ff;
    border-color: #dce8fa;
    text-decoration: none;
    transform: translateY(-1px);
}

.hub-nav a:focus-visible {
    outline: 3px solid rgba(18, 99, 223, .18);
    outline-offset: 2px;
}

/* Academy Portal becomes the stronger destination action */

.hub-nav .hub-home-link {
    color: #ffffff;
    background: linear-gradient(
        135deg,
        #1769ff,
        #102f67
    );
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(18, 99, 223, .16);
}

.hub-nav .hub-home-link:hover {
    color: #ffffff;
    background: linear-gradient(
        135deg,
        #0f5ee9,
        #0c285b
    );
    border-color: transparent;
    box-shadow: 0 11px 25px rgba(18, 99, 223, .22);
}

/* Premium back-navigation control */

.hub-reader-back {
    display: inline-flex;
    align-items: center;
    width: max-content;
    gap: 8px;
    margin-bottom: 34px;
    padding: 10px 15px;
    border: 1px solid #dbe6f4;
    border-radius: 999px;
    background: #ffffff;
    color: #234a80;
    text-decoration: none;
    font-size: 13px;
    font-weight: 750;
    line-height: 1;
    box-shadow: 0 5px 18px rgba(16, 47, 103, .055);
    transition:
        transform .18s ease,
        color .18s ease,
        border-color .18s ease,
        background .18s ease,
        box-shadow .18s ease;
}

.hub-reader-back:hover {
    color: #102f67;
    background: #f6f9fe;
    border-color: #bfd3ee;
    text-decoration: none;
    transform: translateX(-2px);
    box-shadow: 0 8px 22px rgba(16, 47, 103, .08);
}

.hub-reader-back:focus-visible {
    outline: 3px solid rgba(18, 99, 223, .18);
    outline-offset: 3px;
}

/* Tighten article masthead vertical rhythm */

.hub-reader-hero {
    padding-top: 38px;
}

/* Mobile refinement */

@media (max-width: 720px) {

    .hub-header-inner {
        min-height: 68px;
    }

    .hub-brand-mark-logo {
        width: 42px;
        height: 42px;
        border-radius: 11px;
    }

    .hub-nav {
        gap: 6px;
    }

    .hub-nav .hub-home-link {
        min-height: 36px;
        padding: 0 12px;
        font-size: 12px;
    }

    .hub-reader-hero {
        padding-top: 24px;
    }

    .hub-reader-back {
        margin-bottom: 25px;
        padding: 9px 13px;
        font-size: 12px;
    }
}


/* ============================================================
   R2E-G7A10-SITE-NAV-COMPATIBILITY
   Article reader markup uses .hub-site-nav.
   Keep this patch intentionally scoped to the article reader.
   ============================================================ */

.hub-article-body .hub-site-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hub-article-body .hub-site-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0.5rem 0.8rem;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--hub-ink, #17244a);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition:
        background-color 160ms ease,
        border-color 160ms ease,
        color 160ms ease,
        box-shadow 160ms ease,
        transform 160ms ease;
}

.hub-article-body .hub-site-nav a:hover {
    background: #ffffff;
    border-color: rgba(47, 91, 234, 0.18);
    color: var(--hub-blue, #2f5bea);
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(18, 34, 74, 0.07);
    transform: translateY(-1px);
}

.hub-article-body .hub-site-nav a:focus-visible {
    outline: 3px solid rgba(47, 91, 234, 0.2);
    outline-offset: 3px;
}

@media (max-width: 760px) {
    .hub-article-body .hub-site-nav {
        gap: 0.25rem;
    }

    .hub-article-body .hub-site-nav a {
        min-height: 34px;
        padding: 0.4rem 0.6rem;
        font-size: 0.82rem;
    }
}

/* R2E-G7A10-SITE-NAV-COMPATIBILITY-END */

/* ============================================================
   R2E-G7A11-ARTICLE-FOOTER-COMPATIBILITY
   Article reader markup uses .hub-site-footer.
   Scope intentionally restricted to the article reader.
   ============================================================ */

.hub-article-body .hub-site-footer {
    margin-top: 4rem;
    background:
        linear-gradient(
            135deg,
            #101c42 0%,
            #172b62 55%,
            #203c87 100%
        );
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hub-article-body .hub-site-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-height: 118px;
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
}

.hub-article-body .hub-site-footer-inner > div {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.hub-article-body .hub-site-footer strong {
    display: block;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
}

.hub-article-body .hub-site-footer span {
    display: block;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    line-height: 1.4;
}

.hub-article-body .hub-site-footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.55rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
    font-size: 0.88rem;
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
    transition:
        background-color 160ms ease,
        border-color 160ms ease,
        transform 160ms ease;
}

.hub-article-body .hub-site-footer a:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
}

.hub-article-body .hub-site-footer a:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.28);
    outline-offset: 3px;
}

@media (max-width: 760px) {
    .hub-article-body .hub-site-footer {
        margin-top: 3rem;
    }

    .hub-article-body .hub-site-footer-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 1.25rem;
        min-height: 0;
        padding-top: 1.6rem;
        padding-bottom: 1.6rem;
    }
}

/* R2E-G7A11-ARTICLE-FOOTER-COMPATIBILITY-END */

/* ============================================================
   R2E-G8-F1 — ARTICLE SHELL MOBILE GEOMETRY
   Restores the missing width/centering contract for article
   reader markup that uses .hub-shell.
   ============================================================ */

.hub-article-body .hub-shell {
    width: min(1240px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 720px) {
    .hub-article-body .hub-shell {
        width: min(1240px, calc(100% - 28px));
    }

    .hub-article-body .hub-reader-heading h1,
    .hub-article-body .hub-reader-deck,
    .hub-article-body .hub-reader-content {
        overflow-wrap: anywhere;
    }
}

/* R2E-G8-F1-END */

/* ============================================================
   ACADEMY HUB — F2D-P7B-1
   Premium article conversion boundary
   ============================================================ */

.hub-premium-gate {
    position: relative;
    overflow: hidden;
    margin: 56px 0 18px;
    padding: clamp(32px, 5vw, 58px);
    border-radius: 30px;
    background:
        radial-gradient(
            circle at 88% 12%,
            rgba(255, 214, 92, .22),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #10245f 0%,
            #244aa5 58%,
            #3563d8 100%
        );
    box-shadow:
        0 28px 70px rgba(16, 36, 95, .18);
    color: #ffffff;
}

.hub-premium-gate::before {
    content: "";
    display: block;
    width: 64px;
    height: 4px;
    margin-bottom: 26px;
    border-radius: 999px;
    background:
        linear-gradient(
            90deg,
            #4e7cff,
            #ffd45c
        );
}

.hub-premium-gate-kicker {
    display: block;
    margin-bottom: 16px;
    color: #dce7ff;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .18em;
}

.hub-reader-content .hub-premium-gate h2 {
    max-width: 720px;
    margin: 0 0 18px;
    padding: 0;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.06;
    letter-spacing: -.04em;
}

.hub-reader-content .hub-premium-gate h2::before {
    display: none;
}

.hub-reader-content .hub-premium-gate p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, .86);
    font-size: 1.05rem;
    line-height: 1.75;
}

.hub-premium-gate-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px 22px;
    margin-top: 30px;
}

.hub-premium-gate .hub-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 22px;
    border-radius: 14px;
    background: #ffffff;
    color: #173b91;
    font-weight: 800;
    text-decoration: none;
    box-shadow:
        0 12px 30px rgba(0, 0, 0, .14);
}

.hub-premium-gate .hub-primary-button:hover {
    transform: translateY(-1px);
}

.hub-premium-gate-actions span {
    max-width: 260px;
    color: rgba(255, 255, 255, .72);
    font-size: .88rem;
    line-height: 1.5;
}

@media (max-width: 720px) {
    .hub-premium-gate {
        margin-top: 40px;
        padding: 30px 24px;
        border-radius: 24px;
    }

    .hub-premium-gate-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hub-premium-gate .hub-primary-button {
        width: 100%;
        text-align: center;
    }

    .hub-premium-gate-actions span {
        max-width: none;
        text-align: center;
    }
}

/* ==========================================================
   ACADEMY HUB PREMIUM — P1A MEMBERSHIP-AWARE EXPERIENCE
   ========================================================== */

.hub-membership-nav {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 13px;
    border: 1px solid rgba(15, 76, 129, 0.14);
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    white-space: nowrap;
}

.hub-membership-nav-subscriber {
    background:
        linear-gradient(
            135deg,
            rgba(255, 248, 218, 0.98),
            rgba(255, 255, 255, 0.98)
        );
    border-color: rgba(187, 143, 24, 0.34);
    box-shadow: 0 8px 24px rgba(141, 105, 13, 0.10);
}

.hub-membership-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1f9d63;
    box-shadow: 0 0 0 4px rgba(31, 157, 99, 0.12);
}

.hub-membership-panel {
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 18px 20px;
    border: 1px solid rgba(15, 76, 129, 0.12);
    border-radius: 20px;
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.98),
            rgba(240, 247, 255, 0.96)
        );
    box-shadow: 0 16px 42px rgba(16, 52, 87, 0.08);
}

.hub-membership-panel-subscriber {
    border-color: rgba(187, 143, 24, 0.28);
    background:
        linear-gradient(
            135deg,
            rgba(255, 252, 235, 0.98),
            rgba(255, 255, 255, 0.98) 52%,
            rgba(238, 248, 255, 0.98)
        );
}

.hub-membership-panel-copy {
    min-width: 0;
}

.hub-membership-panel-label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.hub-membership-panel-copy strong {
    display: block;
    font-size: 1rem;
    line-height: 1.35;
}

.hub-membership-panel-copy p {
    margin: 5px 0 0;
    max-width: 560px;
    font-size: 0.88rem;
    line-height: 1.55;
    opacity: 0.78;
}

.hub-membership-action {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 13px;
    background: #0f4c81;
    color: #fff;
    text-decoration: none;
    font-weight: 850;
    box-shadow: 0 10px 24px rgba(15, 76, 129, 0.18);
}

.hub-membership-panel-subscriber .hub-membership-action {
    background:
        linear-gradient(
            135deg,
            #8c6810,
            #b78a18
        );
}

.hub-premium-row {
    margin-bottom: 10px;
}

.hub-premium-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 9px;
    border: 1px solid rgba(184, 137, 20, 0.26);
    border-radius: 999px;
    background: rgba(255, 247, 213, 0.96);
    color: #74550b;
    font-size: 0.67rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.08em;
}

.hub-premium-badge-unlocked {
    border-color: rgba(31, 157, 99, 0.25);
    background: rgba(231, 249, 240, 0.98);
    color: #12643f;
}

.hub-lead-overlay .hub-premium-badge {
    margin-bottom: 9px;
}

.hub-feature-card .hub-premium-badge {
    margin-bottom: 9px;
}

@media (max-width: 980px) {
    .hub-membership-nav {
        padding: 8px 10px;
        font-size: 0.82rem;
    }
}

@media (max-width: 760px) {
    .hub-membership-panel {
        align-items: flex-start;
        flex-direction: column;
        padding: 17px;
    }

    .hub-membership-action {
        width: 100%;
    }

    .hub-membership-nav {
        white-space: normal;
    }
}


/* ============================================================
   ACADEMY HUB PREMIUM — P2A-R1
   Premium Article Reader Experience
   Presentation only. No access authority lives in CSS/UI.
   ============================================================ */

.hub-reader-premium-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0 4px;
    padding: 8px 13px;
    border: 1px solid rgba(27, 126, 87, .18);
    border-radius: 999px;
    background: rgba(235, 249, 242, .92);
    color: #176744;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.25;
}

.hub-reader-premium-status strong {
    margin-left: 5px;
    color: #0d4d32;
}

.hub-reader-premium-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: #1f9d68;
    box-shadow: 0 0 0 4px rgba(31, 157, 104, .12);
}

.hub-reader-member-banner {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: center;
    margin: 0 0 34px;
    padding: 20px 22px;
    border: 1px solid rgba(184, 143, 45, .22);
    border-radius: 18px;
    background:
        linear-gradient(
            135deg,
            rgba(255, 251, 237, .98),
            rgba(249, 252, 255, .98)
        );
    box-shadow: 0 14px 36px rgba(21, 35, 58, .07);
}

.hub-reader-member-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #153a6b;
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(21, 58, 107, .18);
}

.hub-reader-member-kicker {
    display: block;
    margin-bottom: 3px;
    color: #9a731d;
    font-size: .69rem;
    font-weight: 900;
    letter-spacing: .12em;
}

.hub-reader-member-banner strong {
    display: block;
    color: #15243a;
    font-size: 1rem;
    line-height: 1.35;
}

.hub-reader-content .hub-reader-member-banner p {
    margin: 4px 0 0;
    color: #647084;
    font-size: .88rem;
    line-height: 1.55;
}

.hub-reader-end-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
}

.hub-reader-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 17px;
    border: 1px solid rgba(21, 58, 107, .16);
    border-radius: 12px;
    background: #fff;
    color: #153a6b;
    font-size: .88rem;
    font-weight: 800;
    text-decoration: none;
    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.hub-reader-secondary-button:hover {
    transform: translateY(-1px);
    border-color: rgba(21, 58, 107, .34);
    box-shadow: 0 8px 22px rgba(21, 58, 107, .08);
}

.hub-reader-secondary-button:focus-visible {
    outline: 3px solid rgba(21, 58, 107, .22);
    outline-offset: 3px;
}

@media (max-width: 680px) {
    .hub-reader-premium-status {
        align-items: flex-start;
        border-radius: 14px;
        line-height: 1.4;
    }

    .hub-reader-member-banner {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .hub-reader-end-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hub-reader-end-actions .hub-primary-button,
    .hub-reader-secondary-button {
        width: 100%;
        text-align: center;
    }
}

/* ============================================================
   ACADEMY HUB — H3-B2
   Academy ICT Premium Library Presentation
   Presentation only.
   Access authority remains in the protected ICT reader.
   ============================================================ */

.hub-ict-library-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 92% 4%,
            rgba(37, 132, 214, .10),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            #f7fbff 0%,
            #ffffff 46%,
            #f8fbff 100%
        );
}

.hub-ict-library-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: min(1180px, calc(100% - 40px));
    height: 1px;
    transform: translateX(-50%);
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(15, 76, 129, .16),
            transparent
        );
}

.hub-ict-library-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 34px;
    align-items: end;
    margin-bottom: 34px;
}

.hub-ict-library-heading {
    max-width: 760px;
}

.hub-ict-premium-pill {
    display: inline-flex;
    align-items: center;
    margin-left: 9px;
    padding: 6px 10px;
    border: 1px solid rgba(183, 138, 24, .24);
    border-radius: 999px;
    background:
        linear-gradient(
            135deg,
            rgba(255, 249, 221, .98),
            rgba(255, 255, 255, .98)
        );
    color: #80600f;
    font-size: .66rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .09em;
    vertical-align: middle;
}

.hub-ict-library-heading h2 {
    margin: 14px 0 12px;
    max-width: 700px;
    color: #14263e;
    font-size: clamp(2rem, 4vw, 3.45rem);
    line-height: 1.04;
    letter-spacing: -.035em;
}

.hub-ict-library-heading > p {
    margin: 0;
    max-width: 700px;
    color: #617086;
    font-size: 1rem;
    line-height: 1.75;
}

.hub-ict-library-stat {
    min-width: 160px;
    padding: 18px 20px;
    border: 1px solid rgba(15, 76, 129, .11);
    border-radius: 20px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 14px 36px rgba(21, 58, 107, .08);
    text-align: center;
}

.hub-ict-library-stat strong {
    display: block;
    color: #0f4c81;
    font-size: 2rem;
    line-height: 1;
}

.hub-ict-library-stat span {
    display: block;
    margin-top: 7px;
    color: #6b7788;
    font-size: .76rem;
    font-weight: 800;
    line-height: 1.3;
}

.hub-ict-book-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.hub-ict-book-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(20, 55, 92, .10);
    border-radius: 22px;
    background: #fff;
    box-shadow:
        0 14px 34px rgba(22, 52, 87, .08);
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}

.hub-ict-book-card:hover {
    transform: translateY(-5px);
    border-color: rgba(15, 76, 129, .20);
    box-shadow:
        0 22px 48px rgba(22, 52, 87, .14);
}

.hub-ict-book-cover {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background:
        linear-gradient(
            145deg,
            #edf5fc,
            #f9fcff
        );
}

.hub-ict-book-cover::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 22%;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(10, 31, 55, .08)
        );
}

.hub-ict-book-cover img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .35s ease;
}

.hub-ict-book-card:hover .hub-ict-book-cover img {
    transform: scale(1.025);
}

.hub-ict-book-body {
    padding: 18px 18px 20px;
}

.hub-ict-book-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    margin-bottom: 9px;
    color: #788496;
    font-size: .70rem;
    font-weight: 850;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.hub-ict-book-body h3 {
    margin: 0;
    color: #17283f;
    font-size: 1.02rem;
    line-height: 1.35;
}

.hub-ict-book-body h3 a {
    color: inherit;
    text-decoration: none;
}

.hub-ict-book-body h3 a:hover {
    color: #0f4c81;
}

.hub-ict-book-action {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 15px;
    color: #0f4c81;
    font-size: .79rem;
    font-weight: 900;
    text-decoration: none;
}

.hub-ict-book-action span {
    transition: transform .18s ease;
}

.hub-ict-book-action:hover span {
    transform: translateX(3px);
}

.hub-ict-book-cover:focus-visible,
.hub-ict-book-body h3 a:focus-visible,
.hub-ict-book-action:focus-visible {
    outline: 3px solid rgba(15, 76, 129, .22);
    outline-offset: 3px;
}

.hub-ict-library-note {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 15px;
    align-items: center;
    margin-top: 32px;
    padding: 18px 20px;
    border: 1px solid rgba(183, 138, 24, .18);
    border-radius: 19px;
    background:
        linear-gradient(
            135deg,
            rgba(255, 251, 235, .96),
            rgba(255, 255, 255, .98) 48%,
            rgba(241, 248, 255, .96)
        );
}

.hub-ict-library-note-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #153a6b;
    color: #fff;
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .04em;
    box-shadow: 0 8px 20px rgba(21, 58, 107, .16);
}

.hub-ict-library-note strong {
    display: block;
    color: #17283f;
    font-size: .92rem;
}

.hub-ict-library-note p {
    margin: 4px 0 0;
    color: #6a7688;
    font-size: .82rem;
    line-height: 1.55;
}

@media (max-width: 1080px) {
    .hub-ict-book-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .hub-ict-library-intro {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .hub-ict-library-stat {
        min-width: 0;
        width: fit-content;
        text-align: left;
    }

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

@media (max-width: 540px) {
    .hub-ict-library-heading h2 {
        font-size: 2rem;
    }

    .hub-ict-premium-pill {
        margin-top: 9px;
        margin-left: 0;
    }

    .hub-ict-book-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hub-ict-book-card {
        max-width: 420px;
        width: 100%;
        margin-inline: auto;
    }

    .hub-ict-library-note {
        grid-template-columns: 1fr;
    }
}

