/* ==========================================================================
   Morning After Products theme — site styles
   Bootstrap colors, fonts and the dark color mode come from
   css/skins/default.css, compiled from css/presets/default. This file holds
   the site's own layout and components. Restyle a build by changing the
   variables below first.
   ========================================================================== */

/* Set on the wrapper, not :root: the color mode (data-bs-theme) is on the
   wrapper, and variables resolve where they're defined. */
.theme-morningafter {
    --morningafter-header-height: 72px;
    --morningafter-header-bg: var(--bs-body-bg);
    --morningafter-header-color: var(--bs-body-color);
    --morningafter-header-border: var(--bs-border-color-translucent);
    /* Small text in the brand color uses the link color, which the style guide
       checks for contrast; the raw primary may be too light for text. */
    --morningafter-nav-active: var(--bs-link-color);
    --morningafter-hello-bg: var(--bs-primary);
    --morningafter-hello-color: #fff;
    --morningafter-footer-bg: var(--bs-dark-accent, #0f172a);
    --morningafter-footer-color: #cbd5e1;
    --morningafter-footer-link: #fff;
    --morningafter-footer-legal-bg: rgba(0, 0, 0, 0.25);
    --morningafter-panel-bg: var(--bs-tertiary-bg);
    --morningafter-radius: 0.75rem;
    --morningafter-section-y: 4rem;
    --morningafter-hero-y: 5rem;
}

/* Bootstrap applies text and background colors on <body>, which sits
   outside the wrapper. Apply them again here so the color mode takes effect. */
.theme-morningafter {
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
}

/* Fills the area outside the wrapper (overscroll, short pages). */
body.morningafter-body--dark {
    background-color: #0b1120;
}

/* Links inside running text are underlined, so they don't rely on color
   alone (WCAG 1.4.1). Navigation, buttons and standalone links stay plain. */
.theme-morningafter :is(main, footer) :is(p, li, td, dd, blockquote, figcaption) a:not(.btn) {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

/* ---- Editor styles (page_theme.php getThemeEditorClasses) ---- */

.morningafter-display {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.05;
}

.morningafter-section-heading {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    position: relative;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.morningafter-section-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 56px;
    height: 4px;
    border-radius: 2px;
    background: var(--bs-primary);
}

.text-center .morningafter-section-heading::after,
.morningafter-section-heading.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.morningafter-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--bs-link-color);
}

/* Outline buttons: text in the link color (contrast-checked), not the raw primary. */
.theme-morningafter .btn-outline-primary {
    --bs-btn-color: var(--bs-link-color);
}

.morningafter-panel {
    background: var(--morningafter-panel-bg);
    border-radius: var(--morningafter-radius);
    box-shadow: var(--morningafter-panel-shadow, none);
    padding: 2rem;
}

/* Dark mode: the primary color is too dark for text on a dark page. */
.theme-morningafter[data-bs-theme="dark"] .morningafter-eyebrow,
.theme-morningafter[data-bs-theme="dark"] .morningafter-header__menu .nav-link.active {
    color: var(--bs-primary-text-emphasis);
}

.theme-morningafter[data-bs-theme="dark"] .btn-outline-primary {
    --bs-btn-color: var(--bs-primary-text-emphasis);
    --bs-btn-border-color: var(--bs-primary-text-emphasis);
}

/* ---- Skip link ---- */

.morningafter-skip-link {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 1100;
    padding: 0.5rem 1rem;
    background: var(--bs-body-bg);
    color: var(--bs-body-color);
}

/* ---- Header ---- */

.morningafter-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: var(--morningafter-header-height);
    background: var(--morningafter-header-bg);
    color: var(--morningafter-header-color);
    border-bottom: 1px solid var(--morningafter-header-border);
    padding: 0.5rem 0;
    transition: box-shadow 0.2s ease;
}

.morningafter-header.is-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.morningafter-header__brand {
    margin: 0;
    padding: 0;
}

.morningafter-header__brand img {
    display: block;
    max-height: 56px;
    width: auto;
}

