/**
 * Content Hub Styles
 * Category filter tabs, resource cards, membership teasers, download modal
 *
 * @package Hypotential
 */

/* =========================================================================
   Resources Hero
   ========================================================================= */

.resources-hero {
    padding: 4rem 0 0;
}

.resources-hero__content {
    max-width: 720px;
    margin: 0 auto;
    padding-bottom: 3rem;
}

.resources-hero__heading {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.resources-hero__text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-dark-gray, #555);
    max-width: 640px;
    margin: 0 auto 2rem;
}

.resources-hero__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.resources-hero__media {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 1rem;
}

.resources-hero__img {
    width: 100%;
    height: auto;
    display: block;
}

.resources-hero__placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--color-dark-gray, #333);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.resources-hero__placeholder svg {
    stroke: #fff;
    opacity: 0.3;
    width: 80px;
    height: 80px;
}

@media (max-width: 639px) {
    .resources-hero__buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

/* =========================================================================
   Hub Hero Buttons (legacy)
   ========================================================================= */

.hub-hero__buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

@media (max-width: 639px) {
    .hub-hero__buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

/* =========================================================================
   Category Filter Tabs
   ========================================================================= */

.hub-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding-bottom: 0.25rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.hub-filter-tabs::-webkit-scrollbar {
    display: none;
}

.hub-filter-tab {
    padding: 0.5rem 1.25rem;
    border: 1px solid #ddd;
    border-radius: 2rem;
    background: transparent;
    color: #333;
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hub-filter-tab:hover {
    border-color: #C9A227;
    color: #C9A227;
}

.hub-filter-tab--active {
    background: #000;
    border-color: #000;
    color: #fff;
}

.hub-filter-tab--active:hover {
    background: #222;
    border-color: #222;
    color: #fff;
}

.hub-no-results {
    grid-column: 1 / -1;
    text-align: center;
    color: #888;
    padding: 3rem 1rem;
    font-size: 1rem;
}

/* =========================================================================
   Hub Section Footer
   ========================================================================= */

.hub-section-footer {
    margin-top: 2rem;
}

/* =========================================================================
   Resource Cards — Badges
   ========================================================================= */

.hub-card--resource .hub-card__thumb {
    position: relative;
}

.hub-card__badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
}

.hub-card__badge--free {
    background: #C9A227;
    color: #fff;
}

.hub-card__badge--locked {
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
}

/* =========================================================================
   Resource Cards — CTA Buttons
   ========================================================================= */

.hub-card__cta--download,
.hub-card__cta--locked {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: none;
    border: none;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease;
}

.hub-card__cta--download {
    color: #C9A227;
}

.hub-card__cta--download:hover {
    color: #a8861f;
}

.hub-card__cta--locked {
    color: #888;
    text-decoration: none;
}

.hub-card__cta--locked:hover {
    color: #666;
}

/* =========================================================================
   Membership Teaser Section
   ========================================================================= */

.hub-teaser {
    padding: 5rem 0;
    background: #f5f5f5;
}

.hub-teaser__heading {
    margin-bottom: 3rem;
    font-size: 2rem;
}

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

@media (max-width: 767px) {
    .hub-teaser__grid {
        grid-template-columns: 1fr;
    }
}

.hub-teaser__card {
    background: #fff;
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
}

.hub-teaser__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: #f5f5f5;
    color: #C9A227;
}

.hub-teaser__icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.hub-teaser__card-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hub-teaser__card-text {
    font-size: 0.9375rem;
    color: #555;
    line-height: 1.6;
}

/* =========================================================================
   Tier Preview Cards
   ========================================================================= */

.hub-tiers {
    padding: 5rem 0;
}

.hub-tiers__heading {
    margin-bottom: 3rem;
    font-size: 2rem;
}

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

@media (max-width: 767px) {
    .hub-tiers__grid {
        grid-template-columns: 1fr;
    }
}

.hub-tier-card {
    position: relative;
    border: 1px solid #eee;
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    transition: box-shadow 0.2s ease;
}

.hub-tier-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.hub-tier-card--featured {
    border-color: #C9A227;
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.12);
}

