/* Alternative Provision - Pudding Club styling extensions.
   Builds on pudding-club.css (.pc): themes the Bootstrap tabs and
   collapse/accordion components, fixes lists & links on green panels,
   and adds a badge row and photo pair. Everything scoped under .pc. */

/* ---------- Links & lists on green panels ---------- */
.pc-panel a {
    color: var(--pc-cream);
    text-decoration: underline;
}

.pc-panel .pc-list li {
    border-bottom-color: rgba(244, 239, 226, 0.28);
}

.pc-panel .pc-list li::before {
    background: var(--pc-cream);
}

/* ---------- Credibility badges ---------- */
.ap-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.4rem;
    margin-top: 2.2rem;
}

.ap-badges img {
    width: 128px;
    height: auto;
    background: var(--pc-cream);
    border-radius: 12px;
    padding: 0.55rem;
}

/* ---------- Accordions (collapse) ---------- */
.ap-acc-head {
    margin: 0;
}

.ap-acc-head a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 0;
    font-family: var(--pc-display);
    font-weight: 700;
    line-height: 1.1;
    color: var(--pc-green-dark);
    font-size: clamp(1.6rem, 4.5vw, 2.2rem);
    text-decoration: none;
    border-top: 1px solid rgba(95, 112, 82, 0.25);
}

.ap-acc-head a:hover {
    color: var(--pc-green);
}

.ap-accordion:first-of-type .ap-acc-head a {
    border-top: none;
}

.ap-arrow {
    flex: 0 0 auto;
    font-size: 0.9rem;
    color: var(--pc-green);
}

/* ---------- Photo pair inside content ---------- */
.ap-photos {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1.8rem 0;
}

@media (min-width: 600px) {
    .ap-photos {
        grid-template-columns: 1fr 1fr;
    }
}

.ap-photos img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(20, 28, 16, 0.18);
}

/* ---------- Tabs ---------- */
.ap-tabs {
    border: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 1.6rem 0 0;
}

.ap-tabs .nav-item {
    margin: 0;
}

.ap-tabs .nav-link {
    border: none;
    border-radius: 0.7rem 0.7rem 0 0;
    background: rgba(95, 112, 82, 0.12);
    color: var(--pc-green-dark);
    font-family: var(--pc-hand);
    font-size: 1.35rem;
    padding: 0.55rem 1.4rem;
    cursor: pointer;
}

.ap-tabs .nav-link:hover {
    background: rgba(95, 112, 82, 0.22);
}

.ap-tabs .nav-link.active {
    background: var(--pc-green);
    color: var(--pc-cream);
}

.ap-tab-content {
    background: rgba(95, 112, 82, 0.08);
    border-radius: 0 0.9rem 0.9rem 0.9rem;
    padding: 1.6rem 1.8rem;
}

.ap-tab-content ul,
.ap-tab-content ol {
    padding-left: 1.2rem;
}

.ap-tab-content li {
    margin-bottom: 0.3rem;
}

/* ---------- At-a-glance quick links ---------- */
.ap-quicklinks {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem;
    font-family: var(--pc-hand);
    font-size: 1.3rem;
    margin-top: 1.2rem;
}
