
* {
    box-sizing: border-box
}

/* Library filters and results-heading parity with the source HTML. */
.library-page .search-library-filter-select option {
    color: #666;
}

.library-results-heading h2 {
    max-width: max-content;
    margin-bottom: .65rem;
    font-size: clamp(1.8rem, 3vw, 2.0rem);
    line-height: 1.05;
}

html {
    scroll-behavior: smooth
}

html[lang="ur"] {
    direction: rtl;
}

html[lang="ur"] body,
html[lang="ur"] button,
html[lang="ur"] input,
html[lang="ur"] textarea,
html[lang="ur"] select,
html[lang="ur"] option {
    font-family: "Noto Nastaliq Urdu", "Outfit", sans-serif !important;
}

html[lang="ur"] body {
    text-align: right;
    line-height: 1.95;
}

html[lang="ur"] h1,
html[lang="ur"] h2,
html[lang="ur"] h3,
html[lang="ur"] h4,
html[lang="ur"] h5,
html[lang="ur"] h6,
html[lang="ur"] .text-display-lg,
html[lang="ur"] .text-headline-lg,
html[lang="ur"] .text-headline-md,
html[lang="ur"] .text-headline-sm,
html[lang="ur"] .hero-banner-title-exact,
html[lang="ur"] .search-library-title,
html[lang="ur"] .contact-title,
html[lang="ur"] .case-hero__title {
    line-height: 1.8 !important;
}

html[lang="ur"] p,
html[lang="ur"] .text-body-lg,
html[lang="ur"] .text-body-md,
html[lang="ur"] .search-intro,
html[lang="ur"] .homepage-search-popup__intro,
html[lang="ur"] .how-it-works-copy,
html[lang="ur"] .blog-card-excerpt {
    line-height: 2.15 !important;
}

html[lang="ur"] h1,
html[lang="ur"] h2,
html[lang="ur"] h3,
html[lang="ur"] h4,
html[lang="ur"] h5,
html[lang="ur"] h6,
html[lang="ur"] p,
html[lang="ur"] li,
html[lang="ur"] label,
html[lang="ur"] input,
html[lang="ur"] textarea,
html[lang="ur"] select,
html[lang="ur"] .language-option,
html[lang="ur"] .site-footer__links a,
html[lang="ur"] .site-footer__copyright,
html[lang="ur"] .faq-page-answer,
html[lang="ur"] .faq-page-item summary,
html[lang="ur"] .contact-form-card,
html[lang="ur"] .learning-card,
html[lang="ur"] .blog-card,
html[lang="ur"] .featured-resource-card {
    text-align: right;
}

html[lang="ur"] .material-symbols-outlined,
html[lang="ur"] .language-button-icon-wrap,
html[lang="ur"] .button-hover-icon-center,
html[lang="ur"] .button-hover-icon-placeholder,
html[lang="ur"] .icon-only-button {
    direction: ltr;
}

html[lang="ur"] .navbar-inner,
html[lang="ur"] .navbar-actions,
html[lang="ur"] .navbar-desktop-nav,
html[lang="ur"] .navbar-mobile-nav,
html[lang="ur"] .site-footer__grid,
html[lang="ur"] .site-footer__links,
html[lang="ur"] .faq-breadcrumb,
html[lang="ur"] .case-breadcrumb,
html[lang="ur"] .community-breadcrumb,
html[lang="ur"] .search-bar-wrapper,
html[lang="ur"] .search-input-row,
html[lang="ur"] .search-tags-row,
html[lang="ur"] .site-pagination,
html[lang="ur"] .hero-breadcrumb,
html[lang="ur"] .resource-hero-actions,
html[lang="ur"] .contact-form-grid {
    direction: rtl;
}

html[lang="ur"] .navbar-actions,
html[lang="ur"] .search-bar-wrapper,
html[lang="ur"] .search-input-row {
    flex-direction: row-reverse;
}

@media (max-width: 1023px) {
    html[lang="ur"] .navbar-actions {
        direction: ltr;
        flex-direction: row;
        margin-left: 0;
        margin-right: auto;
    }

    html[lang="ur"] .navbar-menu-toggle {
        order: 1;
    }

    html[lang="ur"] .language-dropdown {
        order: 2;
    }
}

html[lang="ur"] .button-with-icon {
    flex-direction: row-reverse;
    padding-left: calc(1.5rem + 28px);
}

html[lang="ur"] .button-with-icon .button-hover-icon-center {
    right: auto;
    left: var(--button-icon-right, 24px);
    transform: translate3d(var(--button-icon-x), -50%, 0) rotate(var(--button-icon-rotation));
}

html[lang="ur"] .button-with-icon .button-hover-icon-placeholder {
    order: 2;
}

html[lang="ur"] .button-with-icon .button-hover-text {
    order: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding-left: 28px;
}

html[lang="ur"] .language-menu {
    left: auto;
    right: 0;
}

html[lang="ur"] .homepage-search-popup__panel,
html[lang="ur"] .search-card,
html[lang="ur"] .search-input-field,
html[lang="ur"] .homepage-search-popup__input {
    text-align: right;
}

html[lang="ur"] .homepage-search-popup__intro,
html[lang="ur"] .homepage-search-popup__tags,
html[lang="ur"] .homepage-search-popup__tags .search-tags-label,
html[lang="ur"] .homepage-search-popup__tags .search-tags-cluster {
    text-align: center !important;
}

html[lang="ur"] .search-card--purple .search-intro {
    text-align: center !important;
}

html[lang="ur"] .get-inspired-impact-header h2,
html[lang="ur"] .get-inspired-impact-header p {
    text-align: center !important;
}

html[lang="ur"] .get-inspired-impact-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

html[lang="ur"] .get-inspired-impact-header p {
    width: 100%;
    max-width: 48rem;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

html[lang="ur"] .get-inspired-pathways-header h2,
html[lang="ur"] .get-inspired-pathways-header p {
    text-align: center !important;
}

html[lang="ur"] .get-inspired-introduction h2 {
    white-space: normal;
}

html[lang="ur"] .get-inspired-introduction h2 br {
    display: none;
}

html[lang="ur"] .get-inspired-introduction h2 br:first-of-type {
    display: block;
}

html[lang="ur"] .get-inspired-introduction h2 .text-primary {
    display: none;
}

html[lang="ur"] .get-inspired-introduction .space-y-4 p {
    text-align: center !important;
}

html[lang="ur"] .get-inspired-introduction .space-y-4 {
    margin-left: auto;
    margin-right: auto;
}

html[lang="ur"] .hero-banner-title-exact {
    margin-bottom: 22px !important;
}

html[lang="ur"] .hero-banner-section .text-body-lg.font-body-lg.text-on-surface-variant.max-w-lg {
    margin-top: 0 !important;
}

html[lang="ur"] .how-it-works-section-copy,
html[lang="ur"] .how-it-works-section-copy h2,
html[lang="ur"] .how-it-works-section-copy > p {
    text-align: center !important;
}

html[lang="ur"] .featured-resources-copy,
html[lang="ur"] .featured-resources-copy h2,
html[lang="ur"] .featured-resources-copy > p {
    text-align: center !important;
}

html[lang="ur"] .about-faq-header,
html[lang="ur"] .about-faq-header .about-faq-title,
html[lang="ur"] .about-faq-header .about-faq-copy {
    text-align: center !important;
}

html[lang="ur"] .contribute-section {
    position: relative;
    background:
        radial-gradient(circle at 18% 18%, rgba(122, 88, 241, 0.22) 0%, rgba(122, 88, 241, 0) 26%),
        radial-gradient(circle at 82% 26%, rgba(176, 65, 97, 0.16) 0%, rgba(176, 65, 97, 0) 22%),
        radial-gradient(circle at 74% 82%, rgba(255, 122, 26, 0.12) 0%, rgba(255, 122, 26, 0) 24%),
        radial-gradient(ellipse at bottom, #27184c 0%, #120d21 100%) !important;
}

html[lang="ur"] .contribute-section::before {
    display: none;
}

html[lang="ur"] .contribute-stars,
html[lang="ur"] .contribute-stars::after {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

html[lang="ur"] .faq-breadcrumb,
html[lang="ur"] .case-breadcrumb,
html[lang="ur"] .community-breadcrumb {
    justify-content: flex-start;
}

html[lang="ur"] .search-library-banner-content,
html[lang="ur"] .search-library-breadcrumb,
html[lang="ur"] .search-library-title,
html[lang="ur"] .search-library-hero-copy,
html[lang="ur"] .resource-hero,
html[lang="ur"] .resource-section-copy,
html[lang="ur"] .story-detail-hero__inner,
html[lang="ur"] .story-detail-content,
html[lang="ur"] .story-detail-sidebar,
html[lang="ur"] .story-detail-card,
html[lang="ur"] .story-detail-quote,
html[lang="ur"] .story-detail-copy,
html[lang="ur"] .story-detail-facts,
html[lang="ur"] .story-detail-head,
html[lang="ur"] .blog-detail-author,
html[lang="ur"] .blog-detail-author-copy,
html[lang="ur"] .blog-detail-content,
html[lang="ur"] .contact-form-actions,
html[lang="ur"] .featured-resource-footer,
html[lang="ur"] .featured-resource-tags,
html[lang="ur"] .site-footer__brand,
html[lang="ur"] .site-footer__column,
html[lang="ur"] .site-footer__social,
html[lang="ur"] .site-footer__heading,
html[lang="ur"] .site-footer__brand-copy,
html[lang="ur"] .faq-page-item__summary-content {
    direction: rtl !important;
    text-align: right !important;
}

@media (min-width: 768px) {
    html[lang="ur"] .site-footer__grid {
        grid-template-columns: 6fr 2fr 2fr 2fr;
        direction: rtl;
    }
}

html[lang="ur"] .search-library-breadcrumb,
html[lang="ur"] .story-detail-meta,
html[lang="ur"] .story-detail-hero__actions,
html[lang="ur"] .contact-form-actions,
html[lang="ur"] .featured-resource-footer,
html[lang="ur"] .featured-resource-tags,
html[lang="ur"] .site-footer__social,
html[lang="ur"] .blog-detail-author {
    flex-direction: row-reverse !important;
}

html[lang="ur"] .search-library-breadcrumb,
html[lang="ur"] .story-detail-head,
html[lang="ur"] .story-detail-meta,
html[lang="ur"] .story-detail-hero__actions,
html[lang="ur"] .contact-form-actions,
html[lang="ur"] .featured-resource-footer,
html[lang="ur"] .featured-resource-tags {
    justify-content: flex-start !important;
}

html[lang="ur"] .site-footer__social {
    justify-content: flex-end !important;
}

html[lang="ur"] .story-detail-facts li,
html[lang="ur"] .featured-resource-author,
html[lang="ur"] .featured-resource-type,
html[lang="ur"] .featured-resource-title,
html[lang="ur"] .blog-card-meta,
html[lang="ur"] .blog-detail-author-copy strong,
html[lang="ur"] .blog-detail-author-copy span {
    text-align: right !important;
}

html[lang="ur"] .story-detail-related-card > span,
html[lang="ur"] .featured-resource-footer .material-symbols-outlined,
html[lang="ur"] .story-detail-meta .material-symbols-outlined,
html[lang="ur"] .search-library-breadcrumb .material-symbols-outlined {
    direction: ltr;
}

html[lang="ur"] .search-library-banner-content > *,
html[lang="ur"] .story-detail-card > *,
html[lang="ur"] .site-footer__column > * {
    margin-left: 0 !important;
}

html[lang="ur"] .search-library-filter-bar {
    direction: rtl;
    grid-template-columns: auto repeat(3, minmax(140px, .62fr)) minmax(0, 1.35fr) !important;
}

html[lang="ur"] .search-library-filter-search {
    flex-direction: row-reverse;
    border-radius: 0 999px 999px 0 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-left: 0 !important;
}

html[lang="ur"] .search-library-filter-search .material-symbols-outlined {
    order: 2;
}

html[lang="ur"] .search-library-filter-input {
    text-align: right !important;
}

html[lang="ur"] .search-library-filter-input::placeholder {
    text-align: right !important;
}

html[lang="ur"] .search-library-filter-select,
html[lang="ur"] .search-library-dropdown-trigger {
    flex-direction: row-reverse;
    text-align: right !important;
}

html[lang="ur"] .search-library-dropdown-trigger .search-library-dropdown-label {
    flex: 1;
    text-align: right !important;
}

html[lang="ur"] .search-library-filter-bar > .search-library-dropdown-shell:first-of-type .search-library-dropdown-trigger {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

html[lang="ur"] .search-library-filter-bar > .search-library-dropdown-shell:last-of-type .search-library-dropdown-trigger {
    border-radius: 90px 0 0 90px !important;
}

html[lang="ur"] .search-library-dropdown-menu,
html[lang="ur"] .search-library-dropdown-item {
    text-align: right !important;
}

@media (min-width: 768px) {
    html[lang="ur"] .search-library-results-title {
        white-space: nowrap;
        font-size: clamp(2.2rem, 2.8vw, 3rem) !important;
        line-height: 1.2 !important;
    }

    html[lang="ur"] .search-library-results-title br {
        display: none;
    }
}

body {
    margin: 0;
    background: #ffffff;
    color: #1d1b20;
    font-family: "Outfit", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400
}

a {
    color: inherit;
    text-decoration: none
}

h1 {
    color: #1A1C1D !important;
    font-family: "Outfit", sans-serif !important;
    font-size: 48px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 58px !important;
}

button,
input {
    font: inherit
}

button {
    cursor: pointer;
    border: 0;
    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease,
        opacity 0.3s ease
}

.featured-collection-arrow {
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.featured-collection-arrow.arrow-icon--upright {
    transform: rotate(-45deg);
}

.button-with-icon {
    display: inline-flex;
    position: relative;
    overflow: hidden;
    justify-content: flex-start;
    align-items: center;
    gap: 20px !important;
    --button-icon-x: 0px;
    --button-icon-rotation: 0deg;
}

.button-hover-text {
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.button-hover-icon-placeholder {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.button-hover-icon-placeholder svg,
.button-hover-icon-center svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.search-input-icon {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.button-hover-icon-center {
    position: absolute;
    top: 50%;
    right: var(--button-icon-right, 24px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    transform: translate3d(var(--button-icon-x), -50%, 0) rotate(var(--button-icon-rotation));
    transform-origin: center;
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.button-hover-icon-center.arrow-icon--upright,
.button-hover-icon-placeholder.arrow-icon--upright {
    --button-icon-rotation: -45deg;
}

.button-with-arrow .button-hover-icon-center,
.button-with-arrow .button-hover-icon-placeholder {
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.button-with-search {
    gap: 18px !important;
    justify-content: flex-start;
}

.button-with-search .button-hover-text {
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0;
    font-weight: 600;
}

.button-with-search .button-hover-icon-center,
.button-with-search .button-hover-icon-placeholder {
    width: 20px;
    height: 20px;
}

.button-with-search .button-hover-icon-center {
    right: 22px;
}

.button-with-search .material-symbols-outlined {
    font-size: 18px;
}

.navbar-search-button,
.navbar-mobile-search,
.search-submit-button,
.start-here-primary,
.learning-journey-view-all,
.blog-view-all-button,
.featured-story-link {
    --button-icon-right: 24px;
}

.library-button,
.view-all-resources-button,
.contribute-primary-button,
.contribute-secondary-button {
    --button-icon-right: 32px;
}

.icon-only-button .material-symbols-outlined {
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

img {
    display: block;
    max-width: 100%
}

.hero-banner-section {
    position: relative;
    isolation: isolate;
}

.hero-banner-section h1 {
    margin-top: 0.67em;
    margin-bottom: 0.67em;
}

.hero-banner-section p {
    margin-top: 1em;
    margin-bottom: 1em;
}

.hero-banner-section::before {
    content: "";
    position: absolute;
    top: -120px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background-image: url("assets/images/hero-section.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.homepage-hero-media {
    width: 100%;
}

.homepage-hero-video-frame {
    height: 250px;
}

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;

    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24
}

.glass {
    background: rgba(255, 255, 255, .8);
    backdrop-filter: blur(12px)
}

.card-shadow {
    box-shadow: 0 10px 30px rgba(90, 49, 214, .05)
}

.card-shadow:hover {
    box-shadow: 0 15px 40px rgba(90, 49, 214, .1)
}

input::placeholder {
    color: #797486
}

/* Shared navbar/footer font family */
.navbar-inner,
.navbar-inner *,
.navbar-mobile-panel,
.navbar-mobile-panel *,
.site-footer,
.site-footer * {
    font-family: "Outfit", sans-serif
}

.navbar-inner .material-symbols-outlined,
.navbar-mobile-panel .material-symbols-outlined,
.site-footer .material-symbols-outlined {
    font-family: 'Material Symbols Outlined' !important;
}

.-left-10 {
    left: -2.5rem
}

.absolute {
    position: absolute
}

.aspect-video {
    aspect-ratio: 16/9
}

.backdrop-blur-md {
    backdrop-filter: blur(12px)
}

.bg-center {
    background-position: center
}

.bg-cover {
    background-size: cover
}

.bg-gradient-to-l {
    background-image: linear-gradient(to left, var(--tw-gradient-stops))
}

.bg-gradient-to-t {
    background-image: linear-gradient(to top, var(--tw-gradient-stops))
}

.bg-on-primary-container {
    background-color: #d0c3ff
}

.bg-primary {
    background-color: #4200be
}

.bg-primary-container {
    background-color: #5a31d6
}

.bg-primary-fixed {
    background-color: #e7deff
}

.bg-primary-fixed\/30 {
    background-color: rgba(231, 222, 255, 0.3)
}

.bg-primary-fixed\/50 {
    background-color: rgba(231, 222, 255, 0.5)
}

.bg-primary\/10 {
    background-color: rgba(66, 0, 190, 0.1)
}

.bg-primary\/40 {
    background-color: rgba(66, 0, 190, 0.4)
}

.bg-secondary-fixed {
    background-color: #e3e1ee
}

.bg-surface {
    background-color: #ffffff
}

.bg-surface-container {
    background-color: #f2ecf3
}

/* .bg-surface-container-highest {
    background-color: #e6e1e8
} */

.bg-surface-container-low {
    background-color: #f8f2f9
}

.bg-surface-container-lowest {
    background-color: #ffffff
}

.bg-surface\/80 {
    background-color: rgba(254, 247, 255, 0.8)
}

.bg-tertiary-container {
    background-color: #923b00
}

.bg-tertiary-fixed {
    background-color: #ffdbcb
}

.bg-transparent {
    background-color: transparent
}

.bg-white {
    background-color: #ffffff
}

.bg-white\/10 {
    background-color: rgba(255, 255, 255, 0.1)
}

.bg-white\/20 {
    background-color: rgba(255, 255, 255, 0.2)
}

.bg-white\/90 {
    background-color: rgba(255, 255, 255, 0.9)
}

.border {
    border-width: 1px;
    border-style: solid
}

.border-b {
    border-bottom-width: 1px;
    border-bottom-style: solid
}

.border-b-2 {
    border-bottom-width: 2px;
    border-bottom-style: solid
}

.border-none {
    border: none
}

.border-outline {
    border-color: #797486
}

.border-outline-variant {
    border-color: #cac3d7
}

.border-outline-variant\/30 {
    border-color: rgba(202, 195, 215, 0.3)
}

.border-outline-variant\/50 {
    border-color: rgba(202, 195, 215, 0.5)
}

.border-primary {
    border-color: #4200be
}

.border-primary\/20 {
    border-color: rgba(66, 0, 190, 0.2)
}

.border-t {
    border-top-width: 1px;
    border-top-style: solid
}

.border-t-4 {
    border-top-width: 4px;
    border-top-style: solid
}

.border-tertiary-container {
    border-color: #923b00
}

.border-transparent {
    border-color: transparent
}

.border-white\/20 {
    border-color: rgba(255, 255, 255, 0.2)
}

.border-white\/30 {
    border-color: rgba(255, 255, 255, 0.3)
}

.bottom-0 {
    bottom: 0
}

.bottom-10 {
    bottom: 2.5rem
}

.brightness-\[5\] {
    filter: brightness(5)
}

.cursor-pointer {
    cursor: pointer
}

.decoration-2 {
    text-decoration-thickness: 2px
}

.duration-200 {
    transition-duration: .2s
}

.duration-300 {
    transition-duration: .3s
}

.duration-500 {
    transition-duration: .5s
}

.duration-700 {
    transition-duration: .7s
}

.fixed {
    position: fixed
}

.flex {
    display: flex
}

.flex-1 {
    flex: 1 1 0%
}

.flex-col {
    flex-direction: column
}

.flex-grow {
    flex-grow: 1
}

.flex-wrap {
    flex-wrap: wrap
}

.font-body-lg {
    font-family: 'Outfit", sans-serif',
}

.font-body-md {
    font-family: 'Outfit", sans-serif',
}

.font-bold {
    font-weight: 700
}

.font-display-lg {
    font-family: "Outfit", sans-serif;
}

.font-headline-lg {
    font-family: "Outfit", sans-serif;
}

.font-headline-md {
    font-family: "Outfit", sans-serif;
}

.font-headline-sm {
    font-family: "Outfit", sans-serif;
}

.font-label-md {
    font-family: "Outfit", sans-serif;
}

.font-medium {
    font-weight: 500
}

.from-black\/80 {
    --tw-gradient-from: rgba(0, 0, 0, .8);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(0, 0, 0, 0))
}

.from-white\/10 {
    --tw-gradient-from: rgba(255, 255, 255, .1);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(255, 255, 255, 0))
}

.gap-1 {
    gap: 0.25rem
}

.gap-2 {
    gap: 0.5rem
}

.gap-lg {
    gap: 24px
}

.gap-md {
    gap: 16px
}

.gap-sm {
    gap: 8px
}

.gap-xl {
    gap: 48px
}

.gap-xs {
    gap: 4px
}

.grayscale {
    filter: grayscale(100%)
}

.grid {
    display: grid
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr))
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr))
}

.h-1 {
    height: 0.25rem
}

.h-10 {
    height: 2.5rem
}

.h-12 {
    height: 3rem
}

.h-16 {
    height: 4rem
}

.h-20 {
    height: 5rem
}

.h-24 {
    height: 6rem
}

.h-6 {
    height: 1.5rem
}

.h-\[240px\] {
    height: 240px
}

.h-\[400px\] {
    height: 400px
}

.h-\[250px\] {
    height: 250px
}

.h-\[500px\] {
    height: 500px
}

.h-\[520px\] {
    height: 520px
}

.h-\[600px\] {
    height: 600px
}

.h-full {
    height: 100%
}

.hidden {
    display: none
}

.inline-block {
    display: inline-block
}

.inset-0 {
    inset: 0
}

.italic {
    font-style: italic
}

.items-center {
    align-items: center
}

.items-end {
    align-items: flex-end
}

.justify-between {
    justify-content: space-between
}

.justify-center {
    justify-content: center
}

.leading-snug {
    line-height: 1.375
}

.leading-tight {
    line-height: 1.25
}

.left-0 {
    left: 0
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.m-gutter {
    margin: 24px
}

.max-w-2xl {
    max-width: 42rem
}

.max-w-container-max {
    max-width: 1280px
}

.max-w-lg {
    max-width: 32rem
}

.max-w-md {
    max-width: 28rem
}

.max-w-sm {
    max-width: 24rem
}

.mb-1 {
    margin-bottom: 0.25rem
}

.mb-2 {
    margin-bottom: 0.5rem
}

.mb-lg {
    margin-bottom: 24px
}

.mb-md {
    margin-bottom: 16px
}

.mb-sm {
    margin-bottom: 8px
}

.mb-xl {
    margin-bottom: 48px
}

.mb-xs {
    margin-bottom: 4px
}

.mb-xxl {
    margin-bottom: 80px
}

.ml-4 {
    margin-left: 1rem
}

.mt-md {
    margin-top: 16px
}

.mt-xl {
    margin-top: 48px
}

.mt-xxl {
    margin-top: 80px
}

.mx-auto {
    margin-left: auto;
    margin-right: auto
}

.object-cover {
    object-fit: cover
}

.opacity-50 {
    opacity: .5
}

.opacity-60 {
    opacity: .6
}

.opacity-70 {
    opacity: .7
}

.opacity-80 {
    opacity: .8
}

.overflow-hidden {
    overflow: hidden
}

.p-2 {
    padding: 0.5rem
}

.p-3 {
    padding: 0.75rem
}

.p-4 {
    padding: 1rem
}

.p-lg {
    padding: 24px
}

.p-md {
    padding: 16px
}

.p-xl {
    padding: 48px
}

.pb-1 {
    padding-bottom: 0.25rem
}

.pt-20 {
    padding-top: 5rem
}

.pt-lg {
    padding-top: 24px
}

.pt-xl {
    padding-top: 48px
}

.px-gutter {
    padding-left: 24px;
    padding-right: 24px
}

.px-lg {
    padding-left: 24px;
    padding-right: 24px
}

.px-md {
    padding-left: 16px;
    padding-right: 16px
}

.px-sm {
    padding-left: 8px;
    padding-right: 8px
}

.px-xl {
    padding-left: 48px;
    padding-right: 48px
}

.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem
}

.py-xl {
    padding-top: 48px;
    padding-bottom: 48px
}

.py-xs {
    padding-top: 4px;
    padding-bottom: 4px
}

.py-xxl {
    padding-top: 80px;
    padding-bottom: 80px
}

.relative {
    position: relative
}

.right-0 {
    right: 0
}

.rounded {
    border-radius: 0.25rem
}

.rounded-\[4rem\] {
    border-radius: 4rem
}

.rounded-full {
    border-radius: 9999px
}

.rounded-lg {
    border-radius: 2rem
}

.rounded-md {
    border-radius: 0.375rem
}

.rounded-sm {
    border-radius: 0.125rem
}

.scale-95 {
    transform: scale(.95)
}

.scroll-smooth {
    scroll-behavior: smooth
}

.shadow-sm {
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05)
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1)
}

.shrink-0 {
    flex-shrink: 0
}

.space-y-lg*+* {
    margin-top: 24px;
}

.space-y-md*+* {
    margin-top: 16px;
}

.space-y-sm*+* {
    margin-top: 8px;
}

.text-\[10px\] {
    font-size: 10px
}

.text-\[12px\] {
    font-size: 12px
}

.text-\[16px\] {
    font-size: 16px
}

.text-\[18px\] {
    font-size: 18px
}

.text-\[64px\] {
    font-size: 64px
}

.text-body-lg {
    font-size: 18px;
    line-height: 1.6;
    font-weight: 400
}

.text-body-md {
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400
}

.text-center {
    text-align: center
}

.text-display-lg {
    font-size: 56px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 700
}

.text-headline-lg {
    font-size: 40px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    font-weight: 700
}

.text-headline-md {
    font-size: 32px;
    line-height: 1.3;
    font-weight: 600
}

.text-headline-sm {
    font-size: 24px;
    line-height: 1.4;
    font-weight: 600
}

@media (max-width: 767px) {
    h1 {
        font-size: 40px !important;
        line-height: 48px !important;
    }

    h2,
    .text-display-lg,
    .hero-banner-title-exact,
    .search-library-title,
    .contact-title,
    .about-title,
    .learning-detail-title,
    .blog-detail-title,
    .story-detail-title {
        font-size: 34px !important;
        line-height: 1.12 !important;
    }
}

/* Contribute page: mirrors the contributor card and spacing in front-html/contribute.html. */
.contribute-page-main {
    /* The Laravel header occupies normal flow; the source header is fixed. */
    padding-top: 0;
}

.contribute-page-main > .search-library-shell {
    max-width: none;
    margin: 0;
    padding: 20px 0 0;
}

.contribute-page-main > .search-library-shell .search-library-hero {
    margin-bottom: 48px;
}

.contribute-page-main > .search-library-shell .search-library-banner {
    min-height: 0;
    border-radius: 0;
    background: #302742;
    box-shadow: none;
}

.contribute-page-main > .search-library-shell .search-library-banner::before {
    background: linear-gradient(90deg, rgba(42, 31, 66, 0.96) 0%, rgba(49, 39, 75, 0.92) 36%, rgba(49, 39, 75, 0.66) 58%, rgba(49, 39, 75, 0.22) 100%);
}

.contribute-page-main > .search-library-shell .search-library-banner::after {
    display: none;
}

.contribute-page-main > .search-library-shell .search-library-banner-media {
    background-size: cover;
    background-position: center center;
    transform: scale(1.02);
}

.contribute-page-main > .search-library-shell .search-library-banner-content {
    align-items: flex-start;
    justify-content: center;
    min-height: 0;
    max-width: 1280px;
    margin: 0 auto;
    padding: 44px 24px;
}

.contribute-page-main > .search-library-shell .search-library-title {
    max-width: 680px;
    margin: 0 0 20px;
    font-size: clamp(3.25rem, 5vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
    text-align: left;
}

.contribute-page-main > .search-library-shell .search-library-breadcrumb {
    margin-bottom: 24px;
    gap: 8px;
    font-size: 15px;
    letter-spacing: 0;
    font-weight: 500;
}

.contribute-page-main > .search-library-shell .search-library-breadcrumb a,
.contribute-page-main > .search-library-shell .search-library-breadcrumb span {
    color: rgba(255, 255, 255, 0.9);
}

.contribute-page-main .mb-section-gap {
    margin-bottom: 120px;
}

.contribute-page-main .contribute-reference__title {
    font-family: "Outfit", sans-serif;
    font-size: 48px;
    line-height: 58px;
    letter-spacing: -0.04em;
    font-weight: 700;
}

.contribute-page-main .contribute-reference__intro {
    line-height: 28px;
}

.contribute-page-main .gap-gutter {
    gap: 24px;
}

.contribute-page-main .contribute-path-card {
    border-color: rgba(202, 196, 214, 0.3);
    border-radius: 48px;
}

.contribute-page-main .contribute-path-card .text-headline-md {
    font-family: "Outfit", sans-serif;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: -0.01em;
    font-weight: 600;
}

.contribute-page-main .bg-surface-container {
    background-color: rgb(233 237 255);
}

.contribute-page-main #guidelines .text-primary {
    color: rgb(67 28 172);
}

.contribute-page-main #guidelines .tracking-widest {
    letter-spacing: 0.1em;
}

.contribute-page-main #guidelines .bg-gradient-to-br {
    background-image: linear-gradient(to right bottom, rgb(231 222 255), rgb(255 219 202));
}

.contribute-page-main #guidelines .rounded-xl {
    border-radius: 48px;
}

.contribute-page-main .button-with-arrow,
.contribute-page-main .standard-button,
.contribute-path-card__action {
    text-decoration: none;
}

.contribute-page-main .button-with-arrow {
    justify-content: center;
}

.contribute-page-main .contribute-outline-button {
    background: transparent;
}

.contribute-page-main .font-headline-xl,
.contribute-page-main .font-label-md {
    font-family: "Outfit", sans-serif;
}

.contribute-page-main .text-headline-xl {
    font-size: 40px;
    line-height: 48px;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.contribute-page-main .text-label-md,
.contribute-page-main .featured-resources-view-all {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.02em;
    font-weight: 600;
}

.contribute-page-main .text-body-md,
.contribute-page-main .standard-button {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
}

.contribute-page-main .bg-primary-container {
    background-color: rgb(91 60 196);
}

.contribute-page-main .px-margin-desktop {
    padding-left: 64px;
    padding-right: 64px;
}

.contribute-path-card__action {
    margin-top: auto;
    border: 0;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    letter-spacing: normal;
}

.contribute-path-card:nth-child(1) .contribute-path-card__action {
    color: rgb(67 28 172);
}

.contribute-path-card:nth-child(2) .contribute-path-card__action {
    color: rgb(157 67 0);
}

.contribute-path-card:nth-child(3) .contribute-path-card__action {
    color: rgb(72 69 84);
}

.contribute-path-card:nth-child(1) .contribute-path-card__action:hover {
    background-color: rgb(67 28 172);
    color: #fff;
}

.contribute-path-card:nth-child(2) .contribute-path-card__action:hover {
    background-color: rgb(157 67 0);
    color: #fff;
}

.contribute-path-card:nth-child(3) .contribute-path-card__action:hover {
    background-color: rgb(41 48 64);
    color: rgb(237 240 255);
}

.contribute-inline-arrow {
    width: 24px;
    height: 24px;
    fill: currentColor;
    stroke: none;
}

.contribute-page-main .contribute-button-arrow {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
    stroke: none;
}

@media (min-width: 768px) {
    .contribute-page-main .md\:flex-row {
        flex-direction: row;
    }
}

@media (max-width: 767px) {
    .contribute-page-main > .search-library-shell .search-library-banner-content {
        padding: 28px 20px;
    }
}

.contribute-svg-icon {
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    flex: 0 0 auto;
}

.contribute-path-card__svg {
    width: 2.25rem;
    height: 2.25rem;
}

.blog-contributor-section {
    margin-bottom: 120px;
}

.blog-contributor-card {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 32px;
    align-items: stretch;
    padding: 40px;
    border: 1px solid rgba(202, 196, 214, 0.5);
    border-radius: 36px;
    background: #ffffff;
    box-shadow: 0 22px 60px rgba(60, 29, 132, 0.08);
}

.blog-contributor-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8px;
}

.blog-contributor-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-bottom: 18px;
    padding: 8px 16px;
    border: 1px solid rgba(82, 41, 200, 0.2);
    border-radius: 999px;
    background: #f8f2f9;
    color: #5229c8;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.blog-contributor-title {
    margin: 0 0 16px;
    color: #1d1b20;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.03;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.blog-contributor-text {
    margin: 0;
    max-width: 520px;
    color: #484554;
    font-size: 17px;
    line-height: 1.7;
}

