/* AI SEO PHILIPPINES PAGE
 * Each direct child section matches one design screenshot.
 */

main.ai-seo-page>section {
    padding: 100px 0 0;
}

main.ai-seo-page>section:last-of-type {
    padding: 100px 0;
}

.ai-seo-page .header span,
.ai-seo-page .sub-header span {
    color: var(--ColorRed);
}

.ai-seo-page .banner .content-banner-header {
    background: url('../../assets/images/ai-seo-philippines/ai-banner.png') no-repeat center center / cover;
}

.ai-seo-page .ai-center {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.ai-seo-page .ai-center.three-pillars-con {
    max-width: 1100px;
}

.ai-seo-page .ai-center p {
    margin-right: auto;
    margin-left: auto;
}

.ai-seo-page .ai-grid {
    display: grid;
    gap: 30px;
}

.ai-seo-page .ai-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ai-seo-page .ai-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ai-seo-page .ai-grid .tier--card {
    height: 100%;
    gap: 0;
}

.ai-seo-page .ai-grid .tier--card h3 {
    font-family: "Inter", sans-serif;
    font-size: 25px;
    font-style: normal;
    font-weight: 400;
}

.ai-definition-section .text-custom-sf-medium.three-pillars {
    color: #121418;
    font-family: "Giga Sans";
    font-style: normal;
    font-size: 25px;
    font-weight: 400;
}

.ai-seo-page .ai-grid .tier--card>img {
    width: 20px;
    height: 20px;
    margin-bottom: 30px;
    object-fit: contain;
}

.ai-seo-page .ai-card-cta {
    margin-top: 30px;
}

.ai-seo-page .ai-list {
    margin: 0;
    padding-left: 20px;
}

.ai-seo-page .ai-list li {
    color: var(--ColorGray);
    font-family: "Giga Sans Extra Light";
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 28px;
}

.ai-seo-page .ai-table-wrap {
    overflow-x: auto;
    border-radius: 20px;
    background: var(--ColorBlack);
}

.ai-seo-page .ai-comparison-table {
    width: 100%;
    min-width: 1100px;
    border-collapse: collapse;
}

.ai-seo-page .ai-comparison-table th,
.ai-seo-page .ai-comparison-table td {
    width: 20%;
    padding: 14px 20px;
    color: var(--ColorWhite);
    font-family: "Giga Sans Extra Light";
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 28px;
    text-align: left;
    vertical-align: top;
}

.ai-seo-page .ai-comparison-table th,
.ai-seo-page .ai-comparison-table strong {
    font-family: "Giga Sans Bold";
    font-weight: 700;
}

.ai-seo-page .ai-table-note {
    max-width: unset;
    margin-top: 20px;
}

.ai-seo-page .ai-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 30px;
}

.ai-seo-page .ai-timeline::before {
    position: absolute;
    right: calc(16.6667% - 1px);
    bottom: 10px;
    left: calc(16.6667% - 1px);
    height: 4px;
    background: var(--ColorBlack);
    content: "";
}

.ai-seo-page .ai-timeline__item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    color: var(--ColorBlack);
    font-family: "Giga Sans";
    font-size: 18px;
    line-height: 28px;
    text-align: center;
}

.ai-seo-page .ai-timeline__item i {
    position: relative;
    z-index: 1;
    display: block;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--ColorRed);
}

.ai-seo-page .ai-faq {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ai-seo-page .ai-faq details {
    border-radius: 20px;
    background: var(--ColorBlack);
    overflow: hidden;
}

.ai-seo-page .ai-faq summary {
    position: relative;
    padding: 25px 60px 25px 25px;
    color: var(--ColorWhite);
    font-family: "Giga Sans Bold";
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px;
    cursor: pointer;
    list-style: none;
}

.ai-seo-page .ai-faq summary::-webkit-details-marker {
    display: none;
}

.ai-seo-page .ai-faq summary::after {
    position: absolute;
    top: 50%;
    right: 25px;
    width: 13px;
    height: 8px;
    content: "";
    background: url('../../assets/images/ai-seo-philippines/faq-chevron.svg') center / contain no-repeat;
    transform: translateY(-50%) rotate(180deg);
    transition: transform 0.3s ease;
}

.ai-seo-page .ai-faq details[open] summary::after {
    transform: translateY(-50%) rotate(0deg);
}

.ai-seo-page .ai-faq__answer {
    padding: 0 25px 25px;
}

.ai-seo-page .ai-faq__answer p {
    color: var(--ColorWhite);
    margin-bottom: 0;
}

.ai-seo-page .text-custom-sf-medium.geo-process {
    max-width: 450px;
}

.ai-seo-now-section .ai-now {
    max-width: 500px;

    @media (max-width: 1199px) {
        max-width: unset;
    }
}


@media all and (max-width: 1199px) {
    main.ai-seo-page>section {
        padding: 70px 30px 0;
    }

    main.ai-seo-page>section:last-of-type {
        padding: 70px 30px;
    }

    .ai-seo-page .ai-grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ai-seo-page .row._custom .content._right {
        flex-direction: column;
    }

    .ai-seo-page .text-custom-sf-medium.geo-process {
        max-width: unset;
    }
}

@media all and (max-width: 991px) {
    .ai-seo-page .banner .content-banner-header {
        background: none;
    }

    .ai-seo-page .ai-grid--3,
    .ai-seo-page .ai-grid--2 {
        grid-template-columns: 1fr;
    }

    .ai-seo-page .ai-timeline {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ai-seo-page .ai-timeline::before {
        top: 14px;
        right: auto;
        bottom: 14px;
        left: 10px;
        width: 4px;
        height: auto;
    }

    .ai-seo-page .ai-timeline__item {
        min-height: 30px;
        padding-left: 45px;
        align-items: flex-start;
        justify-content: center;
        gap: 0;
        text-align: left;
    }

    .ai-seo-page .ai-timeline__item i {
        position: absolute;
        top: 4px;
        left: 1px;
    }
}

@media all and (max-width: 768px) {
    main.ai-seo-page>section {
        padding: 50px 20px 0;
    }

    main.ai-seo-page>section:last-of-type {
        padding: 50px 20px;
    }
}

@media all and (max-width: 767px) {

    .ai-seo-page h1,
    .ai-seo-page h2,
    .ai-seo-page h3:not(.tier--card h3),
    .ai-seo-page h4,
    .ai-seo-page h5,
    .ai-seo-page p:not(.tier--card p):not(.ai-faq__answer p) {
        text-align: center;
    }

    .ai-seo-page .header,
    .ai-seo-page .sub-header {
        width: 100%;
        max-width: 100%;
    }

    .ai-seo-page .ai-list {
        padding-left: 22px;
    }

    .ai-seo-page .ai-list li {
        text-align: left;
    }

    .ai-seo-page .ai-comparison-table th,
    .ai-seo-page .ai-comparison-table td {
        font-size: 16px;
        line-height: 24px;
    }

    .ai-seo-page .ai-faq summary {
        padding: 20px 55px 20px 20px;
    }

    .ai-seo-page .ai-faq summary::after {
        right: 20px;
    }

    .ai-seo-page .ai-faq__answer {
        padding: 0 20px 20px;
    }

    .ai-seo-page .ai-faq__answer p {
        text-align: left;
    }
}

.ai-image-text .list-description {
    margin: 0;
}

.card-repeater .tier--header p {
    font-family: 'Giga Sans Thin' !important;
}

.ai-grid.ai-grid--3 .tier--card h3 {
    min-height: 70px;

    @media (max-width: 991px) {
        min-height: unset;
    }
}