/*
 * Fodnussen - Fodterapi
 * Side-specifik styling
 *
 * Fælles layout, farver, header, navigation,
 * kort og footer styres af style.css.
 *
 * Her placeres kun CSS-regler, som er
 * specifikke for fodterapi.html.
 */
/* Introduktion til fodterapi */
.lead {
    max-width: 65ch;
}

.fodterapi-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(1rem, 3vw, 2rem);
    padding: clamp(1.5rem, 4vw, 3rem);
    background: #f7fbfe;
    border: 1px solid #c8ddeb;
    border-radius: 1rem;
    overflow: hidden;
}

.fodterapi-intro-content {
    min-width: 0;
}

.fodterapi-intro-content h1 {
    margin-top: 0;
}

.fodterapi-intro-content p {
    max-width: 55ch;
}

.fodterapi-foot {
    width: clamp(5rem, 12vw, 8rem);
    align-self: center;
}

.fodterapi-foot svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ==========================================
   FODTERAPI - BEHANDLINGSKORT
   ========================================== */

/* Kortets overordnede struktur */
.treatment-card {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 0;
    padding: 0;
    overflow: hidden;
}

/* Titel */
.treatment-card-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    
    background: #315e84;
    color: #ffffff;
    padding: 1.25rem;
}

/* Dekorativ fod i kortets header */
.treatment-card-foot {
    display: block;
    width: 3.25rem;
    height: 4.5rem;
    object-fit: contain;
}

.treatment-card-header h3 {
    margin: 0;
    color: inherit;
    font-size: 1.35rem;
    line-height: 1.35;
}

/* Behandlingens indhold */
.treatment-card-content {
    padding: 1.5rem 1.25rem;
    background: #ffffff;
}

.treatment-card-content p {
    margin: 0 0 1rem;
}

.treatment-card-content p:last-child {
    margin-bottom: 0;
}

/* Målet med behandlingen */
.treatment-card-goal {
    padding: 1.25rem;
    background: #eaf2f7;
    border-top: 1px solid #c8ddeb;
}

.treatment-goal-title {
    margin: 0 0 0.5rem;
    font-weight: 700;
    color: #315e84;
}

.treatment-card-goal p:last-child {
    margin-bottom: 0;
}
.treatment-goal-icon {
    display: block;
    text-align: center;
    font-size: 1.75rem;
    margin-top: 1rem;
    /*
    font-size: 1.75rem;
    vertical-align: middle;
    margin-right: 0.5rem;*/
  
}

/* ==========================================
   FODTERAPI - KONTAKTSEKTION
   ========================================== */

.fodterapi-contact {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 1.25rem;
    padding-block: 3rem 4rem;
}

.fodterapi-contact h2 {
    margin: 0;
}

.fodterapi-contact p {
    max-width: 55ch;
    margin: 0;
}

.fodterapi-contact-button {
    display: inline-grid;
    grid-auto-flow: column;
    align-items: center;
    gap: 0.75rem;

    padding: 1rem 1.75rem;
    background: #315e84;
    color: #ffffff;
    border-radius: 0.5rem;

    font-weight: 700;
    text-decoration: none;
}

.fodterapi-contact-button:hover,
.fodterapi-contact-button:focus-visible {
    background: #244967;
    color: #ffffff;
}

.fodterapi-contact-button:focus-visible {
    outline: 3px solid #315e84;
    outline-offset: 4px;
}
@media (max-width: 50rem) {
    .fodterapi-intro {
        grid-template-columns: minmax(0, 1fr);
    }

    .fodterapi-foot {
        display: none;
    }
}