.morningafter-header__logo {
    display: block;
    height: 48px;
    width: auto;
    max-width: 60vw;
}

.morningafter-header__site-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: inherit;
}

.morningafter-header__menu .nav {
    flex-wrap: wrap;
}

.morningafter-header__menu .nav-link {
    color: inherit;
    font-weight: 600;
    padding: 0.5rem 0.9rem;
}

.morningafter-header__menu .nav-link:hover,
.morningafter-header__menu .nav-link:focus,
.morningafter-header__menu .nav-link.active,
.morningafter-header__menu .nav-selected > a {
    color: var(--morningafter-nav-active);
}

.morningafter-header__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-left: 1rem;
}

.morningafter-header__toggle {
    border: 0;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.morningafter-header__toggle:focus {
    box-shadow: 0 0 0 2px var(--bs-primary);
}

.morningafter-header__toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.morningafter-header__toggle:not(.collapsed) .morningafter-header__toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.morningafter-header__toggle:not(.collapsed) .morningafter-header__toggle-bar:nth-child(2) {
    opacity: 0;
}

.morningafter-header__toggle:not(.collapsed) .morningafter-header__toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 991.98px) {
    .morningafter-header__nav-collapse {
        padding: 0.75rem 0;
    }

    .morningafter-header__menu .nav {
        flex-direction: column;
    }

    .morningafter-header__cta {
        margin: 0.75rem 0 0;
    }
}

/* ---- Hello Bar ---- */

.morningafter-hello-bar {
    background: var(--morningafter-hello-bg);
    color: var(--morningafter-hello-color);
    font-weight: 600;
    text-align: center;
}

.morningafter-hello-bar__inner {
    padding: 0.6rem 1rem;
}

.morningafter-hello-bar p:last-child {
    margin-bottom: 0;
}

.morningafter-hello-bar a {
    color: inherit;
    text-decoration: underline;
}

/* ---- Footer ---- */

.morningafter-footer {
    background: var(--morningafter-footer-bg);
    color: var(--morningafter-footer-color);
    padding-top: 3rem;
    margin-top: 3rem;
}

.morningafter-footer a {
    color: var(--morningafter-footer-link);
}

.morningafter-footer a:hover {
    text-decoration: underline;
}

.morningafter-footer h2,
.morningafter-footer h3,
.morningafter-footer h4 {
    color: #fff;
    font-size: 1.1rem;
}

.morningafter-footer__logo img {
    display: block;
    max-height: 64px;
    max-width: 220px;
    width: auto;
}

.morningafter-footer__site-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

/* Atomik's skin pads every footer (div.theme-atomik footer). Scoped under
   the wrapper so these win. */
.theme-morningafter .morningafter-footer {
    padding: 3rem 0 0;
}

/* Landing pages: legal line only. */
.theme-morningafter .morningafter-footer--minimal {
    padding-top: 0;
}

.morningafter-footer--minimal .morningafter-footer__legal {
    margin-top: 0;
}

.morningafter-footer__legal {
    background: var(--morningafter-footer-legal-bg);
    font-size: 0.875rem;
    padding: 1.25rem 0;
    margin-top: 2rem;
}

.morningafter-footer__legal p {
    margin-bottom: 0.25rem;
}

.morningafter-footer__login {
    margin-top: 0.25rem;
}

/* ---- Containers (elements/containers/morningafter_*.php) ---- */

.morningafter-section {
    padding: var(--morningafter-section-y, 4rem) 0;
}

.morningafter-section--light {
    background: var(--morningafter-panel-bg);
}

.morningafter-section__title,
.morningafter-card-grid__title {
    margin-bottom: 2rem;
}

.morningafter-hero {
    padding: var(--morningafter-hero-y, 5rem) 0;
}

.morningafter-hero__media img,
.morningafter-split__image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--morningafter-radius);
}

