/* Ana theme – ported from standalone/standalone-app/index.php */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #7A6658;
    --color-primary-light: #96857a;
    --color-accent: #D5C6B8;
    --color-bg-light: #F5F0EB;
    --color-white: #ffffff;
    --color-black: #000000;
    --font-body: 'Lato', sans-serif;
    --font-display: 'Edensor', 'Lato', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.67em;
    color: var(--color-primary);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2em;
}

h1 { font-size: 38px; }
h2 { font-size: 32px; }
h3 { font-size: 25px; }
h4 { font-size: 19px; }
h5 { font-size: 15px; }

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease-out;
}

a:hover {
    color: var(--color-primary-light);
}

/* WordPress helpers */
.screen-reader-text {
    border: 0;
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.skip-link:focus {
    clip-path: none;
    height: auto;
    width: auto;
    margin: 0;
    padding: 10px 20px;
    left: 10px;
    top: 10px;
    z-index: 100000;
    background-color: var(--color-white);
}

/* Header */
.site-header {
    background-color: var(--color-white);
    padding: 15px 30px;
    text-align: left;
}

.site-header .site-logo {
    height: 200px;
    width: auto;
}

.site-logo-link {
    display: inline-block;
    line-height: 0;
}

.header-logos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.site-header .site-logo--belp {
    height: auto;
    max-height: 120px;
    max-width: 380px;
    width: auto;
}

/* Content grid */
.content-grid {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Hero / Profile section (background image is set inline) */
.profile-section {
    padding: 100px 0 80px;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.profile-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.profile-section .content-grid {
    position: relative;
    z-index: 1;
}

.profile-image-wrapper {
    width: 300px;
    height: 300px;
    margin: 0 auto 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--color-white);
    background-color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.profile-name {
    font-size: 38px;
    margin-bottom: 10px;
    color: var(--color-white);
}

.profile-tagline {
    font-family: var(--font-display);
    font-size: 22px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.03em;
    text-transform: none;
    font-weight: normal;
}

/* Contact section */
.contact-section {
    padding: 0px 0 100px;
    background-color: var(--color-white);
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 50px;
}

.contact-grid {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.contact-grid .contact-card {
    width: calc(100% / 3);
}

.contact-card {
    text-align: center;
    padding: 40px 25px;
    background-color: var(--color-bg-light);
    border-radius: 2px;
    transition: box-shadow 0.2s ease-out;
}

.contact-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    fill: var(--color-primary);
}

.contact-card h4 {
    margin-bottom: 15px;
}

.contact-card p {
    color: var(--color-primary);
    line-height: 1.8em;
}

.contact-card a {
    display: inline-block;
    position: relative;
}

.contact-card a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-primary);
    transition: width 0.32s cubic-bezier(0.31, 0.29, 0.05, 0.96);
}

.contact-card a:hover::after {
    width: 100%;
}

/* Text sections */
.text-section {
    padding: 80px 0;
}

.text-section:nth-of-type(even) {
    background-color: var(--color-bg-light);
}

.text-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

/* Section content (block editor output of an ana_section) */
/* line-height only on text children: tables, sliders, price list and CTA
   keep body's 1.67em, as they sat outside .section-text in the standalone page */
.section-body {
    text-align: center;
}

.section-body > p,
.section-body > ul,
.section-body > ol,
.section-body > h3,
.section-body > h4,
.section-body > blockquote {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.2em;
    line-height: 1.9em;
}

.section-body > .price-list {
    text-align: left;
}

.section-body > :last-child {
    margin-bottom: 0;
}

.section-body > p:has(+ .schedule-table) {
    margin-bottom: 0;
}

.section-body > .schedule-table + p:not(.section-note) {
    margin-top: 40px;
}

.section-body > .ana-courses + p {
    margin-top: 50px;
}

.section-body > p.section-note {
    max-width: 640px;
    margin: 25px auto 0;
    line-height: 1.7em;
}

.section-body img {
    max-width: 100%;
    height: auto;
}

.about-greeting {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: normal;
}

.highlight-phone {
    font-weight: 700;
}

/* CTA button */
.btn-theme {
    display: inline-block;
    padding: 14px 52px;
    border-radius: 15px 0 15px 0;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 2px solid var(--color-primary);
    cursor: pointer;
    transition: all 0.2s ease-out;
}

.btn-theme:hover {
    background-color: transparent;
    color: var(--color-primary);
}

.cta-wrapper {
    text-align: center;
    margin-top: 50px;
}

/* Schedule table */
.schedule-table {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    border-collapse: collapse;
    text-align: left;
}

.schedule-table td,
.schedule-table th {
    padding: 12px 15px;
    border-bottom: 1px solid var(--color-accent);
    vertical-align: top;
    text-align: left;
}

.schedule-table td:first-child,
.schedule-table th {
    font-weight: 700;
    white-space: nowrap;
}

.badge {
    display: inline-block;
    padding: 2px 12px;
    border-radius: 10px;
    background-color: var(--color-accent);
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

/* Course slider */
.course-slider {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 70px;
    --swiper-navigation-color: var(--color-primary);
    --swiper-pagination-color: var(--color-primary);
    --swiper-navigation-size: 28px;
}

.course-swiper {
    padding: 10px 0 50px;
}

.course-swiper .swiper-slide {
    height: auto;
    box-sizing: border-box;
}

.course-swiper .course-card {
    height: 100%;
}

.course-group-title {
    text-align: center;
    margin: 50px 0 30px;
    font-size: 19px;
}

.course-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-accent);
    border-radius: 2px;
    padding: 30px 25px;
    text-align: center;
    transition: box-shadow 0.2s ease-out;
}

