/* Extracted from style.css. Keep this file ordered after its declared dependencies. */
/* Shared Content Pages */
.content-hero {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    min-height: 500px;
    height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
    z-index: 20;
}

.content-hero-media,
.content-hero-overlay {
    position: absolute;
    inset: 0;
}

.content-hero-media {
    z-index: 0;
    overflow: hidden;
}

.content-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.content-hero-overlay {
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.6), rgba(26, 32, 109, 0.4));
}

.content-hero-inner {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.content-hero-copy {
    max-width: 42rem;
    text-align: left;
}

.content-hero-title {
    margin: 0 0 1rem;
    color: #fff;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: 0;
    text-shadow: 0 8px 22px rgba(15, 23, 42, 0.3);
}

.content-hero-title span {
    color: var(--mauritius-yellow);
}

.content-hero-subtitle {
    max-width: 42rem;
    margin: 0 0 2rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    line-height: 1.55;
    font-weight: 500;
    text-shadow: 0 6px 18px rgba(15, 23, 42, 0.24);
}

.content-hero-share {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.share-icon-row,
.contact-social-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.share-icon-btn,
.contact-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.share-icon-btn {
    width: 2.5rem;
    height: 2.5rem;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}

.share-icon-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

.share-icon-btn:hover {
    transform: scale(1.1);
}

.share-icon-facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.share-icon-twitter:hover {
    background: #1da1f2;
    border-color: #1da1f2;
}

.share-icon-whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
}

.share-icon-copy:hover {
    color: #0f172a;
    background: #fff;
}

.content-page-shell {
    width: min(100% - 2rem, 80rem);
    margin: 0 auto;
    padding-bottom: 3rem;
}

.section-heading-stack {
    display: flex;
    flex-direction: column;
    margin-bottom: 2.5rem;
}

.section-eyebrow-wrap {
    margin-bottom: 1rem;
}

.section-eyebrow {
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.section-display-title {
    margin: 0;
    color: #0f172a;
    font-size: clamp(2.35rem, 4.6vw, 4rem);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: 0;
}

.about-explore-section {
    margin-bottom: clamp(4rem, 8vw, 6rem);
}

.about-category-grid,
.contact-card-grid,
.search-card-grid {
    display: grid;
    gap: 1.5rem;
}

.about-category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-category-card {
    position: relative;
    display: block;
    height: 24rem;
    overflow: hidden;
    border-radius: 2rem;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.16);
    transition: transform 0.25s ease;
}

.about-category-card:hover {
    transform: scale(1.02);
}

.about-category-img,
.about-category-overlay {
    position: absolute;
    inset: 0;
}

.about-category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.about-category-card:hover .about-category-img {
    transform: scale(1.1);
}

.about-category-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.4), transparent);
}

.about-category-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
}

.category-accent {
    width: 2rem;
    height: 0.375rem;
    margin-bottom: 0.75rem;
    border-radius: 999px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.category-accent-red { background: var(--mauritius-red); }
.category-accent-blue { background: var(--mauritius-blue); }
.category-accent-yellow { background: var(--mauritius-yellow); }
.category-accent-green { background: var(--mauritius-green); }

.about-category-content h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 0.5rem;
    color: #fff;
    font-size: clamp(1.35rem, 2vw, 1.875rem);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: 0;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.about-category-content h3 svg {
    display: none;
    width: 1.25rem;
    height: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
}

.about-category-content p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #e2e8f0;
    font-size: 0.875rem;
    line-height: 1.55;
    font-weight: 500;
    opacity: 0.9;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.about-category-card:hover .about-category-content p {
    opacity: 1;
}

.newsletter-panel {
    position: relative;
    overflow: hidden;
    margin-bottom: 3rem;
    border: 1px solid #e2e8f0;
    border-radius: 2.5rem;
    background: #f8fafc;
    box-shadow: 0 24px 65px rgba(15, 23, 42, 0.15);
}

.newsletter-glow {
    position: absolute;
    width: 22rem;
    height: 22rem;
    border-radius: 999px;
    filter: blur(48px);
}

.newsletter-glow-red {
    top: 0;
    right: 0;
    transform: translate(33%, -33%);
    background: rgba(234, 40, 57, 0.05);
}

.newsletter-glow-yellow {
    bottom: 0;
    left: 0;
    transform: translate(-33%, 33%);
    background: rgba(255, 205, 0, 0.1);
}

.newsletter-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 3rem;
    padding: clamp(2rem, 4vw, 3rem);
}