/* Tall cut-outs (portrait PNGs) shouldn't stretch the hero. */
.morningafter-hero__media img {
    width: auto;
    max-width: 100%;
    max-height: var(--morningafter-hero-image-max, 560px);
    margin: 0 auto;
    object-fit: contain;
}

/* Background and text color come from Bootstrap's text-bg-primary class on the
   section, which picks black or white text for contrast with the primary. */
.morningafter-cta-band {
    text-align: center;
}

.morningafter-cta-band__inner {
    max-width: 52rem;
}

.morningafter-cta-band :is(h1, h2, h3, h4, p, .lead, a:not(.btn)) {
    color: inherit;
}

/* A primary button on the primary band would disappear: make it white with
   black text, which reads on any band color. */
.morningafter-cta-band .btn-primary {
    --bs-btn-bg: #fff;
    --bs-btn-color: #000;
    --bs-btn-border-color: #fff;
    --bs-btn-hover-bg: #f1f1f1;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-border-color: #f1f1f1;
}

.morningafter-cta-band .btn-outline-primary {
    --bs-btn-color: currentColor;
    --bs-btn-border-color: currentColor;
    --bs-btn-hover-bg: #fff;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-border-color: #fff;
}

.morningafter-section p:last-child {
    margin-bottom: 0;
}

/* ---- Block templates (blocks/*/templates) ---- */

/* Testimonial: quote_card */
.morningafter-quote-card {
    margin: 0;
}

.morningafter-quote-card__quote {
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
}

.morningafter-quote-card__quote p::before {
    content: "\201C";
}

.morningafter-quote-card__quote p::after {
    content: "\201D";
}