.blog-contributor-form {
    display: grid;
    gap: 18px;
    padding: 28px;
    border-radius: 28px;
    background: #f8f2f9;
}

.blog-contributor-field {
    display: grid;
    gap: 8px;
}

.blog-contributor-form-row--two {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
}

.blog-contributor-label {
    color: #1d1b20;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
}

.blog-contributor-input,
.blog-contributor-textarea {
    width: 100%;
    border: 1px solid rgba(202, 196, 214, 0.78);
    border-radius: 18px;
    background: #ffffff;
    color: #1d1b20;
    font-size: 15px;
    line-height: 1.5;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.blog-contributor-input {
    min-height: 54px;
    padding: 0 18px;
}

.blog-contributor-textarea {
    min-height: 132px;
    padding: 16px 18px;
    resize: vertical;
}

.blog-contributor-input:focus,
.blog-contributor-textarea:focus {
    border-color: #5229c8;
    box-shadow: 0 0 0 4px rgba(82, 41, 200, 0.12);
}

.blog-contributor-upload-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
}

.blog-contributor-upload-box {
    position: relative;
    display: flex;
    min-height: 136px;
    align-items: center;
    justify-content: center;
    padding: 22px;
    border: 1px dashed rgba(82, 41, 200, 0.4);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    color: #5229c8;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.blog-contributor-upload-box:hover {
    border-color: #5229c8;
    background: #ffffff;
    transform: translateY(-2px);
}

.blog-contributor-upload-box input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.blog-contributor-upload-content {
    display: grid;
    gap: 8px;
    justify-items: center;
}

.blog-contributor-upload-icon {
    width: 2.125rem;
    height: 2.125rem;
}

.blog-contributor-upload-title {
    color: #5229c8;
    font-weight: 700;
}

.blog-contributor-upload-note {
    color: #6d6878;
    font-size: 13px;
}

.blog-contributor-upload-box.has-file {
    border-color: #5229c8;
    background: #ffffff;
}

.blog-contributor-upload-progress {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    width: min(100%, 320px);
    gap: 8px;
    color: #5229c8;
    font-size: 12px;
    font-weight: 700;
}

.blog-contributor-upload-progress__track {
    display: block;
    overflow: hidden;
    height: 6px;
    border-radius: 999px;
    background: rgba(82, 41, 200, 0.14);
}

.blog-contributor-upload-progress__track > span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: #5229c8;
    transition: width 0.18s linear;
}

.blog-contributor-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #484554;
    font-size: 14px;
    line-height: 1.5;
}

.blog-contributor-consent input {
    margin-top: 4px;
    accent-color: #5229c8;
}

.blog-contributor-consent a {
    color: #5229c8;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.blog-contributor-policy {
    color: #5229c8;
    font-size: 14px;
    font-weight: 700;
    text-decoration: underline;
}

.blog-contributor-success {
    margin: 0;
    padding: 12px 14px;
    border-radius: 14px;
    background: #e7f5ea;
    color: #1c6333;
}

.blog-contributor-submit {
    justify-self: center;
}

.contribute-guidelines-link {
    margin-top: 40px;
}

.contribute-illustration-icon {
    width: 6rem;
    height: 6rem;
    margin: 0 auto 1.5rem;
}

.contribute-guideline-check {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgb(231 222 255);
    color: rgb(67 28 172);
}

@media (max-width: 767px) {
    .contribute-page-main {
        padding-top: 64px;
    }

    .blog-contributor-card {
        grid-template-columns: 1fr;
        padding: 24px;
        border-radius: 28px;
    }

    .blog-contributor-form {
        padding: 20px;
        border-radius: 24px;
    }

    .blog-contributor-upload-row {
        grid-template-columns: 1fr;
    }

    .blog-contributor-form-row--two {
        grid-template-columns: 1fr;
    }

    .blog-contributor-submit {
        justify-self: center;
    }
}

.text-label-md {
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: 0.05em;
    font-weight: 400
}

.nav-text-label-md {
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0;
    font-weight: 500;
    color: #484554 !important;
}

.navbar-inner {
    gap: 18px;
}

header.fixed.top-0.w-full {
    z-index: 200100 !important;
}

header.fixed.top-0.w-full .navbar-inner,
header.fixed.top-0.w-full .navbar-actions,
header.fixed.top-0.w-full .language-dropdown,
header.fixed.top-0.w-full .navbar-mobile-panel {
    position: relative;
    z-index: 200110 !important;
}

header.fixed.top-0.w-full .language-menu {
    z-index: 200120 !important;
}

.navbar-desktop-nav {
    display: none;
    align-items: center;
    gap: 22px;
    flex: 1;
    justify-content: center;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.navbar-search-button {
    display: none;
}

.navbar-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid #cac3d7;
    border-radius: 9999px;
    background: #ffffff;
    color: #4200be;
    padding: 0;
}

.navbar-mobile-panel {
    padding: 0 24px 20px;
    background: rgba(254, 247, 255, 0.96);
    border-top: 1px solid rgba(202, 195, 215, 0.3);
    backdrop-filter: blur(12px);
}

.navbar-mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 20px 0;
}

.navbar-mobile-link {
    display: block;
}

.navbar-mobile-search {
    width: 100%;
    justify-content: flex-start;
}

.language-dropdown {
    position: relative;
}

.language-button {
    display: inline-flex;
    align-items: stretch;
    min-height: 42px;
    padding: 0;
    border: none;
    border-radius: 9999px;
    overflow: hidden;
    background: transparent;
    color: #684e56;
}

.language-button-icon-wrap {
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-right: 8px;
}

.language-button-icon {
    color: #684e56;
    font-size: 22px;
}

.language-button-label {
    min-width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 13px;
    line-height: 1;
    color: #684e56;
    background: transparent;
}

.language-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 112px;
    background: #ffffff;
    border: none;
    border-radius: 4px;
    box-shadow: 0 12px 30px rgba(104, 78, 86, 0.12);
    overflow: hidden;
}

.language-option {
    display: block;
    width: 100%;
    padding: 12px 16px;
    text-align: left;
    background: #ffffff;
    color: #684e56;
}

.language-option.is-active {
    background: #ffffff;
}

.search-card {
    padding: 40px;
    border-radius: 32px;
    box-shadow: 0 20px 50px rgba(90, 49, 214, 0.08);
}

