/* Cameron Murdoch — shared NorTexNexus course-site stylesheet.
   The Assignment 5 design adapts Docmed's clean medical-practice palette
   and service-card layout for the existing static HTML project. */
:root {
    --navy: #0858ad;
    --navy-dark: #064487;
    --teal: #0a6fd6;
    --teal-dark: #0858ad;
    --gold: #5db2ff;
    --paper: #ffffff;
    --page: #f5fbff;
    --ink: #1f1f1f;
    --muted: #595f66;
    --line: #d7e7f4;
    --soft-blue: #eaf5ff;
    --danger: #9d1010;
    --danger-dark: #650000;
    --danger-bg: #fff2f2;
    --success: #17643a;
    --success-bg: #effaf3;
    --shadow: 0 10px 28px rgba(8, 88, 173, 0.10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: var(--ink);
    background: var(--page);
}

a {
    color: #145b88;
}

a:hover,
a:focus {
    color: #0a3d5e;
}

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

.site-header {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 3px 12px rgba(31, 31, 31, 0.04);
}

.brand-row {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 12px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.brand-logo {
    width: 190px;
    max-height: 120px;
    object-fit: contain;
}

.site-title {
    margin: 0;
    color: var(--navy);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    line-height: 1.1;
}

.site-tagline {
    margin: 4px 0 0;
    color: var(--muted);
}

.site-nav {
    background: var(--paper);
    color: #ffffff;
    border-top: 1px solid var(--line);
    border-bottom: 3px solid var(--teal);
}

.site-nav .nav-inner {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 6px 0;
}

.site-nav a {
    color: var(--ink);
    text-decoration: none;
    padding: 9px 12px;
    border-radius: 4px;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a[aria-current="page"] {
    background: var(--soft-blue);
    color: var(--navy);
}

main {
    width: min(1100px, calc(100% - 32px));
    margin: 28px auto 46px;
}

.page-intro {
    text-align: center;
    margin-bottom: 24px;
}

.page-intro h2 {
    margin-bottom: 8px;
    color: var(--navy);
    font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.page-intro p {
    max-width: 820px;
    margin: 0 auto;
    color: var(--muted);
}

.topic-image-wrap {
    margin: 0 auto 22px;
    text-align: center;
}

.topic-image {
    width: min(760px, 100%);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.content-panel,
.tool-panel,
.assignment-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.assignment-card {
    border-top: 4px solid var(--teal);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.assignment-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(8, 88, 173, 0.14);
}

.content-panel,
.tool-panel {
    padding: clamp(18px, 3vw, 30px);
    margin: 22px 0;
}

.content-panel h2,
.content-panel h3,
.tool-panel h3 {
    color: var(--navy);
}

.notice {
    border-left: 5px solid var(--teal);
    background: var(--soft-blue);
    padding: 14px 16px;
    margin: 18px 0;
}

/* The warning intentionally pulses rather than flashes. The reduced-motion
   rule below removes animation for users who request less motion. */
.estimate-warning {
    margin: 24px auto;
    padding: 20px;
    border: 4px solid var(--danger);
    border-radius: 8px;
    background: var(--danger-bg);
    color: var(--danger-dark);
    text-align: center;
    box-shadow: 0 0 0 2px rgba(157, 16, 16, 0.10), 0 0 20px rgba(157, 16, 16, 0.35);
    animation: cautionPulse 2.8s ease-in-out infinite;
}

.estimate-warning strong {
    display: block;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    letter-spacing: 0.03em;
    margin-bottom: 8px;
}

@keyframes cautionPulse {
    0%, 100% {
        box-shadow: 0 0 0 2px rgba(157, 16, 16, 0.10), 0 0 14px rgba(157, 16, 16, 0.25);
    }
    50% {
        box-shadow: 0 0 0 4px rgba(157, 16, 16, 0.18), 0 0 28px rgba(157, 16, 16, 0.55);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .estimate-warning {
        animation: none;
    }
}

form {
    width: min(900px, 100%);
    margin: 0 auto;
}

fieldset {
    border: 1px solid #aebdca;
    border-radius: 7px;
    margin: 0 0 24px;
    padding: 20px;
    background: #ffffff;
}

legend {
    padding: 0 8px;
    font-weight: 700;
    color: var(--navy);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
}

.form-grid .full-width {
    grid-column: 1 / -1;
}

label,
.group-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
}

.help-text {
    margin: 4px 0 8px;
    color: var(--muted);
    font-size: 0.92rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
    width: 100%;
    min-height: 42px;
    padding: 9px 10px;
    border: 1px solid #93a4b5;
    border-radius: 4px;
    background: #ffffff;
    color: var(--ink);
    font: inherit;
}

select[multiple] {
    min-height: 190px;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: 3px solid rgba(20, 91, 136, 0.25);
    outline-offset: 2px;
    border-color: #145b88;
}

.choice-list {
    display: grid;
    gap: 8px;
    margin-top: 8px;
}

.choice-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-weight: 400;
}

.choice-item input {
    margin-top: 5px;
    flex: 0 0 auto;
}

.button-row {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

button,
input[type="submit"],
input[type="reset"] {
    min-height: 42px;
    padding: 9px 16px;
    border: 1px solid var(--navy);
    border-radius: 4px;
    background: var(--navy);
    color: #ffffff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

button:hover,
button:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
    background: var(--navy-dark);
}

button.secondary,
input[type="reset"] {
    background: #ffffff;
    color: var(--navy);
}

button.secondary:hover,
button.secondary:focus,
input[type="reset"]:hover,
input[type="reset"]:focus {
    background: #eef3f7;
}

button.danger-link {
    border-color: #b54a4a;
    background: #ffffff;
    color: #8c2424;
}

.rating-list {
    display: grid;
    gap: 10px;
    margin: 14px 0;
}

.rating-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 170px 110px;
    gap: 10px;
    align-items: end;
    padding: 10px;
    border: 1px solid #d7e0e8;
    border-radius: 5px;
    background: #fbfcfd;
}

.rating-row label {
    margin: 0;
}

.result-panel {
    margin-top: 18px;
    padding: 18px;
    border: 2px solid var(--teal);
    border-radius: 7px;
    background: #f4fbfb;
}

.result-panel[hidden] {
    display: none;
}

.result-headline {
    margin: 0 0 12px;
    color: var(--navy);
    font-size: 1.2rem;
}

.rating-badge {
    display: inline-block;
    margin: 4px 0 10px;
    padding: 5px 10px;
    border-radius: 4px;
    background: var(--navy);
    color: #ffffff;
    font-weight: 700;
}

.math-steps {
    margin: 12px 0;
    padding-left: 22px;
}

.math-steps li {
    margin-bottom: 8px;
}

.mini-warning {
    margin-top: 12px;
    padding: 10px 12px;
    border-left: 4px solid var(--danger);
    background: var(--danger-bg);
    color: var(--danger-dark);
    font-weight: 700;
}

.form-message {
    margin: 14px 0 0;
    padding: 12px 14px;
    border-radius: 5px;
}

.form-message.success {
    border: 1px solid #86c99f;
    background: var(--success-bg);
    color: var(--success);
}

.form-message.error {
    border: 1px solid #e09a9a;
    background: var(--danger-bg);
    color: var(--danger-dark);
}

.resource-table-wrap {
    overflow-x: auto;
}

.resource-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #7f91a2;
    background: #ffffff;
}

.resource-table caption {
    text-align: left;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.resource-table th,
.resource-table td {
    border-right: 1px solid #aebdca;
    border-bottom: 1px solid #aebdca;
    padding: 10px;
    text-align: left;
    vertical-align: top;
}

.resource-table th:last-child,
.resource-table td:last-child {
    border-right: 0;
}

.resource-table tbody tr:last-child td {
    border-bottom: 0;
}

.resource-table th {
    background: var(--navy);
    color: #ffffff;
}

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

.assignment-card {
    padding: 20px;
}

.assignment-card h3 {
    margin-top: 0;
    color: var(--navy);
}

.site-footer {
    border-top: 1px solid var(--line);
    background: #ffffff;
    padding: 22px 16px;
    text-align: center;
    color: var(--muted);
}

.site-footer nav {
    margin-bottom: 8px;
}

.site-footer nav a {
    margin: 0 6px;
}

.cooltext-logo {
    width: min(350px, 90%);
}

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

@media (max-width: 760px) {
    .brand-row {
        align-items: flex-start;
    }

    .brand-logo {
        width: 130px;
    }

    .form-grid,
    .assignment-grid {
        grid-template-columns: 1fr;
    }

    .rating-row {
        grid-template-columns: 1fr;
    }

    .button-row {
        justify-content: stretch;
    }

    .button-row button,
    .button-row input {
        flex: 1 1 180px;
    }
}

/* Assignment 4 shared refinements: headings, lists, links and keyboard access. */
h2, h3 { font-family: Georgia, "Times New Roman", serif; }
main p { margin-bottom: 1.1rem; }
.content-panel li { font-family: Arial, Helvetica, sans-serif; margin-bottom: .5rem; }
main a { text-underline-offset: .2em; }
:focus-visible { outline: 3px solid #b8892e; outline-offset: 3px; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 10; padding: 12px; background: #fff; color: #102a43; }
.skip-link:focus { top: 8px; }
/* Box model applies ONLY to the Assignment 3 registration form container. */
.registration-form-wrapper {
    width: min(960px, 100%);
    min-height: 320px;
    margin: 28px auto;
    padding: clamp(16px, 3vw, 28px);
    border: 2px solid var(--teal);
    border-radius: 10px;
    background-color: var(--soft-blue);
    box-shadow: var(--shadow);
}
.registration-form-wrapper fieldset { min-width: 0; }
.contact-form-container { margin: 22px auto; }
#contactForm .button-row { justify-content: flex-end; }
#contactForm input[type="submit"] { background: var(--teal-dark); border-color: var(--teal-dark); flex: 0 0 auto; }
#contactForm input[type="submit"]:hover { background: var(--navy); }
@media (max-width: 480px) {
    .brand-row { flex-direction: column; gap: 10px; }
    .site-title { overflow-wrap: anywhere; }
    fieldset { padding: 14px; min-width: 0; }
}

.video-wrap {
    position: relative;
    width: min(850px, 100%);
    margin: 20px auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    background: #eaf5ff;
}
.video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
:focus-visible { outline-color: var(--teal); }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .assignment-card { transition: none; }
}

/* Docmed template integration: contact strip, split hero, and service bands. */
.site-header { position: relative; z-index: 2; }
.site-topbar {
    min-height: 38px;
    padding: 7px max(16px, calc((100% - 1100px) / 2));
    display: flex;
    justify-content: flex-end;
    gap: 26px;
    background: #f5fbff;
    color: var(--muted);
    font-size: .82rem;
}
.site-topbar strong { color: var(--navy); font-weight: 600; margin-right: 5px; }
.site-topbar a { color: inherit; text-decoration: none; }
.site-topbar a:hover { color: var(--navy); text-decoration: underline; }
.brand-row { min-height: 88px; padding-top: 12px; padding-bottom: 12px; }
.brand-logo { width: 148px; max-height: 88px; }
.site-nav { background: var(--paper); border-top: 1px solid #edf3f8; border-bottom: 1px solid var(--line); }
.site-nav .nav-inner { gap: 12px; padding: 0; align-items: center; }
.site-nav a { color: #5e6872; border-radius: 0; padding: 14px 10px 12px; border-bottom: 2px solid transparent; }
.site-nav a:hover,
.site-nav a:focus,
.site-nav a[aria-current="page"] { background: transparent; color: var(--navy); border-bottom-color: var(--gold); }
.header-cta,
.hero-button {
    display: inline-block;
    flex: 0 0 auto;
    padding: 11px 18px;
    border: 1px solid var(--teal);
    border-radius: 4px;
    background: var(--teal);
    color: #fff;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background 160ms ease, color 160ms ease;
}
.header-cta:hover,
.header-cta:focus,
.hero-button:hover,
.hero-button:focus { background: #fff; color: var(--navy); }
.docmed-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
    align-items: center;
    gap: clamp(24px, 5vw, 64px);
    margin: 0 0 30px;
    padding: clamp(24px, 4vw, 48px);
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient(110deg, #f5fbff 0%, #eaf5ff 62%, #dceeff 100%);
}
.docmed-hero__copy { max-width: 600px; }
.docmed-kicker { margin: 0 0 14px; color: var(--navy); font-size: 1rem; font-weight: 600; }
.docmed-kicker::after { content: ""; display: block; width: 50px; height: 2px; margin-top: 8px; background: var(--gold); }
.docmed-hero h2 { margin: 0 0 16px; color: #1f1f1f; font-size: clamp(2rem, 4vw, 3.15rem); line-height: 1.15; }
.docmed-hero__copy > p:not(.docmed-kicker) { margin: 0 0 22px; color: #4d5963; font-size: 1.05rem; }
.docmed-hero > img { display: block; width: 100%; max-height: 340px; object-fit: cover; border-radius: 5px; box-shadow: 0 12px 26px rgba(8, 88, 173, .14); }
.content-panel { border: 0; border-radius: 4px; box-shadow: 0 5px 22px rgba(8, 88, 173, .07); }
.content-panel h2 { position: relative; padding-bottom: 12px; }
.content-panel h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 50px; height: 2px; background: var(--gold); }
.assignment-card { border: 0; border-top: 3px solid var(--teal); border-radius: 4px; box-shadow: 0 5px 22px rgba(8, 88, 173, .09); }
.assignment-card h3 { color: #1f1f1f; }
.resource-table th { background: var(--navy); }
.site-footer { border-top: 3px solid var(--teal); background: #f5fbff; }
@media (max-width: 760px) {
    .site-topbar { justify-content: center; gap: 8px 18px; flex-wrap: wrap; }
    .brand-row { flex-wrap: wrap; align-items: center; }
    .header-cta { margin-left: auto; }
    .site-nav .nav-inner { gap: 2px; }
    .site-nav a { padding: 10px 8px; }
    .docmed-hero { grid-template-columns: 1fr; gap: 22px; }
    .docmed-hero > img { max-height: 280px; }
}
@media (max-width: 480px) {
    .site-topbar { font-size: .75rem; }
    .brand-logo { width: 110px; }
    .header-cta { padding: 9px 10px; font-size: .88rem; }
    .docmed-hero { padding: 22px 18px; }
}

/* Refined Docmed-style structure: contact strip, compact inline header,
   photographic hero, and the three-cell blue service band. */
.site-topbar { min-height: 30px; padding: 0; background: #f5fbff; }
.site-topbar-inner {
    width: min(970px, calc(100% - 32px));
    min-height: 30px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 28px;
    font-size: .75rem;
}
.header-main { background: #fff; }
.header-main-inner {
    width: min(970px, calc(100% - 32px));
    min-height: 66px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 145px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
}
.brand-mark { display: block; width: 142px; height: 56px; overflow: hidden; }
.brand-mark img { width: 142px; height: 142px; max-width: none; display: block; transform: translateY(-34px); }
.site-nav { position: static; width: auto; border: 0; background: transparent; }
.site-nav .nav-inner { width: auto; margin: 0; justify-content: center; gap: 2px 13px; padding: 0; }
.site-nav a { padding: 10px 4px 8px; color: #515b65; font-size: .88rem; white-space: nowrap; }
.site-nav a:hover,
.site-nav a:focus,
.site-nav a[aria-current="page"] { color: #1f1f1f; background: transparent; border-bottom-color: #5db2ff; }
.header-cta { padding: 10px 15px; font-size: .82rem; font-weight: 600; white-space: nowrap; }
.docmed-hero {
    min-height: 430px;
    grid-template-columns: 52% 48%;
    gap: 0;
    margin: 0 0 0;
    padding: 0 0 0 max(28px, calc((100% - 970px) / 2));
    border-radius: 0;
    background: #dce5e9;
}
.docmed-hero__copy { max-width: 510px; padding: 38px 20px 38px 0; position: relative; z-index: 1; }
.docmed-hero h2 { font-size: clamp(2.2rem, 4.2vw, 3.7rem); line-height: 1.08; letter-spacing: -.02em; }
.docmed-hero > img {
    width: 100%;
    height: 430px;
    max-height: none;
    object-fit: cover;
    object-position: center 24%;
    border-radius: 0;
    box-shadow: none;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 19%);
    mask-image: linear-gradient(to right, transparent 0%, #000 19%);
}
.hero-button { min-width: 155px; font-size: .88rem; }
.docmed-band {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 0 30px;
    background: linear-gradient(100deg, #1479d8 0%, #0a6fd6 100%);
    color: #fff;
}
.docmed-band-cell { min-height: 205px; padding: 25px clamp(18px, 2.8vw, 34px); }
.docmed-band-cell:nth-child(2) { background: #0858ad; }
.band-mark { display: block; margin: 0 0 12px; color: #fff; font-size: 2.3rem; font-weight: 300; line-height: 1; }
.docmed-band-cell h2 { margin: 0 0 9px; color: #fff; font-family: Arial, Helvetica, sans-serif; font-size: 1.3rem; }
.docmed-band-cell p { margin: 0 0 16px; color: #fff; font-size: .9rem; }
.docmed-band-cell a { display: inline-block; padding: 6px 12px; border: 1px solid rgba(255,255,255,.9); border-radius: 4px; color: #fff; font-size: .85rem; text-decoration: none; }
.docmed-band-cell a:hover,
.docmed-band-cell a:focus { background: #fff; color: #0858ad; }
main { margin-top: 0; }
@media (max-width: 980px) {
    .header-main-inner { grid-template-columns: 130px 1fr auto; grid-template-rows: 66px auto; gap: 0 12px; padding-bottom: 8px; }
    .brand-mark { grid-column: 1; grid-row: 1; }
    .site-nav { grid-column: 1 / -1; grid-row: 2; }
    .site-nav .nav-inner { flex-wrap: wrap; justify-content: center; }
    .header-cta { grid-column: 3; grid-row: 1; }
    .docmed-hero { min-height: 390px; grid-template-columns: 52% 48%; }
    .docmed-hero > img { height: 390px; }
}
@media (max-width: 680px) {
    .site-topbar-inner { justify-content: center; gap: 7px 18px; flex-wrap: wrap; padding: 5px 0; }
    .header-main-inner { grid-template-columns: minmax(100px, 1fr) auto; grid-template-rows: auto auto; }
    .brand-mark { grid-column: 1; grid-row: 1; }
    .header-cta { grid-column: 2; grid-row: 1; }
    .site-nav { grid-column: 1 / -1; grid-row: 2; }
    .site-nav .nav-inner { gap: 0 9px; }
    .site-nav a { font-size: .82rem; }
    .docmed-hero { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
    .docmed-hero__copy { max-width: none; padding: 30px 22px 22px; }
    .docmed-hero > img { width: 100%; height: 250px; object-position: center 28%; -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent); mask-image: linear-gradient(to bottom, #000 70%, transparent); }
    .docmed-band { grid-template-columns: 1fr; }
    .docmed-band-cell { min-height: 0; padding: 20px 24px; }
}

/* Docmed brand lockup: a cropped project mark beside the wordmark. */
.header-main-inner { grid-template-columns: 190px minmax(0, 1fr) auto; }
.brand-mark { width: auto; height: 58px; display: inline-flex; align-items: center; gap: 9px; overflow: visible; text-decoration: none; }
.brand-icon { display: block; position: relative; flex: 0 0 48px; width: 48px; height: 48px; overflow: hidden; border-radius: 6px; background: #0a6fd6; }
.brand-icon img { position: absolute; left: -17px; top: -7px; width: 82px; height: 82px; max-width: none; }
.brand-name { color: #1f1f1f; font-size: 1.3rem; font-weight: 700; letter-spacing: -.03em; }
@media (max-width: 980px) {
    .header-main-inner { grid-template-columns: 190px minmax(0, 1fr) auto; }
    .brand-mark { grid-column: 1; grid-row: 1; }
}
@media (max-width: 680px) {
    .header-main-inner { grid-template-columns: minmax(100px, 1fr) auto; }
    .brand-mark { grid-column: 1; grid-row: 1; }
}

/* Full-width Docmed hero and service bands; reading sections stay centered. */
main { width: 100%; max-width: none; margin: 0 auto 46px; }
main > .docmed-hero,
main > .docmed-band { width: 100%; }
main > .content-panel,
main > .page-intro,
main > .form-grid,
main > .contact-form-container,
main > .estimate-warning { width: min(1100px, calc(100% - 32px)); margin-left: auto; margin-right: auto; }
main > .registration-form-wrapper { width: min(960px, calc(100% - 32px)); }
h1, h2, h3 { font-family: Arial, Helvetica, sans-serif; }
.docmed-hero { min-height: 455px; }
.docmed-hero > img { height: 455px; }
@media (max-width: 980px) {
    .docmed-hero { min-height: 390px; }
    .docmed-hero > img { height: 390px; }
}
@media (max-width: 680px) {
    .docmed-hero { min-height: 0; }
    .docmed-hero > img { height: 250px; }
}