.hub-tier-card__badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.25rem 1rem;
    background: #C9A227;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 1rem;
    white-space: nowrap;
}

.hub-tier-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.hub-tier-card__text {
    font-size: 0.9375rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* =========================================================================
   Download Modal
   ========================================================================= */

.hub-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.hub-modal[hidden] {
    display: none;
}

.hub-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    cursor: pointer;
}

.hub-modal__content {
    position: relative;
    background: #fff;
    border-radius: 0.75rem;
    padding: 2.5rem;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: hubModalIn 0.2s ease;
}

@keyframes hubModalIn {
    from {
        opacity: 0;
        transform: translateY(1rem) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hub-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #888;
    padding: 0.25rem;
    transition: color 0.2s ease;
}

.hub-modal__close:hover {
    color: #333;
}

.hub-modal__title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hub-modal__text {
    color: #555;
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.hub-modal__field {
    margin-bottom: 1rem;
}

.hub-modal__input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.hub-modal__input:focus {
    outline: none;
    border-color: #C9A227;
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

.hub-modal__message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    text-align: center;
}

.hub-modal__message--success {
    background: #e8f5e9;
    color: #2e7d32;
}

.hub-modal__message--error {
    background: #fce4ec;
    color: #c62828;
}

/* Wide modal variant for full application form */
.hub-modal__content--wide {
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
}

.hub-modal__content--wide::-webkit-scrollbar {
    width: 6px;
}

.hub-modal__content--wide::-webkit-scrollbar-track {
    background: transparent;
}

.hub-modal__content--wide::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 3px;
}

.hub-modal__content--wide .gsf-form__group {
    margin-bottom: 1rem;
}

.hub-modal__content--wide .gsf-form__label {
    font-size: 0.875rem;
}

.hub-modal__content--wide .gsf-form__input,
.hub-modal__content--wide .gsf-form__select,
.hub-modal__content--wide .gsf-form__textarea {
    font-size: 0.9375rem;
    padding: 0.625rem 0.875rem;
}

.hub-modal__content--wide .gsf-form__submit {
    margin-top: 1.25rem;
}

.hub-modal__content--wide .btn--full {
    width: 100%;
}

@media (max-width: 639px) {
    .hub-modal__content--wide {
        max-width: 100%;
        max-height: 85vh;
        padding: 1.5rem;
    }
}

/* =========================================================================
   Latest Articles Section
   ========================================================================= */

.hub-articles {
    padding: 5rem 0;
}

.hub-section-header {
    margin-bottom: 2rem;
    text-align: center;
}

.hub-section-header > div {
    width: 100%;
}

.hub-section-header__title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.hub-section-header__text {
    color: #555;
    font-size: 1rem;
    max-width: none;
}

.hub-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (max-width: 639px) {
    .hub-card-grid {
        grid-template-columns: 1fr;
    }
}

.hub-card {
    border: 1px solid #eee;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.hub-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.hub-card__link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.hub-card__thumb {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f5f5f5;
}

.hub-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hub-card__thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8e8e8;
}

.hub-card__body {
    padding: 1.25rem 1.5rem;
}

.hub-card__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.8125rem;
}

.hub-card__tag {
    padding: 0.2rem 0.6rem;
    border: 1px solid #ddd;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.hub-card__read-time {
    color: #888;
    font-size: 0.8125rem;
}

