/* PTE online course (/pte-online-course) – builds on pte-practice-material.css (hero, cards),
   free-pdf-guides.css (PDF rows) and video-guides.css (video cards and popup) */

.poc-page {
    --poc-blue: #0d56f9;
    --poc-ink: #212121;
    --poc-muted: #555c68;
    --poc-line: #e3eaf5;
    --poc-soft: #eef6ff;
    --poc-green: #12a150;
}

.poc-page .main-heading1 {
    margin-bottom: 40px;
}

/* ---------- Hero ---------- */
.poc-page .ppm-hero-content p {
    margin-bottom: 22px;
}

.poc-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.poc-highlights li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--poc-soft);
    color: var(--poc-ink);
    font-size: 14px;
    font-weight: 600;
}

.poc-highlights svg {
    color: var(--poc-blue);
    flex: none;
}

.poc-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.poc-btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 16px 30px;
    border: 2px solid var(--poc-blue);
    border-radius: 10px;
    color: var(--poc-blue);
    font-weight: 600;
    transition: background 0.2s ease-out, color 0.2s ease-out;
}

.poc-btn-outline:hover {
    background: var(--poc-blue);
    color: #fff;
}

/* ---------- Schedule ---------- */
.poc-schedule {
    background: #fff;
    border: 1px solid var(--poc-line);
    border-radius: 18px;
    overflow: hidden;
}

.poc-schedule table {
    width: 100%;
    border-collapse: collapse;
}

.poc-schedule th {
    background: var(--poc-soft);
    color: var(--poc-ink);
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    padding: 16px 20px;
}

.poc-schedule td {
    padding: 16px 20px;
    border-top: 1px solid #eef1f6;
    color: var(--poc-muted);
    font-size: 15px;
    vertical-align: middle;
}

.poc-schedule td strong {
    color: var(--poc-ink);
}

.poc-schedule-join {
    text-align: right;
}

.poc-schedule-join a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: 8px;
    background: var(--poc-blue);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

.poc-schedule-join a:hover {
    background: #0a45c8;
    color: #fff;
}

.poc-schedule-empty {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px 30px;
    background: #fff;
    border: 1px solid var(--poc-line);
    border-radius: 18px;
}

.poc-schedule-empty > div {
    flex: 1;
}

.poc-schedule-empty strong {
    display: block;
    font-size: 18px;
    color: var(--poc-ink);
    margin-bottom: 4px;
}

.poc-schedule-empty p {
    margin: 0;
    color: var(--poc-muted);
}

.poc-schedule-empty .ppm-icon {
    background: var(--poc-soft);
    color: var(--poc-blue);
}

/* ---------- Teachers ---------- */
.poc-page .poc-teachers-about {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

/* Centered, so 2 or 3 teachers don't leave an empty gap on the right */
.poc-teachers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.poc-teacher {
    flex: 0 1 calc(25% - 18px);
    min-width: 220px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--poc-line);
    border-radius: 18px;
    padding: 28px 20px;
}

.poc-teacher img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    display: block;
}

.poc-teacher h3 {
    font-size: 18px;
    margin: 0 0 4px;
    color: var(--poc-ink);
}

.poc-teacher-years {
    margin: 0 0 12px;
    color: var(--poc-muted);
    font-size: 14px;
}

.poc-teacher-specialty {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--poc-soft);
    color: var(--poc-blue);
    font-size: 13px;
    font-weight: 600;
}

/* ---------- PDFs and videos ---------- */
.poc-pdf-list {
    max-width: 900px;
    margin: 0 auto;
}

.poc-page .poc-video-grid .vid-item {
    list-style: none;
}

.poc-more {
    text-align: center;
    margin: 28px 0 0;
}

.poc-more a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--poc-blue);
    font-weight: 700;
}

.poc-more a svg {
    transition: transform 0.2s ease-out;
}

.poc-more a:hover svg {
    transform: translateX(3px);
}