.morningafter-quote-card__person {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.morningafter-quote-card__image img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.morningafter-quote-card__name,
.morningafter-quote-card__role {
    display: block;
}

/* Full body color: the 75% secondary color is too faint on tinted panels. */
.morningafter-quote-card__role {
    font-size: 0.9rem;
}

/* FAQ: collapsible */
.morningafter-faq__item {
    border-bottom: 1px solid var(--bs-border-color);
}

.morningafter-faq__question {
    cursor: pointer;
    font-weight: 700;
    padding: 1rem 2rem 1rem 0;
    position: relative;
    list-style: none;
}

.morningafter-faq__question::-webkit-details-marker {
    display: none;
}

.morningafter-faq__question::after {
    content: "+";
    position: absolute;
    right: 0.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: var(--bs-primary);
}

.morningafter-faq__item[open] > .morningafter-faq__question::after {
    content: "\2212";
}

.morningafter-faq__question:focus-visible {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

.morningafter-faq__answer {
    padding-bottom: 1rem;
}

/* ---- Edit mode ----
   Sticky positioning and shadows on the header cover Concrete's toolbar and
   area menus. Keep things static while editing. */

html.ccm-edit-mode .morningafter-header {
    position: static;
    box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
    .morningafter-header,
    .morningafter-header__toggle-bar {
        transition: none;
    }
}

/* ---- Error pages (page_not_found.php, application/themes/core/error.php) ---- */
.morningafter-error-page {
    text-align: center;
}

.morningafter-error-page__code {
    margin: 0;
    font-size: clamp(4rem, 15vw, 8rem);
    font-weight: 800;
    line-height: 1;
    color: var(--bs-primary);
    opacity: 0.2;
}

.morningafter-error-page__title {
    margin: 0.5rem 0 1rem;
}

.morningafter-error-page__text {
    max-width: 36rem;
    margin: 0 auto 2rem;
    font-size: 1.125rem;
}

.morningafter-error-page__detail {
    max-width: 36rem;
    margin: 0 auto 2rem;
    color: var(--bs-secondary-color);
}

.morningafter-error-page__search {
    display: flex;
    gap: 0.5rem;
    max-width: 28rem;
    margin: 0 auto 2rem;
}

.morningafter-error-page__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* ---- Brand ----
   Written by the style-guide skill from ../style-guide.json. It's last in
   the file so its values win. Edit style-guide.json and re-run the skill
   instead of changing this block by hand. */
/* ==========================================================================
   Morning After Products: the old concrete5 site's look (2015 'bootstrap'
   theme, custom.css). Sizes are the old Bootstrap 3 ones.
   ========================================================================== */

/* Rows use a 30px gutter (the skin's grid gutter); give containers the matching
   15px padding, as on the old Bootstrap 3 site, so rows don't overflow phones. */
.theme-morningafter .container {
    padding-left: 15px;
    padding-right: 15px;
}

/* Header: brand band, order line | site name | cart. Not sticky (the old one scrolled away). */
.theme-morningafter .morningafter-header--band {
    position: static;
    min-height: 0;
    padding: 0;
    border: 0;
    font-size: 20px;
}

.morningafter-header--band .morningafter-header__row > div {
    padding-top: 0;
}

.morningafter-header--band a {
    color: #fff;
    text-decoration: none;
}

.morningafter-header--band a:hover,
.morningafter-header--band a:focus {
    color: #fff;
    text-decoration: underline;
}

.morningafter-header--band p {
    margin: 0;
}

.morningafter-order {
    font-size: 36px;
    line-height: 1.1;
    margin: 20px 0 10px !important;
}

.morningafter-order__call {
    color: var(--brand-call-yellow);
}

.morningafter-header--band .morningafter-header__menu {
    font-size: 20px;
    line-height: 1.43;
}

.morningafter-header--band .morningafter-header__cta {
    margin: 0;
    display: block;
    text-align: center;
}

.morningafter-header--band .morningafter-header__cta img {
    display: inline-block;
    width: 28px;
    height: 26px;
}

@media (max-width: 767.98px) {
    .morningafter-order {
        margin-top: 0 !important;
    }

    .morningafter-header--band .morningafter-header__cta {
        padding-bottom: 10px;
    }
}

/* No gap between the header and the page, and no Bootstrap 5 heading weight. */
.theme-morningafter .morningafter-main {
    padding-top: 0;
}

.theme-morningafter :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4) {
    font-weight: 400;
    margin-top: 20px;
    margin-bottom: 10px;
}

.theme-morningafter :is(h4, h5, h6) {
    margin-top: 10px;
}

.theme-morningafter p {
    margin-bottom: 10px;
}

/* Pages other than the photo-led ones start under a brand rule, as before. */
.morningafter-top-rule {
    border-top: 2px solid var(--brand-mauve);
    margin: 0 calc(-0.5 * var(--bs-gutter-x, 1.5rem));
}

/* Large copy in the brand colour (old .large-body-copy). */
.morningafter-large-copy {
    color: var(--brand-mauve);
    font-size: 18px;
}

.morningafter-large-copy :is(h1, h2, h3, h4) {
    color: var(--brand-ink);
}

.morningafter-large-copy h3 + p,
.morningafter-indent {
    padding-left: 30px;
}

.morningafter-large-copy ul {
    padding-left: 40px;
}

/* Policy page labels (SECURITY, USE OF COOKIES...) read as copy, as before. */
.morningafter-large-copy .morningafter-copy__label {
    color: var(--brand-mauve);
    font-size: 18px;
    line-height: 1.43;
    margin: 0 0 10px;
}

.morningafter-page-title {
    font-size: 36px;
    margin-top: 40px;
}

/* Feature: photo with a handwritten note. */
.morningafter-feature {
    padding: 35px 0;
}

.morningafter-feature__image img {
    display: block;
    max-width: 100%;
    height: auto;
}

.morningafter-feature__note {
    font-family: var(--brand-font-display);
    font-size: 24px;
    line-height: 1.43;
    color: var(--brand-mauve);
    padding-top: 45px;
}

.morningafter-feature__note p {
    margin-bottom: 10px;
}

/* Product row. */
.morningafter-products {
    padding-bottom: 10px;
}

.morningafter-products__intro {
    color: var(--brand-mauve);
    font-size: 18px;
}

.morningafter-products__item {
    color: var(--brand-mauve);
    font-size: 14px;
    font-weight: 700;
    text-align: right;
}

.morningafter-products:not(.morningafter-products--intro) .morningafter-products__item {
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    padding-top: 35px;
    padding-bottom: 0;
}

.morningafter-products:not(.morningafter-products--intro) + * .morningafter-link-buttons,
.morningafter-products:not(.morningafter-products--intro) ~ .morningafter-link-buttons {
    padding-top: 15px;
}

.morningafter-products__item img {
    display: inline-block;
    max-width: 100%;
    width: auto;
    height: auto;
}

/* The old home page showed the packages as small thumbnails. */
.morningafter-products--intro .morningafter-products__item img {
    max-width: 130px;
    max-height: 115px;
}

.morningafter-products:not(.morningafter-products--intro) .morningafter-products__item img {
    max-width: 170px;
    max-height: 125px;
}

.morningafter-products__item .ccm-image-wrapper,
.morningafter-products__item picture {
    display: block;
    margin-bottom: 10px;
}

.morningafter-products__item p {
    margin-bottom: 10px;
}

.morningafter-buy {
    display: inline-block;
    background: var(--brand-mauve);
    color: #fff !important;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.06em;
    padding: 0 9px;
    border-radius: 4px;
    margin-right: 6px;
    text-decoration: none !important;
    vertical-align: middle;
}

.morningafter-buy:hover,
.morningafter-buy:focus {
    background: var(--brand-ink);
}

@media (max-width: 767.98px) {
    .morningafter-products__item,
    .morningafter-products__intro {
        text-align: center;
    }

    .morningafter-products__intro {
        text-align: left;
    }
}

/* Ruled copy: brand rules above and below, out to the old row edges. */
.morningafter-ruled__inner {
    border-top: 2px solid var(--brand-mauve);
    border-bottom: 2px solid var(--brand-mauve);
    margin: 0 calc(-0.5 * var(--bs-gutter-x, 1.5rem));
    padding: 35px calc(0.5 * var(--bs-gutter-x, 1.5rem));
}

.morningafter-ruled__inner > :last-child,
.morningafter-ruled__inner > :last-child > :last-child {
    margin-bottom: 0;
}

/* Page copy (policy pages). */
.morningafter-copy {
    padding: 20px 0 35px;
}

/* Three big link buttons. */
.morningafter-link-buttons {
    padding: 35px 0;
}

.morningafter-link-buttons p {
    margin: 0;
    text-align: center;
}

.morningafter-big-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 263px;
    max-width: 100%;
    min-height: 103px;
    padding: 10px 4px;
    border-radius: 20px;
    background: var(--brand-mauve);
    color: #fff !important;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    text-decoration: none !important;
}