.hub-card__title {
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.hub-card__excerpt {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.hub-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #C9A227;
}

.hub-card__cta svg {
    transition: transform 0.2s ease;
}

.hub-card:hover .hub-card__cta svg {
    transform: translateX(3px);
}

.hub-section-footer {
    margin-top: 2.5rem;
}

/* =========================================================================
   Podcast Preview Section
   ========================================================================= */

.section--podcast-preview {
    padding: 5rem 0;
    background: #f9f9f9;
}

.podcast-preview__header {
    text-align: center;
    margin-bottom: 3rem;
}

.podcast-preview__heading {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.podcast-preview__subheading {
    color: #555;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.podcast-preview__header-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.podcast-preview__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #C9A227;
    text-decoration: none;
}

.podcast-preview__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.podcast-preview__episodes {
    display: flex;
    flex-direction: column;
}

.podcast-preview__episodes .podcast-episode {
    padding: 1.5rem 0;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
    cursor: pointer;
    transition: opacity 0.2s ease;
    transform: none;
    box-shadow: none;
}

.podcast-preview__episodes .podcast-episode:hover {
    box-shadow: none;
    transform: none;
}

.podcast-preview__episodes .podcast-episode:last-child {
    border-bottom: 1px solid #e0e0e0;
}

.podcast-preview__episodes .podcast-episode:first-child {
    padding-top: 0;
}

.podcast-episode__title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.podcast-episode__desc {
    font-size: 0.9375rem;
    line-height: 1.6;
}

.podcast-episode--active .podcast-episode__title {
    color: #000;
}

.podcast-episode--active .podcast-episode__desc {
    color: #555;
}

.podcast-episode--muted .podcast-episode__title {
    color: #ccc;
    transition: color 0.4s ease;
}

.podcast-episode--muted .podcast-episode__desc {
    color: #ccc;
    transition: color 0.4s ease;
}

.podcast-preview__media {
    border-radius: 0.75rem;
    overflow: hidden;
    background: #e8e8e8;
    position: relative;
}

.podcast-preview__media-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.podcast-preview__media-item:first-child {
    position: relative;
}

.podcast-preview__media-item--active {
    opacity: 1;
    z-index: 1;
}

.podcast-preview__media-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8e8e8;
}

.podcast-preview__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 767px) {
    .podcast-preview__grid {
        grid-template-columns: 1fr;
    }

    .podcast-preview__media {
        aspect-ratio: 4 / 3;
    }
}

/* =========================================================================
   Logo Carousel Section
   ========================================================================= */

.section--logo-carousel {
    padding: 3rem 0 4rem;
    overflow: hidden;
}

.logo-carousel__heading {
    text-align: center;
    font-size: 1.125rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 2rem;
}

.logo-carousel__track-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.logo-carousel__track {
    display: flex;
    align-items: center;
    gap: 3rem;
    width: max-content;
    animation: logo-scroll 30s linear infinite;
}

.logo-carousel__track:hover {
    animation-play-state: paused;
}

@keyframes logo-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.logo-carousel__item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
}