.newsletter-copy {
    text-align: left;
}

.newsletter-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 0.25rem 0.75rem;
    border: 1px solid rgba(234, 40, 57, 0.2);
    border-radius: 999px;
    background: #fff;
    color: var(--mauritius-red);
    font-size: 0.75rem;
    font-weight: 800;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.newsletter-badge svg {
    width: 0.75rem;
    height: 0.75rem;
}

.newsletter-copy h2 {
    margin: 0 0 1rem;
    color: var(--mauritius-blue);
    font-size: clamp(1.875rem, 3vw, 2.25rem);
    line-height: 1.15;
    font-weight: 800;
}

.newsletter-copy h2 span {
    background: linear-gradient(90deg, var(--mauritius-red), var(--mauritius-yellow), var(--mauritius-green));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.newsletter-copy p {
    max-width: 28rem;
    margin: 0;
    color: #475569;
    font-size: 1.125rem;
    line-height: 1.6;
    font-weight: 500;
}

.newsletter-form-side {
    width: 100%;
}

.newsletter-form-frame {
    padding: 3px;
    border-radius: 20px;
    background: linear-gradient(90deg, var(--mauritius-red), var(--mauritius-blue), var(--mauritius-yellow), var(--mauritius-green));
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
}

.newsletter-form-container {
    width: 100%;
    height: 100%;
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: 17px;
    background: #fff;
}

.contact-page-inner {
    width: 100%;
}

.contact-form-section,
.contact-connect-section {
    margin-bottom: 6rem;
}

.contact-form-card {
    position: relative;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border-radius: 2.5rem;
}

.contact-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.contact-info-card {
    padding: 2rem;
    border: 1px solid #f1f5f9;
    border-radius: 2rem;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-info-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.contact-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1.5rem;
    border-radius: 1rem;
    transition: transform 0.25s ease;
}

.contact-info-card:hover .contact-info-icon {
    transform: scale(1.1);
}

.contact-info-icon svg {
    width: 1.75rem;
    height: 1.75rem;
}

.contact-info-icon-red {
    color: var(--mauritius-red);
    background: rgba(234, 40, 57, 0.1);
}

.contact-info-icon-blue {
    color: var(--mauritius-blue);
    background: rgba(26, 32, 109, 0.1);
}

.contact-info-card h3 {
    margin: 0 0 0.5rem;
    color: #0f172a;
    font-size: 1.25rem;
    font-weight: 800;
}

.contact-info-card p {
    margin: 0 0 1.5rem;
    color: #64748b;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--mauritius-blue);
    font-size: 1.125rem;
    font-weight: 800;
}

.contact-link:hover {
    color: var(--mauritius-red);
}

.contact-link svg {
    width: 1rem;
    height: 1rem;
}

.contact-social-row {
    gap: 1rem;
}

.contact-social-btn {
    width: 3rem;
    height: 3rem;
    color: var(--mauritius-blue);
    border: 1px solid #f1f5f9;
    background: #f8fafc;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.06);
}

.contact-social-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}

.contact-social-btn:hover {
    color: #fff;
    transform: scale(1.1);
}

.contact-social-facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.contact-social-instagram:hover {
    background: #e1306c;
    border-color: #e1306c;
}

.contact-faq-section {
    margin-bottom: 3rem;
}

.contact-faq-list {
    display: grid;
    gap: 1rem;
}

.contact-faq-item {
    padding: clamp(1.25rem, 2vw, 1.5rem);
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.contact-faq-item summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    list-style: none;
    cursor: pointer;
}

.contact-faq-item summary::-webkit-details-marker {
    display: none;
}

.contact-faq-item h4 {
    margin: 0;
    color: var(--mauritius-blue);
    font-size: 1.125rem;
    line-height: 1.35;
    font-weight: 800;
    text-align: left;
}

