/**
 * Heritage Tours Landing Page Styles
 *
 * @package HoltInternational
 * @page /heritage-tours/
 */

/* ========================================
   CSS VARIABLES (Brand Palette)
   ======================================== */
:root {
    --ht-brick: #d33928;
    --ht-coral: #e35030;
    --ht-golden: #fbae49;
    --ht-golden-deep: #edaf44;
    --ht-teal: #007086;
    --ht-teal-dark: #006e6e;
    --ht-charcoal: #212529;
    --ht-muted: #6a717c;
    --ht-line: #e8ebef;
    --ht-cloud: #f7f8fa;
}

/* ========================================
   PAGE WRAPPER - Full-width landing page
   ======================================== */
.page-heritage-tours .default-page {
    padding-top: 0;
    padding-bottom: 0;
}

.page-heritage-tours .default-page__main-area,
.page-heritage-tours .default-page__main-area-inner,
.page-heritage-tours .default-page__content,
.page-heritage-tours .entry-content {
    max-width: none;
    padding: 0;
}

.page-heritage-tours .entry-content > .alignfull,
.page-heritage-tours .entry-content > .wp-block-cover,
.page-heritage-tours .entry-content > .wp-block-group {
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* ========================================
   HERO SECTION - Teal Gradient Overlay
   ======================================== */
.page-heritage-tours .holt-page-header.hero {
    min-height: 70vh;
}

.page-heritage-tours .holt-page-header .hero__image-container {
    background-color: rgba(0, 112, 134, 0.85) !important;
}

.page-heritage-tours .holt-page-header .hero__image-container.has-background-dim::before {
    background: linear-gradient(
        to bottom,
        rgba(0, 112, 134, 0.3) 0%,
        rgba(0, 112, 134, 0.6) 50%,
        rgba(0, 110, 110, 0.9) 100%
    ) !important;
    opacity: 1 !important;
}

.page-heritage-tours .hero__kicker {
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.page-heritage-tours .hero__title {
    margin-bottom: 24px;
}

.page-heritage-tours .hero__text {
    opacity: 0.95;
    margin-bottom: 32px;
    max-width: 68ch;
}

.page-heritage-tours .hero__buttons {
    gap: 12px;
}

.page-heritage-tours .holt-page-header .hero__inner {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--hs-default, 20px);
    padding-right: var(--hs-default, 20px);
}

.page-heritage-tours .holt-page-header .hero__content {
    max-width: 100%;
}

/* ========================================
   GENERIC SECTION PATTERNS
   ======================================== */
.page-heritage-tours .heritage-intro > *,
.page-heritage-tours .heritage-tours-grid > *,
.page-heritage-tours .heritage-why > *,
.page-heritage-tours .heritage-testimonial > *,
.page-heritage-tours .heritage-expect > *,
.page-heritage-tours .heritage-faq > *,
.page-heritage-tours .heritage-cta > *,
.page-heritage-tours .heritage-related > * {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--hs-default, 20px);
    padding-right: var(--hs-default, 20px);
    box-sizing: border-box;
}

