@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
--orange: #f97316;
--orange-hover: #ea580c;
--green: #15803d;
--green-light: #dcfce7;
--blue-dark: #1e3a8a;
--gray-50: #F9FAFB;
--gray-100: #F3F4F6;
--gray-200: #E5E7EB;
--gray-500: #6B7280;
--gray-700: #374151;
--gray-800: #1F2937;
--gray-900: #111827;
--white: #FFFFFF;
--red: #DC2626;
--yellow-50: #FEFCE8;
--yellow-200: #FEF08A;
--yellow-600: #CA8A04;
}
body {
    font-family: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--white);
    color: var(--gray-900);
    line-height: 1.6;
}
h1, h2, h3, h4 {
    font-family: 'Playfair Display', 'Playfair Fallback', serif;
    font-weight: 700;
    line-height: 1.2;
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
/* Prevent CLS: reserve image space */
.mobile-hero-image img {
    aspect-ratio: 1024/544;
}
.content-image img {
    aspect-ratio: auto;
}
.content-image.show-all-devices img {
    aspect-ratio: auto;
}
/* Container */
.container {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 16px;
}
/* Header */
.header {
    background: #f0f7ff;
    padding: 16px 0;
}
.header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

@media (min-width: 768px) {
.header-inner {
    flex-direction: row;
    justify-content: space-between;
}
}
.logo img {
    height: 40px;
    width: auto;
}

@media (min-width: 640px) {
.logo img {
    height: 50px;
}
}
.logo {
    display: flex;
    flex-direction: column;
}
.header-author {
    display: none;
    align-items: center;
    gap: 8px;
}

@media (min-width: 768px) {
.header-author {
    display: flex;
}
}
.header-author-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

@media (min-width: 640px) {
.header-author-img {
    width: 40px;
    height: 40px;
}
}
.header-author-name {
    font-weight: 600;
    font-size: 12px;
    color: var(--gray-900);
}

@media (min-width: 640px) {
.header-author-name {
    font-size: 14px;
}
}
.header-author-info {
    font-size: 10px;
    color: var(--gray-500);
}

@media (min-width: 640px) {
.header-author-info {
    font-size: 12px;
}
}
.tag-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.mobile-hero-image {
    display: block;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}
.mobile-hero-image img {
    width: 100%;
    height: auto;
}

@media (min-width: 1024px) {
.mobile-hero-image {
    display: none;
}
}
.tag-author {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: var(--gray-600);
}

@media (min-width: 768px) {
.tag-author {
    display: none;
}
}
/* Main Layout */
.main {
    padding: 32px 0;
}
.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 1024px) {
.grid {
    grid-template-columns: 2fr 1fr;
}
}
/* Article */
.tag {
    display: inline-block;
    padding: 4px 12px;
    background: #1e3a8a;
    color: var(--white);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    margin-bottom: 16px;
}
.article h1 {
    font-size: 32px;
    color: var(--gray-900);
    margin-bottom: 12px;
}
.title-mobile {
    display: block;
}
.title-desktop {
    display: none;
}

@media (min-width: 768px) {
.title-mobile {
    display: none;
}
.title-desktop {
    display: block;
}
}

@media (min-width: 640px) {
.article h1 {
    font-size: 42px;
}
}
/* Content */
.content p {
    font-size: 18px;
    color: var(--gray-800);
    margin-bottom: 16px;
}
.content strong {
    font-weight: 600;
}
.content-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 24px;
    display: none;
}
.content-image.show-all-devices {
    display: block;
}
.content-image.show-all-devices img {
    height: auto;
    object-fit: contain;
}

@media (min-width: 768px) {
.content-image {
    display: block;
}
}
.content-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}
.content-image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 32px 16px 12px;
    color: var(--white);
    font-size: 14px;
}
/* Eligibility Box */
.eligibility-box {
    background: #e8f4fc;
    border: none;
    border-left: 4px solid #1e3a8a;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.eligibility-box p {
    font-size: 18px;
    line-height: 1.7;
}

@media (max-width: 640px) {
.eligibility-box p {
    font-size: 16px;
}
}
.eligibility-box h3 {
    font-size: 22px;
    margin-bottom: 16px;
}
/* CTA Button */
.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px 36px;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: none;
}
.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(30, 58, 138, 0.5);
}
.cta-btn svg {
    width: 20px;
    height: 20px;
}
.cta-center {
    text-align: center;
    margin: 24px 0;
}
/* Section */
.section {
    margin-bottom: 32px;
}
.section h2 {
    font-size: 26px;
    margin-bottom: 16px;
}
/* Warning Box */
.warning-box {
    background: #FFF7ED;
    border-left: 4px solid #f97316;
    border-radius: 8px;
    padding: 20px 24px;
    margin: 24px 0;
}
.warning-box p {
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    color: var(--gray-800);
}
/* Age Section */
.age-box {
    background: transparent;
    border: none;
    padding: 0;
    margin-bottom: 32px;
    text-align: center;
}
.age-box h2 {
    margin-bottom: 8px;
}
.age-box > p {
    color: var(--gray-700);
    margin-bottom: 24px;
}
.age-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

@media (min-width: 640px) {
.age-grid {
    grid-template-columns: repeat(4, 1fr);
}
}
.age-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-weight: 600;
    color: var(--gray-800);
    transition: border-color 0.2s ease, color 0.2s ease;
}
.age-btn:hover {
    border-color: var(--blue-dark);
    color: var(--blue-dark);
}
/* Region Box */
.region-box {
    background: transparent;
    border: none;
    padding: 0;
    margin-bottom: 32px;
    text-align: center;
}
.region-box h2 {
    margin-bottom: 8px;
}
.region-box p {
    color: var(--gray-600);
    margin-bottom: 24px;
}
.region-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

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