.contact-faq-item h4 span {
    color: var(--mauritius-red);
}

.contact-faq-item .faq-arrow {
    width: 1.25rem;
    height: 1.25rem;
    flex: 0 0 auto;
    margin-top: 0.25rem;
    color: #64748b;
    transition: transform 0.2s ease;
}

.contact-faq-item p {
    margin: 1rem 0 0;
    padding-left: 1.5rem;
    border-left: 2px solid #e2e8f0;
    color: #475569;
    text-align: left;
}

.contact-faq-item p span {
    color: var(--mauritius-green);
    font-weight: 800;
}

.account-page {
    width: min(100% - 2rem, 28rem);
    margin: 0 auto;
    padding: 8rem 0 6rem;
}

.account-page h1 {
    margin: 0 0 0.25rem;
    color: #0f172a;
    font-size: 1.875rem;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 0;
}

.account-email {
    margin: 0 0 2.5rem;
    color: #64748b;
    font-size: 0.875rem;
}

.account-alert {
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
}

.account-alert-success {
    color: #166534;
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
}

.account-alert-error {
    color: #991b1b;
    border: 1px solid #fecaca;
    background: #fef2f2;
}

.account-alert p {
    margin: 0;
}

.account-alert p + p {
    margin-top: 0.4rem;
}

.account-form {
    display: grid;
    gap: 1.25rem;
}

.account-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.account-form label {
    display: block;
    margin-bottom: 0.375rem;
    color: #334155;
    font-size: 0.875rem;
    font-weight: 700;
}

.account-form input {
    width: 100%;
    padding: 0.75rem 1rem;
    color: #1e293b;
    font-size: 0.875rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    background: #fff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.account-form input::placeholder {
    color: #94a3b8;
}

.account-form input:focus {
    border-color: var(--mauritius-blue);
    box-shadow: 0 0 0 4px rgba(26, 32, 109, 0.08);
}

.account-submit {
    width: 100%;
    padding: 0.75rem 1.5rem;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 800;
    border: 0;
    border-radius: 0.75rem;
    background: var(--mauritius-blue);
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.account-submit:hover {
    opacity: 0.9;
}

.account-submit:active {
    transform: scale(0.98);
}

.account-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
    font-size: 0.875rem;
}

.account-actions a {
    color: #64748b;
    font-weight: 600;
}

.account-actions a:hover {
    color: var(--mauritius-blue);
}

.account-actions .account-logout:hover {
    color: var(--mauritius-red);
}

.search-page {
    width: min(100% - 2rem, 80rem);
    min-height: 60vh;
    margin: 0 auto;
    padding: 0.5rem 0 3rem;
}

.search-page-header {
    margin-bottom: 3rem;
    text-align: center;
}

.search-page-header h1 {
    margin: 0 0 1rem;
    color: var(--mauritius-blue);
    font-size: clamp(1.875rem, 4vw, 3rem);
    line-height: 1.15;
    font-weight: 800;
}

.search-page-header p {
    margin: 0;
    color: #4b5563;
    font-size: 1.25rem;
}

.search-page-header p span {
    color: var(--mauritius-red);
    font-weight: 800;
}

.search-results-container {
    display: grid;
    gap: 3rem;
}

.search-loading {
    display: flex;
    min-height: 14rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-weight: 600;
    opacity: 0.55;
}

.search-loading svg {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    color: var(--mauritius-blue);
    animation: spin 1s linear infinite;
}

.search-empty {
    padding: 5rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    text-align: center;
}

.search-empty-icon {
    display: flex;
    width: 5rem;
    height: 5rem;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border-radius: 999px;
    background: #f3f4f6;
    color: #9ca3af;
}

.search-empty-icon svg {
    width: 2.5rem;
    height: 2.5rem;
}

.search-empty h2 {
    margin: 0 0 0.5rem;
    color: #1f2937;
    font-size: 1.5rem;
    font-weight: 800;
}

.search-empty p {
    margin: 0 0 2rem;
    color: #6b7280;
}

.search-home-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    color: #fff;
    border-radius: 0.75rem;
    background: var(--mauritius-blue);
    font-weight: 800;
}

.search-home-link:hover {
    background: var(--mauritius-red);
}

