/* Paid surveys hub + country pages (shared ps-* components) */

.ps-country-hero {
    background: linear-gradient(135deg, #4e00d5 0%, #6b2fd4 45%, #8173f1 100%);
    padding: 100px 0 72px;
    color: #fff;
    text-align: left;
    position: relative;
    overflow: hidden;
}
.ps-country-hero h1 {
    font-size: clamp(2.25rem, 4.5vw, 3.1rem);
    font-weight: 800;
    margin: 0 0 1rem;
    line-height: 1.12;
    text-align: left;
    color: #fff;
}
.ps-country-hero .lead {
    max-width: 520px;
    margin: 0 0 1.5rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.65;
    font-size: 1.15rem;
    text-align: left;
}
.ps-country-hero .lead + .lead {
    margin-top: -0.75rem;
}
.ps-country-hero-visual {
    max-width: 560px;
    margin: 0 auto;
}
.ps-country-hero-visual img {
    width: 100%;
    height: auto;
    max-width: 560px;
    object-fit: contain;
    border-radius: 16px;
    display: block;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}
.ps-country-hero-visual figcaption {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.ps-country-hero .ps-country-cta {
    margin-top: 0.25rem;
}
.ps-country-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffd700, #ffa500);
    color: #333;
    font-weight: 800;
    border-radius: 15px;
    padding: 16px 36px;
    text-decoration: none;
    font-size: 1.05rem;
}
.ps-country-cta:hover {
    color: #111;
    text-decoration: none;
}
.ps-country-lang-switch {
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
    font-weight: 600;
}
.ps-country-lang-switch a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.ps-country-lang-switch a:hover {
    color: #ffe08a;
}
.ps-section {
    padding: 80px 0;
}
.ps-section-alt {
    background: #f8fafc;
}
.ps-wrap {
    max-width: 100%;
    margin: 0 auto;
}
.ps-section h2 {
    font-size: 2.35rem;
    font-weight: 800;
    color: #333;
    margin: 0 auto 0.75rem;
    text-align: center;
    line-height: 1.2;
}
.ps-section .ps-prose,
.ps-section > .container > .row > [class*="col-"] > p,
.ps-hub-intro {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.65;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-width: none;
}
.ps-hub-intro {
    max-width: 720px;
    margin-bottom: 2rem;
}
.ps-section p + p {
    margin-top: 1rem;
}
.ps-section li {
    color: #666;
    line-height: 1.65;
}
.ps-section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 auto 1rem;
    text-align: center;
}
.ps-section-header {
    text-align: center;
    margin-bottom: 1.75rem;
}
.ps-prose-center {
    text-align: center;
    margin: 0;
}
.ps-cat-footnote {
    text-align: center;
    margin: 1rem 0 0;
    font-size: 0.92rem;
    color: #64748b;
}
.ps-topics-intro {
    text-align: center;
    margin: 0 0 0.25rem;
}
.ps-cta-wrap {
    text-align: center;
    margin: 1.5rem 0 0;
}
.ps-cta-wrap--loose {
    margin: 1.25rem 0 0;
}
.ps-rewards-footer {
    margin-bottom: 0;
}
.ps-link-accent {
    color: #4e00d5;
    font-weight: 600;
}
.ps-card-footnote {
    margin-top: 0.65rem;
    font-size: 0.9rem;
}
.ps-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 1.75rem;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}
.ps-card {
    background: #fff;
    border: 1px solid #e8e8ee;
    border-radius: 18px;
    padding: 1.35rem 1.4rem;
}
.ps-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 0.45rem;
}
.ps-card p {
    margin: 0;
    font-size: 1rem;
    color: #666;
    text-align: left;
    max-width: none;
}
.ps-cat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: center;
    margin: 1.25rem 0 0;
}
.ps-cat-chip {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #4e00d5;
}
.ps-steps {
    counter-reset: psstep;
    list-style: none;
    padding: 0;
    margin: 1.75rem auto 0;
    max-width: 860px;
    text-align: left;
}
.ps-steps li {
    position: relative;
    padding: 1.15rem 1.15rem 1.15rem 3.5rem;
    margin-bottom: 0.85rem;
    background: #fff;
    border: 1px solid #e8e8ee;
    border-radius: 18px;
    color: #666;
    line-height: 1.65;
}
.ps-steps li:before {
    counter-increment: psstep;
    content: counter(psstep);
    position: absolute;
    left: 1.1rem;
    top: 1.15rem;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 50%;
    background: #4e00d5;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ps-steps strong {
    color: #333;
    display: block;
    margin-bottom: 0.25rem;
    font-size: 1.05rem;
}
.ps-faq-item {
    background: #fff;
    border: 1px solid #e8e8ee;
    border-radius: 18px;
    padding: 1.25rem 1.4rem;
    margin: 0 auto 0.95rem;
    max-width: none;
    text-align: left;
}
.ps-faq-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 0.5rem;
}
.ps-faq-item p {
    margin: 0;
    max-width: none;
    text-align: left;
    font-size: 1.02rem;
}
#psCountryFaqAccordion .accordion-item,
#psHubFaqAccordion .accordion-item {
    border: none;
    margin-bottom: 16px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}