.morningafter-big-btn:hover,
.morningafter-big-btn:focus {
    background: #8d4266;
}

/* Product page. */
.morningafter-product-detail {
    padding: 20px 0 10px;
}

.morningafter-product-detail__image img {
    display: block;
    max-width: 100%;
    height: auto;
}

.morningafter-product-detail__info :is(h1, h2):first-child {
    font-size: 30px;
    margin-top: 20px;
    margin-bottom: 30px;
}

.morningafter-product-detail__info h3 {
    font-size: 24px;
}

.morningafter-product-detail__info .morningafter-save {
    font-weight: 700;
    font-style: italic;
}

.morningafter-product-detail__info .morningafter-save a {
    text-decoration: none;
}

.morningafter-product-detail__more {
    padding-top: 10px;
}

.morningafter-btn-plain,
.theme-morningafter .morningafter-order-form .btn,
.morningafter-product-detail__more .ccm-block-file a {
    display: inline-block;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.43;
    color: #333 !important;
    background-image: linear-gradient(to bottom, #fff 0, #e0e0e0 100%);
    border: 1px solid #ccc;
    border-radius: 4px;
    text-decoration: none !important;
    text-shadow: 0 1px 0 #fff;
}

.morningafter-btn-plain:hover,
.theme-morningafter .morningafter-order-form .btn:hover,
.morningafter-product-detail__more .ccm-block-file a:hover {
    background: #e0e0e0;
}

/* Shop (Community Store): the old eCommerce product form and cart. */
.morningafter-product-detail .store-product-block .store-product-price {
    margin: 0;
}

.morningafter-product-detail .store-product-block .store-product-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px !important;
}