.search-card--purple {
    background: linear-gradient(145deg, #4f24c8 0%, #6638e0 52%, #7a58f1 100%) !important;
    box-shadow: 0 26px 60px rgba(66, 0, 190, 0.2);
}

.search-card--purple .search-intro,
.search-card--purple .search-tags-label {
    color: rgba(255, 255, 255, 0.9) !important;
}

.search-card--purple .search-input-row {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.search-card--purple .search-input-icon,
.search-card--purple .search-input-field {
    color: rgba(255, 255, 255, 0.82) !important;
}

.search-card--purple .search-input-field::placeholder {
    color: rgba(255, 255, 255, 0.72) !important;
}

.search-card--purple .search-input-row:focus-within {
    background: #ffffff;
}

.search-card--purple .search-input-row:focus-within .search-input-icon,
.search-card--purple .search-input-row:focus-within .search-input-field {
    color: #2a2250 !important;
}

.search-card--purple .search-input-row:focus-within .search-input-field::placeholder {
    color: #7b7390 !important;
}

.search-card--purple .search-tag {
    background-color: rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: none;
}

.search-card--purple .search-tag:hover {
    background-color: rgba(255, 255, 255, 0.24) !important;
}

.search-card--purple .search-tags-row {
    border-top-color: rgba(255, 255, 255, 0.18);
}

@media (min-width: 1024px) {
    .search-card {
        padding: 36px 40px;
        border-radius: 36px;
        background: #ffffff !important;
        box-shadow: 0 24px 60px rgba(90, 49, 214, 0.08);
    }

    .search-card--purple {
        background: #ffffff !important;
        box-shadow: 0 24px 60px rgba(90, 49, 214, 0.08) !important;
    }

    .search-card--purple .search-intro,
    .search-card--purple .search-tags-label {
        color: #484555 !important;
    }

    .search-intro {
        max-width: none;
        margin: 0 0 28px;
        text-align: center;
        line-height: 1.85;
    }

    .search-card--purple .search-input-row {
        min-height: 48px;
        padding: 4px 20px;
        background: #f3edf7;
        border: 1px solid #e6dff2;
    }

    .search-card--purple .search-input-icon,
    .search-card--purple .search-input-field,
    .search-card--purple .search-input-field::placeholder {
        color: #6f6782 !important;
    }

    .search-bar-wrapper {
        align-items: center;
        gap: 18px;
    }

    .search-submit-button {
        min-width: 256px;
        min-height: 44px;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    .search-tags-row {
        margin-top: 18px;
        padding-top: 14px;
        gap: 14px;
    }

    .search-card--purple .search-tags-row {
        border-top-color: rgba(72, 69, 84, 0.12);
    }

    .search-card--purple .search-tag {
        background-color: #ece2ff !important;
        color: #4a18c7 !important;
        border: 1px solid rgba(90, 49, 214, 0.1);
    }

    .search-card--purple .search-tag:hover {
        background-color: #e0d1ff !important;
    }

    .search-tags-cluster {
        gap: 10px 14px;
    }

    .homepage-search-section .search-card--purple {
        background: linear-gradient(145deg, #4f24c8 0%, #6638e0 52%, #7a58f1 100%) !important;
        box-shadow: 0 26px 60px rgba(66, 0, 190, 0.2) !important;
    }

    .homepage-search-section .search-card--purple .search-intro,
    .homepage-search-section .search-card--purple .search-tags-label {
        color: rgba(255, 255, 255, 0.9) !important;
    }

    .homepage-search-section .search-card--purple .search-input-row {
        min-height: 60px;
        padding: 6px 20px;
        background: rgba(255, 255, 255, 0.18) !important;
        border: 1px solid rgba(255, 255, 255, 0.22);
    }

    .homepage-search-section .search-card--purple .search-input-icon,
    .homepage-search-section .search-card--purple .search-input-field,
    .homepage-search-section .search-card--purple .search-input-field::placeholder {
        color: rgba(255, 255, 255, 0.82) !important;
    }

    .homepage-search-section .search-card--purple .search-input-field::placeholder {
        color: rgba(255, 255, 255, 0.72) !important;
    }

    .homepage-search-section .search-card--purple .search-tags-row {
        border-top-color: rgba(255, 255, 255, 0.18);
    }

    .homepage-search-section .search-card--purple .search-tag {
        background-color: rgba(255, 255, 255, 0.16) !important;
        color: #ffffff !important;
        border: 1px solid rgba(255, 255, 255, 0.24);
    }

    .homepage-search-section .search-card--purple .search-tag:hover {
        background-color: rgba(255, 255, 255, 0.24) !important;
    }
}

.hero-search-section {
    padding-top: 40px;
}

.search-library-hero-copy {
    max-width: 620px;
    margin: 14px 0 0;
    color: rgba(244, 238, 255, 0.88) !important;
    font-size: 16px;
    line-height: 1.75;
}

.search-intro {
    max-width: 1080px;
    margin: 0 0 24px;
    text-align: center;
}

.search-bar-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-input-row {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    min-height: 60px;
    padding: 6px 20px;
    border-radius: 9999px;
    background: #f2ecf3;
}

.search-input-icon {
    flex-shrink: 0;
}

.search-input-field {
    width: 100%;
    min-width: 0;
}

.search-input-field:focus,
.search-input-field:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.search-submit-button {
    flex-shrink: 0;
    min-height: 60px;
    justify-content: center;
    white-space: nowrap;
}

.search-tags-row {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(72, 69, 84, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.search-tags-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: 0.12em;

    opacity: 0.9;
}

.search-tags-cluster {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 12px;
    width: 100%;
}

@media (min-width: 768px) {
    .search-tags-cluster {
        flex-wrap: nowrap;
    }
}

@media (max-width: 767px) {
    .search-tags-cluster {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 4px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .search-tags-cluster::-webkit-scrollbar {
        display: none;
    }
}

.search-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px !important;
    border-radius: 999px;
    background-color: #e7deff !important;
    color: #4200be !important;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 10px 24px rgba(66, 0, 190, 0.08);
    text-align: center;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.homepage-search-popup {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.homepage-search-popup.hidden {
    display: none;
}

.homepage-search-popup__backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top center, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.14) 34%, rgba(90, 49, 214, 0.10) 100%),
        linear-gradient(180deg, rgba(231, 222, 255, 0.92) 0%, rgba(208, 195, 255, 0.94) 100%);
    backdrop-filter: blur(18px);
}

.homepage-search-popup__panel {
    position: relative;
    width: 100%;
    max-width: 1240px;
}

.homepage-search-popup__shell {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
}

.homepage-search-popup__shell.search-card--purple {
    background: linear-gradient(145deg, #4f24c8 0%, #6638e0 52%, #7a58f1 100%) !important;
    box-shadow: 0 26px 60px rgba(66, 0, 190, 0.2) !important;
}

.homepage-search-popup__intro {
    max-width: 1080px;
}

.homepage-search-popup__intro.search-intro,
.homepage-search-popup__shell.search-card--purple .search-tags-label {
    color: rgba(255, 255, 255, 0.9) !important;
}

.homepage-search-popup__bar {
    width: 100%;
}

.homepage-search-popup__input-row {
    width: 100%;
}

.homepage-search-popup__input-row.search-input-row {
    background: rgba(255, 255, 255, 0.18) !important;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.homepage-search-popup__input-icon {
    font-size: 24px;
}

.homepage-search-popup__shell.search-card--purple .homepage-search-popup__input-icon,
.homepage-search-popup__shell.search-card--purple .homepage-search-popup__input.search-input-field,
.homepage-search-popup__shell.search-card--purple .homepage-search-popup__input.search-input-field::placeholder {
    color: rgba(255, 255, 255, 0.82) !important;
}

.homepage-search-popup__shell.search-card--purple .homepage-search-popup__input.search-input-field::placeholder {
    color: rgba(255, 255, 255, 0.72) !important;
}

.homepage-search-popup__input {
    width: 100%;
}

.homepage-search-popup__submit {
    flex-shrink: 0;
}

.homepage-search-popup__tags {
    width: 100%;
}

.homepage-search-popup__tags.search-tags-row {
    border-top-color: rgba(255, 255, 255, 0.18);
}

.homepage-search-popup__shell.search-card--purple .homepage-search-popup__tags .search-tag {
    background-color: rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.homepage-search-popup__shell.search-card--purple .homepage-search-popup__tags .search-tag:hover {
    background-color: rgba(255, 255, 255, 0.24) !important;
}

.start-here-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 32px;
    border: 1px solid #8c6fe8;
    border-radius: 32px;
    background: #faf7ff;
}

.start-here-content {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
}

.start-here-icon-block {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 24px;
    background: #5a31d6;
    color: #ffffff;
}

.start-here-icon-block .material-symbols-outlined {
    font-size: 32px;
}

.start-here-text {
    color: #1d1b20;
}

.start-here-text p {
    margin: 8px 0 0;
    color: #484555;
}

.start-here-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

.start-here-primary,
.start-here-secondary {
    justify-content: center;
}

.start-here-secondary {
    border: 1px solid #5a31d6;
    background: transparent;
    color: #5a31d6;
}

.floating-quick-actions {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 70;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(18px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.floating-quick-actions.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.floating-quick-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: auto;
    min-width: 190px;
    max-width: none;
    height: 60px;
    padding: 0 24px;
    border-radius: 9999px;
    background: #ff7a1a;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 18px 40px rgba(255, 122, 26, 0.24);
    overflow: visible;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    will-change: transform;
}

.floating-quick-button:hover,
.floating-quick-button:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px rgba(255, 122, 26, 0.28);
}

.floating-quick-button .material-symbols-outlined {
    flex-shrink: 0;
    font-size: 24px;
}

.floating-quick-button__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.floating-quick-button__text {
    max-width: none;
    opacity: 1;
    white-space: nowrap;
    overflow: visible;
    transition: opacity 0.25s ease;
}

.floating-quick-button--secondary {
    background: #4200be;
    color: #ffffff;
    border: 0;
    box-shadow: 0 18px 40px rgba(66, 0, 190, 0.24);
}

.floating-quick-button--secondary:hover {
    box-shadow: 0 22px 44px rgba(66, 0, 190, 0.28);
}

.floating-quick-button--search-hover {
    --button-icon-right: 24px;
}

.featured-arrow-button {
    border-color: #d8d0e6;
    color: #6d6780;
    background: #ffffff;
}

.featured-resource-card {
    display: flex;
    flex-direction: column;
    position: relative;
    transform-origin: center center;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(90, 49, 214, 0.08);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-resource-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 60%);
    background-size: 220% 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.featured-resource-glow {
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.22) 0%, rgba(124, 58, 237, 0) 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.featured-resource-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 16px;
}

.featured-resource-image {
    height: 240px;
    margin-bottom: 16px;
    border-radius: 16px;
    background: #f8f2f9;
    display: flex;
    overflow: hidden;
}

.featured-resource-image img {
    transition: transform 0.3s ease;
}

.featured-resource-image-panel {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    border: 1px solid rgba(66, 0, 190, 0.12);
}

.featured-resource-image-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-resource-image-report .featured-resource-image-panel {
    background: rgba(66, 0, 190, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px;
}

.featured-resource-image-toolkit .featured-resource-image-panel {
    /* background: #e3e1ee; */
}

.featured-resource-image-paper .featured-resource-image-panel {
    background: #d0c3ff;
}

.featured-resource-image-digital .featured-resource-image-panel {
    background-color: #e6e1e8;
}

.featured-resource-image-photo {
    background-color: #e6e1e8;
    background-size: cover;
    background-position: center;
}

.featured-resource-type {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    display: inline-flex;
    align-self: flex-start;
    padding: 6px 10px;
    border-radius: 999px;
    background: #4200be;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;

    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.4s ease 0.1s, opacity 0.4s ease 0.1s;
}

.featured-resource-title {
    margin: 0 0 16px;
    font-family: "Outfit", sans-serif;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 600;
    color: #1d1b20;
    transition: color 0.3s ease;
}

.featured-resource-author {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 16px;
    color: #484555;
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.featured-resource-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

.featured-resource-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.featured-resource-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 9999px;
    background: #e7deff;
    color: #4200be;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.featured-resource-bookmark {
    color: #797486;
}

@media (hover: hover) and (pointer: fine) {
    .featured-resource-card:hover {
        z-index: 2;
        transform: translateY(-10px) scale(1.04) !important;
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.10), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        border-color: rgba(124, 58, 237, 0.2);
    }

    .featured-resource-card:hover .featured-resource-shine {
        opacity: 1;
        animation: featuredResourceShine 3s infinite;
    }

    .featured-resource-card:hover .featured-resource-glow {
        opacity: 1;
    }

    .featured-resource-card:hover .featured-resource-type {
        transform: scale(1);
        opacity: 1;
    }

    .featured-resource-card:hover .featured-resource-image img {
        transform: scale(1.08);
    }

    .featured-resource-card:hover .featured-resource-title {
        color: #4200be;
    }

    .featured-resource-card:hover .featured-resource-tag {
        background-color: #ddd0ff;
    }
}

@keyframes featuredResourceShine {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.view-all-resources-button {
    display: inline-flex;
    justify-content: center;
}

.featured-resources-header--reference {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.featured-resources-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #4d31be;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.featured-resource-reference-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.featured-resource-reference-card {
    display: flex;
    flex-direction: column;
    min-height: 272px;
    background: #ffffff;
    border: 1px solid #ddd4ea;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.featured-resource-reference-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 28px rgba(42, 30, 76, 0.08);
    border-color: #d2c6ea;
}

.featured-resource-reference-cover {
    min-height: 168px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 18px;
    overflow: hidden;
}

.featured-resource-reference-cover img {
    width: 100%;
    height: 100%;
    min-height: 132px;
    object-fit: cover;
    border-radius: 12px;
}

.featured-resource-reference-body {
    padding: 22px 20px 18px;
}

.featured-resource-reference-type {
    margin-bottom: 12px;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.08em;

}

.featured-resource-reference-type--report {
    color: #5641d9;
}

.featured-resource-reference-type--paper {
    color: #10836f;
}

.featured-resource-reference-type--toolkit {
    color: #ff6d1f;
}

.featured-resource-reference-title {
    margin: 0;
    color: #2b2744;
    font-size: 19px;
    line-height: 1.22;
    font-weight: 700;
}

.featured-resource-learning-cta {
    padding: 36px 48px;
    border-radius: 28px;
    background: linear-gradient(135deg, #5a3fd6 0%, #613ccc 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.featured-resource-learning-cta__copy h3 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 26px;
    line-height: 1.12;
    font-weight: 700;
}

.featured-resource-learning-cta__copy p {
    margin: 0;
    max-width: 560px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 16px;
    line-height: 1.45;
}

.featured-resource-learning-cta__button {
    min-width: 194px;
    white-space: nowrap;
}

.featured-resource-learning-cta__button.featured-resources-view-all:hover {
    background: #ff7a1a !important;
    color: #ffffff !important;
    box-shadow: 0 12px 20px rgba(255, 122, 26, 0.28);
}

.featured-resource-learning-cta__button.featured-resources-view-all:hover .button-hover-icon-placeholder,
.featured-resource-learning-cta__button.featured-resources-view-all:hover .button-hover-icon-center {
    color: #ffffff !important;
}

a.view-all-resources-button {
    text-decoration: none;
}

.featured-collection-card {
    display: flex;
    flex-direction: column;
    padding: 32px;
    border: 1px solid #d8d0e6;
    border-radius: 24px;
    background: #ffffff;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

a.featured-collection-card {
    text-decoration: none;
}

.featured-collection-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 18px;
    background: #e7deff;
    color: #4200be;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.featured-collection-title {
    margin: 0 0 12px;
    font-family: "Outfit", sans-serif;
    font-size: 24px;
    line-height: 1.4;
    font-weight: 600;
    color: #1d1b20;
}

.featured-collection-description {
    margin: 0 0 24px;
    color: #484555;
    font-size: 16px;
    line-height: 1.6;
}

.featured-collection-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

.featured-collection-count {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 9999px;
    background: #e7deff;
    color: #4200be;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;
}

.featured-collection-arrow {
    color: #4200be;
    transition: transform 0.3s ease;
}

.featured-collections-grid {
    display: grid;
    gap: 24px;
}

.learning-journey-grid {
    display: grid;
    gap: 24px;
}

/* Learning pathways page: Section 2 mirrors front-html/learning.html. */
.learning-page-main {
    padding: 20px 24px 96px;
}

.learning-page-hero .search-library-hero {
    margin-bottom: 48px;
}

.learning-shell {
    max-width: 1280px;
    margin: 0 auto;
}

.learning-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.learning-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.learning-section-card {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.learning-section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 28px;
}

.learning-section-kicker {
    margin: 0 0 8px;
    color: #633cdf;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: .12em;
}

.learning-section-title {
    margin: 0;
    color: #1d1b20;
    font-size: 40px;
    line-height: 1.1;
    letter-spacing: -.03em;
    font-weight: 700;
}

.learning-section-copy {
    max-width: 680px;
    margin: 0;
    color: #5b5766;
    font-size: 16px;
    line-height: 1.8;
}

.learning-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.learning-highlight-card {
    padding: 26px;
    border: 1px solid rgba(202, 195, 215, 0.4);
    border-radius: 28px;
    background: #faf7fd;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.learning-highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(60, 29, 132, 0.1);
}

.learning-highlight-icon {
    width: 30px;
    height: 30px;
    display: block;
    margin-bottom: 16px;
    color: #5229c8;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.learning-highlight-card h3 {
    margin: 0 0 10px;
    color: #1d1b20;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
}

.learning-highlight-card p {
    margin: 0;
    color: #5b5766;
    font-size: 15px;
    line-height: 1.75;
}

@media (max-width: 1180px) {
    .learning-highlights {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .learning-page-main {
        padding: 20px 20px 72px;
    }

    .learning-section-head {
        flex-direction: column;
        align-items: stretch;
    }

    .learning-section-card {
        padding: 24px 20px;
        border-radius: 24px;
    }

    .learning-section-title {
        font-size: 32px;
    }

    html[lang="ur"] .learning-section-head,
    html[lang="ur"] .learning-section-head > div,
    html[lang="ur"] .learning-section-kicker,
    html[lang="ur"] .learning-section-title {
        text-align: center !important;
        align-items: center;
    }
}

.learning-card {
    height: 400px;
    perspective: 1000px;
}

.learning-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.999s;
}

.learning-card-face {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 44px;
    border: 1px solid #d8d0e6;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(90, 49, 214, .05);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.learning-card-front {
    transform: rotateY(0deg);
}

.learning-card-back {
    transform: rotateY(180deg);
}

.learning-card:hover .learning-card-inner {
    transform: rotateY(180deg);
}

.learning-card-title {
    margin-bottom: 20px;
    line-height: 1.25;
}

.learning-card-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.learning-card p.text-on-surface-variant {
    margin-bottom: 28px;
    line-height: 1.75;
}

.learning-card-features {
    flex-grow: 1;
    margin-bottom: 32px;
}

.learning-card-features .flex.items-center {
    align-items: center;
}

.learning-card-features .flex.items-center+.flex.items-center {
    margin-top: 20px;
}

.learning-card-progress {
    width: 100%;
    height: 8px;
    margin: 0 0 32px;
    background: #e6e1e8;
    border-radius: 9999px;
    overflow: hidden;
}

.learning-card-progress span {
    display: block;
    height: 100%;
    border-radius: 9999px;
}

.learning-card-progress-active {
    width: 38%;
    background: #4200be;
}

.learning-card-progress-tertiary {
    width: 38%;
    background: #923b00;
}

.learning-card-progress-outline {
    width: 38%;
    background: #797486;
}

.learning-card-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.contribute-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 18%, rgba(122, 88, 241, 0.22) 0%, rgba(122, 88, 241, 0) 26%),
        radial-gradient(circle at 82% 26%, rgba(176, 65, 97, 0.16) 0%, rgba(176, 65, 97, 0) 22%),
        radial-gradient(circle at 74% 82%, rgba(255, 122, 26, 0.12) 0%, rgba(255, 122, 26, 0) 24%),
        radial-gradient(ellipse at bottom, #27184c 0%, #120d21 100%);
}

.contribute-stars {
    position: absolute;
    inset: 0;
    width: 3px;
    height: 3px;
    background: transparent;
    pointer-events: none;
    opacity: 0.85;
}

.contribute-stars::after {
    content: "";
    position: absolute;
    top: 2000px;
    left: 0;
    width: inherit;
    height: inherit;
    background: transparent;
    box-shadow: inherit;
}

.contribute-stars--sm {
    width: 3px;
    height: 3px;
    box-shadow:
        4vw 12vh rgba(255, 255, 255, 0.9),
        12vw 34vh rgba(255, 255, 255, 0.8),
        18vw 76vh rgba(255, 255, 255, 0.9),
        25vw 18vh rgba(167, 139, 250, 0.9),
        31vw 58vh rgba(255, 255, 255, 0.85),
        38vw 84vh rgba(255, 255, 255, 0.8),
        46vw 24vh rgba(255, 255, 255, 0.95),
        53vw 72vh rgba(255, 255, 255, 0.85),
        61vw 14vh rgba(255, 255, 255, 0.8),
        68vw 52vh rgba(167, 139, 250, 0.85),
        74vw 86vh rgba(255, 255, 255, 0.9),
        81vw 36vh rgba(255, 255, 255, 0.82),
        88vw 68vh rgba(255, 255, 255, 0.88),
        94vw 22vh rgba(255, 255, 255, 0.84),
        8vw 92vh rgba(255, 255, 255, 0.88),
        22vw 46vh rgba(255, 255, 255, 0.82),
        35vw 12vh rgba(255, 255, 255, 0.84),
        48vw 44vh rgba(167, 139, 250, 0.88),
        57vw 90vh rgba(255, 255, 255, 0.84),
        71vw 8vh rgba(255, 255, 255, 0.82),
        84vw 54vh rgba(255, 255, 255, 0.88),
        97vw 78vh rgba(255, 255, 255, 0.84),
        7vw 26vh rgba(255, 255, 255, 0.88),
        15vw 54vh rgba(255, 255, 255, 0.82),
        29vw 66vh rgba(167, 139, 250, 0.9),
        33vw 30vh rgba(255, 255, 255, 0.84),
        41vw 92vh rgba(255, 255, 255, 0.9),
        51vw 20vh rgba(255, 122, 26, 0.84),
        66vw 38vh rgba(255, 255, 255, 0.86),
        76vw 62vh rgba(255, 255, 255, 0.84),
        86vw 10vh rgba(167, 139, 250, 0.88),
        93vw 48vh rgba(255, 255, 255, 0.82),
        2vw 64vh rgba(255, 255, 255, 0.86),
        9vw 6vh rgba(255, 255, 255, 0.84),
        19vw 24vh rgba(167, 139, 250, 0.88),
        27vw 88vh rgba(255, 255, 255, 0.86),
        37vw 48vh rgba(255, 255, 255, 0.84),
        45vw 68vh rgba(255, 122, 26, 0.82),
        55vw 6vh rgba(255, 255, 255, 0.88),
        62vw 82vh rgba(255, 255, 255, 0.84),
        70vw 28vh rgba(167, 139, 250, 0.86),
        79vw 46vh rgba(255, 255, 255, 0.88),
        91vw 94vh rgba(255, 255, 255, 0.82),
        98vw 34vh rgba(255, 255, 255, 0.84);
    animation: animContributeStars 38s linear infinite;
}

.contribute-stars--md {
    width: 4px;
    height: 4px;
    box-shadow:
        6vw 18vh rgba(255, 255, 255, 0.78),
        16vw 62vh rgba(255, 255, 255, 0.72),
        28vw 28vh rgba(255, 122, 26, 0.72),
        36vw 72vh rgba(255, 255, 255, 0.74),
        44vw 12vh rgba(255, 255, 255, 0.7),
        52vw 48vh rgba(255, 255, 255, 0.76),
        63vw 84vh rgba(255, 255, 255, 0.72),
        72vw 26vh rgba(167, 139, 250, 0.76),
        83vw 58vh rgba(255, 255, 255, 0.74),
        92vw 16vh rgba(255, 255, 255, 0.72),
        14vw 88vh rgba(255, 255, 255, 0.76),
        24vw 40vh rgba(255, 255, 255, 0.7),
        58vw 64vh rgba(255, 122, 26, 0.74),
        78vw 92vh rgba(255, 255, 255, 0.78),
        11vw 8vh rgba(255, 255, 255, 0.74),
        21vw 74vh rgba(255, 255, 255, 0.7),
        39vw 54vh rgba(167, 139, 250, 0.76),
        47vw 86vh rgba(255, 255, 255, 0.72),
        67vw 34vh rgba(255, 122, 26, 0.74),
        87vw 72vh rgba(255, 255, 255, 0.76),
        4vw 44vh rgba(255, 255, 255, 0.72),
        18vw 12vh rgba(255, 255, 255, 0.74),
        32vw 94vh rgba(167, 139, 250, 0.76),
        43vw 26vh rgba(255, 255, 255, 0.7),
        56vw 78vh rgba(255, 122, 26, 0.74),
        74vw 8vh rgba(255, 255, 255, 0.76),
        96vw 58vh rgba(255, 255, 255, 0.72);
    animation: animContributeStars 54s linear infinite;
}

.contribute-stars--lg {
    width: 5px;
    height: 5px;
    box-shadow:
        10vw 24vh rgba(255, 255, 255, 0.72),
        26vw 82vh rgba(255, 255, 255, 0.68),
        42vw 36vh rgba(167, 139, 250, 0.7),
        59vw 18vh rgba(255, 255, 255, 0.66),
        73vw 74vh rgba(255, 122, 26, 0.68),
        89vw 44vh rgba(255, 255, 255, 0.7),
        34vw 58vh rgba(255, 255, 255, 0.64),
        64vw 92vh rgba(255, 255, 255, 0.66),
        18vw 48vh rgba(255, 255, 255, 0.68),
        54vw 70vh rgba(167, 139, 250, 0.7),
        82vw 14vh rgba(255, 122, 26, 0.7),
        6vw 86vh rgba(255, 255, 255, 0.66),
        48vw 8vh rgba(255, 255, 255, 0.68),
        92vw 84vh rgba(167, 139, 250, 0.7);
    animation: animContributeStars 70s linear infinite;
}

@keyframes animContributeStars {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-2000px);
    }
}

.contribute-reference {
    position: relative;
    z-index: 1;
    padding: 12px 0;
}

.contribute-reference__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 322px;
    gap: 48px;
    align-items: center;
}

.contribute-reference__copy h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.03em;
    max-width: 760px;
}

.contribute-reference__copy p {
    margin: 0;
    max-width: 660px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.55;
}

.contribute-reference__audience {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.site-lang-ur .contribute-reference__title,
.site-lang-ur .contribute-reference__intro {
    text-align: center;
}

.contribute-reference__pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #5b3cc4;
    font-size: 14px;
    line-height: 1;
    font-weight: 600;
    border: 1px solid rgb(91 60 196);
    backdrop-filter: blur(10px);
}

.contribute-section .contribute-reference__pill {
    color: #ffffff;
}

.contribute-reference__actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contribute-reference__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 54px;
    padding: 0 28px;
    border-radius: 999px;
    font-size: 15px;
    line-height: 1;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.contribute-reference__button--primary {
    background: #ff7a1a;
    color: #ffffff;
}

.contribute-reference__button--secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.32);
}

