/* ============================================
   Porto Santo Page Styles
   ============================================ */

/* ============================================
   Media Placeholder (reusable)
   Stable aspect-ratio prevents layout shift; no <img> tag is used here,
   so there is never a reference to a file that doesn't exist yet. Swap the
   parent element for a real <picture>/<img> once the asset is available —
   no other markup needs to change.
   ============================================ */

.media-placeholder {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg, 1rem);
    background: rgba(216, 196, 155, 0.08);
    border: 1px solid rgba(216, 196, 155, 0.2);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D8C49B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 2rem 2rem;
    overflow: hidden;
}

.media-placeholder--hero {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
    border: none;
    background-size: 3rem 3rem;
}

/* ============================================
   Direct Answer (GEO)
   ============================================ */

.ps-answer {
    padding: 4rem 0 2rem;
}

.ps-answer__lead {
    color: #F7F2E5;
    font-size: 1.375rem;
    font-weight: var(--font-weight-regular);
    line-height: 1.9rem;
    max-width: 62rem;
    margin: 0 auto 2rem;
}

.ps-answer__facts {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 62rem;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    gap: 0.75rem;
}

.ps-answer__facts li {
    color: #D8C49B;
    font-size: 1rem;
    line-height: 1.6rem;
    padding-left: 1.25rem;
    position: relative;
}

.ps-answer__facts li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background: #D8C49B;
}

/* ============================================
   Experiences Grid
   ============================================ */

.ps-experiences {
    padding: 3.5rem 0;
}

.ps-experiences__title {
    color: #FFF;
    text-align: center;
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    line-height: 2.75rem;
    letter-spacing: -0.05rem;
    margin-bottom: 0.75rem;
}

.ps-experiences__subtitle {
    color: #D8C49B;
    text-align: center;
    font-size: 1.0625rem;
    line-height: 1.7rem;
    max-width: 42rem;
    margin: 0 auto 3rem;
}

.ps-experiences__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.ps-experiences__card {
    display: flex;
    flex-direction: column;
}

.ps-experiences__card-media {
    display: block;
    margin-bottom: 1.25rem;
    border-radius: var(--radius-lg, 1rem);
    overflow: hidden;
}

.ps-experiences__card-media img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.ps-experiences__card .media-placeholder {
    margin-bottom: 1.25rem;
}

.ps-experiences__card--teaser {
    border-top: 1px solid rgba(216, 196, 155, 0.25);
    padding-top: 1.5rem;
}

.ps-experiences__card-title {
    color: #F7F2E5;
    font-size: 1.375rem;
    font-weight: var(--font-weight-semibold);
    line-height: 1.75rem;
    letter-spacing: -0.02rem;
    margin-bottom: 0.5rem;
}

.ps-experiences__card-text {
    color: #D8C49B;
    font-size: 1rem;
    line-height: 1.6rem;
}

.ps-experiences__card-note {
    color: rgba(216, 196, 155, 0.6);
    font-size: 0.8125rem;
    font-style: italic;
    line-height: 1.4rem;
    margin-top: 0.5rem;
}

.ps-experiences__card-link {
    color: #D8C49B;
    font-size: 0.9375rem;
    font-weight: var(--font-weight-medium);
    margin-top: 0.75rem;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ============================================
   Low Season Editorial
   ============================================ */

.ps-season {
    padding: 3.5rem 0;
    background: rgba(216, 196, 155, 0.05);
}

.ps-season__title {
    color: #FFF;
    text-align: center;
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    line-height: 2.5rem;
    letter-spacing: -0.04rem;
    max-width: 48rem;
    margin: 0 auto 1.25rem;
}

.ps-season__text {
    color: #D8C49B;
    text-align: center;
    font-size: 1.0625rem;
    line-height: 1.75rem;
    max-width: 48rem;
    margin: 0 auto;
}

/* ============================================
   Discover the Island (POIs)
   ============================================ */

.ps-discover {
    padding: 3.5rem 0;
}

.ps-discover__title {
    color: #FFF;
    text-align: center;
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    line-height: 2.75rem;
    letter-spacing: -0.05rem;
    margin-bottom: 2.5rem;
}

.ps-discover__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem 2rem;
}

.ps-discover__item-title {
    color: #F7F2E5;
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    line-height: 1.5rem;
    margin-bottom: 0.375rem;
}

.ps-discover__item-text {
    color: #D8C49B;
    font-size: 0.9375rem;
    line-height: 1.5rem;
}

/* ============================================
   Practical Blocks (how to get there / how many days)
   ============================================ */

.ps-practical {
    padding: 3rem 0;
}

.ps-practical--alt {
    background: rgba(216, 196, 155, 0.05);
}

.ps-practical__title {
    color: #FFF;
    font-size: 1.75rem;
    font-weight: var(--font-weight-bold);
    line-height: 2.25rem;
    letter-spacing: -0.035rem;
    max-width: 48rem;
    margin: 0 auto 1rem;
}

.ps-practical__text {
    color: #D8C49B;
    font-size: 1.0625rem;
    line-height: 1.8rem;
    max-width: 48rem;
    margin: 0 auto;
}

/* ============================================
   Trade Block
   ============================================ */

.ps-trade {
    padding: 3.5rem 0;
}

.ps-trade__title {
    color: #FFF;
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    line-height: 2.5rem;
    letter-spacing: -0.04rem;
    margin-bottom: 1rem;
}

.ps-trade__text {
    color: #D8C49B;
    font-size: 1.0625rem;
    line-height: 1.8rem;
    max-width: 48rem;
    margin-bottom: 1.5rem;
}

/* ============================================
   FAQ
   ============================================ */

.ps-faq {
    padding: 3.5rem 0 6rem;
}

.ps-faq__title {
    color: #FFF;
    text-align: center;
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    line-height: 2.75rem;
    letter-spacing: -0.05rem;
    margin-bottom: 2.5rem;
}

.ps-faq__list {
    max-width: 48rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ps-faq__item {
    border: 1px solid rgba(216, 196, 155, 0.2);
    border-radius: var(--radius-lg, 1rem);
    padding: 1.25rem 1.5rem;
}

.ps-faq__question {
    color: #F7F2E5;
    font-size: 1.0625rem;
    font-weight: var(--font-weight-semibold);
    line-height: 1.6rem;
    cursor: pointer;
    list-style: none;
}

.ps-faq__question::-webkit-details-marker {
    display: none;
}

.ps-faq__question::after {
    content: '+';
    float: right;
    color: #D8C49B;
    font-weight: var(--font-weight-regular);
}

.ps-faq__item[open] .ps-faq__question::after {
    content: '−';
}

.ps-faq__answer {
    color: #D8C49B;
    font-size: 1rem;
    line-height: 1.7rem;
    margin-top: 0.75rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 992px) {
    .ps-experiences__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ps-discover__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ps-answer {
        padding: 2.5rem 0 1.5rem;
    }

    .ps-answer__lead {
        font-size: 1.125rem;
        line-height: 1.7rem;
    }

    .ps-experiences,
    .ps-season,
    .ps-discover,
    .ps-practical,
    .ps-trade,
    .ps-faq {
        padding: 2.5rem 0;
    }

    .ps-experiences__title,
    .ps-discover__title,
    .ps-faq__title {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }

    .ps-experiences__grid {
        grid-template-columns: 1fr;
    }

    .ps-discover__list {
        grid-template-columns: 1fr;
    }

    .ps-season__title {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    .ps-practical__title {
        font-size: 1.375rem;
        line-height: 1.875rem;
    }
}