.search-panel-empty {
    padding: 3rem 1rem;
    color: #64748b;
    text-align: center;
}

.search-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.search-result-card {
    display: flex;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border-radius: 1rem;
    transition: box-shadow 0.25s ease;
}

.search-result-card:hover {
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.search-result-media {
    position: relative;
    height: 11rem;
    overflow: hidden;
    background: #f1f5f9;
}

.search-result-media img,
.search-result-placeholder {
    width: 100%;
    height: 100%;
}

.search-result-media img {
    object-fit: cover;
    transition: transform 0.5s ease;
}

.search-result-card:hover .search-result-media img {
    transform: scale(1.1);
}

.search-result-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(26, 32, 109, 0.2);
    background: rgba(26, 32, 109, 0.05);
}

.search-result-placeholder svg {
    width: 2rem;
    height: 2rem;
}

.search-result-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 1.25rem;
}

.search-result-date {
    margin-bottom: 0.5rem;
    color: #6b7280;
    font-size: 0.75rem;
}

.search-result-body h3,
.search-vocab-card h3,
.search-lesson-card h3 {
    margin: 0;
    color: var(--mauritius-blue);
    font-weight: 800;
    transition: color 0.2s ease;
}

.search-result-body h3 {
    display: -webkit-box;
    margin-bottom: 0.75rem;
    overflow: hidden;
    font-size: 1.125rem;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.search-result-card:hover h3,
.search-vocab-card:hover h3,
.search-lesson-card:hover h3 {
    color: var(--mauritius-red);
}

.search-result-cta,
.search-lesson-cta {
    display: inline-flex;
    align-items: center;
    margin-top: auto;
    color: var(--mauritius-red);
    font-size: 0.875rem;
    font-weight: 800;
}

.search-result-cta svg,
.search-lesson-cta svg {
    width: 1rem;
    height: 1rem;
    margin-left: 0.25rem;
    transition: transform 0.2s ease;
}

.search-result-card:hover .search-result-cta svg,
.search-lesson-card:hover .search-lesson-cta svg {
    transform: translateX(0.25rem);
}

.search-vocab-card {
    display: block;
    padding: 1.25rem;
    border-radius: 1rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.search-vocab-card:hover {
    transform: translateY(-0.25rem);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

.search-vocab-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.search-vocab-card h3 {
    font-size: 1.25rem;
}

.search-vocab-head span {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    color: var(--mauritius-blue);
    border-radius: 999px;
    background: rgba(26, 32, 109, 0.05);
}

.search-vocab-head svg {
    width: 1rem;
    height: 1rem;
}

.search-vocab-card p,
.search-lesson-excerpt {
    display: -webkit-box;
    overflow: hidden;
    color: #4b5563;
    font-size: 0.875rem;
    line-height: 1.5;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.search-vocab-card p {
    margin: 0;
    font-style: italic;
}

.search-lesson-card {
    display: block;
    height: 100%;
}

.search-lesson-inner {
    display: flex;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(14px);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.search-lesson-card:hover .search-lesson-inner {
    transform: translateY(-0.25rem);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.search-lesson-card h3 {
    display: -webkit-box;
    margin-bottom: 0.5rem;
    overflow: hidden;
    font-size: 1.125rem;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.search-lesson-excerpt {
    margin-bottom: 1rem;
}

.search-lesson-cta {
    padding-top: 0.75rem;
    border-top: 1px solid #f3f4f6;
    color: var(--mauritius-blue);
}

.search-tabs-wrap {
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(14px);
}

.search-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.search-tab-btn {
    padding: 0.65rem 1.25rem;
    color: #475569;
    border: 0;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    font-weight: 800;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.search-tab-btn:hover {
    color: var(--mauritius-blue);
    background: #fff;
}

.search-tab-btn.is-active {
    color: #fff;
    background: var(--mauritius-blue);
    box-shadow: 0 8px 20px rgba(26, 32, 109, 0.18);
}

.search-tab-btn span {
    margin-left: 0.25rem;
    opacity: 0.8;
}

.search-tab-panels {
    margin-top: 2rem;
}

.is-hidden {
    display: none !important;
}