/* ---------- Benefits ---------- */
.poc-page .poc-benefit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.poc-page .poc-benefit-grid .ppm-why-item {
    border: 1px solid var(--poc-line);
}

/* ---------- Steps ---------- */
.poc-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    counter-reset: none;
}

.poc-step {
    position: relative;
    background: #fff;
    border-radius: 18px;
    padding: 28px 24px;
}

.poc-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--poc-blue);
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 16px;
}

.poc-step h3 {
    font-size: 18px;
    margin: 0 0 8px;
    color: var(--poc-ink);
}

.poc-step p {
    margin: 0;
    color: var(--poc-muted);
}

.poc-center {
    text-align: center;
    margin-top: 36px;
}

/* ---------- Results ---------- */
.poc-results {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.poc-result {
    display: flex;
    flex-direction: column;
    margin: 0;
    background: #fff;
    border: 1px solid var(--poc-line);
    border-radius: 18px;
    padding: 24px;
}

.poc-result-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.poc-result-head img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex: none;
}

.poc-result-head div {
    flex: 1;
    min-width: 0;
}

.poc-result-head strong {
    display: block;
    color: var(--poc-ink);
}

.poc-result-head span {
    color: var(--poc-muted);
    font-size: 14px;
}

.poc-result-head .poc-result-gain {
    flex: none;
    padding: 5px 10px;
    border-radius: 999px;
    background: #e8f8ef;
    color: var(--poc-green);
    font-size: 13px;
    font-weight: 700;
}

.poc-result blockquote {
    flex: 1;
    margin: 18px 0;
    padding: 0;
    border: 0;
    color: var(--poc-muted);
    font-style: italic;
    line-height: 170%;
}

.poc-result-score {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 14px;
    border-radius: 12px;
    background: #f7f9fc;
    color: var(--poc-muted);
}

.poc-result-score span {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--poc-ink);
    line-height: 1.1;
}

.poc-result-score em {
    font-style: normal;
    font-size: 12px;
    font-weight: 600;
    color: var(--poc-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.poc-result-score .is-after {
    color: var(--poc-green);
}

.poc-result-report {
    margin-top: 14px;
    text-align: center;
    color: var(--poc-blue);
    font-weight: 600;
    font-size: 14px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
    .poc-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .poc-teacher {
        flex-basis: calc(50% - 12px);
    }
}

@media (max-width: 991px) {
    .poc-page .poc-benefit-grid,
    .poc-results,
    .poc-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .poc-page .main-heading1 {
        margin-bottom: 28px;
    }
    .poc-hero-buttons a {
        flex: 1 1 100%;
        justify-content: center;
        text-align: center;
    }
    .poc-page .poc-benefit-grid,
    .poc-results,
    .poc-video-grid,
    .poc-steps {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
    .poc-teachers {
        gap: 16px;
    }
    .poc-teacher {
        flex-basis: 100%;
        min-width: 0;
    }
    .poc-schedule-empty {
        flex-direction: column;
        align-items: flex-start;
        padding: 22px 20px;
    }
    .poc-schedule-empty .comman-btn {
        width: 100%;
        text-align: center;
    }

    /* Schedule rows become cards on phones */
    .poc-schedule {
        border: 0;
        background: none;
        overflow: visible;
    }
    .poc-schedule thead {
        display: none;
    }
    .poc-schedule tr {
        display: block;
        background: #fff;
        border: 1px solid var(--poc-line);
        border-radius: 14px;
        padding: 12px 16px;
        margin-bottom: 12px;
    }
    .poc-schedule td {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        border: 0;
        padding: 6px 0;
        text-align: right;
    }
    .poc-schedule td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--poc-ink);
        text-align: left;
    }
    .poc-schedule-join {
        justify-content: stretch;
    }
    .poc-schedule-join::before {
        display: none;
    }
    .poc-schedule-join a {
        width: 100%;
        justify-content: center;
        margin-top: 6px;
    }
}
