/* WordPress-specific supplemental styles (not part of the static design) */

/* Hero video background */
.hero__bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* WP image alignments inside .prose / editor content */
.prose img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.aligncenter {
    display: block;
    margin-inline: auto;
}

.alignright {
    float: inline-end;
    margin-inline-start: 1.5rem;
    margin-block-end: 1rem;
}

.alignleft {
    float: inline-start;
    margin-inline-end: 1.5rem;
    margin-block-end: 1rem;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: .85rem;
    color: #6b7280;
    text-align: center;
}

/* WP PageNavi */
.wp-pagenavi {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-block-start: 40px;
}

.wp-pagenavi a, .wp-pagenavi span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 10px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    color: var(--primary, #306d29);
    text-decoration: none;
    font-weight: 600;
}

.wp-pagenavi span.current, .wp-pagenavi a:hover {
    background: var(--primary, #306d29);
    color: #fff;
    border-color: var(--primary, #306d29);
}

/* CF7 basic styling to match form fields */
.wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.wpcf7 textarea, .wpcf7 select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    margin-block-end: 0px;
    background: #fff;
}

.wpcf7 textarea {
    min-height: 140px;
    resize: vertical;
}

.wpcf7-spinner {
    margin-inline-start: 8px;
}

/* WYSIWYG paragraphs inside the About section match .about__para */
.about__body p {
    margin-top: 20px;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: var(--text);
}

.about__body p:first-child {
    margin-top: 0;
}

/* OTP registration form */
.otp-row--hidden {
    display: none;
}

.otp-email {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.otp-email .wpcf7-form-control-wrap {
    flex: 1;
}

.otp-email input {
    margin-block-end: 0 !important;
}

.otp-email .btn-register {
    white-space: nowrap;
    border: 0;
    cursor: pointer;
    height: 54px;
}

.form-note {
    margin: 6px 0 12px;
    font-size: 14px;
    min-height: 18px;
}

.form-note.is-ok {
    color: #15803d;
}

.form-note.is-err {
    color: #dc2626;
}

/* Empty-state helper */
.hiatf-empty {
    text-align: center;
    color: #6b7280;
    padding: 40px 0;
}

.hiatf-empty--lg {
    font-size: 20px;
}

.hiatf-empty--lg .btn-register {
    display: inline-block;
    margin-block-start: 16px;
}

.contact-map-wrap iframe, iframe.contact-map {
    width: 100%;
    min-height: 420px;
    border: 0;
    border-radius: 16px;
}