@media (min-width: 768px) {
.region-grid {
    grid-template-columns: repeat(4, 1fr);
}
}
.region-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}
.region-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.5);
}
.region-btn svg {
    width: 16px;
    height: 16px;
    color: var(--white);
    flex-shrink: 0;
}
/* Advantages List */
.advantages-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.advantages-list li {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 12px 0;
    background: transparent;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 0;
    font-size: 16px;
    line-height: 1.6;
}
.advantages-list li:last-child {
    border-bottom: none;
}
.advantages-list .check-icon {
    color: var(--green);
    font-size: 18px;
    font-weight: bold;
    flex-shrink: 0;
}
/* Steps List */
.steps-list {
    margin-top: 24px;
}
.step-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    background: transparent;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 0;
}
.step-item:last-child {
    border-bottom: none;
}
.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #1e3a8a;
    color: var(--white);
    border-radius: 50%;
    font-weight: bold;
    font-size: 16px;
    flex-shrink: 0;
}
.step-item p {
    margin: 0;
    padding-top: 6px;
}
/* Sidebar */
.sidebar {
    display: none;
}

@media (min-width: 1024px) {
.sidebar {
    display: block;
}
}
.sidebar-widget {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
}
.sidebar-widget h4 {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar-widget h4 svg {
    width: 20px;
    height: 20px;
    color: var(--green);
}
.sidebar-stat {
    font-size: 36px;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 4px;
}
.sidebar-stat-label {
    font-size: 14px;
    color: var(--gray-600);
}
.sidebar-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px solid var(--gray-200);
    font-size: 14px;
}
.sidebar-stat-row span:last-child {
    font-weight: 700;
    color: var(--green);
}
/* Articles List */
.articles-list {
    list-style: none;
}
.articles-list li {
    margin-bottom: 12px;
}
.articles-list a {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: #2563EB;
}
.articles-list a:hover {
    text-decoration: underline;
}
.articles-list .num {
    color: var(--orange);
    font-weight: 700;
}
/* Sidebar CTA */
.sidebar-cta {
    background: var(--orange);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    color: var(--white);
    position: sticky;
    top: 24px;
}
.sidebar-cta svg {
    width: 40px;
    height: 40px;
    margin: 0 auto 8px;
}
.sidebar-cta p {
    font-weight: 600;
    margin-bottom: 4px;
}
.sidebar-cta span {
    font-size: 14px;
    opacity: 0.9;
}
.sidebar-cta a {
    display: block;
    margin-top: 16px;
    padding: 12px;
    background: var(--white);
    color: var(--orange);
    font-weight: 700;
    border-radius: 6px;
    transition: background 0.2s ease;
}
.sidebar-cta a:hover {
    background: #FFF7ED;
}
/* Footer */
.footer {
    background: var(--gray-100);
    border-top: 1px solid var(--gray-200);
    padding: 32px 0;
    margin-top: 48px;
}
.footer-desktop {
    display: none;
}
.footer-mobile {
    display: block;
}

@media (min-width: 1024px) {
.footer-desktop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.footer-mobile {
    display: none;
}
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}
.footer-links a {
    font-size: 14px;
    color: var(--gray-600);
}
.footer-links a:hover {
    color: var(--orange);
}
/* Legal Modals */
.legal-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.legal-modal-overlay.active {
    display: flex;
}
.legal-modal {
    background: var(--white);
    border-radius: 12px;
    max-width: 700px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.legal-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--gray-200);
    background: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--gray-600);
    transition: background-color 0.2s ease, color 0.2s ease;
}
.legal-modal-close:hover {
    background: var(--gray-100);
    color: var(--gray-900);
}
.legal-modal h2 {
    font-size: 22px;
    color: var(--blue-dark);
    margin-bottom: 8px;
    padding-right: 40px;
}
.legal-modal .legal-subtitle {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-200);
}
.legal-modal h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    margin: 24px 0 8px;
}
.legal-modal p, .legal-modal li {
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 10px;
}
.legal-modal ul {
    padding-left: 20px;
    margin-bottom: 12px;
}
.legal-modal li {
    margin-bottom: 6px;
}
.legal-modal a {
    color: var(--blue-dark);
    text-decoration: underline;
}

@media (max-width: 768px) {
.legal-modal {
    padding: 24px 20px;
    max-height: 85vh;
}
.legal-modal h2 {
    font-size: 18px;
}
}
.publi-inline {
    display: none;
    font-size: 10px;
    color: #111;
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

@media (min-width: 1024px) {
.publi-inline {
    display: inline;
}
}
/* Mobile/Desktop visibility */
.desktop-only {
    display: none;
}
.mobile-only {
    display: block;
}

@media (min-width: 1024px) {
.desktop-only {
    display: block;
}
.mobile-only {
    display: none;
}
}
.cta-desktop {
    display: none;
}

@media (min-width: 768px) {
.partners-mobile {
    display: none !important;
}
}

@media (min-width: 1024px) {
.cta-desktop {
    display: block;
    text-align: center;
    margin: 24px 0;
}
.partners {
    display: none;
}
.sidebar {
    display: none;
}
.grid {
    display: block;
    max-width: 800px;
    margin: 0 auto;
}
}