.page-heritage-tours .heritage-section-header {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-heritage-tours .lead-text {
    color: var(--ht-muted);
    font-size: 1.15rem;
    line-height: 1.7;
}

/* ========================================
   INTRO SECTION
   ======================================== */
.page-heritage-tours .heritage-intro {
    background: #fff !important;
    text-align: center;
}

.page-heritage-tours .heritage-intro > h2,
.page-heritage-tours .heritage-intro > .heritage-intro__text,
.page-heritage-tours .heritage-intro > .heritage-intro__contact {
    max-width: 800px;
}

.page-heritage-tours .heritage-intro__text {
    color: var(--ht-muted);
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.page-heritage-tours .heritage-intro__contact {
    margin-top: 24px !important;
    padding: 20px !important;
    background: var(--ht-cloud);
    border-radius: 8px;
    display: inline-block;
    max-width: 800px;
}

.page-heritage-tours .heritage-intro__contact p {
    margin: 0;
}

.page-heritage-tours .heritage-intro__contact a {
    font-weight: 600;
    color: var(--ht-teal);
}

/* ========================================
   UPCOMING TOURS GRID
   ======================================== */
.page-heritage-tours .heritage-tours-grid {
    background: var(--ht-cloud) !important;
}

.page-heritage-tours .tour-cards {
    gap: 32px;
    margin-bottom: 32px;
}

.page-heritage-tours .tour-cards:last-of-type {
    margin-bottom: 0;
}

/* Tour Card */
.page-heritage-tours .tour-card {
    background: #fff;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 200ms ease, box-shadow 200ms ease;
    padding: 0 !important;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.page-heritage-tours .tour-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.page-heritage-tours .tour-card .tour-card__image {
    min-height: 240px !important;
    height: 240px;
    overflow: hidden;
    position: relative;
    border-radius: 0 !important;
}

.page-heritage-tours .tour-card .tour-card__image img {
    transition: transform 300ms ease;
}

.page-heritage-tours .tour-card:hover .tour-card__image img {
    transform: scale(1.05);
}

.page-heritage-tours .tour-card__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--ht-golden);
    color: var(--ht-charcoal);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 !important;
    z-index: 2;
}

.page-heritage-tours .tour-card__badge--closed {
    background: var(--ht-coral);
    color: #fff;
}

.page-heritage-tours .tour-card__dates--closed {
    color: var(--ht-coral) !important;
    font-style: italic;
}

.page-heritage-tours .tour-card .wp-block-cover__inner-container {
    padding: 0 !important;
    position: static;
}

.page-heritage-tours .tour-card__content {
    padding: 28px !important;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.page-heritage-tours .tour-card__country {
    font-size: 1.5rem !important;
    font-weight: 600;
    color: var(--ht-charcoal);
    margin-bottom: 8px !important;
}

.page-heritage-tours .tour-card__dates {
    font-size: 0.95rem;
    color: var(--ht-coral);
    font-weight: 600;
    margin-bottom: 16px !important;
}

.page-heritage-tours .tour-card__description {
    color: var(--ht-muted);
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 24px !important;
    flex: 1;
}

.page-heritage-tours .tour-card__footer {
    gap: 12px;
    flex-wrap: wrap;
    margin-top: auto;
}

.page-heritage-tours .tour-card__footer .wp-block-button__link {
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
}

.page-heritage-tours .heritage-tours-grid__aa-cta {
    text-align: center;
    margin-top: 40px !important;
    color: var(--ht-charcoal);
    font-size: 1.05rem;
    font-weight: 500;
}

.page-heritage-tours .heritage-tours-grid__aa-cta a {
    color: var(--ht-teal);
    font-weight: 600;
    text-decoration: underline;
}

.page-heritage-tours .heritage-tours-grid__aa-cta a:hover {
    color: var(--ht-coral);
}

.page-heritage-tours .heritage-tours-grid__footnote {
    text-align: center;
    margin-top: 16px !important;
    color: var(--ht-muted) !important;
    font-size: 0.9rem;
}

/* ========================================
   WHY HERITAGE TOURS SECTION
   ======================================== */
.page-heritage-tours .heritage-why {
    background: #fff !important;
}

.page-heritage-tours .why-grid {
    gap: 40px;
}

.page-heritage-tours .why-item {
    text-align: center;
    padding: 32px 24px !important;
}

.page-heritage-tours .why-item__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px !important;
    background: linear-gradient(135deg, var(--ht-golden) 0%, var(--ht-golden-deep) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-heritage-tours .why-item__icon svg {
    width: 40px;
    height: 40px;
    fill: var(--ht-charcoal);
}

.page-heritage-tours .why-item h3 {
    margin-bottom: 12px !important;
}

.page-heritage-tours .why-item p {
    color: var(--ht-muted);
    font-size: 1rem;
    line-height: 1.65;
}

/* ========================================
   TESTIMONIAL SECTION
   ======================================== */
.page-heritage-tours .heritage-testimonial {
    background: linear-gradient(135deg, var(--ht-teal) 0%, var(--ht-teal-dark) 100%) !important;
    color: #fff !important;
}

.page-heritage-tours .heritage-testimonial__inner {
    gap: 60px;
    align-items: center;
}

.page-heritage-tours .heritage-testimonial__image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.page-heritage-tours .heritage-testimonial__image img {
    border-radius: 12px;
    width: 100%;
    height: auto;
    display: block;
}

.page-heritage-tours .heritage-testimonial .wp-block-quote,
.page-heritage-tours .heritage-testimonial__quote {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    margin: 0 0 24px 0 !important;
    padding: 0 0 0 24px !important;
    border-left: 4px solid var(--ht-golden) !important;
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
    color: #fff;
    font-family: "Rowan", Georgia, serif;
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.6;
    font-style: normal;
}

.page-heritage-tours .heritage-testimonial__quote p {
    font-family: inherit;
    font-size: inherit;
    font-weight: 300;
    line-height: inherit;
    color: inherit;
    margin: 0;
    font-style: normal;
}

.page-heritage-tours .heritage-testimonial__quote::before,
.page-heritage-tours .heritage-testimonial__quote::after {
    display: none;
}

.page-heritage-tours .heritage-testimonial__author {
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    margin: 0 0 4px 0 !important;
}

.page-heritage-tours .heritage-testimonial__role {
    font-size: 0.9rem;
    opacity: 0.8;
    color: #fff;
    margin: 0 !important;
}

/* ========================================
   WHAT TO EXPECT SECTION
   ======================================== */
.page-heritage-tours .heritage-expect {
    background: var(--ht-cloud) !important;
}

.page-heritage-tours .expect-grid {
    gap: 24px;
}

.page-heritage-tours .expect-item {
    background: #fff;
    padding: 32px 24px !important;
    border-radius: 12px !important;
    text-align: center;
    transition: transform 200ms ease;
    height: 100%;
}

.page-heritage-tours .expect-item:hover {
    transform: translateY(-4px);
}

.page-heritage-tours .expect-item__number {
    width: 56px;
    height: 56px;
    background: var(--ht-golden);
    color: #000 !important;
    font-family: "Rowan", Georgia, serif;
    font-size: 1.75rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px !important;
    line-height: 1;
}

.page-heritage-tours .expect-item h4 {
    color: var(--ht-charcoal);
    margin-bottom: 8px !important;
}

.page-heritage-tours .expect-item p {
    color: var(--ht-muted);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0;
}

/* ========================================
   FAQ SECTION
   ======================================== */
.page-heritage-tours .heritage-faq {
    background: #fff !important;
}

.page-heritage-tours .faq-list {
    max-width: 800px !important;
    margin: 0 auto !important;
}

.page-heritage-tours .faq-item {
    border-bottom: 1px solid var(--ht-line);
    padding: 24px 0 !important;
}

.page-heritage-tours .faq-item:last-child {
    border-bottom: none;
}

.page-heritage-tours .faq-item__question {
    font-size: 1.15rem !important;
    font-weight: 600;
    color: var(--ht-charcoal);
    margin-bottom: 12px !important;
}

.page-heritage-tours .faq-item__answer {
    color: var(--ht-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

/* ========================================
   CTA SECTION
   ======================================== */
.page-heritage-tours .heritage-cta {
    background: linear-gradient(135deg, var(--ht-golden) 0%, var(--ht-golden-deep) 100%) !important;
    text-align: center;
}

.page-heritage-tours .heritage-cta__heading {
    color: var(--ht-charcoal) !important;
    margin-bottom: 16px !important;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-heritage-tours .heritage-cta__text {
    color: var(--ht-charcoal);
    font-size: 1.1rem;
    margin: 0 auto 32px !important;
    max-width: 700px;
}

.page-heritage-tours .heritage-cta__buttons {
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ========================================
   RELATED LINKS SECTION
   ======================================== */
.page-heritage-tours .heritage-related {
    background: #fff !important;
    border-top: 1px solid var(--ht-line);
}

.page-heritage-tours .heritage-related__heading {
    margin-bottom: 40px !important;
}

.page-heritage-tours .related-grid {
    gap: 24px;
}

.page-heritage-tours .related-card {
    background: var(--ht-cloud);
    border-radius: 12px !important;
    padding: 32px 28px !important;
    text-align: center;
    transition: all 200ms ease;
    border: 2px solid transparent !important;
    height: 100%;
}

.page-heritage-tours .related-card:hover {
    border-color: var(--ht-teal) !important;
    background: #fff;
}

.page-heritage-tours .related-card__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px !important;
    background: var(--ht-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-heritage-tours .related-card__icon svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

.page-heritage-tours .related-card h4 {
    margin-bottom: 8px !important;
}

.page-heritage-tours .related-card p {
    color: var(--ht-muted);
    font-size: 0.95rem;
    margin-bottom: 16px !important;
}

.page-heritage-tours .related-card__link a {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ht-teal);
}

.page-heritage-tours .related-card__link a:hover {
    color: var(--ht-coral);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 900px) {
    .page-heritage-tours .tour-cards,
    .page-heritage-tours .why-grid,
    .page-heritage-tours .heritage-testimonial__inner {
        flex-direction: column;
        gap: 32px;
    }
}

@media (max-width: 1000px) {
    .page-heritage-tours .expect-grid {
        flex-wrap: wrap;
    }
    .page-heritage-tours .expect-grid .wp-block-column {
        flex-basis: calc(50% - 12px) !important;
    }
}

@media (max-width: 600px) {
    .page-heritage-tours .expect-grid {
        flex-direction: column;
    }
    .page-heritage-tours .expect-grid .wp-block-column {
        flex-basis: 100% !important;
    }
    .page-heritage-tours .related-grid {
        flex-direction: column;
    }
}