.logo-carousel__img {
    height: 32px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.logo-carousel__img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@media (max-width: 767px) {
    .logo-carousel__track {
        gap: 2rem;
        animation-duration: 20s;
    }

    .logo-carousel__img {
        height: 24px;
        max-width: 100px;
    }
}

/* =========================================================================
   Featured Worksheets Section
   ========================================================================= */

.section--featured-worksheets {
    padding: 5rem 0;
    background: #f9f9f9;
}

.featured-worksheets__header {
    margin-bottom: 2.5rem;
}

.featured-worksheets__heading {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.featured-worksheets__subheading {
    color: #555;
    font-size: 1rem;
    max-width: 640px;
}

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

@media (max-width: 767px) {
    .featured-worksheets__grid {
        grid-template-columns: 1fr;
    }
}

.worksheet-card {
    background: #fff;
    border-radius: 0.75rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease;
    border: 1px solid #eee;
}

.worksheet-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.worksheet-card__image {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f0f0f0;
}

.worksheet-card__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.worksheet-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.worksheet-card__content {
    padding: 1.5rem;
}

.worksheet-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.worksheet-card__desc {
    font-size: 0.9375rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* =========================================================================
   Practical Tools Section
   ========================================================================= */

.section--practical-tools {
    padding: 5rem 0;
}

.practical-tools__header {
    margin-bottom: 2.5rem;
}

.practical-tools__heading {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.practical-tools__subheading {
    color: #555;
    font-size: 1rem;
    max-width: 640px;
}

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

@media (max-width: 767px) {
    .practical-tools__grid {
        grid-template-columns: 1fr;
    }
}

.tool-card {
    border: 1px solid #eee;
    border-radius: 0.75rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease;
}

.tool-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.tool-card__content {
    padding: 1.5rem;
    flex: 1;
}

.tool-card__badge {
    display: inline-block;
    padding: 0.2rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.tool-card__badge--free {
    background: #C9A227;
    color: #fff;
}

.tool-card__badge--members {
    background: #222;
    color: #fff;
}

.tool-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tool-card__desc {
    font-size: 0.9375rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.tool-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #C9A227;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
}

.tool-card__cta:hover {
    color: #a8861f;
}

.tool-card__cta svg {
    transition: transform 0.2s ease;
}

.tool-card__cta:hover svg {
    transform: translateX(3px);
}

.tool-card__placeholder {
    aspect-ratio: 4 / 3;
    background: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-card__img {
    width: 100%;
    height: auto;
    display: block;
}

/* =========================================================================
   Member Benefits Section
   ========================================================================= */

.section--member-benefits {
    padding: 5rem 0;
}

.member-benefits__top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

@media (max-width: 767px) {
    .member-benefits__top {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.member-benefits__heading {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    line-height: 1.2;
}

.member-benefits__description {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
}

.member-benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}

@media (max-width: 767px) {
    .member-benefits__grid {
        grid-template-columns: 1fr;
    }
}

.member-benefits__card {
    text-align: left;
}

.member-benefits__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    color: #C9A227;
}

.member-benefits__card-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.member-benefits__card-text {
    font-size: 0.9375rem;
    color: #555;
    line-height: 1.6;
}

.member-benefits__buttons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.member-benefits__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #C9A227;
    text-decoration: none;
}

.member-benefits__link:hover {
    color: #a8861f;
}

/* =========================================================================
   Right Fit Section
   ========================================================================= */

.section--right-fit {
    padding: 5rem 0;
    background: #f9f9f9;
}

.right-fit__header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.right-fit__heading {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.right-fit__subheading {
    color: #555;
    font-size: 1rem;
}

.right-fit__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

@media (max-width: 767px) {
    .right-fit__grid {
        grid-template-columns: 1fr;
    }
}

.right-fit__card {
    background: #fff;
    border-radius: 0.75rem;
    padding: 2rem;
    border: 1px solid #ddd;
    display: flex;
    flex-direction: column;
}

.right-fit__icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    color: #333;
}

.right-fit__card-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.right-fit__card-desc {
    font-size: 0.9375rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex: 1;
}

.right-fit__card-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.right-fit__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #C9A227;
    text-decoration: none;
}

.right-fit__link:hover {
    color: #a8861f;
}

/* =========================================================================
   Full Access CTA Section
   ========================================================================= */

.section--full-access-cta {
    padding: 5rem 0;
}

.full-access-cta__content {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}

.full-access-cta__heading {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.full-access-cta__subheading {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.full-access-cta__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.full-access-cta__logos-heading {
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
}

.full-access-cta__logos-wrapper {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.full-access-cta__logos-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 3rem;
    width: max-content;
    animation: cta-logo-scroll 25s linear infinite;
}

.full-access-cta__logos-track:hover {
    animation-play-state: paused;
}

@keyframes cta-logo-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.full-access-cta__logo {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.full-access-cta__logo-img,
.full-access-cta__logo img {
    height: 42px !important;
    width: auto !important;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.full-access-cta__logo img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.full-access-cta__logos-static {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.full-access-cta__logo--placeholder {
    flex-shrink: 0;
}

/* =========================================================================
   Newsletter CTA Section
   ========================================================================= */

.section--newsletter-cta {
    padding: 4rem 0;
}

.newsletter-cta {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.newsletter-cta__heading {
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.newsletter-cta__subheading {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.newsletter-cta__name-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.newsletter-cta__name-group .newsletter-cta__input {
    flex: 1;
}

.newsletter-cta__input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.newsletter-cta__input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

.newsletter-cta__input:focus {
    outline: none;
    border-color: #C9A227;
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

.newsletter-cta__submit {
    flex-shrink: 0;
}

.newsletter-cta__fine-print {
    font-size: 0.8125rem;
    color: #888;
    line-height: 1.5;
}

.newsletter-cta__message[hidden] {
    display: none;
}

@media (max-width: 639px) {
    .newsletter-cta__input-group {
        flex-direction: column;
    }

    .full-access-cta__buttons {
        flex-direction: column;
        align-items: center;
    }
}