.contribute-reference__button:hover {
    transform: translateY(-2px);
}

.contribute-reference__button--primary:hover {
    box-shadow: 0 12px 20px rgba(90, 49, 214, 0.24);
}

.contribute-reference__button--secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    box-shadow: 0 12px 20px rgba(255, 255, 255, 0.12);
}

.contribute-reference__button--secondary:hover .button-hover-icon-placeholder,
.contribute-reference__button--secondary:hover .button-hover-icon-center {
    color: #ffffff;
}

.blog-grid {
    display: grid;
    gap: 24px;
}

.homepage-blog-section {
    position: relative;
    background: #f8f2f9;
    padding-bottom: 40px;
}

.homepage-blog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.homepage-blog-heading {
    margin: 0;
    color: #2b2744;
    font-family: var(--font-headline);
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 700;
    line-height: 1.05;
    padding-bottom: 12px;
}

.homepage-blog-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ff7a1a;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.homepage-blog-view-all:hover {
    background: #5a31d6;
    color: #ffffff;
}

.homepage-blog-grid--reference {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
}

.homepage-news-section {
    position: relative;
}

.homepage-news-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.homepage-news-title {
    margin: 0;
    color: #2b2744;
    font-family: var(--font-headline);
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 700;
    line-height: 1.05;
}

.homepage-news-header--compact {
    align-items: center;
}

.homepage-news-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ff7a1a;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.homepage-news-view-all:hover {
    background: #5a31d6;
    color: #ffffff;
}

.homepage-news-view-all--mobile {
    display: none;
}

.homepage-news-compact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 20px;
    align-items: stretch;
}

.homepage-news-section .homepage-news-compact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.homepage-news-compact-stack {
    display: grid;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.homepage-news-compact-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 84px;
    padding: 10px 14px 10px 10px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #dfd7ea;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.homepage-news-compact-card__content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.homepage-news-compact-card--featured {
    min-height: 320px;
    padding: 14px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 14px;
}

.homepage-news-compact-card--featured .homepage-news-compact-card__thumb {
    width: 100%;
    min-width: 0;
    height: 220px;
    border-radius: 14px;
}

.homepage-news-compact-card--featured .homepage-news-compact-card__title {
    font-size: 21px;
    line-height: 1.18;
    max-width: 96%;
}

.homepage-news-compact-card__meta {
    color: #8a7ea3;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 600;
}

.homepage-news-compact-card__excerpt {
    margin: 0;
    color: #6f6782;
    font-size: 14px;
    line-height: 1.5;
    max-width: 100%;
}

.homepage-news-compact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 18px rgba(43, 39, 68, 0.06);
    border-color: #d1c6e4;
}

.homepage-news-compact-card__thumb {
    width: 62px;
    min-width: 62px;
    height: 62px;
    border-radius: 12px;
    overflow: hidden;
    background: #f7f4fb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.homepage-news-compact-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.homepage-news-compact-card__title {
    margin: 0;
    color: #2e2947;
    font-size: 17px;
    line-height: 1.22;
    font-weight: 700;
}

.homepage-news-compact-stack .homepage-news-compact-card__title {
    font-size: 17px;
    line-height: 1.2;
    font-weight: 700;
}

.homepage-news-single-grid {
    grid-template-columns: minmax(0, 760px);
    justify-content: center;
}

.homepage-news-single-grid .homepage-news-compact-card__title {
    max-width: none;
}

.homepage-news-read-more {
    align-self: flex-start;
    margin-top: auto;
}

.news-detail-main {
    min-height: 520px;
}

.news-detail-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
    color: #6f6782;
    font-size: 14px;
}

.news-detail-card {
    max-width: 920px;
    margin: 0 auto;
    padding: 28px;
    border: 1px solid #dfd7ea;
    border-radius: 24px;
    background: #ffffff;
    text-align: center;
    box-shadow: 0 14px 30px rgba(43, 39, 68, 0.06);
}

.news-detail-title {
    max-width: 760px;
    margin: 0 auto 24px;
    color: #2e2947;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.12;
}

.news-detail-image {
    display: block;
    width: 100%;
    max-height: 480px;
    margin: 0 auto 28px;
    border-radius: 16px;
    object-fit: cover;
}

.news-detail-article-copy {
    max-width: 780px;
    margin: 0 auto 32px;
    color: #5f5871;
    text-align: left;
    font-size: 16px;
    line-height: 1.75;
}

.news-detail-article-copy p {
    margin: 0 0 22px;
}

.news-detail-article-copy h2 {
    margin: 30px 0 12px;
    color: #2e2947;
    font-size: 22px;
    line-height: 1.25;
}

.news-detail-article-copy ul {
    margin: 0 0 24px;
    padding-left: 22px;
}

.news-detail-article-copy li {
    margin-bottom: 8px;
}

.news-detail-article-copy a {
    color: #5128c8;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.news-detail-divider {
    color: #2e2947;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-align: center;
}

.news-detail-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767px) {
    .homepage-news-single-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .news-detail-main {
        padding-top: 48px;
    }

    .news-detail-card {
        padding: 18px;
        border-radius: 18px;
    }

    .news-detail-article-copy {
        font-size: 15px;
        line-height: 1.7;
    }
}

.blog-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #d8d0e6;
    border-radius: 24px;
    background: #ffffff;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transform-style: preserve-3d;
    will-change: transform, box-shadow;
    --blog-card-rotate-x: 0deg;
    --blog-card-rotate-y: 0deg;
    --blog-card-glare-x: 50%;
    --blog-card-glare-y: 50%;
    --blog-card-glare-opacity: 0;
    transition: transform 0.08s linear, box-shadow 0.22s ease, border-color 0.22s ease;
    transform: perspective(1200px) rotateX(var(--blog-card-rotate-x)) rotateY(var(--blog-card-rotate-y)) translateY(0);
}

.homepage-blog-card {
    transition: transform 0.08s linear, box-shadow 0.22s ease, border-color 0.22s ease;
}

.homepage-blog-card--reference {
    border: 1px solid #ddd4ea;
    border-radius: 24px;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(42, 30, 76, 0.08);
}

.blog-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--blog-card-glare-x) var(--blog-card-glare-y), rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.12) 16%, rgba(255, 255, 255, 0) 48%);
    opacity: var(--blog-card-glare-opacity);
    transition: opacity 0.18s ease;
    pointer-events: none;
    z-index: 2;
}

.blog-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0;
    transition: opacity 0.18s ease;
    pointer-events: none;
    z-index: 1;
}

.blog-card.is-hover-tilt {
    transform: perspective(1200px) rotateX(var(--blog-card-rotate-x)) rotateY(var(--blog-card-rotate-y)) translateY(-8px);
    box-shadow: 0 22px 44px rgba(23, 18, 48, 0.16);
    border-color: #4200be;
}

.homepage-blog-card.is-hover-tilt {
    box-shadow: 0 0 30px 1px rgba(66, 0, 190, 0.18), 0 22px 44px rgba(23, 18, 48, 0.16);
    border-color: rgba(66, 0, 190, 0.28);
}

.homepage-blog-card--reference.is-hover-tilt {
    box-shadow: 0 0 30px 1px rgba(66, 0, 190, 0.12), 0 22px 44px rgba(23, 18, 48, 0.16);
    border-color: rgba(66, 0, 190, 0.28);
}

.blog-card.is-hover-tilt::before,
.blog-card.is-hover-tilt::after {
    opacity: 1;
}

.blog-card-image-wrap {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.blog-card-image {
    width: 100%;
    height: 100%;
}

.blog-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 28px;
    position: relative;
    z-index: 3;
}

.homepage-blog-card__media {
    aspect-ratio: 16 / 8;
    margin: 18px 18px 0;
    border-radius: 22px;
    overflow: hidden;
    background: #f8f5fb;
}

.homepage-blog-card__body {
    padding: 18px 18px 20px;
    gap: 8px;
}

.homepage-blog-card__meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.homepage-blog-card__title {
    margin: 0;
    color: #2e2947;
    line-height: 1.15;
}

.homepage-blog-card__author,
.homepage-blog-card__date {
    color: #8a7ea3;
    font-size: 14px;
    line-height: 1.35;
}

.blog-card-title {
    margin: 0 0 16px;
    line-height: 1.35;
}

.blog-card-excerpt {
    margin: 0 0 20px;
}

.blog-card-divider {
    width: 100%;
    height: 1px;
    margin-bottom: 20px;
    background: #e6e1e8;
}

.featured-resources-header--reference {
    display: flex;
    justify-content: center;
}

.featured-resources-copy {
    text-align: center;
}

.featured-resources-copy h2,
.featured-resources-copy p {
    margin-left: auto;
    margin-right: auto;
}

/* Match the reference HTML's native h2 block spacing. */
.featured-resources-copy h2 {
    margin-top: 0.83em;
    margin-bottom: 0.83em;
}

.featured-resources-copy p {
    max-width: 560px;
}

.featured-resources-actions {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.featured-learning-section {
    background: #f8f2f9;
    width: 100%;
    padding: 50px 0;
}

.featured-resources-view-all {
    background: #ff7a1a;
    color: #ffffff;
}

.featured-resources-view-all:hover {
    background: #5a31d6 !important;
    color: #ffffff !important;
}

.blog-card-author-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

.blog-card-meta,
.blog-card-readtime {
    color: #797486;
}

.blog-card-readtime {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.site-pagination {
    margin-top: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.site-pagination-pages {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.site-pagination-link {
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cac3d7;
    border-radius: 8px;
    background: #fff;
    color: #484555;
    font-size: 14px;
    line-height: 1;
    font-weight: 500;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-pagination-link:hover:not([aria-disabled="true"]):not(:disabled) {
    background: #ece6ed;
    border-color: #cac3d7;
    color: #1d1b20;
    transform: translateY(-1px);
}

.site-pagination-link:focus-visible {
    outline: 3px solid rgba(66, 0, 190, 0.2);
    outline-offset: 2px;
}

.site-pagination-link.is-active,
.site-pagination-link[aria-current="page"] {
    background: #4200be;
    border-color: #4200be;
    color: #fff;
    font-weight: 700;
}

.site-pagination-link[aria-disabled="true"],
.site-pagination-link:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
    transform: none;
}

.site-pagination-ellipsis {
    padding: 0 16px;
    color: #797486;
    font-size: 14px;
    line-height: 1;
    font-weight: 500;
}

.how-it-works-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
}

.how-it-works-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 232px;
    padding: 28px 24px 24px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid #e6dff0;
    box-shadow: none;
    text-align: left;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.how-it-works-card::before {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 16px;
    background: #5a3fd6;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: scale(0.2);
    transform-origin: 44px 44px;
    z-index: 1;
}

.how-it-works-card:nth-child(2)::before {
    background: #ff7a1a;
}

.how-it-works-card:nth-child(3)::before {
    background: #168f86;
}

.how-it-works-card:nth-child(4)::before {
    background: #b04161;
}

.how-it-works-icon-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0 0 20px;
    border-radius: 12px;
    background: #5a3fd6;
    color: #ffffff;
    position: relative;
    z-index: 2;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.how-it-works-card:nth-child(2) .how-it-works-icon-inline {
    background: #ff7a1a;
}

.how-it-works-card:nth-child(3) .how-it-works-icon-inline {
    background: #168f86;
}

.how-it-works-card:nth-child(4) .how-it-works-icon-inline {
    background: #b04161;
}

.how-it-works-icon-inline .material-symbols-outlined {
    font-size: 22px;
    color: inherit;
    transition: transform 0.25s ease;
}

.how-it-works-icon-inline svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.25s ease;
}

.how-it-works-title {
    margin: 0 0 10px;
    position: relative;
    z-index: 2;
    font-size: 20px;
    line-height: 1.15;
    font-weight: 700;
    color: #2b2744;
    max-width: 230px;
    transition: color 0.25s ease;
}

.how-it-works-copy {
    margin: 0;
    position: relative;
    z-index: 2;
    color: #6b6780;
    font-size: 15px;
    line-height: 1.55;
    max-width: 220px;
    transition: color 0.25s ease;
}

.partners-strip-section {
    background: #ffffff;
    width: 100%;
    padding-top: 48px;
    padding-bottom: 0;
}

.partners-section-card {
    padding: 24px 0;
    border-radius: 0;
    background: #ffffff;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.partners-section-heading {
    margin-bottom: 48px;
    color: #ffffff;
    font-weight: 700;
    text-align: center;
}

.partners-logos-grid {
    width: auto;
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 24px 36px;
    align-items: center;
    justify-items: center;
    justify-content: center;
}

.partner-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    min-height: 40px;
    padding: 6px 12px;
    background: transparent;
    border: 0;
    box-shadow: none;
    transition: transform 0.3s ease;
}

.partner-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.partner-logo-eu {
    max-height: 148px;
}

.partner-logo-huqooq {
    max-height: 102px;
}

.partner-logo-shaista {
    max-height: 98px;
}

.partner-logo-undp {
    max-height: 148px;
}

.get-inspired-section {
    background: #f8f7fb;
    padding: 96px 0;
}

.get-inspired-section .container {
    max-width: 980px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.get-inspired-header {
    margin-bottom: 42px;
    text-align: center;
}

.get-inspired-header h2 {
    margin: 0 0 12px;
    color: #1d1b20;
    font-family: "Outfit", sans-serif;
    font-size: 54px;
    line-height: 1.05;
    font-weight: 700;
}

.get-inspired-header p {
    max-width: 470px;
    margin: 0 auto;
    color: #484555;
    font-size: 15px;
    line-height: 1.45;
}

.get-inspired-content {
    display: grid;
    grid-template-columns: 560px 320px;
    gap: 24px;
    align-items: start;
    justify-content: center;
}

.featured-story-card {
    width: 560px;
    height: 360px;
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 18px 36px rgba(33, 22, 69, 0.12);
    color: inherit;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-story-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.featured-story-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0) 35%,
            rgba(0, 0, 0, 0.75) 100%);
    pointer-events: none;
}