.course-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.course-card h4 {
    margin-bottom: 10px;
}

.course-card p {
    margin-bottom: 0.8em;
}

.course-time {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary-light);
    margin-bottom: 12px;
}

.course-price {
    margin-top: 15px;
    font-weight: 700;
}

/* Price list */
.price-list {
    max-width: 640px;
    margin: 0 auto;
}

.price-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-accent);
}

.price-row .price {
    font-weight: 700;
    white-space: nowrap;
}

.table-note {
    display: inline-block;
    font-size: 13px;
    line-height: 1.7em;
    color: var(--color-primary-light);
}

.section-note {
    font-size: 13px;
    line-height: 1.7em;
    color: var(--color-primary-light);
    max-width: 640px;
    margin: 25px auto 0;
    text-align: center;
}

/* Footer */
.site-footer {
    background-color: var(--color-primary);
    padding: 35px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.site-footer a {
    color: var(--color-white);
}

.site-footer a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive */
@media (max-width: 1024px) {
    .content-grid {
        max-width: 1000px;
    }
}

@media (max-width: 768px) {
    .contact-grid {
        flex-direction: column;
        gap: 25px;
    }

    .contact-grid .contact-card {
        width: 100%;
    }

    .site-header .site-logo {
        height: 140px;
    }

    .site-header .site-logo--belp {
        max-height: 90px;
        max-width: 280px;
    }

    h1, .profile-name {
        font-size: 30px;
    }

    h2 {
        font-size: 26px;
    }

    .profile-section {
        padding: 70px 0 60px;
    }

    .contact-section {
        padding: 60px 0 70px;
    }

    .profile-image-wrapper {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 680px) {
    .content-grid {
        padding: 0 20px;
    }

    .profile-image-wrapper {
        width: 180px;
        height: 180px;
    }

    .profile-tagline {
        font-size: 18px;
    }

    .btn-theme {
        padding: 12px 40px;
    }

    .site-header .site-logo {
        height: 110px;
    }

    .site-header .site-logo--belp {
        max-height: 70px;
        max-width: 220px;
    }

    .schedule-table td {
        padding: 10px 8px;
        font-size: 14px;
    }

    .price-row {
        flex-wrap: wrap;
    }

    .course-slider {
        padding: 0 35px;
        --swiper-navigation-size: 20px;
    }
}