.morningafter-product-detail .store-product-block .store-product-option-group-label {
    font-weight: 700;
    margin: 0;
}

.morningafter-product-detail .store-product-block .store-product-option-group-label::after {
    content: " *";
    color: #2a6496;
}

.morningafter-product-detail .store-product-block .store-product-qty {
    width: 40px;
    padding: 4px 6px;
    font-size: 14px;
    -moz-appearance: textfield;
}

.morningafter-product-detail .store-product-block .store-product-qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.theme-morningafter .store-btn-add-to-cart,
.theme-morningafter .store-cart-page .btn,
.theme-morningafter .store-checkout-form-group .btn,
.theme-morningafter .store-checkout-page .btn {
    display: inline-block;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.43;
    color: #333 !important;
    background: linear-gradient(to bottom, #fff 0, #e0e0e0 100%);
    border: 1px solid #ccc;
    border-radius: 4px;
    text-shadow: 0 1px 0 #fff;
}

.theme-morningafter .store-btn-add-to-cart:hover,
.theme-morningafter .store-cart-page .btn:hover,
.theme-morningafter .store-checkout-page .btn:hover {
    color: #333;
    background: #e0e0e0;
    border-color: #adadad;
}

.theme-morningafter .store-cart-page,
.theme-morningafter .store-checkout-page {
    padding: 20px 0 35px;
}

.theme-morningafter .store-cart-page h1,
.theme-morningafter .store-checkout-page h1 {
    font-size: 36px;
    margin-top: 20px;
}

.theme-morningafter .store-cart-page .alert-info {
    color: inherit;
    background: none;
    border: 0;
    padding: 8px 6px;
}

/* Contact page. */
.morningafter-two-columns {
    padding: 20px 0 35px;
}

.morningafter-two-columns__title {
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
    padding-bottom: 9px;
}

.morningafter-two-columns__title h1 {
    margin-top: 40px;
}

.morningafter-two-columns .morningafter-large-copy p {
    margin-bottom: 0;
}

.morningafter-map iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: 0;
}

.morningafter-two-columns .ccm-block-express-form {
    color: var(--brand-mauve);
    font-size: 18px;
}

.morningafter-two-columns .ccm-block-express-form .form-label,
.morningafter-two-columns .ccm-block-express-form label {
    font-weight: 700;
    color: var(--brand-mauve);
}

/* "Required" stays for screen readers; sighted visitors get the old " *". */
.morningafter-two-columns .ccm-block-express-form .mb-3 > .text-muted {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}

.morningafter-two-columns .ccm-block-express-form .mb-3:has(> .text-muted) > label::after {
    content: " *";
    color: #c00;
}

.morningafter-phone {
    color: var(--brand-ink) !important;
    text-decoration: none !important;
}

@media (min-width: 992px) {
    .morningafter-two-columns .ccm-block-express-form .mb-3 {
        display: grid;
        grid-template-columns: 200px 1fr;
        align-items: start;
        gap: 0;
        margin-bottom: 4px !important;
    }

    .morningafter-two-columns .ccm-block-express-form .mb-3 > :not(label) {
        grid-column: 2;
        max-width: 330px;
    }
}

