:root { --teal: #00d1b2; --teal-dark: #115e59; --navy: #0a0f26; --soft: #f5f7fa; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: #2d3436; background: #fff; }
.blog-nav { background: #fff; border-bottom: 1px solid #eee; padding: 0.75rem 1.5rem; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 100; }
.blog-nav a { color: var(--teal-dark); text-decoration: none; font-weight: 700; }
.blog-nav .logo img { height: 2.5rem; width: auto; }
.blog-nav .back { font-size: 0.9rem; }
.blog-hero { background: #fff; padding: 3rem 1.5rem 2rem; position: relative; }
.blog-hero::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 5px; background: var(--teal); border-radius: 0 0 10px 10px; }
.blog-hero-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.blog-category { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.75rem; }
.blog-hero h1 { font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1.25; margin-bottom: 0.75rem; }
@media(min-width:768px){ .blog-hero h1{font-size:2.5rem} }
.blog-hero .subtitle { font-size: 1.05rem; color: #666; line-height: 1.6; }
.blog-meta { font-size: 0.85rem; color: #999; margin-top: 1rem; }
.blog-body { max-width: 720px; margin: 0 auto; padding: 2rem 1.5rem 4rem; }
.blog-body h2 { font-size: 1.5rem; font-weight: 800; color: var(--navy); margin: 2.5rem 0 0.75rem; }
.blog-body h3 { font-size: 1.2rem; font-weight: 700; color: var(--teal-dark); margin: 1.75rem 0 0.5rem; }
.blog-body p { font-family: 'Lora', serif; font-size: 1.1rem; line-height: 1.8; color: #444; margin-bottom: 1.25rem; }
.blog-body ul { margin: 1rem 0 1.5rem 1.5rem; }
.blog-body li { font-family: 'Lora', serif; font-size: 1.05rem; line-height: 1.8; color: #444; margin-bottom: 0.4rem; }
.blog-body strong { color: var(--navy); }
.blog-cta { max-width: 600px; margin: 2.5rem auto; background: #f0fdfa; border: 1px solid #99f6e4; border-radius: 16px; padding: 2rem; text-align: center; }
.blog-cta h3 { font-size: 1.25rem; font-weight: 800; color: var(--teal-dark); margin-bottom: 0.5rem; }
.blog-cta p { font-family: 'Inter', sans-serif; font-size: 0.95rem; color: #666; margin-bottom: 1.25rem; }
.blog-cta .btn { display: inline-block; background: var(--teal); color: #fff; text-decoration: none; font-weight: 700; padding: 0.75rem 2rem; border-radius: 9999px; font-size: 1rem; transition: background 0.2s; }
.blog-cta .btn:hover { background: var(--teal-dark); }
.blog-cta .btn-outline { background: transparent; color: var(--teal-dark); border: 1.5px solid var(--teal); margin-left: 0.5rem; }
.blog-cta .btn-outline:hover { background: var(--teal); color: #fff; }
.blog-esim-strip { max-width: 600px; margin: 2.5rem auto; background: linear-gradient(135deg, var(--teal-dark), var(--navy)); border-radius: 16px; padding: 2rem; text-align: center; }
.blog-esim-strip h3 { color: #fff; font-size: 1.1rem; font-weight: 700; margin-bottom: 0.35rem; }
.blog-esim-strip p { font-family: 'Inter', sans-serif; color: rgba(255,255,255,0.75); font-size: 0.9rem; margin-bottom: 1rem; }
.blog-esim-strip a { display: inline-block; background: var(--teal); color: #fff; text-decoration: none; font-weight: 700; padding: 0.5rem 1.5rem; border-radius: 9999px; font-size: 0.9rem; }
.blog-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.95rem; }
.blog-table th { background: var(--teal-dark); color: #fff; padding: 0.75rem; text-align: left; font-weight: 700; }
.blog-table td { padding: 0.65rem 0.75rem; border-bottom: 1px solid #eee; }
.blog-table tr:nth-child(even) td { background: #f9fafb; }
.blog-related { max-width: 720px; margin: 0 auto; padding: 2rem 1.5rem 3rem; }
.blog-related h2 { font-size: 1.25rem; font-weight: 800; color: var(--navy); margin-bottom: 1rem; }
.blog-related-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media(min-width:768px){ .blog-related-grid{grid-template-columns:repeat(3,1fr)} }
.blog-related-card { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 1.25rem; text-decoration: none; transition: border-color 0.2s, box-shadow 0.2s; }
.blog-related-card:hover { border-color: var(--teal); box-shadow: 0 8px 16px -6px rgba(0,209,178,0.15); }
.blog-related-card .cat { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--teal); margin-bottom: 0.35rem; }
.blog-related-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--navy); line-height: 1.35; }
.blog-footer { background: var(--navy); color: rgba(255,255,255,0.5); padding: 1.5rem; text-align: center; font-size: 0.85rem; }
.blog-footer a { color: rgba(255,255,255,0.7); text-decoration: none; }

/* Egypt Guide lead-magnet landing page */
.guide-hero { background: linear-gradient(135deg, var(--teal-dark) 0%, var(--navy) 100%); padding: 4rem 1.5rem 3rem; text-align: center; color: #fff; }
.guide-hero-eyebrow { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); background: rgba(0,209,178,0.12); border: 1px solid rgba(0,209,178,0.4); border-radius: 9999px; padding: 0.35rem 1rem; margin-bottom: 1.25rem; }
.guide-hero h1 { font-size: 2.1rem; font-weight: 800; line-height: 1.25; max-width: 760px; margin: 0 auto 1rem; }
@media(min-width:768px){ .guide-hero h1{font-size:2.75rem} }
.guide-hero .subtitle { font-size: 1.1rem; color: rgba(255,255,255,0.85); max-width: 620px; margin: 0 auto 2rem; line-height: 1.6; }
.guide-cover { width: 220px; max-width: 60vw; margin: 0 auto 2rem; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.35)); border-radius: 10px; }
.guide-form-card { background: #fff; border-radius: 20px; padding: 2rem; max-width: 440px; margin: 0 auto; box-shadow: 0 24px 48px -12px rgba(0,0,0,0.35); text-align: left; }
.guide-form-card label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--navy); margin: 0.9rem 0 0.35rem; }
.guide-form-card input[type="text"], .guide-form-card input[type="email"] { width: 100%; padding: 0.75rem 1rem; border: 1.5px solid #e2e8f0; border-radius: 10px; font-size: 1rem; font-family: 'Inter', sans-serif; }
.guide-form-card input[type="text"]:focus, .guide-form-card input[type="email"]:focus { outline: none; border-color: var(--teal); }
.guide-form-card .guide-hp { position: absolute; left: -9999px; }
.guide-form-card button { width: 100%; margin-top: 1.25rem; background: var(--teal); color: #fff; border: none; font-weight: 700; font-size: 1rem; padding: 0.9rem; border-radius: 9999px; cursor: pointer; transition: background 0.2s; }
.guide-form-card button:hover { background: var(--teal-dark); }
.guide-form-card .fineprint { font-size: 0.75rem; color: #94a3b8; text-align: center; margin-top: 0.75rem; }
.guide-form-msg { padding: 0.5rem; }
.guide-form-success { text-align: center; }
.guide-form-success i { color: var(--teal); font-size: 2.5rem; margin-bottom: 0.5rem; }
.guide-form-success strong { display: block; font-size: 1.15rem; color: var(--navy); margin-bottom: 0.4rem; }
.guide-form-success p { font-family: 'Inter', sans-serif; color: #666; font-size: 0.95rem; margin-bottom: 1.25rem; }
.guide-form-success .btn { display: inline-block; background: var(--navy); color: #fff; text-decoration: none; font-weight: 700; padding: 0.7rem 1.5rem; border-radius: 9999px; font-size: 0.9rem; }
.guide-form-error { color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca; border-radius: 10px; padding: 0.75rem 1rem; font-size: 0.9rem; }
.guide-form-error i { margin-right: 0.4rem; }
.htmx-indicator { display: none; }
.htmx-request .htmx-indicator { display: inline-block; }
.htmx-request.guide-form-card button { opacity: 0.7; }
.guide-section { max-width: 960px; margin: 0 auto; padding: 3.5rem 1.5rem; }
.guide-section h2 { font-size: 1.75rem; font-weight: 800; color: var(--navy); text-align: center; margin-bottom: 2rem; }
.guide-chapter-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media(min-width:640px){ .guide-chapter-grid{grid-template-columns:repeat(2,1fr)} }
@media(min-width:1024px){ .guide-chapter-grid{grid-template-columns:repeat(3,1fr)} }
.guide-chapter-card { background: #fff; border: 1px solid #eee; border-radius: 14px; padding: 1.25rem 1.4rem; text-decoration: none; display: flex; gap: 0.9rem; align-items: flex-start; transition: border-color 0.2s, box-shadow 0.2s; }
.guide-chapter-card:hover { border-color: var(--teal); box-shadow: 0 8px 20px -8px rgba(0,209,178,0.25); }
.guide-chapter-card .num { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 800; font-size: 0.9rem; display: flex; align-items: center; justify-content: center; }
.guide-chapter-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--navy); line-height: 1.35; }
.guide-faq { max-width: 760px; margin: 0 auto; }
.guide-faq details { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: 0.75rem; }
.guide-faq summary { font-weight: 700; color: var(--navy); cursor: pointer; font-size: 1rem; }
.guide-faq p { font-family: 'Inter', sans-serif; color: #555; margin-top: 0.6rem; font-size: 0.95rem; line-height: 1.6; }
.guide-strip { background: var(--soft); text-align: center; padding: 3rem 1.5rem; }
.guide-strip h2 { font-size: 1.6rem; font-weight: 800; color: var(--navy); margin-bottom: 0.75rem; }
.guide-strip p { color: #555; max-width: 560px; margin: 0 auto 1.5rem; font-family: 'Inter', sans-serif; }
.guide-strip .btn { display: inline-block; background: var(--teal); color: #fff; text-decoration: none; font-weight: 700; padding: 0.9rem 2.2rem; border-radius: 9999px; }