.get-inspired-featured-content {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 24px;
    z-index: 2;
    color: #ffffff;
}

.featured-story-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    margin-bottom: 14px;
    border-radius: 9999px;
    background: #5a31d6;
    color: #ffffff;
    font-size: 10px;
    line-height: 1;
    font-weight: 500;
}

.get-inspired-featured-content h3 {
    margin: 0 0 12px;
    max-width: 360px;
    color: #ffffff;
    font-family: "Outfit", sans-serif;
    font-size: 27px;
    line-height: 1.15;
    font-weight: 700;
}

.get-inspired-featured-content p {
    margin: 0 0 16px;
    max-width: 360px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.5;
}

.featured-story-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    background: transparent;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 500;
}

.get-inspired-right {
    width: 320px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.small-story-card {
    width: 320px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: inherit;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.get-inspired-story-thumb {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 14px;
}

.get-inspired-story-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.small-story-content {
    min-width: 0;
    text-align: left;
}

.small-story-label {
    margin-bottom: 6px;
    color: #5a31d6;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 500;
}

.small-story-content h4 {
    margin: 0 0 6px;
    color: #1d1b20;
    font-family: "Outfit", sans-serif;
    font-size: 18px;
    line-height: 1.08;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.small-story-content p {
    margin: 0;
    color: #484555;
    font-size: 13px;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.story-cta-card {
    width: 320px;
    padding: 28px 28px 30px;
    border-radius: 22px;
    background: #4200be;
    border: 1px solid rgba(255, 255, 255, 0.18);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.story-cta-card h4 {
    margin: 0 0 16px;
    color: #ffffff;
    font-family: "Outfit", sans-serif;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
}

.story-cta-card p {
    margin: 0 0 24px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.55;
}

.story-cta-link {
    padding: 0;
    background: transparent;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
}

.site-footer {
    background:
        radial-gradient(circle at 18% 18%, rgba(122, 88, 241, 0.22) 0%, rgba(122, 88, 241, 0) 26%),
        radial-gradient(circle at 82% 26%, rgba(176, 65, 97, 0.16) 0%, rgba(176, 65, 97, 0) 22%),
        radial-gradient(circle at 74% 82%, rgba(255, 122, 26, 0.12) 0%, rgba(255, 122, 26, 0) 24%),
        radial-gradient(ellipse at bottom, #27184c 0%, #120d21 100%);
    border-top: 0;
}

.site-footer__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 32px 24px;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 6fr 2fr 2fr 2fr;
    gap: 78px;
    align-items: start;
}

.site-footer__brand-title {
    margin: 0 0 16px;
    color: #ffffff;
    font-family: "Outfit", sans-serif;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
}

/* Shared brand marks keep the existing navbar and footer layouts intact. */
.navbar-inner > .text-headline-sm {
    display: block;
    flex: 0 0 210px;
    min-width: 210px;
    width: 210px;
    height: 58px;
    background: url("assets/logo/color-logo-undp.png") left center / contain no-repeat;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

.site-footer__brand-title {
    display: block;
    width: 240px;
    height: 85px;
    margin-bottom: 16px;
    background: none;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

.site-footer__brand-title img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
}

.site-footer__brand-copy {
    max-width: 270px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    line-height: 1.65;
}

.site-footer__social {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 38px;
}

.site-footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.86);
    transition: color 0.2s ease;
}

.site-footer__social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.site-footer__heading {
    margin: 0 0 22px;
    color: #ffffff;
    font-family: "Outfit", sans-serif;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    font-weight: 700;
}

.site-footer__links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__links li+li {
    margin-top: 18px;
}

.site-footer__links a {
    color: rgba(255, 255, 255, 0.74);
    font-size: 16px;
    line-height: 1.45;
    font-weight: 400;
    transition: color 0.2s ease;
}

.site-footer__divider {
    width: 100%;
    height: 1px;
    margin-top: 60px;
    background: rgba(255, 255, 255, 0.16);
}

.site-footer__copyright {
    padding-top: 24px;
    color: rgba(255, 255, 255, 0.62);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 400;
}

.site-footer__privacy-link {
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    line-height: 1.4;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.text-label-md-active {
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: 0.05em;
    font-weight: 600
}

.text-on-primary {
    color: #ffffff
}

.text-on-primary-fixed {
    color: #1d0061
}

.text-on-secondary-fixed {
    color: #1b1b24
}

.text-on-surface {
    color: #1d1b20
}

.text-on-surface-variant {
    color: #484555
}

.text-outline {
    color: #797486
}

.text-primary {
    color: #4200be
}

.text-primary\/60 {
    color: rgba(66, 0, 190, 0.6)
}

.text-tertiary {
    color: #6d2a00
}

.text-tertiary-container {
    color: #923b00
}

.text-white {
    color: #ffffff
}

.text-white\/60 {
    color: rgba(255, 255, 255, 0.6)
}

.text-white\/80 {
    color: rgba(255, 255, 255, 0.8)
}

.to-transparent {
    --tw-gradient-to: transparent
}

.top-0 {
    top: 0
}

.tracking-wider {
    letter-spacing: 0.05em
}

.tracking-widest {
    letter-spacing: 0.1em
}

.transition-all {
    transition-property: all
}

.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke
}

.transition-transform {
    transition-property: transform
}

.underline-offset-4 {
    text-underline-offset: 4px
}

.underline-offset-8 {
    text-underline-offset: 8px
}

.via-black\/20 {
    --tw-gradient-stops: var(--tw-gradient-from), rgba(0, 0, 0, .2), var(--tw-gradient-to, rgba(0, 0, 0, 0))
}

.w-1\/3 {
    width: 33.333333%
}

.w-10 {
    width: 2.5rem
}

.w-12 {
    width: 3rem
}

.w-16 {
    width: 4rem
}

.w-24 {
    width: 6rem
}

.w-8 {
    width: 2rem
}

.w-full {
    width: 100%
}

.z-10 {
    z-index: 10
}

.z-50 {
    z-index: 50
}

.hover\:-translate-y-1:hover {
    transform: translateY(-0.25rem)
}

.hover\:bg-primary-fixed:hover {
    background-color: #e7deff
}

.hover\:bg-surface-container:hover {
    background-color: #f2ecf3
}

/* 
.hover\:bg-surface-variant:hover {
    background-color: #e6e1e8
} */

.hover\:bg-tertiary-fixed\/30:hover {
    background-color: rgba(255, 219, 203, 0.3)
}

.hover\:bg-white:hover {
    background-color: #ffffff
}

.hover\:bg-white\/20:hover {
    background-color: rgba(255, 255, 255, 0.2)
}

.hover\:border-primary\/20:hover {
    border-color: rgba(66, 0, 190, 0.2)
}

.hover\:shadow-lg:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1)
}

.hover\:text-primary:hover {
    color: #4200be
}

.hover\:text-primary-container:hover {
    color: #5a31d6
}

.hover\:underline:hover {
    text-decoration-line: underline
}

.focus-within\:border-primary:focus-within {
    border-color: #4200be
}

.group:hover .group-hover\:bg-primary {
    background-color: #4200be
}

.group:hover .group-hover\:text-primary {
    color: #4200be
}

.group:hover .group-hover\:text-white {
    color: #ffffff
}

.group:hover .group-hover\:translate-x-2 {
    transform: translateX(0.5rem)
}

.dark .dark\:bg-surface-dim\/80 {
    background-color: rgba(222, 216, 223, 0.8)
}

.dark .dark\:text-primary-fixed {
    color: #e7deff
}

/* 
.dark .dark\:text-surface-variant {
    color: #e6e1e8
} */

@media (min-width:768px) {
    .md\:col-span-2 {
        grid-column: span 2 / span 2
    }

    .md\:flex {
        display: flex
    }

    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }

    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr))
    }

    .md\:grid-cols-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr))
    }

    .md\:mt-0 {
        margin-top: 0
    }

    .navbar-search-button {
        display: inline-flex;
    }
}

@media (min-width:768px) {
    .homepage-hero-video-frame {
        height: 520px;
    }
}

@media (min-width:1024px) {
    .hero-search-section {
        padding-top: 104px;
    }

    .homepage-hero-media {
        max-width: 465px;
        margin-left: auto;
    }

    header {
        height: auto !important;
        padding: 14px 0;
        background: transparent !important;
        border-bottom: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
    }

    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr))
    }

    .navbar-inner {
        min-height: 78px;
        padding-left: 18px;
        padding-right: 18px;
        gap: 24px;
        background: rgba(255, 255, 255, 0.96);
        border: 1px solid rgba(225, 220, 232, 0.92);
        border-radius: 999px;
        box-shadow: 0 10px 30px rgba(109, 93, 146, 0.08);
    }

    .navbar-inner>.text-headline-sm {
        flex: 0 0 210px;
        min-width: 210px;
    }

    .navbar-desktop-nav {
        display: flex;
        flex: 1 1 auto;
        min-width: 0;
        gap: 24px;
        justify-content: center;
    }

    .navbar-desktop-nav a {
        white-space: nowrap;
    }

    .navbar-desktop-nav .text-label-md-active,
    .navbar-desktop-nav .nav-text-label-md {
        font-size: 14px;
        line-height: 1;
        letter-spacing: 0;
    }

    .navbar-actions {
        flex: 0 0 auto;
        gap: 16px;
        margin-left: 0;
    }

    .language-dropdown {
        display: flex;
        align-items: center;
    }

    .language-button {
        min-height: 42px;
        align-items: center;
        gap: 8px;
        border-radius: 999px;
        color: #4e4458;
    }

    .language-button-icon-wrap {
        width: auto;
        height: 42px;
        padding-left: 0;
        padding-right: 0;
    }

    .language-button-icon {
        font-size: 22px;
        color: #4e4458;
    }

    .language-button-label {
        min-width: auto;
        padding: 0;
        font-size: 13px;
        line-height: 1;
        color: #4e4458;
    }

    .language-menu {
        top: calc(100% + 10px);
        right: -8px;
        min-width: 140px;
        border-radius: 18px;
        box-shadow: 0 18px 40px rgba(104, 78, 86, 0.16);
    }

    .navbar-search-button {
        min-height: 44px;
        padding-top: 0;
        padding-bottom: 0;
        padding-left: 26px;
        padding-right: 26px;
        border-radius: 999px;
        background: #5229c8;
        color: #ffffff;
        gap: 18px !important;
        justify-content: flex-start;
        transform: none !important;
    }

    .navbar-search-button:hover {
        background: #4a22bd;
    }

    .search-submit-button:hover {
        background: #ffffff;
        color: #4200be;
    }

    .search-submit-button:hover .button-hover-icon-placeholder,
    .search-submit-button:hover .button-hover-icon-center {
        color: #4200be;
    }

    .navbar-menu-toggle,
    .navbar-mobile-panel {
        display: none !important;
    }
}

@media (min-width:1025px) {
    .featured-collections-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .learning-journey-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .homepage-news-card--accent .homepage-news-card__content {
        padding-top: 36px;
    }

    .how-it-works-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .partners-logos-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .get-inspired-content {
        grid-template-columns: 560px 320px !important;
    }
}

@media (min-width:768px) and (max-width:1024px) {
    .hero-search-section {
        padding-top: 72px;
    }

    .featured-collections-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .learning-journey-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contribute-layout {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .homepage-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .homepage-news-card--feature,
    .homepage-news-card--side {
        grid-column: auto;
        min-height: 360px;
    }

    .homepage-news-card--accent {
        grid-column: 1 / -1;
    }

    .homepage-news-compact-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .homepage-news-section .homepage-news-compact-grid {
        grid-template-columns: 1fr;
    }

    .homepage-news-compact-stack {
        grid-template-rows: none;
        gap: 18px;
    }

    .homepage-news-compact-card--featured {
        min-height: 300px;
    }

    .homepage-news-compact-card--featured .homepage-news-compact-card__thumb {
        height: 190px;
    }

    .homepage-news-compact-card {
        align-items: flex-start;
    }

    .homepage-news-compact-card__content {
        flex: 1;
        min-width: 0;
    }

    .homepage-news-compact-card__excerpt {
        max-width: 100%;
    }

    .how-it-works-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .how-it-works-connector {
        display: none;
    }

    .partners-logos-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .get-inspired-content {
        max-width: 720px;
        grid-template-columns: 1fr;
    }

    .featured-story-card,
    .get-inspired-right,
    .story-cta-card {
        width: 100%;
        min-width: 0 !important;
        max-width: none !important;
    }

    .small-story-card {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
    }

    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 56px 44px;
    }
}

