:root {
    color-scheme: light;
    --ink: #15273c;
    --muted: #415569;
    --blue: #184f96;
    --tint: #f2f6fa;
    --rule: #cbd6df;
    --yellow: #fff09a;
}

* {
    box-sizing: border-box;
}

main,
.site-footer {
    color: var(--ink);
    font: 1.0625rem/1.65 "Segoe UI", Arial, sans-serif;
}

.wide,
.reading {
    width: min(calc(100% - 3rem), 72rem);
    margin-inline: auto;
}

.reading {
    max-width: 48rem;
}

:where(main, .site-footer) a {
    text-decoration: underline;
    color: var(--blue);
    text-underline-offset: 0.2em;
    text-decoration-thickness: 0.075em;
}


:where(main, .site-footer) a:hover {
    text-decoration-thickness: 0.14em;
}

a:focus-visible {
    outline: 3px solid #ce7800;
    outline-offset: 4px;
}

.skip-link {
    position: absolute;
    z-index: 1100;
    left: 1rem;
    top: 0.5rem;
    padding: 0.5rem 1rem;
    transform: translateY(-150%);
    background: #fff;
}

.skip-link:focus {
    transform: none;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem 2rem;
}

.brand {
    color: var(--ink);
    font-size: 1.25rem;
    font-weight: 750;
    letter-spacing: -0.045em;
    text-decoration: none;
}

.brand span {
    color: var(--blue);
}

.actions,
.resource,
.gallery-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1.4rem;
}

.resource,
.gallery-nav,
.button {
    font-size: 0.9375rem;
    font-weight: 650;
}

.hero {
    color: #fff;
    background-color: #112b48;
    background-image: linear-gradient(90deg, rgba(11, 29, 48, 0.98) 6%, rgba(11, 29, 48, 0.94) 38%, rgba(11, 29, 48, 0.72) 59%, rgba(11, 29, 48, 0.12) 88%),
        url("../images/certification-notebook/alt-text-pane.jpg");
    background-position: center, center 48%;
    background-size: cover;
    padding-block: clamp(3.25rem, 8vw, 7.25rem);
    border-bottom: 0.35rem solid var(--yellow);
}

.hero .intro a {
    color: inherit;
}

.byline {
    margin: 0 0 1.2rem;
    color: var(--yellow);
    font-size: 0.95rem;
    font-weight: 650;
    letter-spacing: 0.025em;
}

h1,
h2,
h3,
p,
dl,
ol,
figure {
    margin: 0;
}

h1,
h2,
h3 {
    color: inherit;
    font-weight: 700;
    line-height: 1.12;
    text-wrap: balance;
}

h1 {
    max-width: 16ch;
    font-size: clamp(2.75rem, 6.3vw, 5rem);
    letter-spacing: -0.055em;
}

.intro {
    max-width: 34rem;
    margin-top: 1.4rem;
    font-size: clamp(1.05rem, 2vw, 1.23rem);
    line-height: 1.5;
}

.actions {
    gap: 0.7rem;
    margin-top: 1.65rem;
}

.button {
    display: inline-block;
    border: 1px solid transparent;
    border-radius: 0.3rem;
    padding: 0.68rem 1.1rem;
    text-decoration: none;
}

.primary {
    background: var(--yellow);
    color: #1a2b3e;
}

.outline {
    color: white;
    border-color: #b9c5d0;
    background: #17324b;
}

.button:hover {
    text-decoration: underline;
}

.chapter {
    scroll-margin-top: 4rem;
    padding-block: clamp(2.8rem, 5vw, 4.7rem);
}

.tinted {
    background: var(--tint);
}

h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    letter-spacing: -0.045em;
    margin-bottom: 1.2rem;
}

h3 {
    margin: 1.8rem 0 0.65rem;
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    letter-spacing: -0.025em;
}

.exam-list {
    margin-top: 1.6rem;
}

.exam-list dt {
    padding-left: 0.85rem;
    border-left: 0.3rem solid var(--blue);
    line-height: 1.45;
    font-size: 1.25rem;
    font-weight: 700;
}

.exam-list .powerpoint {
    border-color: #b74a2c;
}

.exam-list .excel {
    border-color: #19764e;
}

.exam-list .it {
    border-color: #7651a5;
}

.adobe-certifications {
    border-top: 1px solid var(--rule);
}

.adobe-exam-list dt {
    border-color: #b73c4d;
}