#psCountryFaqAccordion .accordion-button,
#psHubFaqAccordion .accordion-button {
    background: white;
    border: none;
    padding: 18px 20px;
    font-weight: 600;
    color: #1e293b;
    font-size: 1.05rem;
    box-shadow: none;
}
#psCountryFaqAccordion .accordion-button:not(.collapsed),
#psHubFaqAccordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #4e00d5 0%, #8173f1 100%) !important;
    color: white !important;
}
#psCountryFaqAccordion .accordion-button:focus,
#psHubFaqAccordion .accordion-button:focus {
    box-shadow: none;
}
#psCountryFaqAccordion .accordion-body {
    padding: 0 20px 18px;
    background: white;
    color: #64748b;
    line-height: 1.65;
    text-align: left;
    font-size: 1.02rem;
}
#psCountryFaqAccordion .accordion-body p {
    margin: 0;
    max-width: none;
    text-align: left;
    color: #64748b;
}
#psCountryFaqAccordion .accordion-body p + p {
    margin-top: 0.75rem;
}
#psHubFaqAccordion .accordion-body {
    padding: 0 20px 18px;
    background: white;
    color: #64748b;
    line-height: 1.65;
    text-align: left;
    font-size: 1.02rem;
}
.ps-payout-list {
    margin: 0.75rem 0 0;
    padding-left: 1.15rem;
}
.ps-tips-list {
    margin: 1rem 0 1.25rem;
    padding-left: 1.25rem;
    color: #475569;
    line-height: 1.7;
}
.ps-tips-list li {
    margin-bottom: 0.55rem;
}
.ps-tips-carousel-wrap {
    position: relative;
    margin: 1.75rem 0 0.5rem;
    padding: 0 2.75rem;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}