@media (max-width:767px) {
    .hero-search-section {
        padding-top: 48px;
    }

    .homepage-search-section .search-card--purple {
        padding: 28px 22px;
        border-radius: 28px;
        background: linear-gradient(145deg, #4f24c8 0%, #6638e0 52%, #7a58f1 100%) !important;
        box-shadow: 0 26px 60px rgba(66, 0, 190, 0.2) !important;
    }

    .homepage-search-section .search-intro,
    .homepage-search-section .search-tags-label {
        color: rgba(255, 255, 255, 0.92) !important;
        text-align: center;
    }

    .homepage-search-section .search-intro {
        margin: 0 0 18px;
        font-size: 16px;
        line-height: 1.9;
    }

    .homepage-search-section .search-bar-wrapper {
        display: flex;
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }

    .homepage-search-section .search-input-row {
        min-height: 56px;
        width: 100%;
        min-width: 0;
        padding: 0 18px;
        justify-content: flex-start;
        border-radius: 9999px;
        background: rgba(255, 255, 255, 0.16);
        border: 1px solid rgba(255, 255, 255, 0.22);
    }

    .homepage-search-section .search-input-icon {
        color: rgba(255, 255, 255, 0.92) !important;
        font-size: 26px;
    }

    .homepage-search-section .search-input-field {
        display: block;
        width: 100%;
        min-width: 0;
        color: rgba(255, 255, 255, 0.86) !important;
    }

    .homepage-search-section .search-input-field::placeholder {
        color: rgba(255, 255, 255, 0.72) !important;
    }

    .homepage-search-section .search-submit-button {
        width: 100%;
        min-height: 56px;
        border-radius: 9999px;
        justify-content: center;
    }

    .homepage-search-section .search-tags-row {
        margin-top: 18px;
        padding-top: 16px;
        border-top-color: rgba(255, 255, 255, 0.18);
        gap: 14px;
    }

    .homepage-search-section .search-tags-cluster {
        justify-content: center;
        gap: 12px;
        flex-direction: column;
        align-items: center;
        flex-wrap: nowrap;
        overflow: visible;
        padding-bottom: 0;
    }

    .homepage-search-section .search-tag {
        background-color: rgba(255, 255, 255, 0.16) !important;
        color: #ffffff !important;
        border: 1px solid rgba(255, 255, 255, 0.24);
        min-width: 0;
    }

    html[lang="ur"] .homepage-search-section .search-bar-wrapper {
        flex-direction: column !important;
        direction: ltr !important;
        align-items: stretch !important;
    }

    html[lang="ur"] .homepage-search-section .search-input-row {
        width: 100% !important;
        flex-direction: row !important;
        direction: ltr !important;
        justify-content: flex-start !important;
    }

    html[lang="ur"] .homepage-search-section .search-input-field {
        flex: 1 1 auto;
        width: 100% !important;
        min-width: 0 !important;
        text-align: right !important;
    }

    html[lang="ur"] .homepage-search-section .search-submit-button {
        width: 100% !important;
    }

    html[lang="ur"] .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 28px;
        align-items: start;
    }

    html[lang="ur"] .site-footer__brand {
        grid-column: auto;
        grid-row: auto;
    }

    html[lang="ur"] .site-footer__column {
        min-width: 0;
        width: 100%;
    }

    html[lang="ur"] .site-footer__heading {
        margin-bottom: 16px;
        font-size: 16px;
    }

    html[lang="ur"] .site-footer__links li+li {
        margin-top: 14px;
    }

    html[lang="ur"] .site-footer__links a {
        font-size: 15px;
        line-height: 1.5;
    }

    html[lang="ur"] .site-footer__brand-copy {
        max-width: 100%;
        font-size: 15px;
    }

    html[lang="ur"] .site-footer__social {
        justify-content: flex-end;
        align-self: flex-end;
        margin-top: 24px;
    }

    html[lang="ur"] .site-footer__copyright {
        flex-direction: column;
        align-items: flex-start;
        text-align: right;
    }

    .contribute-reference {
        padding-left: 24px;
        padding-right: 24px;
    }

    .search-library-hero-copy {
        margin-top: 12px;
        font-size: 15px;
        line-height: 1.7;
    }

    .text-display-lg {
        font-size: 36px;
        line-height: 1.2
    }

    .px-xl {
        padding-left: 24px;
        padding-right: 24px
    }

    .py-xxl {
        padding-top: 48px;
        padding-bottom: 48px
    }

    .rounded-\[4rem\] {
        border-radius: 2rem
    }

    .flex.gap-md {
        flex-wrap: wrap
    }

    .absolute.-left-10 {
        left: 16px
    }

    .navbar-inner {
        gap: 12px;
    }

    .navbar-actions {
        margin-left: auto;
        justify-content: flex-end;
        gap: 8px;
    }

    .navbar-inner > .text-headline-sm {
        flex-basis: 160px;
        min-width: 160px;
        width: 160px;
        height: 48px;
    }

    .site-footer__brand-title {
        width: 168px;
        height: 46px;
    }

    .navbar-desktop-nav {
        display: none;
    }

    .navbar-search-button {
        display: none !important;
    }

    .language-dropdown {
        display: flex;
        align-items: center;
    }

    .language-button-icon-wrap {
        width: 48px;
    }

    .language-button-label {
        min-width: 48px;
        padding: 0 10px;
        font-size: 13px;
    }

    .navbar-mobile-panel {
        padding-left: 16px;
        padding-right: 16px;
    }

    .navbar-mobile-panel .navbar-mobile-search {
        display: inline-flex;
        width: 100%;
    }

    .navbar-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .search-card {
        padding: 24px;
        border-radius: 24px;
    }

    .search-bar-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .search-input-row {
        width: 100%;
        min-width: 0;
        padding-left: 16px;
        padding-right: 16px;
    }

    .search-input-field {
        width: 100%;
        min-width: 0;
    }

    .search-submit-button {
        width: 100%;
        justify-content: center;
    }

    .homepage-search-popup {
        padding: 16px;
    }

    .homepage-search-popup__panel {
        max-width: 380px;
    }

    .homepage-search-popup__shell {
        width: 100%;
        padding: 28px 22px;
        border-radius: 28px;
    }

    .homepage-search-popup__intro {
        margin: 0 0 18px;
        font-size: 16px;
        line-height: 1.9;
        text-align: center;
    }

    .homepage-search-popup__bar {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }

    .homepage-search-popup__input-row,
    .homepage-search-popup__input-row.search-input-row {
        width: 100%;
        min-height: 56px;
        min-width: 0;
        padding: 0 18px;
        justify-content: flex-start;
        border-radius: 9999px;
    }

    .homepage-search-popup__input {
        font-size: 16px;
    }

    .homepage-search-popup__submit {
        width: 100%;
        min-height: 56px;
        border-radius: 9999px;
        justify-content: center;
    }

    .homepage-search-popup__tags,
    .homepage-search-popup__tags.search-tags-row {
        width: 100%;
        margin-top: 18px;
        padding-top: 16px;
        gap: 14px;
    }

    .homepage-search-popup__tags .search-tags-label {
        text-align: center;
    }

    .homepage-search-popup__tags .search-tags-cluster {
        justify-content: center;
        gap: 12px;
        flex-direction: column;
        align-items: center;
        flex-wrap: nowrap;
        overflow: visible;
        padding-bottom: 0;
    }

    .homepage-search-popup__tags .search-tag {
        min-width: 0;
    }

    .homepage-news-section .max-w-container-max,
    .homepage-blog-section .max-w-container-max {
        display: flex;
        flex-direction: column;
    }

    .homepage-news-header,
    .homepage-news-header--compact,
    .homepage-blog-header {
        display: contents;
    }

    .homepage-news-title,
    .homepage-blog-heading {
        order: 1;
        text-align: center;
        width: 100%;
        padding-bottom: 40px;
    }

    .homepage-news-compact-grid,
    .homepage-blog-grid--reference {
        order: 2;
    }

    .homepage-news-view-all,
    .homepage-blog-view-all {
        order: 3;
        align-self: center;
        margin-top: 24px;
    }

    .homepage-news-view-all--desktop {
        display: none;
    }

    .homepage-news-view-all--mobile {
        display: inline-flex;
        margin: 24px auto 0;
    }

    .homepage-news-section {
        text-align: center;
    }

    .start-here-card {
        flex-direction: column;
        align-items: stretch;
        padding: 24px;
        gap: 20px;
        border-radius: 24px;
    }

    .start-here-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .start-here-actions {
        width: 100%;
    }

    .start-here-primary,
    .start-here-secondary {
        width: 100%;
    }

    .floating-quick-actions {
        right: 16px;
        bottom: 16px;
        gap: 12px;
    }

    .floating-quick-button {
        width: auto;
        min-width: 172px;
        max-width: none;
        height: 56px;
        padding: 0 20px;
    }

    .featured-resources-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .featured-resources-header--reference {
        align-items: flex-start;
    }

    .featured-resource-reference-grid {
        grid-template-columns: 1fr;
    }

    .featured-resource-learning-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 24px;
    }

    .featured-resource-learning-cta__button {
        width: 100%;
        min-width: 0;
    }

    .contribute-reference__content {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .contribute-reference__actions {
        width: 100%;
    }

    .contribute-reference__button {
        width: 100%;
    }

    .featured-collection-card {
        padding: 24px;
    }

    .featured-collections-grid {
        grid-template-columns: 1fr;
    }

    .learning-journey-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .learning-journey-grid {
        grid-template-columns: 1fr;
    }

    .learning-card-face {
        padding: 32px;
    }

    .learning-journey-view-all {
        width: 100%;
        justify-content: center;
    }

    .contribute-audience-grid {
        grid-template-columns: 1fr;
    }

    .contribute-buttons {
        flex-direction: column;
    }

    .contribute-primary-button,
    .contribute-secondary-button {
        width: 100%;
    }

    .contribute-cards-grid {
        grid-template-columns: 1fr !important;
    }

    .blog-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .blog-view-all-button {
        width: 100%;
        justify-content: center;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .homepage-news-header,
    .homepage-news-header--compact {
        align-items: flex-start;
        gap: 14px;
    }

    .homepage-news-grid {
        grid-template-columns: 1fr;
    }

    .homepage-news-compact-card {
        padding: 12px;
    }

    .homepage-news-compact-card__title {
        font-size: 17px;
    }

    .homepage-news-card--feature,
    .homepage-news-card--side,
    .homepage-news-card--accent {
        grid-column: auto;
        min-height: 300px;
    }

    .homepage-news-card__content {
        padding: 22px;
    }

    .homepage-news-card__title,
    .homepage-news-card--feature .homepage-news-card__title,
    .homepage-news-card--side .homepage-news-card__title,
    .homepage-news-card--compact .homepage-news-card__title,
    .homepage-news-card--accent .homepage-news-card__title {
        max-width: 100%;
        font-size: 1.55rem;
    }

    .homepage-news-card__author {
        font-size: 0.98rem;
    }

    .blog-card-author-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .how-it-works-grid {
        grid-template-columns: 1fr;
    }

    .how-it-works-card {
        min-height: auto;
    }

    .how-it-works-copy {
        max-height: none;
        opacity: 1;
        margin-top: 18px;
    }

    .partners-section-card {
        padding: 20px 0;
    }

    .partners-logos-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        justify-items: center;
    }

    .homepage-news-compact-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .homepage-news-section .homepage-news-compact-grid {
        grid-template-columns: 1fr;
    }

    .homepage-news-compact-stack {
        grid-template-rows: none;
        gap: 16px;
    }

    .homepage-news-compact-card {
        align-items: flex-start;
        padding: 14px;
    }

    .homepage-news-compact-card--featured {
        min-height: auto;
    }

    .homepage-news-compact-card--featured .homepage-news-compact-card__thumb {
        height: 180px;
    }

    .homepage-news-compact-card__thumb {
        width: 72px;
        min-width: 72px;
        height: 72px;
    }

    .homepage-news-compact-card__content {
        flex: 1;
        min-width: 0;
    }

    .homepage-news-compact-card__title {
        font-size: 16px;
        line-height: 1.25;
    }

    .homepage-news-compact-card__meta {
        font-size: 12px;
    }

    .homepage-news-compact-card__excerpt {
        max-width: 100%;
        font-size: 14px;
    }

    .get-inspired-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .featured-story-card,
    .get-inspired-right,
    .story-cta-card {
        width: 100%;
        min-width: 0 !important;
        max-width: none !important;
    }

    .small-story-card {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
    }

    .featured-story-card {
        height: 360px;
    }

    .get-inspired-featured-content {
        left: 22px;
        right: 22px;
        bottom: 22px;
    }

    .get-inspired-right {
        gap: 16px;
    }

    .small-story-card {
        gap: 14px;
    }

    .get-inspired-section {
        padding: 64px 0;
    }

    .get-inspired-header {
        margin-bottom: 28px;
    }

    .get-inspired-header h2 {
        font-size: 42px;
    }

    .site-footer__container {
        padding: 56px 24px 24px;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .site-footer__brand-copy {
        max-width: 100%;
    }

    .site-footer__social {
        margin-top: 36px;
    }
}

@media (hover:hover) and (pointer:fine) {
    .button-with-arrow:hover .button-hover-icon-center.arrow-icon--upright {
        transform: translate3d(0, -50%, 0) rotate(0deg);
    }

    .featured-collection-card:hover .featured-collection-arrow.arrow-icon--upright {
        transform: rotate(0deg) translateX(0.5rem);
    }

    .button-with-search:hover .button-hover-text {
        opacity: 0;
    }

    .button-with-search:hover .button-hover-icon-center {
        opacity: 1;
        visibility: visible;
        --button-icon-x: var(--button-icon-shift, 0px);
    }

    button:not(.button-with-icon):not(.icon-only-button):not(.language-option):hover {
        transform: translateY(-2px);
    }

    .icon-only-button:hover .material-symbols-outlined {
        transform: scale(1.1);
    }

    .featured-collection-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(90, 49, 214, 0.14);
        border-color: #4200be;
    }

    .featured-collection-card:hover .featured-collection-icon {
        background: #4200be;
        color: #ffffff;
    }

    .featured-collection-card:hover .featured-collection-arrow {
        transform: translateX(0.5rem);
    }

    .learning-card:hover .learning-card-face {
        box-shadow: 0 15px 40px rgba(90, 49, 214, .1);
        border-color: #4200be;
    }

    .blog-card:hover {
        transform: perspective(1200px) rotateX(var(--blog-card-rotate-x)) rotateY(var(--blog-card-rotate-y)) translateY(-8px);
        box-shadow: 0 22px 44px rgba(23, 18, 48, 0.16);
        border-color: #4200be;
    }

.homepage-blog-card:hover {
    box-shadow: 0 0 30px 1px rgba(66, 0, 190, 0.18), 0 22px 44px rgba(23, 18, 48, 0.16);
    border-color: rgba(66, 0, 190, 0.28);
}

.homepage-blog-card--reference:hover {
    box-shadow: none;
    border-color: transparent;
}

    .blog-card:hover::before,
    .blog-card:hover::after {
        opacity: 1;
    }

    .how-it-works-card:hover {
        background: #f7f4fb !important;
        transform: scale(1.02);
        box-shadow: 0 5px 20px rgba(68, 68, 68, 0.28);
        border-color: rgba(82, 41, 200, 0.18);
    }

    .how-it-works-card:hover .how-it-works-step {
        color: #ffffff;
    }

    .how-it-works-card:hover .how-it-works-step::after {
        width: 900px;
        height: 900px;
    }

    .how-it-works-card:hover .how-it-works-icon-inline .material-symbols-outlined {
        color: #f5f5f5;
        transform: none;
    }

    .how-it-works-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 28px rgba(43, 39, 68, 0.08);
        border-color: #d9d1e7;
    }

    .how-it-works-card:hover::before {
        opacity: 1;
        transform: scale(1);
    }

    .how-it-works-card:hover .how-it-works-icon-inline {
        background: #ffffff;
    }

    .how-it-works-card:hover .how-it-works-icon-inline .material-symbols-outlined {
        color: #5a3fd6;
        transform: scale(1.06);
    }

    .how-it-works-card:hover .how-it-works-icon-inline svg {
        color: #5a3fd6;
        transform: scale(1.06);
    }

    .how-it-works-card:nth-child(2):hover .how-it-works-icon-inline .material-symbols-outlined {
        color: #ff7a1a;
    }

    .how-it-works-card:nth-child(3):hover .how-it-works-icon-inline .material-symbols-outlined {
        color: #168f86;
    }

    .how-it-works-card:nth-child(4):hover .how-it-works-icon-inline .material-symbols-outlined {
        color: #b04161;
    }

    .how-it-works-card:nth-child(2):hover .how-it-works-icon-inline svg {
        color: #ff7a1a;
    }

    .how-it-works-card:nth-child(3):hover .how-it-works-icon-inline svg {
        color: #168f86;
    }

    .how-it-works-card:nth-child(4):hover .how-it-works-icon-inline svg {
        color: #b04161;
    }

    .how-it-works-card:hover .how-it-works-title,
    .how-it-works-card:hover .how-it-works-copy {
        color: #ffffff;
    }

    .partner-logo-item:hover {
        transform: scale(1.03);
    }

    .featured-story-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 40px rgba(90, 49, 214, .1);
    }

    .featured-story-card:hover img {
        transform: scale(1.05);
    }

    .small-story-card:hover {
        transform: translateY(-4px);
    }

    .site-footer__social-link:hover,
    .site-footer__links a:hover {
        color: #ffffff;
    }

    .site-footer__privacy-link:hover {
        color: #ffffff;
    }
}



.learning-button {
    padding: 10px 32px !important;
    align-items: center !important;
    align-self: stretch !important;
    border-radius: 50px !important;
    border: 2px solid #431CAC !important;
    color: #431CAC !important;
    text-align: center !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 24px !important;
    background-color: transparent !important;
}

.library-button {
    display: flex;
    padding: 12px 30px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 50px;
    background: #431CAC;
}

html.site-preload,
html.site-preload body {
    overflow: hidden !important;
}

html.site-preload::before,
html.site-preload::after {
    position: fixed;
    left: 50%;
    z-index: 9999;
    pointer-events: none;
    visibility: visible;
    transition:
        opacity 0.5s ease,
        transform 0.5s ease,
        visibility 0s linear 0.5s;
}

html.site-preload::before {
    content: "";
    inset: 0;
    left: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(231, 222, 255, 0.75) 0%, rgba(231, 222, 255, 0) 35%),
        radial-gradient(circle at 80% 80%, rgba(255, 219, 202, 0.5) 0%, rgba(255, 219, 202, 0) 30%),
        rgba(254, 247, 255, 0.98);
}

html.site-preload::after {
    content: "Human Rights";
    top: 50%;
    transform: translate(-50%, calc(-50% - 22px));
    color: #431CAC;
    font-family: "Outfit", sans-serif;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1;
    letter-spacing: -0.04em;
    font-weight: 700;

    text-align: center;
    text-shadow: 0 12px 32px rgba(67, 28, 172, 0.08);
    box-shadow:
        0 54px 0 -51px rgba(67, 28, 172, 0.18),
        0 54px 0 -48px rgba(67, 28, 172, 0.04);
    width: max-content;
    padding-bottom: 46px;
    animation: site-loader-pulse 1.2s ease-in-out infinite;
}

html.site-preload body::before {
    content: "";
    position: fixed;
    top: 50%;
    left: 50%;
    width: 54px;
    height: 54px;
    margin-left: -27px;
    margin-top: 18px;
    border-radius: 999px;
    border: 2px solid rgba(67, 28, 172, 0.14);
    border-top-color: #431CAC;
    z-index: 10000;
    pointer-events: none;
    visibility: visible;
    animation: site-loader-spin 0.95s linear infinite;
    transition:
        opacity 0.5s ease,
        transform 0.5s ease,
        visibility 0s linear 0.5s;
}

html.site-preload.site-preload-exit::after,
html.site-preload.site-preload-exit::before,
html.site-preload.site-preload-exit body::before {
    opacity: 0;
    animation: none;
    visibility: hidden;
}

html.site-preload.site-preload-exit::after {
    transform: translate(-50%, calc(-50% - 34px));
}

html.site-preload.site-preload-exit body::before {
    transform: translateY(10px);
}

@keyframes site-loader-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes site-loader-pulse {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.88;
    }
}

html.js-ux-enhanced .reveal-on-scroll {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    transition:
        opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

html.js-ux-enhanced .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

html.js-ux-enhanced .blog-card.reveal-on-scroll {
    transition:
        opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.08s linear,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
    transform: perspective(1200px) rotateX(var(--blog-card-rotate-x)) rotateY(var(--blog-card-rotate-y)) translateY(24px);
}

html.js-ux-enhanced .blog-card.reveal-on-scroll.is-visible {
    transition:
        opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.08s linear,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
    transform: perspective(1200px) rotateX(var(--blog-card-rotate-x)) rotateY(var(--blog-card-rotate-y)) translateY(0);
}

html.js-ux-enhanced .blog-card.reveal-on-scroll.is-hover-tilt,
html.js-ux-enhanced .blog-card.reveal-on-scroll.is-visible.is-hover-tilt {
    transition:
        opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.08s linear,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
    transform: perspective(1200px) rotateX(var(--blog-card-rotate-x)) rotateY(var(--blog-card-rotate-y)) translateY(-8px);
}

img.site-lazy-image {
    background-size: 220% 100%;
    animation: site-skeleton-shimmer 1.45s linear infinite;
    opacity: 0;
    transition:
        opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    filter: blur(4px);
}

img.site-lazy-image.is-loaded,
img.site-lazy-image.is-error {
    opacity: 1;
    filter: blur(0);
    animation: none;
}

.card-loading {
    position: relative;
    overflow: hidden;
}

.card-loading>* {
    opacity: 0;
}

.card-loading::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(110deg, rgba(231, 222, 255, 0.55) 8%, rgba(255, 255, 255, 0.95) 18%, rgba(231, 222, 255, 0.55) 33%),
        linear-gradient(#ece7f9 0 0),
        linear-gradient(#ece7f9 0 0),
        linear-gradient(#ece7f9 0 0),
        linear-gradient(#ece7f9 0 0),
        linear-gradient(#ece7f9 0 0);
    background-repeat: no-repeat;
    background-size:
        220% 100%,
        calc(100% - 32px) 42%,
        62% 18px,
        78% 12px,
        54% 12px,
        120px 42px;
    background-position:
        0 0,
        16px 16px,
        16px calc(42% + 28px),
        16px calc(42% + 58px),
        16px calc(42% + 80px),
        16px calc(100% - 56px);
    animation: site-skeleton-shimmer 1.45s linear infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes site-skeleton-shimmer {
    0% {
        background-position:
            100% 0,
            16px 16px,
            16px calc(42% + 28px),
            16px calc(42% + 58px),
            16px calc(42% + 80px),
            16px calc(100% - 56px);
    }

    100% {
        background-position:
            -100% 0,
            16px 16px,
            16px calc(42% + 28px),
            16px calc(42% + 58px),
            16px calc(42% + 80px),
            16px calc(100% - 56px);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    html.site-preload::after,
    html.site-preload body::before,
    img.site-lazy-image,
    .card-loading::before {
        animation: none !important;
    }

    html.js-ux-enhanced .reveal-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }

    img.site-lazy-image {
        opacity: 1;
        filter: none;
    }
}

/* Global text capitalization */
h1,
h2,
h3,
h4,
h5,
h6,
button,
label,
input::placeholder,
textarea::placeholder,
select,
option,
a,
nav a,
.button-hover-text,
.search-library-title,
.search-library-breadcrumb,
.site-footer__heading,
.site-footer__brand-title,
.featured-resource-title,
.featured-collection-title,
.learning-card-title,
.about-title,
.about-section-heading,
.contact-title,
.contact-kicker,
.contact-channel-title,
.learning-detail-title,
.learning-detail-kicker,
.learning-detail-sidebar-title,
.blog-detail-title,
.blog-card-title,
.story-detail-title,
.story-detail-kicker,
.search-library-filter-heading,
.search-library-mobile-filter-section-title,
.search-library-dropdown-label,
.search-library-results-title,
.site-pagination-link,
.language-button-label,
.language-option,
.navbar-desktop-nav a,
.navbar-mobile-nav a {

}

.hero-badge-title {

}

.hero-banner-title-exact,
.search-library-title,
.contact-title,
.case-hero__title {

}

/* Search library hero: keep the production banner aligned with front-html/search.html. */
.search-library-shell {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 24px 0;
}

html.js-ux-enhanced .search-library-shell.reveal-on-scroll,
html.js-ux-enhanced .search-library-shell.reveal-on-scroll.is-visible {
    transform: none !important;
    will-change: auto;
}

.search-library-hero {
    position: relative;
    z-index: 120;
    isolation: isolate;
}

.search-library-banner {
    position: relative;
    min-height: 265px;
    border-radius: 28px;
    overflow: hidden;
    background: #5128c8;
    box-shadow: 0 28px 80px rgba(66, 0, 190, .14);
}

.search-library-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(35, 14, 100, .78) 0%, rgba(79, 40, 196, .64) 32%, rgba(96, 54, 214, .42) 54%, rgba(96, 54, 214, .2) 100%);
    z-index: 1;
}

.search-library-banner-media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
}

.search-library-banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 265px;
    padding: 56px 64px;
    color: #fff;
}

.search-library-banner-content * {
    color: #fff !important;
}

.search-library-title {
    margin: 0 0 12px;
    font-family: "Outfit", sans-serif;
    font-size: 46px;
    line-height: 1.03;
    letter-spacing: -.04em;
    font-weight: 700;
    color: #fff !important;
}

.search-library-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, .84);
    font-size: 13px;
    line-height: 1.2;
    letter-spacing: .12em;
    font-weight: 600;
}

.search-library-breadcrumb a:hover {
    color: #fff;
}

/* Library hero keeps the reference height while spanning the viewport. */
.library-page.search-library-shell {
    max-width: none;
    padding: 0;
}

.library-page .search-library-banner {
    border-radius: 0;
    box-shadow: none;
}

/* Get Inspired uses the same full-width hero treatment as its reference page. */
.get-inspired-page-hero.search-library-shell {
    max-width: none;
    padding: 0;
}

.get-inspired-page-hero .search-library-banner {
    border-radius: 0;
    box-shadow: none;
}

.blogs-page-hero.search-library-shell {
    max-width: none;
    padding: 0;
}

.blogs-page-hero .search-library-banner {
    border-radius: 0;
    box-shadow: none;
}