#adobe-college-credit {
    scroll-margin-top: 6rem;
}

.exam-list small {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted);
}

.exam-list dd {
    margin: 0.55rem 0 1.25rem 1.15rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--rule);
}

.resource {
    align-items: baseline;
    margin-top: 1.5rem;
}

.instructions {
    padding-inline-start: 1.55rem;
    margin-block: 1.2rem 0;
}

.instructions li {
    padding-left: 0.35rem;
    margin-top: 0.85rem;
}

.instructions li::marker {
    color: var(--blue);
    font-weight: 750;
}

.credit,
.site-footer {
    background: #112c48;
    color: #fff;
}

.credit .credit-intro {
    font-size: 1.125rem;
}

.credit table {
    width: 100%;
    margin: 1.55rem 0 0.75rem;
    border-collapse: collapse;
    color: inherit;
    text-align: left;
    line-height: 1.45;
}

.credit caption {
    caption-side: top;
    color: inherit;
    text-align: left;
    padding-bottom: 0.6rem;
    font-weight: 650;
}

.credit th,
.credit td {
    padding: 0.7rem 0.55rem;
    vertical-align: top;
    border-bottom: 1px solid #536b82;
}

.credit thead th {
    color: var(--yellow);
    background: #203e5d;
}

.credit tbody th {
    width: 50%;
    font-weight: 600;
}

.period {
    font-size: 0.9rem;
    color: #dae5ee;
}

.period + .period {
    margin-top: 0.9rem;
}

.credit .resource + .period {
    margin-top: 1rem;
}

.credit a,
.site-footer a,
.site-footer .brand span {
    color: var(--yellow);
}

.worked-example {
    margin-top: 1.6rem;
    padding: 1.25rem;
    background: #fff9dc;
    border-left: 4px solid #b8912a;
}

.worked-example h3 {
    margin-top: 0;
}

.worked-example p + p {
    margin-top: 0.5rem;
}

.notebook-gallery {
    background: var(--tint);
    border-top: 1px solid var(--rule);
}

.gallery-nav {
    margin-block: 1.25rem 2rem;
}

.gallery-stage {
    border-top: 2px solid #9baebb;
    padding-top: 0.2rem;
    scroll-margin-top: 5rem;
}

.gallery-stage h3 {
    margin: 1.25rem 0;
}

.notebook-gallery figure {
    background: #fff;
    border: 1px solid #d8dfe5;
    border-radius: 0.75rem;
    margin-bottom: 1.8rem;
    box-shadow: 0 2px 5px rgba(21, 39, 60, 0.03),
        0 12px 30px rgba(21, 39, 60, 0.07);
}

.notebook-gallery figure > a {
    position: relative;
    display: block;
    /* Reserve space for the supplies; the notebook remains fully visible. */
    padding: 10.75% 10.75% 6.5% 9.25%;
    cursor: zoom-in;
    border-radius: 0.7rem 0.7rem 0 0;
    background: linear-gradient(145deg, #f8f9fa, #edf0f2);
}

/* One continuous flat-lay image preserves the materials and soft contact shadows. */
.notebook-gallery figure > a::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/certification-notebook/realistic-stationery-frame.webp") center / 100% 100% no-repeat;
    pointer-events: none;
}

.notebook-gallery figure > a:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 3px;
}

.notebook-gallery img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #b7c1ca;
    border-radius: 0.15rem;
    box-shadow: 0 3px 10px rgba(21, 39, 60, 0.16);
}

.notebook-gallery figcaption {
    padding: 0.9rem 1.1rem 1.1rem;
    border-top: 1px solid #d8dfe5;
    font-size: 1rem;
}

.site-footer {
    padding-block: 1.8rem;
    font-size: 0.95rem;
}

.site-footer .brand {
    color: #fff;
}

@media (min-width: 992px) {
    .hero {
        padding-top: max(6rem, 8vw);
    }
}

@media (max-width: 45rem) {
    .hero {
        background-image: linear-gradient(rgba(11, 29, 48, 0.83), rgba(11, 29, 48, 0.91)),
            url("../images/certification-notebook/alt-text-pane.jpg");
    }

    .wide,
    .reading {
        width: min(calc(100% - 2.25rem), 48rem);
    }
}

@media (max-width: 30rem) {
    .credit th,
    .credit td {
        padding-inline: 0.35rem;
        font-size: 0.95rem;
    }
}
