/* ── Grid ── */
.og-grid-c7f3a281 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* ── Card ── */
.og-card-c7f3a281 {
    background-color: #d7f5ec;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* ── Image wrap ── */
.og-img-wrap-c7f3a281 {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.og-img-wrap-c7f3a281 img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

.og-img-placeholder-c7f3a281 {
    width: 100%;
    aspect-ratio: 4/3;
    background: #b0d9c6;
}

/* ── Age badge ── */
.og-badge-c7f3a281 {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background-color: #1a6b3c;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.69rem;
    font-weight: 700;
    line-height: 1.35;
    padding: 8px;
    box-sizing: border-box;
    word-break: break-word;
    hyphens: auto;
}

/* ── Decorative dot ── */
.og-dot-c7f3a281 {
    position: absolute;
    bottom: 10px;
    right: 14px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #1a6b3c;
}

/* ── Card footer ── */
.og-footer-c7f3a281 {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex: 1;
}

/* ── Title ── */
.og-title-c7f3a281 {
    margin: 0;
    color: #1a6b3c;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    flex: 1;
}

/* ── Action buttons ── */
.og-actions-c7f3a281 {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    align-items: center;
}

.og-btn-c7f3a281 {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #1a6b3c;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
    flex-shrink: 0;
    transition: background-color 0.2s;
}

.og-btn-c7f3a281:hover {
    background-color: #145532;
    color: #ffffff;
    text-decoration: none;
}

.og-btn-c7f3a281 svg {
    display: block;
    fill: currentColor;
    flex-shrink: 0;
    /* optical centering for play triangle */
    margin-left: 2px;
}

/* ── Button resets (both play and modal are <button> elements) ── */
.og-btn-play-c7f3a281,
.og-btn-modal-c7f3a281 {
    border: none;
    cursor: pointer;
    padding: 0;
    appearance: none;
}

/* ── Modal container ── */
.og-modals-c7f3a281 {
    /* wrapper so ~ sibling selector works for modal style controls */
}

.og-modal-c7f3a281 {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.og-modal-c7f3a281.is-open {
    display: flex;
}

/* ── Backdrop ── */
.og-modal-overlay-c7f3a281 {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 0;
}

/* ── Modal panel ── */
.og-modal-inner-c7f3a281 {
    position: relative;
    z-index: 1;
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 920px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
}

/* ── Close button ── */
.og-modal-close-c7f3a281 {
    position: absolute;
    top: 16px;
    right: 18px;
    z-index: 10;
    background: none;
    border: none;
    cursor: pointer;
    color: #555;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.15s, color 0.15s;
    line-height: 0;
}

.og-modal-close-c7f3a281:hover {
    background-color: rgba(0, 0, 0, 0.07);
    color: #111;
}

/* ── Body: two-column layout ── */
.og-modal-body-c7f3a281 {
    display: flex;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

/* ── Left column ── */
.og-modal-left-c7f3a281 {
    flex: 3;
    padding: 40px 40px 40px 40px;
    overflow-y: auto;
}

.og-modal-title-c7f3a281 {
    color: #1a6b3c;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 24px;
    padding-right: 36px; /* space for close button */
}

/* General content typography inside modal left */
.og-modal-left-c7f3a281 h2:not(.og-modal-title-c7f3a281),
.og-modal-left-c7f3a281 h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 24px 0 12px;
    color: #111;
}

.og-modal-left-c7f3a281 p {
    margin: 0 0 14px;
    line-height: 1.6;
}

.og-modal-left-c7f3a281 ul {
    padding-left: 20px;
    margin: 0 0 14px;
}

.og-modal-left-c7f3a281 li {
    margin-bottom: 6px;
    line-height: 1.5;
}

/* ── Right column ── */
.og-modal-right-c7f3a281 {
    flex: 2;
    background-color: #e8f8f0;
    padding: 40px 32px;
    overflow-y: auto;
}

.og-modal-right-c7f3a281 h2,
.og-modal-right-c7f3a281 h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 20px;
    color: #111;
}

.og-modal-right-c7f3a281 p {
    line-height: 1.6;
    margin: 0 0 12px;
}

.og-modal-right-c7f3a281 ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.og-modal-right-c7f3a281 li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-weight: 500;
}

.og-modal-right-c7f3a281 li img {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    object-fit: contain;
}

/* Body scroll lock */
body.og-noscroll {
    overflow: hidden;
}

/* ── Responsive ── */
@media (max-width: 767px) {
    .og-modal-body-c7f3a281 {
        flex-direction: column;
    }

    .og-modal-left-c7f3a281,
    .og-modal-right-c7f3a281 {
        padding: 28px 24px;
    }

    .og-modal-title-c7f3a281 {
        font-size: 1.375rem;
    }
}

/* ── Video modal ── */
.og-video-modal-c7f3a281 {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.og-video-modal-c7f3a281.is-open {
    display: flex;
}

.og-video-modal-inner-c7f3a281 {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1000px;
}

/* 16:9 aspect-ratio container */
.og-video-wrap-c7f3a281 {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.og-video-wrap-c7f3a281 iframe,
.og-video-wrap-c7f3a281 video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Close button floats above the video */
.og-video-modal-inner-c7f3a281 > .og-modal-close-c7f3a281 {
    position: absolute;
    top: -42px;
    right: 0;
    color: #ffffff;
    background: rgba(255,255,255,0.15);
}

.og-video-modal-inner-c7f3a281 > .og-modal-close-c7f3a281:hover {
    background: rgba(255,255,255,0.3);
    color: #ffffff;
}

/* ── Life Competencies (modal right column) ── */
.og-competencies-c7f3a281 {
    margin-bottom: 32px;
}

.og-competencies-c7f3a281 h3 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #555;
    margin: 0 0 20px;
}

.og-competencies-c7f3a281 ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.og-modal-right-c7f3a281 .og-comp-item-c7f3a281 {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #222;
}

.og-comp-ring-c7f3a281 {
    flex-shrink: 0;
    display: block;
}

/* ── Quote block (modal right column) ── */
.og-modal-quote-c7f3a281 {
    margin: 0;
    padding: 0;
    border: none;
}

.og-quote-mark-c7f3a281 {
    display: block;
    font-size: 4rem;
    line-height: 0.9;
    color: #1a6b3c;
    font-family: Georgia, serif;
    margin-bottom: 8px;
    user-select: none;
}

.og-modal-quote-c7f3a281 p {
    color: #1a6b3c;
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0;
}

/* ── Responsive fallbacks ── */
@media (max-width: 1024px) {
    .og-grid-c7f3a281 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .og-grid-c7f3a281 {
        grid-template-columns: 1fr;
    }
}
