/* ======================================================
   01-style.css — Common + Page + Bootstrap + Video embed
   All configurable tokens prefixed with -f1
   ====================================================== */

/* ======================================================
   COMMON
   ====================================================== */

a {
    color: var(--color-link-f1);
    text-decoration: none;
}

a:hover {
    color: var(--color-link-hover-f1);
}

img {
    max-width: 100%;
}

pre, code {
    color: var(--color-code-text-f1);
    background-color: var(--color-code-bg-f1);
}

code {
    display: inline-block;
    padding: 0 0.5em;
    line-height: 1.4em;
    border-radius: var(--border-radius-code-f1);
}

pre {
    overflow-x: scroll;
    padding: var(--padding-pre-vertical-f1) var(--padding-pre-horizontal-f1);
    line-height: 1.5;
    border-radius: var(--border-radius-pre-f1) !important;
}

/* ======================================================
   BOOTSTRAP OVERRIDES
   ====================================================== */

.list-group-item {
    background-color: inherit;
}

.badge {
    font-size: var(--font-size-badge-f1);
    font-weight: var(--font-weight-badge-f1);
}

.bi {
    margin-right: var(--icon-margin-right-f1) !important;
}

.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* ======================================================
   PAGE CONTENT
   ====================================================== */

section.page {
    font-size: var(--font-size-base-f1);
}

section.page .description {
    font-style: var(--font-style-italic-f1);
}

section.page a {
    color: var(--color-link-hover-f1);
}

section.page p {
    margin-bottom: var(--margin-p-bottom-f1);
}

section.page h1.page-title {
    font-size: var(--font-size-h1-f1);
}

section.page h2 {
    font-size: var(--font-size-h2-f1);
}

section.page h3 {
    font-size: var(--font-size-h3-f1);
}

section.page h4 {
    font-size: var(--font-size-h4-f1);
}

section.page h5 {
    font-size: var(--font-size-h5-f1);
}

section.page h2,
section.page h3,
section.page h4,
section.page h5 {
    margin: var(--margin-heading-top-f1) 0 var(--margin-heading-bottom-f1) 0;
}

/* ======================================================
   VIDEO EMBED RESPONSIVE
   ====================================================== */

.video-embed {
    overflow: hidden;
    padding-bottom: 56.25%; /* 16:9 */
    position: relative;
    height: 0;
}

.video-embed iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}