.morningafter-two-columns .ccm-block-express-form .form-actions .btn,
.morningafter-two-columns .ccm-block-express-form button[type="submit"] {
    padding: 6px 12px;
    font-size: 14px;
    color: #333;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Sitemap (autonav in a Page Copy section): a plain two-level list, as before. */
.theme-morningafter .morningafter-copy .ccm-block-autonav {
    background: none;
    padding: 0;
    margin: 0;
    font-size: 18px;
}

.morningafter-copy .ccm-block-autonav > ul {
    padding-left: 15px;
}

.theme-morningafter .morningafter-copy .ccm-block-autonav .nav-link {
    display: inline-block;
    padding: 7px 0;
    color: var(--brand-mauve);
    font-weight: 400;
    text-decoration: none;
}

.morningafter-copy .ccm-block-autonav .nav-link:hover {
    text-decoration: underline;
}

.morningafter-copy .ccm-block-autonav ul ul {
    list-style: circle;
    padding-left: 40px;
    margin-bottom: 4px;
}

.theme-morningafter .morningafter-copy .ccm-block-autonav ul ul .nav-link {
    padding: 0;
}

/* Footer: links | pharmacy logo, on white under a brand rule. */
.theme-morningafter .morningafter-footer {
    margin-top: 0;
    padding: 0;
}

.morningafter-footer__top {
    border-top: 2px solid var(--brand-mauve);
    padding-top: 20px;
}

.morningafter-footer__top > .row > :first-child {
    flex: 0 0 auto;
    width: 58.333%;
}

.morningafter-footer__top > .row > :nth-child(2) {
    flex: 0 0 auto;
    width: 41.667%;
    text-align: right;
}

.theme-morningafter .morningafter-footer .morningafter-footer__links {
    font-size: 16px;
}

.morningafter-footer__links a {
    color: #000;
    text-decoration: none !important;
}

.morningafter-footer__links a:hover {
    text-decoration: underline !important;
}

.morningafter-footer__links .sep {
    padding: 0 3px;
}

.morningafter-footer__links a {
    white-space: nowrap;
}

.morningafter-footer__top img {
    display: inline-block;
    max-width: 100%;
    height: auto;
}

.morningafter-powered {
    font-size: 10px;
    margin: 4px 0 0;
}

.morningafter-powered a {
    color: #000;
    text-decoration: none !important;
}

.theme-morningafter .morningafter-footer__legal {
    background: none;
    font-size: 10px;
    margin-top: 0;
    padding: 6px 0 20px;
}

/* The old site had no log-in link; editors go to /login. */
.morningafter-footer__login {
    display: none;
}

@media (max-width: 767.98px) {
    .morningafter-footer__top > .row > :first-child,
    .morningafter-footer__top > .row > :nth-child(2) {
        width: 100%;
        text-align: center;
    }

    .morningafter-footer__legal {
        text-align: center;
    }
}

/* style-guide:start */
@font-face {
    font-family: "Lora";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/lora/lora-400-italic-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Lora";
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/lora/lora-400-italic-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Lora";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/lora/lora-400-normal-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Lora";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/lora/lora-400-normal-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "La Belle Aurore";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/la-belle-aurore/la-belle-aurore-400-normal-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --brand-mauve: #a9547c; /* header band, section rules, large body copy, link buttons on the old site */
    --brand-call-yellow: #ffff00; /* 'or call' in the old header */
    --brand-ink: #333333; /* body text and headings (Bootstrap 3) */
    --brand-font-body: Lora, Georgia, Cambria, "Times New Roman", Times, serif;
    --brand-font-headings: Lora, Georgia, Cambria, "Times New Roman", Times, serif;
    --brand-font-display: "La Belle Aurore", cursive;
    --brand-font-ui: Lora, Georgia, Cambria, "Times New Roman", Times, serif;
}

.theme-morningafter {
    --morningafter-header-bg: #a9547c;
    --morningafter-header-color: #ffffff;
    --morningafter-nav-active: #ffff00;
    --morningafter-footer-bg: #ffffff;
    --morningafter-footer-color: #333333;
    --morningafter-footer-link: #000000;
    --morningafter-radius: 4px;
    --morningafter-panel-shadow: none;
}

.theme-morningafter .btn, .theme-morningafter .morningafter-header__menu .nav-link, .theme-morningafter .morningafter-eyebrow {
    font-family: Lora, Georgia, Cambria, "Times New Roman", Times, serif;
    font-weight: 400;
    text-transform: none;
}
/* style-guide:end */
