/* ===================================
   ATAX TESTIMONIALS PAGE BLOCK STYLES
   =================================== */

.wp-block-acf-atax-testimonial-page .testimonial-page-section {
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

.testimonial-page-container {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
    font-family: 'Montserrat', sans-serif;
}

.testimonial-page-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.testimonial-page-main-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: #354477;
    margin: 0;
}
.testimonial-page-subtitle {
    font-size: 16px;
    font-weight: 700;
    color: #354477;
    margin: 0;
}

.testimonial-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px 0;
    border-bottom: 1px solid #EDEFF4;
}
.testimonial-stars {
    color: #FFC845;
    display: flex;
    gap: 4px;
}
.testimonial-quote {
    font-size: 16px;
    line-height: 1.6;
    color: #354477;
}
.testimonial-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: flex-start;
}
.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}
.testimonial-name {
    font-weight: 700;
    color: #354477;
}
.testimonial-position {
    color: #666;
    font-size: 16px;
}
.testimonial-divider {
    display: inline-block;
    width: 1px;
    height: 40px;
    background: #354477; /* primary color */
    margin: 0 24px;
}
.testimonial-logo {
    height: 40px;
}

/* Laptop (1151px-1600px) - spacing only, same fonts */
@media (max-width: 1600px) {
    .wp-block-acf-atax-testimonial-page .testimonial-page-section {
        padding: 70px 20px;
        gap: 36px;
    }
}

/* Tablet (768px-1150px) - layout optimization, same fonts */
@media (max-width: 1150px) {
    .wp-block-acf-atax-testimonial-page .testimonial-page-section {
        padding: 60px 20px;
        gap: 32px;
    }
}

@media (max-width: 767px) {
    .wp-block-acf-atax-testimonial-page .testimonial-page-section {
        padding: 60px 16px 30px 16px;
    }
    .testimonial-page-main-title {
        font-size: 36px; /* 48px → 36px on mobile per framework */
    }
}

/* Pagination styles */
.testimonial-pagination {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}
.pagination-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0;
    margin: 0;
}
.pagination-list .page-item { display: inline-flex; }
.pagination-list .page-item.ellipsis { color: #354477; opacity: 0.7; }
.pagination-list .page-link {
    color: #354477;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.pagination-list .page-link.current {
    background: #FFC845;
    color: #354477;
    border-radius: 999px;
    width: 36px;
    height: 36px;
}
.pagination-list .page-item.page-arrow .page-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #354477;
}
.pagination-list .page-item.page-arrow.disabled {
    opacity: 1;
    pointer-events: none;
}

/* Number links base size so hover circle doesn't jump */
.pagination-list .page-item:not(.page-arrow) .page-link {
    width: 36px;
    height: 36px;
    border-radius: 999px;
}

/* Inactive number hover: yellow circle */
.pagination-list .page-item:not(.page-arrow) .page-link:not(.current):hover {
    background: #FFC845;
    color: #354477;
}

/* Active number: keep as-is on hover */
.pagination-list .page-link.current:hover {
    background: #FFC845;
    color: #354477;
}

/* Arrow icons from assets */
.arrow {
    display: inline-block;
    width: 14px;
    height: 14px;
    background-size: contain;
    background-repeat: no-repeat;
}
.arrow-left {
    background-image: url('../../assets/images/arrowleft.svg');
}
.arrow-right {
    background-image: url('../../assets/images/arrowright.svg');
}