.ps-tips-carousel {
    display: flex;
    align-items: stretch;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 4px 8px 8px;
    scrollbar-width: none;
}
.ps-tips-carousel::-webkit-scrollbar {
    display: none;
}
.ps-tip-slide {
    flex: 0 0 300px;
    width: 300px;
    max-width: calc(100vw - 5.5rem);
    scroll-snap-align: start;
    min-height: 300px;
    box-sizing: border-box;
    align-self: stretch;
}
.ps-tip-card {
    background: #fff;
    border: 1px solid #e8e8ee;
    border-radius: 25px;
    padding: 1.5rem 1.35rem 1.5rem;
    box-shadow: none;
    height: 100%;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    text-align: left;
}
.ps-tip-card__title {
    color: #333;
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 0 0.55rem;
    line-height: 1.3;
}
.ps-tip-card__body {
    color: #666;
    font-size: 1rem;
    max-width: none;
    text-align: left;
    margin: 0;
    flex: 1 1 auto;
    line-height: 1.65;
}
.ps-tips-outro {
    margin: 0.35rem auto 0;
    text-align: center;
    font-size: 0.92rem;
    color: #94a3b8;
    line-height: 1.5;
    max-width: 720px;
}
.ps-payout-mini {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}
.ps-payout-mini--top {
    margin-top: 1.25rem;
}
.ps-payout-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid #e8e8ee;
    border-radius: 18px;
    overflow: hidden;
    font-size: 1.08rem;
}
.ps-payout-table th,
.ps-payout-table td {
    padding: 1.15rem 1.4rem;
    border-bottom: 1px solid #e8e8ee;
    text-align: left;
    vertical-align: top;
    line-height: 1.5;
}
.ps-payout-table tr:last-child th,
.ps-payout-table tr:last-child td {
    border-bottom: none;
}
.ps-payout-table th {
    width: 40%;
    font-weight: 700;
    color: #333;
    background: #f8fafc;
}
.ps-payout-table td {
    color: #666;
}
.ps-payout-mini-note {
    margin: 0.95rem auto 0;
    text-align: center;
    font-size: 1.02rem;
    color: #666;
    line-height: 1.55;
    max-width: none;
}
.ps-section-figure {
    max-width: 720px;
    margin: 1.25rem auto 1.75rem;
}
.ps-section-figure--tight {
    margin: 1.25rem auto 0;
}
.ps-section-figure figcaption,
.ps-fig-cap {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.45;
}
.ps-fig-cap--flush {
    margin-bottom: 0;
}
.ps-diagram-img {
    width: 100%;
    height: auto;
    max-width: 720px;
    max-height: 400px;
    object-fit: contain;
    border: none;
    border-radius: 16px;
    display: block;
    margin: 0 auto;
    background: transparent;
}
.ps-after-figure {
    margin-top: 0.35rem;
}
.ps-tip-card__icon-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}
.ps-tip-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    overflow: hidden;
    margin-bottom: 0.85rem;
}
.ps-tip-icon--img {
    width: 3.15rem;
    height: 3.15rem;
    border-radius: 14px;
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}
.ps-tip-icon--img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.ps-tip-icon--purple {
    color: #4e00d5;
    background: linear-gradient(135deg, #f3eefc 0%, #ebe4ff 100%);
}
.ps-tip-icon--green {
    color: #16a34a;
    background: linear-gradient(135deg, #edf4ee 0%, #e2f5e8 100%);
}
.ps-tip-num {
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
}
.ps-tip-num--purple {
    background: linear-gradient(135deg, #4e00d5, #8173f1);
}
.ps-tip-num--green {
    background: linear-gradient(135deg, #16a34a, #22c55e);
}
.ps-tips-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    color: #4e00d5;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ps-tips-prev,
.ps-topics-prev,
.ps-hub-vary-prev {
    left: 0;
}
.ps-tips-next,
.ps-topics-next,
.ps-hub-vary-next {
    right: 0;
}
.ps-tips-nav:hover {
    color: #16a34a;
}
.ps-topic-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
}
.ps-topic-card .ps-tip-icon {
    margin-bottom: 0.85rem;
}
.ps-topic-icon {
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.7rem;
    font-size: 1.15rem;
    flex-shrink: 0;
}
.ps-topic-icon--purple {
    color: #4e00d5;
    background: linear-gradient(135deg, #f3eefc 0%, #ebe4ff 100%);
}
.ps-topic-icon--green {
    color: #16a34a;
    background: linear-gradient(135deg, #edf4ee 0%, #e2f5e8 100%);
}
.ps-partners-bar {
    background: #fff;
    border-bottom: none;
    padding: 0.85rem 0 0.35rem;
}
.ps-partners-label {
    margin: 0 0 0.55rem;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #94a3b8;
}
.ps-partners-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.35rem 2.25rem;
}
.ps-partners-row img {
    height: 36px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    filter: grayscale(0.15);
    opacity: 0.92;
}
.ps-partners-bar + .ps-section {
    padding-top: 2.25rem;
}

/* Hub page (scoped carousel + country grid) */
.ps-hub .ps-tip-slide {
    flex: 0 0 calc((100% - 2.5rem) / 3.22);
    width: calc((100% - 2.5rem) / 3.22);
    max-width: none;
    min-height: 260px;
}
.ps-hub .ps-tip-card {
    min-height: 260px;
    padding: 1.5rem 1.35rem;
}
.ps-hub .ps-tip-icon {
    margin-bottom: 0.85rem;
}
.country-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.75rem;
    max-width: 1100px;
    margin: 0 auto;
    justify-items: stretch;
}
.country-card {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: #fff;
    border-radius: 999px;
    padding: 0.55rem 0.85rem 0.55rem 0.55rem;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: inherit;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.country-card:hover,
.country-card:focus {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(78, 0, 213, 0.12);
    border-color: #8173f1;
    color: inherit;
    text-decoration: none;
}
.country-flag {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 2px rgba(78, 0, 213, 0.12);
    flex-shrink: 0;
}
.country-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.country-card:hover .country-name {
    color: #4e00d5;
}
.ps-hub-cross {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
}
.ps-hub-cross h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: #333;
    font-weight: 800;
}
.ps-hub-cross p {
    color: #666;
    line-height: 1.65;
    margin: 0 0 1.5rem;
    font-size: 1.1rem;
}
.ps-hub-cross .ps-country-cta {
    margin-top: 0.25rem;
}

@media (max-width: 991.98px) {
    .ps-country-hero-col--copy {
        order: 2;
        margin-bottom: 0 !important;
    }
    .ps-country-hero-col--visual {
        order: 1;
        margin-bottom: 1.5rem;
    }
    .ps-country-hero,
    .ps-country-hero h1,
    .ps-country-hero .lead,
    .ps-country-hero-copy {
        text-align: center;
    }
    .ps-country-hero .lead {
        margin-left: auto;
        margin-right: auto;
    }
    .ps-hub .ps-tip-slide {
        flex: 0 0 calc((100% - 1.25rem) / 2.2);
        width: calc((100% - 1.25rem) / 2.2);
    }
}
@media (max-width: 768px) {
    .ps-card-grid {
        grid-template-columns: 1fr;
    }
    .ps-tips-carousel-wrap {
        padding: 0 2rem;
    }
    .ps-tip-slide {
        flex-basis: min(260px, 82vw);
    }
    .ps-hub .ps-tip-slide {
        flex: 0 0 min(260px, 82vw);
        width: min(260px, 82vw);
        max-width: min(260px, 82vw);
    }
    .ps-country-hero {
        padding: 88px 0 48px;
    }
    .ps-country-hero-visual img {
        max-height: 320px;
    }
    .ps-partners-row {
        gap: 1rem 1.5rem;
    }
    .ps-partners-row img {
        height: 30px;
        max-width: 120px;
    }
    .ps-section h2 {
        font-size: 1.85rem;
    }
    .country-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.6rem;
    }
}
@media (max-width: 575.98px) {
    .country-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 769px) and (max-width: 991.98px) {
    .country-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