/* Contact page: source contact.html layout, with the Laravel form endpoint preserved. */
.contact-page-hero.search-library-shell { max-width: none; padding: 0; }
.contact-page-hero .search-library-hero { margin-bottom: 80px; }
.contact-page-hero .search-library-banner { border-radius: 0; box-shadow: none; }
.contact-page-hero .search-library-banner-content { padding: 44px 64px; }
.contact-page-hero .search-library-breadcrumb { margin-bottom: 14px; }
.contact-page-hero .search-library-title { margin-bottom: 0; }
.contact-main { max-width: 1280px; margin: 0 auto; padding: 0 24px 120px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: 24px; margin-bottom: 48px; }
.contact-card { padding: 36px; border: 1px solid rgba(202,196,214,.42); border-radius: 28px; background: #fff; box-shadow: 0 16px 42px rgba(60,29,132,.08); }
.contact-card-header { margin-bottom: 28px; }
.contact-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 8px 14px; border-radius: 999px; background: rgba(91,60,196,.12); color: #5b3cc4; font-size: 13px; line-height: 1.2; letter-spacing: .08em; font-weight: 600; }
.contact-card h2 { margin: 0 0 10px; color: #141b2b; font-size: 36px; line-height: 1.08; letter-spacing: -.03em; font-weight: 700; }
.contact-card p, .contact-channel-copy { color: #484554; font-size: 16px; line-height: 1.75; }
.contact-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.contact-field { display: flex; flex-direction: column; gap: 10px; }
.contact-field-full { grid-column: 1 / -1; }
.contact-field label { color: #141b2b; font-size: 14px; line-height: 20px; letter-spacing: .02em; font-weight: 600; }
.contact-field input, .contact-field select, .contact-field textarea { width: 100%; min-height: 58px; padding: 16px 18px; border: 1px solid rgba(202,196,214,.6); border-radius: 20px; background: #fff; color: #141b2b; font: inherit; transition: border-color .2s ease, box-shadow .2s ease; }
.contact-field textarea { min-height: 168px; resize: vertical; }
.contact-field input:focus, .contact-field select:focus, .contact-field textarea:focus { outline: none; border-color: #5b3cc4; box-shadow: 0 0 0 4px rgba(91,60,196,.12); }
.contact-form-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.contact-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; }
.contact-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.contact-side { display: grid; gap: 24px; align-content: start; }
.contact-channels { position: relative; display: flex; min-height: 720px; flex-direction: column; padding: 34px 34px 30px; }
.contact-channels .contact-card-header { margin-bottom: 0; }
.contact-channels-list { display: grid; gap: 0; margin-top: auto; }
.contact-channel { display: flex; align-items: flex-start; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(202,196,214,.3); }
.contact-channel:first-of-type { padding-top: 0; }
.contact-channel:last-of-type { padding-bottom: 0; border-bottom: 0; }
.contact-channel-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 16px; background: rgba(91,60,196,.12); color: #5b3cc4; font-size: 21px; }
.contact-channel-title { margin: 0 0 6px; color: #797585 !important; font-size: 12px !important; line-height: 16px !important; letter-spacing: .14em; font-weight: 600; }
.contact-channel-link { display: inline-flex; align-items: center; color: #141b2b; font-size: 22px; line-height: 1.3; letter-spacing: -.01em; font-weight: 600; transition: color .2s ease; }
.contact-channel-link:hover { color: #5b3cc4; }
.contact-map-card { overflow: hidden; padding: 0; }
.contact-map-card iframe { display: block; width: 100%; height: 360px; border: 0; }
@media (max-width: 1023px) { .contact-grid { grid-template-columns: 1fr; } .contact-channels { min-height: auto; } }
@media (max-width: 767px) { .contact-page-hero .search-library-hero { margin-bottom: 48px; } .contact-main { padding: 0 16px 80px; } .contact-page-hero .search-library-banner-content { min-height: 0; padding: 30px 24px; } .contact-card, .contact-channels { padding: 24px; border-radius: 24px; } .contact-card h2 { font-size: 30px; } .contact-form-grid { grid-template-columns: 1fr; } .contact-channel-link { font-size: 18px; } }

.contribute-page-hero.search-library-shell { max-width: none; padding: 0; }
.contribute-page-hero .search-library-banner { border-radius: 0; box-shadow: none; }

/* Get Inspired story directory: copied from the front-html card section. */
.get-inspired-section-spacing { padding-top: 80px !important; padding-bottom: 80px !important; }
.get-inspired-stories-section { background: #f8f2f9; }
.get-inspired-results-heading-wrap { margin-bottom: 42px; }
.get-inspired-results-heading { max-width: 680px; margin: 0; color: #1a1c1d; font-size: clamp(38px, 5vw, 58px); line-height: .98; font-weight: 800; letter-spacing: -.04em; }
.get-inspired-results-count { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; color: #4f4a5d; font-size: 14px; line-height: 1; font-weight: 800; letter-spacing: .18em; }
.get-inspired-results-count strong { color: #5229c8; font-weight: 900; }
.get-inspired-filter-layout { display: grid; grid-template-columns: minmax(280px, 4fr) minmax(0, 8fr); gap: 32px; align-items: start; }
.get-inspired-sidebar-panel { position: sticky; top: 108px; padding: 34px 30px; border: 1px solid rgba(202, 195, 215, .48); border-radius: 32px; background: #fff; box-shadow: 0 18px 50px rgba(60, 29, 132, .08); }
.get-inspired-sidebar-panel .search-library-filter-group + .search-library-filter-group { margin-top: 30px; }
.get-inspired-sidebar-panel .search-library-filter-heading { margin: 0 0 18px; color: #1a1c1d; font-size: 24px; line-height: 1.35; font-weight: 700; }
.search-library-filter-list { display: flex; flex-direction: column; gap: 14px; }
.search-library-filter-option { display: flex; align-items: center; gap: 14px; cursor: pointer; }
.search-library-filter-option input { width: 20px; height: 20px; flex-shrink: 0; border: 1px solid #8a8496; border-radius: 4px; }
.search-library-filter-option span { color: #4e495a; font-size: 16px; line-height: 1.5; font-weight: 400; transition: color .2s ease; }
.search-library-filter-option:hover span, .search-library-filter-option.is-selected span { color: #5229c8; }
.search-library-filter-option.is-selected span { font-weight: 600; }
.get-inspired-sidebar-reset { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 46px; margin-top: 32px; border: 1px solid rgba(82, 41, 200, .18); border-radius: 999px; background: #f2ecf3; color: #5229c8; font-size: 14px; font-weight: 700; transition: background-color .3s ease, color .3s ease, transform .3s ease, box-shadow .3s ease; }
.get-inspired-sidebar-reset:hover { transform: translateY(-2px); background: #5229c8; color: #fff; box-shadow: 0 14px 30px rgba(82, 41, 200, .16); }
.get-inspired-story-preview-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.get-inspired-story-preview-card { display: flex; min-height: 278px; flex-direction: column; align-items: center; justify-content: center; padding: 28px 22px; border: 1px solid rgba(202, 195, 215, .48); border-radius: 28px; background: #fff; color: #1a1c1d; text-align: left; box-shadow: 0 18px 48px rgba(60, 29, 132, .08); transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.get-inspired-story-preview-card:hover { transform: translateY(-6px); border-color: rgba(82, 41, 200, .35); box-shadow: 0 24px 58px rgba(60, 29, 132, .14); }
.get-inspired-story-preview-card[hidden] { display: none; }
.get-inspired-story-preview-image { width: 112px; height: 112px; margin-bottom: 22px; overflow: hidden; border-radius: 999px; background: #f2ecf3; box-shadow: 0 16px 36px rgba(28, 18, 56, .12); }
.get-inspired-story-preview-image img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .35s ease, transform .35s ease; }
.get-inspired-story-preview-card:hover .get-inspired-story-preview-image img { filter: grayscale(0); transform: scale(1.05); }
.get-inspired-story-preview-title { align-self: stretch; margin: 0 0 18px; color: #1a1c1d; font-size: 24px; line-height: 1.05; font-weight: 800; }
.get-inspired-story-preview-copy { align-self: stretch; margin: 0 0 22px; color: #5f5a6b; font-size: 14px; line-height: 1.45; }
.get-inspired-story-preview-button { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding: 11px 18px; border: 1px solid #5229c8; border-radius: 999px; color: #5229c8; font-size: 14px; font-weight: 700; transition: background-color .3s ease, color .3s ease; }
.get-inspired-story-preview-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.get-inspired-story-preview-card:hover .get-inspired-story-preview-button { background: #5229c8; color: #fff; }
.get-inspired-story-pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.get-inspired-story-pagination-button { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 40px; padding: 0 14px; border: 1px solid rgba(82, 41, 200, .28); border-radius: 8px; background: #fff; color: #2e2947; font-size: 14px; font-weight: 700; }
.get-inspired-story-pagination-button:hover, .get-inspired-story-pagination-button.is-active { background: #5229c8; border-color: #5229c8; color: #fff; transform: translateY(-2px); }
.get-inspired-mobile-controls { display: none; margin: 20px 0 0; }
.search-library-mobile-filter-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 18px; border: 1px solid rgba(202, 195, 215, .5); border-radius: 999px; background: #fff; color: #1d1b20; font-size: 14px; font-weight: 500; box-shadow: 0 8px 24px rgba(60, 29, 132, .06); }
@media (max-width: 1023px) { .get-inspired-filter-layout { grid-template-columns: 1fr; } .get-inspired-sidebar-panel { position: static; } .get-inspired-story-preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .get-inspired-mobile-controls { display: block; } .get-inspired-sidebar { display: none; } .get-inspired-filter-layout.is-mobile-filter-open .get-inspired-sidebar { display: block; } .get-inspired-story-preview-grid { grid-template-columns: 1fr; } .get-inspired-story-preview-card { min-height: 248px; } }

.library-page .search-library-filter-wrap {
    position: relative;
    z-index: 30;
    width: min(1184px, calc(100% - 60px));
    margin: 34px auto 0;
    overflow: visible;
    isolation: isolate;
}

.library-page .search-library-filter-card {
    position: relative;
    z-index: 101;
    padding: 40px;
    background: linear-gradient(145deg, #4f24c8 0%, #6638e0 52%, #7a58f1 100%);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 32px;
    box-shadow: 0 26px 60px rgba(66, 0, 190, .2);
    overflow: visible;
}

.library-page .search-library-filter-bar {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(140px, .62fr)) auto;
    align-items: center;
    gap: 0;
    border: 0;
    background: transparent;
    border-radius: 999px;
    overflow: visible;
}

.library-page .search-library-filter-field {
    display: flex;
    align-items: center;
    min-height: 66px;
    padding: 0 24px;
    border: 0;
    background: rgba(255, 255, 255, .18);
}

.library-page .search-library-filter-search {
    gap: 14px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-right: 0;
    border-radius: 999px 0 0 999px;
}

.library-page .search-library-filter-search .material-symbols-outlined {
    font-size: 22px;
    color: rgba(255, 255, 255, .82);
}

.library-page .search-library-filter-icon,
.library-page .search-library-filter-icon svg {
    width: 22px;
    height: 22px;
}

.library-page .search-library-filter-icon svg,
.library-page .search-library-dropdown-arrow svg {
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.library-page .search-library-filter-icon {
    flex: 0 0 auto;
    color: rgba(255, 255, 255, .82);
}

.library-page .search-library-filter-input {
    width: 100%;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: rgba(255, 255, 255, .82);
    font-size: 16px;
    line-height: 1.4;
    font-weight: 500;
}

.library-page .search-library-filter-input::placeholder {
    color: rgba(255, 255, 255, .72);
}

.library-page .search-library-filter-search:focus-within {
    background: #fff;
}

.library-page .search-library-filter-search:focus-within .material-symbols-outlined,
.library-page .search-library-filter-search:focus-within .search-library-filter-icon,
.library-page .search-library-filter-search:focus-within .search-library-filter-input {
    color: #2a2250 !important;
}

.library-page .search-library-filter-search:focus-within .search-library-filter-input::placeholder {
    color: #7b7390 !important;
}

.library-page .search-library-dropdown-shell {
    position: relative;
    min-width: 0;
}

.library-page .search-library-filter-select {
    width: 100%;
    justify-content: space-between;
    gap: 18px;
    padding-right: 52px;
    border-top: 1px solid rgba(255, 255, 255, .22);
    border-bottom: 1px solid rgba(255, 255, 255, .22);
    border-radius: 0;
    outline: 0;
    appearance: none;
    color: rgba(255, 255, 255, .88);
    font-size: 15px;
    line-height: 1.3;
    font-weight: 500;
    cursor: pointer;
}

.library-page .search-library-dropdown-shell + .search-library-dropdown-shell .search-library-filter-select {
    border-left: 1px solid rgba(255, 255, 255, .18);
}

.library-page .search-library-dropdown-shell:last-of-type .search-library-filter-select {
    border-right: 1px solid rgba(255, 255, 255, .22);
    border-radius: 0 90px 90px 0;
}

.library-page .search-library-dropdown-arrow {
    position: absolute;
    display: inline-flex;
    top: 50%;
    right: 20px;
    width: 22px;
    height: 22px;
    color: rgba(255, 255, 255, .82);
    pointer-events: none;
    transform: translateY(-50%);
}

.library-page .search-library-filter-button {
    display: inline-flex;
    position: relative;
    overflow: hidden;
    align-items: center;
    justify-content: flex-start;
    min-height: 54px;
    margin: 7px;
    padding: 0 28px;
    border: 0;
    border-radius: 999px;
    background: #5229c8;
    color: #fff;
    font-family: "Outfit", sans-serif;
    font-size: 15px;
    line-height: 1;
    font-weight: 600;
}

.library-page .search-library-filter-button:hover,
.library-page .search-library-filter-button:focus-visible {
    background: #5229c8;
    box-shadow: none;
}

.library-page .search-library-filter-button .button-hover-icon-center,
.library-page .search-library-filter-button .button-hover-icon-placeholder {
    width: 20px;
    height: 20px;
}

html[lang="ur"] .library-page .search-library-filter-select {
    padding-right: 24px;
    padding-left: 52px;
}

html[lang="ur"] .library-page .search-library-dropdown-arrow {
    right: auto;
    left: 20px;
}

@media (max-width: 1023px) {
    .library-page .search-library-filter-wrap {
        width: min(100%, calc(100% - 28px));
        margin-top: 32px;
    }

    .library-page .search-library-filter-card {
        padding: 16px 16px 18px;
        border-radius: 28px;
    }

    .library-page .search-library-filter-bar {
        grid-template-columns: 1fr;
        gap: 12px;
        border-radius: 24px;
    }

    .library-page .search-library-filter-field {
        min-height: 58px;
        border: 1px solid rgba(202, 195, 215, .46);
        border-radius: 999px;
        background: #eef0f3;
    }

    .library-page .search-library-filter-search .material-symbols-outlined,
    .library-page .search-library-filter-icon,
    .library-page .search-library-filter-input,
    .library-page .search-library-filter-input::placeholder,
    .library-page .search-library-filter-select,
    .library-page .search-library-dropdown-arrow {
        color: #484555;
    }

    .library-page .search-library-dropdown-shell + .search-library-dropdown-shell .search-library-filter-select,
    .library-page .search-library-dropdown-shell:last-of-type .search-library-filter-select {
        border-left: 1px solid rgba(202, 195, 215, .46);
        border-right: 1px solid rgba(202, 195, 215, .46);
        border-radius: 999px;
    }

    .library-page .search-library-filter-button {
        width: 100%;
        min-height: 58px;
        margin: 0;
        justify-content: center;
        background: #5229c8;
    }
}

@media (max-width: 767px) {
    .library-page .search-library-filter-wrap {
        width: 100%;
        margin-top: 28px;
    }

    .library-page .search-library-filter-card {
        padding: 14px;
        border-radius: 28px;
    }
}

@media (max-width: 1023px) {
    .search-library-shell {
        padding-top: 12px;
    }

    .search-library-banner {
        min-height: 236px;
        border-radius: 24px;
    }

    .search-library-banner-content {
        min-height: 236px;
        padding: 36px 40px;
    }

    .search-library-title {
        font-size: 40px;
    }
}

@media (max-width: 767px) {
    .search-library-shell {
        padding: 8px 16px 0;
    }

    .search-library-banner {
        min-height: 212px;
        border-radius: 22px;
    }

    .search-library-banner-content {
        min-height: 212px;
        padding: 30px 24px;
    }

    .search-library-title {
        font-size: 34px;
        line-height: 1.02;
    }

    .search-library-breadcrumb {
        gap: 8px;
        font-size: 11px;
    }
}

/* About hero: mirror the reference HTML banner while keeping its CMS copy and image dynamic. */
.about-page .search-library-shell {
    max-width: none;
    margin: 0;
    padding: 20px 0 0;
}

.about-page .search-library-hero {
    position: relative;
}

.about-page .search-library-banner {
    position: relative;
    min-height: 460px;
    border-radius: 0;
    overflow: hidden;
    background: #302742;
    box-shadow: none;
}

.about-page .search-library-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(42, 31, 66, 0.96) 0%, rgba(49, 39, 75, 0.92) 36%, rgba(49, 39, 75, 0.66) 58%, rgba(49, 39, 75, 0.22) 100%);
}

.about-page .search-library-banner-media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    transform: scale(1.02);
}

.about-page .search-library-banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 460px;
    max-width: 1280px;
    padding: 72px 24px;
    margin: 0 auto;
    color: #fff;
}

.about-page .search-library-banner-content * {
    color: #fff !important;
}

.about-page .search-library-title {
    max-width: 680px;
    margin: 0 0 20px;
    font-family: "Outfit", sans-serif;
    font-size: clamp(3.25rem, 5vw, 5rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
    font-weight: 700;
    text-align: left;
}

.about-page .search-library-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.2;
    font-weight: 500;
}

.about-page .search-library-hero-copy {
    max-width: 32rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: clamp(1.05rem, 1.6vw, 1.15rem);
    line-height: 1.58;
    font-weight: 400;
    text-align: left;
}

@media (max-width: 1024px) {
    .about-page .search-library-banner,
    .about-page .search-library-banner-content {
        min-height: 400px;
    }

    .about-page .search-library-banner-content {
        max-width: 620px;
        padding: 64px 32px;
    }

    .about-page .search-library-title {
        font-size: clamp(2.75rem, 6vw, 4.25rem);
    }
}

@media (max-width: 767px) {
    .about-page .search-library-shell {
        padding-top: 12px;
    }

    .about-page .search-library-banner,
    .about-page .search-library-banner-content {
        min-height: 360px;
    }

    .about-page .search-library-banner-content {
        padding: 40px 24px 44px;
        justify-content: flex-end;
    }

    .about-page .search-library-breadcrumb {
        margin-bottom: 16px;
        font-size: 14px;
    }

    .about-page .search-library-title {
        font-size: clamp(2.3rem, 10vw, 3.4rem);
        margin-bottom: 16px;
    }

    .about-page .search-library-hero-copy {
        max-width: 100%;
        font-size: 16px;
        line-height: 1.6;
    }
}

/* About section 2: match the reference intro layout while keeping copy, image, and action CMS-driven. */
.about-page-main {
    padding: 72px 24px 0;
}

.about-section-shell {
    max-width: 1280px;
    margin: 0 auto;
}

.about-intro-section {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 480px);
    gap: 48px;
    align-items: center;
    margin-bottom: 88px;
}

.about-title {
    margin: 0 0 22px;
    color: #1d1b20;
    font-size: 48px;
    line-height: 1.1;
    font-weight: 700;
}

.about-copy {
    margin: 0;
    color: #5b5766;
    font-size: 18px;
    line-height: 1.75;
    font-weight: 400;
}

.about-intro-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
}

.about-intro-visual {
    min-height: 420px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(60, 29, 132, .12);
}

.about-intro-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .about-page-main {
        padding-top: 56px;
        padding-bottom: 80px;
    }

    .about-intro-section {
        grid-template-columns: 1fr;
    }

    .about-intro-visual {
        min-height: 360px;
    }

    .about-title {
        font-size: 36px;
    }
}

@media (max-width: 767px) {
    .about-page-main {
        padding: 40px 20px 64px;
    }

    .about-intro-section {
        margin-bottom: 0;
    }

    .about-title {
        font-size: 30px;
    }

    .about-copy {
        font-size: 16px;
        line-height: 1.7;
    }

    .about-intro-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .about-intro-visual {
        min-height: 300px;
        border-radius: 24px;
    }
}

/* About section 3: Huqooq-E-Pakistan II structured content and accordion. */
.about-huqooq-section {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(340px, .9fr);
    grid-template-areas:
        "kicker kicker"
        "content education";
    gap: 26px 38px;
    align-items: stretch;
    margin-bottom: 0;
    padding: 40px;
    background: rgb(248, 242, 249);
    box-shadow: 0 0 0 100vmax rgb(248, 242, 249);
    clip-path: inset(0 -100vmax);
    color: #1d1b20;
}

.about-huqooq-kicker {
    display: inline-flex;
    grid-area: kicker;
    align-items: center;
    justify-content: center;
    gap: 12px;
    justify-self: start;
    margin: 0;
    padding: 13px 22px;
    border: 1px solid rgba(22, 143, 134, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
    color: #168f86;
    font-size: 13px;
    line-height: 1;
    letter-spacing: .08em;
    font-weight: 700;
}

.about-huqooq-kicker::before {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #168f86;
    box-shadow: 0 0 0 4px rgba(22, 143, 134, .1);
}

.about-huqooq-content {
    grid-area: content;
    padding: 40px;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(60, 29, 132, .08);
}

.about-huqooq-title-row,
.about-education-title-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.about-huqooq-title-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    border-radius: 18px;
    background: #168f86;
    color: #fff;
    box-shadow: 0 14px 28px rgba(22, 143, 134, .2);
}

.about-huqooq-title-icon .about-inline-icon {
    width: 46px;
    height: 46px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.about-huqooq-title-rule,
.about-education-title-rule {
    display: block;
    width: 54px;
    height: 3px;
    margin-top: 18px;
    background: #1d1b20;
}

.about-section-heading {
    margin: 0 0 18px;
    font-size: 38px;
    line-height: 1.1;
    font-weight: 700;
}

.about-huqooq-copy {
    max-width: none;
    margin: 0 0 30px;
    color: #5b5766;
    font-size: 17px;
    line-height: 1.65;
}

.about-huqooq-subtitle {
    margin: 0;
    padding-top: 26px;
    border-top: 1px solid rgba(91, 87, 102, .2);
    color: #2b2744;
    font-size: 17px;
    line-height: 1.45;
    font-weight: 700;
}

.about-huqooq-focus-list {
    display: grid;
    gap: 14px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.about-huqooq-focus-item {
    overflow: hidden;
    border: 1px solid rgba(91, 87, 102, .12);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 7px 16px rgba(60, 29, 132, .06);
}

.about-huqooq-focus-summary {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 72px;
    padding: 14px 18px;
    color: #2e2947;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    list-style: none;
}

.about-huqooq-focus-summary::-webkit-details-marker {
    display: none;
}

.about-huqooq-focus-item[open] .about-huqooq-focus-summary {
    border-bottom: 1px solid rgba(91, 87, 102, .12);
}

.about-huqooq-focus-copy {
    margin: 0;
    padding: 20px 82px 18px;
    color: #5b5766;
    font-size: 15px;
    line-height: 1.55;
}

.about-huqooq-focus-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #e4f5f2;
    color: #168f86;
}

.about-huqooq-focus-icon .about-inline-icon {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.about-huqooq-focus-list > li:nth-child(2) .about-huqooq-focus-icon { background: #e9efff; color: #3152cc; }
.about-huqooq-focus-list > li:nth-child(3) .about-huqooq-focus-icon { background: #f1eaff; color: #7b3fd0; }
.about-huqooq-focus-list > li:nth-child(4) .about-huqooq-focus-icon { background: #fff0df; color: #ff7a1a; }

.about-huqooq-focus-arrow {
    width: 25px;
    height: 25px;
    margin-left: auto;
    color: #168f86;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .2s ease;
}

.about-huqooq-focus-item[open] .about-huqooq-focus-arrow {
    transform: rotate(90deg);
}

.about-huqooq-grid {
    display: grid;
    grid-area: education;
    grid-template-columns: minmax(0, 1fr);
    align-self: stretch;
}

.about-huqooq-grid .about-pillars-card {
    position: relative;
    box-sizing: border-box;
    height: 760px;
    min-height: 0;
    overflow: hidden;
    padding: 42px 40px 310px;
    border: 1px solid #dce5ff;
    border-radius: 28px;
    background: #f2f0fa;
    box-shadow: 0 18px 42px rgba(60, 29, 132, .08);
    color: #2e2947;
}

.about-huqooq-grid .about-pillars-card h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 16px;
    color: #1d1b20;
    font-size: 30px;
    line-height: 1.1;
    font-weight: 700;
}

.about-huqooq-grid .about-pillars-card p {
    position: relative;
    z-index: 1;
    margin: 0 0 18px;
    color: #2e2947;
    font-size: 17px;
    line-height: 1.65;
}

.about-education-title-row {
    position: relative;
    z-index: 1;
}

.about-education-title-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: #3152cc;
    color: #fff;
}

.about-education-title-icon .about-inline-icon {
    width: 44px;
    height: 44px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.about-education-title-rule {
    margin-top: 16px;
}

.about-education-art {
    position: absolute;
    z-index: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 56%;
    object-fit: cover;
    object-position: center bottom;
}

@media (max-width: 1024px) {
    .about-huqooq-section {
        grid-template-columns: 1fr;
        grid-template-areas: "kicker" "content" "education";
    }

    .about-huqooq-grid .about-pillars-card {
        height: auto;
    }
}

@media (max-width: 767px) {
    .about-huqooq-section {
        gap: 22px;
        padding: 32px 0;
        border-radius: 28px;
    }

    .about-huqooq-content {
        padding: 22px 18px;
        border-radius: 22px;
    }

    .about-huqooq-title-row,
    .about-education-title-row {
        gap: 14px;
        margin-bottom: 22px;
    }

    .about-huqooq-title-icon,
    .about-education-title-icon {
        width: 64px;
        height: 64px;
        border-radius: 16px;
    }

    .about-education-title-icon {
        border-radius: 50%;
    }

    .about-huqooq-title-icon .about-inline-icon,
    .about-education-title-icon .about-inline-icon {
        width: 32px;
        height: 32px;
    }

    .about-huqooq-focus-summary {
        min-height: 56px;
        gap: 10px;
        padding: 10px 12px;
        font-size: 15px;
    }

    .about-huqooq-focus-icon {
        width: 38px;
        height: 38px;
    }

    .about-huqooq-focus-copy {
        padding: 0 14px 14px 56px;
        font-size: 14px;
    }

    .about-huqooq-grid .about-pillars-card {
        height: auto;
        padding: 22px 18px 210px;
        border-radius: 22px;
    }

    .about-huqooq-grid .about-pillars-card h3 {
        font-size: 28px;
    }
}

/* About video and FAQ sections: backend media and CMS-managed cards. */
.about-sihrec-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 40px max(24px, calc((100vw - 1280px) / 2 + 24px));
    background: linear-gradient(135deg, #5229c8 0%, #613ccc 100%);
}

.about-sihrec-card {
    position: relative;
    width: 100%;
    padding: 48px 50px 44px;
    border-radius: 32px;
    background: transparent;
    color: #fff;
}

.about-sihrec-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 22px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .04em;
}

.about-sihrec-section .about-section-heading {
    max-width: none;
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(2rem, 3.2vw, 3.15rem);
    line-height: 1.08;
}

.about-sihrec-copy {
    max-width: none;
    margin: 0;
    color: rgba(255, 255, 255, .92);
    font-size: 17px;
    line-height: 1.7;
}

.about-sihrec-copy + .about-sihrec-copy { margin-top: 16px; }

.about-video-frame {
    position: relative;
    height: 420px;
    min-height: 420px;
    overflow: hidden;
    border: 1px solid rgba(66, 0, 190, .14);
    border-radius: 36px;
    background: #1d1b20;
    box-shadow: 0 24px 60px rgba(29, 27, 32, .18);
}

.about-video-player {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    background: #1d1b20;
    object-fit: cover;
}

.about-video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    border: 0;
    border-radius: 999px;
    background: rgba(90, 49, 214, .92);
    color: #fff;
    box-shadow: 0 18px 40px rgba(66, 0, 190, .28);
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease, opacity .25s ease;
}

.about-video-play-button:hover,
.about-video-play-button:focus-visible {
    background: #ff7a1a;
    box-shadow: 0 20px 44px rgba(255, 122, 26, .28);
    transform: translate(-50%, -50%) scale(1.06);
}

.about-video-play-icon {
    width: 38px;
    height: 38px;
    fill: currentColor;
    stroke: currentColor;
    stroke-linejoin: round;
}

.about-video-frame.is-playing .about-video-play-button {
    opacity: 0;
    pointer-events: none;
}

.about-faq-section {
    margin-top: 80px;
    margin-bottom: 88px;
}

.about-faq-header {
    margin-bottom: 28px;
    text-align: center;
}

.about-faq-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 16px;
    padding: 11px 18px;
    border-radius: 999px;
    background: #f3efe8;
    color: #5a31d6;
    font-size: 13px;
    line-height: 1;
    letter-spacing: .08em;
    font-weight: 700;
}

.about-faq-title {
    margin: 0 0 12px;
    color: #2b2744;
    font-size: 38px;
    line-height: 1.1;
    font-weight: 700;
}

.about-faq-copy {
    max-width: 720px;
    margin: 0 auto;
    color: #5b5766;
    font-size: 17px;
    line-height: 1.65;
}

.about-faq-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.about-faq-item {
    display: block;
    min-height: 244px;
    padding: 28px 24px 26px;
    border: 1px solid #e8e1ea;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(90, 49, 214, .05);
    text-decoration: none;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.about-faq-item:hover {
    border-color: rgba(90, 49, 214, .22);
    box-shadow: 0 18px 36px rgba(90, 49, 214, .09);
    transform: translateY(-4px);
}

.about-faq-item__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 0 0 22px;
    border-radius: 999px;
    background: #f3efe8;
}

.about-faq-item:nth-child(1) .about-faq-item__icon { color: #5a31d6; }
.about-faq-item:nth-child(2) .about-faq-item__icon { color: #ff7a1a; }
.about-faq-item:nth-child(3) .about-faq-item__icon { color: #168f86; }

.about-faq-item__icon .about-inline-icon {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.about-faq-question {
    margin: 0 0 10px;
    color: #2b2744;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 700;
}

.about-faq-answer {
    color: #6b6780;
    font-size: 16px;
    line-height: 1.7;
}

.about-faq-actions {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

@media (max-width: 1024px) {
    .about-sihrec-section { grid-template-columns: 1fr; }
    .about-faq-list { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .about-sihrec-section { padding: 32px 20px; }
    .about-sihrec-card { padding: 32px 24px 30px; border-radius: 28px; }
    .about-sihrec-section .about-section-heading { font-size: clamp(1.75rem, 8vw, 2.45rem); }
    .about-sihrec-copy { font-size: 16px; }
    .about-video-frame,
    .about-video-player { min-height: 260px; height: 260px; border-radius: 24px; }
    .about-faq-title { font-size: 30px; }
    .about-faq-copy { font-size: 16px; line-height: 1.7; }
    .about-faq-item { min-height: auto; padding: 24px 20px 22px; }
}

.inner-about-banner-page .search-library-shell {
    max-width: none !important;
    padding: 20px 0 0 !important;
}

.inner-about-banner-page .search-library-banner {
    min-height: 0 !important;
    border-radius: 0 !important;
    background: #302742 !important;
    box-shadow: none !important;
}

.inner-about-banner-page .search-library-banner::before {
    background: linear-gradient(90deg, rgba(42, 31, 66, 0.96) 0%, rgba(49, 39, 75, 0.92) 36%, rgba(49, 39, 75, 0.66) 58%, rgba(49, 39, 75, 0.22) 100%) !important;
}

.inner-about-banner-page .search-library-banner::after {
    display: none;
}

.inner-about-banner-page .search-library-banner-media {
    background-size: cover !important;
    background-position: center center !important;
    transform: scale(1.02) !important;
}

.inner-about-banner-page .search-library-banner-content {
    align-items: flex-start !important;
    justify-content: center !important;
    min-height: 0 !important;
    max-width: 1280px !important;
    padding: 44px 24px !important;
    margin: 0 auto !important;
}

.inner-about-banner-page .search-library-title {
    max-width: 680px !important;
    margin: 0 0 20px !important;
    font-size: clamp(3.25rem, 5vw, 5rem) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.05em !important;
    text-align: left !important;
}

.inner-about-banner-page .search-library-breadcrumb {
    margin-bottom: 24px !important;
    gap: 8px !important;
    font-size: 15px !important;
    letter-spacing: 0 !important;
    font-weight: 500 !important;

}

.inner-about-banner-page .search-library-breadcrumb a,
.inner-about-banner-page .search-library-breadcrumb span {
    color: rgba(255, 255, 255, 0.9) !important;
}

.inner-about-banner-page .search-library-hero-copy {
    max-width: 32rem !important;
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: clamp(1.05rem, 1.6vw, 1.15rem) !important;
    line-height: 1.58 !important;
    font-weight: 400 !important;
    text-align: left !important;
}

@media (max-width: 767px) {
    .inner-about-banner-page .search-library-shell {
        padding: 20px 0 0 !important;
    }

    .inner-about-banner-page .search-library-banner {
        min-height: 0 !important;
        border-radius: 0 !important;
    }

    .inner-about-banner-page .search-library-banner-content {
        min-height: 0 !important;
        padding: 28px 20px !important;
    }

    .inner-about-banner-page .search-library-title {
        margin-bottom: 16px !important;
        font-size: clamp(2.5rem, 11vw, 3.5rem) !important;
        line-height: 0.98 !important;
    }

    .inner-about-banner-page .search-library-breadcrumb {
        margin-bottom: 18px !important;
        font-size: 13px !important;
    }

    .inner-about-banner-page .search-library-hero-copy {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }
}

.inner-about-detail-page .blog-detail-shell {
    max-width: none !important;
    padding: 20px 0 0 !important;
}

.inner-about-detail-page .blog-detail-banner {
    min-height: 0 !important;
    border-radius: 0 !important;
    background: #302742 !important;
    box-shadow: none !important;
}

.inner-about-detail-page .blog-detail-banner::before {
    background: linear-gradient(90deg, rgba(42, 31, 66, 0.96) 0%, rgba(49, 39, 75, 0.92) 36%, rgba(49, 39, 75, 0.66) 58%, rgba(49, 39, 75, 0.22) 100%) !important;
}

.inner-about-detail-page .blog-detail-banner-media {
    background-size: cover !important;
    background-position: center center !important;
    transform: scale(1.02) !important;
}

.inner-about-detail-page .blog-detail-banner-content {
    min-height: 0 !important;
    max-width: 1280px !important;
    padding: 44px 24px !important;
    margin: 0 auto !important;
    align-items: flex-start !important;
}

.inner-about-detail-page .blog-detail-breadcrumb {
    margin-bottom: 24px !important;
    gap: 8px !important;
    font-size: 15px !important;
    letter-spacing: 0 !important;
    font-weight: 500 !important;
}

.inner-about-detail-page .blog-detail-title {
    max-width: 680px !important;
    font-size: clamp(3.25rem, 5vw, 5rem) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.05em !important;
}

.inner-about-detail-page .learning-detail-hero,
.inner-about-detail-page .story-detail-hero {
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    border-radius: 0 !important;
    min-height: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
}

.inner-about-detail-page .learning-detail-hero {
    background: linear-gradient(90deg, rgba(42, 31, 66, 0.96) 0%, rgba(49, 39, 75, 0.92) 36%, rgba(49, 39, 75, 0.66) 58%, rgba(49, 39, 75, 0.22) 100%), url("assets/images/resource-paper.png") center center / cover no-repeat !important;
}

.inner-about-detail-page .story-detail-hero {
    background: linear-gradient(90deg, rgba(42, 31, 66, 0.96) 0%, rgba(49, 39, 75, 0.92) 36%, rgba(49, 39, 75, 0.66) 58%, rgba(49, 39, 75, 0.22) 100%), var(--story-hero-image, linear-gradient(135deg, #5229c8 0%, #2f166f 100%)) center center / cover no-repeat !important;
}

.inner-about-detail-page .learning-detail-hero__inner,
.inner-about-detail-page .story-detail-hero__inner {
    min-height: 0 !important;
    max-width: 1280px !important;
    padding: 44px 24px !important;
    margin: 0 auto !important;
}

.inner-about-detail-page .learning-detail-hero__title,
.inner-about-detail-page .story-detail-hero__title {
    max-width: 680px !important;
    font-size: clamp(3.25rem, 5vw, 5rem) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.05em !important;
}

.inner-about-detail-page .resource-hero {
    position: relative !important;
    overflow: hidden !important;
    width: 100vw !important;
    min-height: 0 !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    margin-bottom: 40px !important;
    padding: 44px max(24px, calc((100vw - 1280px) / 2 + 24px)) !important;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 360px) !important;
    gap: 40px !important;
    align-items: end !important;
    background: url("assets/images/remote-image-16.jpg") center center / cover no-repeat !important;
    box-shadow: none !important;
}

.inner-about-detail-page .resource-hero::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(90deg, rgba(42, 31, 66, 0.96) 0%, rgba(49, 39, 75, 0.92) 36%, rgba(49, 39, 75, 0.66) 58%, rgba(49, 39, 75, 0.22) 100%) !important;
    z-index: 0 !important;
}

.inner-about-detail-page .resource-hero > * {
    position: relative !important;
    z-index: 1 !important;
}

.inner-about-detail-page .resource-badge {
    background: rgba(255, 255, 255, 0.14) !important;
    color: #f7f2ff !important;
    backdrop-filter: blur(12px);
}

.inner-about-detail-page .resource-meta,
.inner-about-detail-page .resource-description,
.inner-about-detail-page .resource-title {
    color: #ffffff !important;
}

.inner-about-detail-page .resource-meta {
    color: rgba(255, 255, 255, 0.88) !important;
}

.inner-about-detail-page .resource-title {
    max-width: 680px !important;
    font-size: clamp(3.25rem, 5vw, 5rem) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.05em !important;
}

.inner-about-detail-page .resource-description {
    max-width: 32rem !important;
    font-size: clamp(1.05rem, 1.6vw, 1.15rem) !important;
    line-height: 1.58 !important;
}

@media (max-width: 767px) {
    .inner-about-detail-page .blog-detail-shell {
        padding: 20px 0 0 !important;
    }

    .inner-about-detail-page .blog-detail-banner {
        min-height: 0 !important;
        border-radius: 0 !important;
    }

    .inner-about-detail-page .blog-detail-banner-content {
        min-height: 0 !important;
        padding: 28px 20px !important;
    }

    .inner-about-detail-page .blog-detail-breadcrumb {
        margin-bottom: 18px !important;
        font-size: 13px !important;
    }

    .inner-about-detail-page .blog-detail-title,
    .inner-about-detail-page .learning-detail-hero__title,
    .inner-about-detail-page .story-detail-hero__title,
    .inner-about-detail-page .resource-title {
        font-size: clamp(2.5rem, 11vw, 3.5rem) !important;
        line-height: 0.98 !important;
    }

    .inner-about-detail-page .learning-detail-hero,
    .inner-about-detail-page .story-detail-hero,
    .inner-about-detail-page .resource-hero {
        min-height: 0 !important;
    }

    .inner-about-detail-page .learning-detail-hero__inner,
    .inner-about-detail-page .story-detail-hero__inner {
        min-height: 0 !important;
        padding: 28px 20px !important;
    }

    .inner-about-detail-page .resource-hero {
        padding: 28px 20px !important;
        grid-template-columns: minmax(0, 1fr) !important;
    }
}
.contribute-journey-title {
    text-align: center !important;
}

.contribute-journey-section p {
    text-align: center !important;
}

.contribute-cta-title {
    text-align: center !important;
}

.blogs-newsletter-section,
.blogs-newsletter-section .blogs-newsletter-title,
.blogs-newsletter-section .blogs-newsletter-copy,
.blogs-newsletter-section .blogs-newsletter-disclaimer {
    text-align: center !important;
}

.news-newsletter-section,
.news-newsletter-section .news-newsletter-title,
.news-newsletter-section .news-newsletter-copy,
.news-newsletter-section .news-newsletter-disclaimer {
    text-align: center !important;
}

@media (max-width: 767px) {
    /* Center section headings only; card and detail headings keep their layout. */
    .section-title,
    .section-heading,
    .about-section-heading,
    .about-faq-title,
    .learning-section-title,
    .search-library-results-title,
    .resource-section-title,
    .homepage-news-title,
    .contribute-journey-title,
    .blog-header .text-headline-lg,
    .news-page-listing .blog-header .text-headline-lg {
        text-align: center !important;
    }

    .blogs-listing-header,
    .blogs-listing-header > div,
    .blogs-listing-header .text-primary {
        align-items: center;
        text-align: center !important;
        width: 100%;
    }
}
