/*
Theme Name: LYFGEM Journal — Lovable Edition
Theme URI: https://lyfgem.com/
Author: LYFGEM
Description: A simple, editorial WordPress theme for the LYFGEM Journal, based on the supplied Lovable prototype.
Version: 2.0.0
Requires at least: 6.2
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: lyfgem-journal
*/
:root{
 --blue:#0878c9;--blue-dark:#0566aa;--navy:#07142a;--ink:#1c2a3b;--muted:#657184;
 --mist:#f1f7fc;--mist-2:#eaf3fa;--white:#fff;--line:#d7e0e9;--radius:16px;
 --container:1180px;--shadow:0 10px 28px rgba(7,20,42,.06)
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:16px;line-height:1.65}
img{max-width:100%;height:auto;display:block}a{color:inherit}a:hover{color:var(--blue)}button,input{font:inherit}
.container{width:min(calc(100% - 48px),var(--container));margin-inline:auto}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link:focus{position:fixed;z-index:9999;top:10px;left:10px;width:auto;height:auto;padding:10px 14px;background:var(--navy);color:#fff;clip:auto}
.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.header-inner{min-height:88px;display:flex;align-items:center;gap:24px}
.brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;flex-shrink:0}
.brand-text{font:700 32px/1 Georgia,"Times New Roman",serif;letter-spacing:-1.2px;color:var(--navy)}
.brand-tag{display:inline-flex;align-items:center;height:27px;padding:0 12px;border-radius:999px;background:#e9f4fc;color:var(--blue);font-size:11px;font-weight:800;letter-spacing:.7px;text-transform:uppercase}
.custom-logo-link img{max-height:42px;width:auto}
.primary-nav{margin-left:auto}
.primary-nav ul{display:flex;align-items:center;gap:34px;list-style:none;margin:0;padding:0}
.primary-nav a{font-size:13px;text-decoration:none;color:#526071;white-space:nowrap}
.primary-nav a:hover{color:var(--blue)}
.header-subscribe{margin-left:4px}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border-radius:999px;border:1px solid var(--blue);background:var(--blue);color:#fff!important;text-decoration:none;font-size:14px;font-weight:800;letter-spacing:.1px;transition:.18s ease}
.btn:hover{background:var(--blue-dark);border-color:var(--blue-dark);transform:translateY(-1px)}
.btn-outline{background:#fff;color:var(--navy)!important;border-color:var(--line)}
.btn-outline:hover{background:var(--mist);border-color:#bfd2e1}
.menu-toggle{display:none;margin-left:auto;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--navy);padding:9px 12px}
.mobile-panel{display:none;border-top:1px solid var(--line);padding:16px 0 20px;background:#fff}
.mobile-panel.open{display:block}
.mobile-panel ul{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.mobile-panel a{text-decoration:none;font-weight:700;color:var(--ink)}

.eyebrow{display:block;color:var(--blue);font-size:12px;line-height:1.2;font-weight:850;letter-spacing:.4px;text-transform:uppercase}
.hero{background:linear-gradient(180deg,var(--mist) 0%,#fff 92%);padding:68px 0 58px}
.hero-grid{display:grid;grid-template-columns:1.12fr .88fr;gap:68px;align-items:center}
.hero h1{margin:18px 0 22px;max-width:720px;font:700 clamp(48px,5.7vw,78px)/1.04 Georgia,"Times New Roman",serif;letter-spacing:-2.8px;color:var(--navy)}
.hero h1 em{font-weight:400;color:#626d7d}
.hero-copy p{max-width:650px;margin:0 0 28px;font-size:18px;color:#657184}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap}
.hero-note{margin-top:17px;font-size:12px;color:#7a8593}
.principle-shell{padding:30px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:var(--shadow)}
.principle-card{min-height:300px;padding:30px;border:1px solid #d9e3ec;border-radius:14px;background:#f5f8fb;display:flex;flex-direction:column;justify-content:center}
.principle-card h2{margin:16px 0 18px;font:700 29px/1.3 Georgia,"Times New Roman",serif;color:var(--navy)}
.principle-card p{margin:0;color:#687586}

.section{padding:58px 0}
.section-light{background:#fff}
.section-mist{background:var(--mist)}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:24px}
.section-title{margin:0;font:700 clamp(30px,3.5vw,44px)/1.1 Georgia,"Times New Roman",serif;letter-spacing:-1px;color:var(--navy)}
.section-link{font-size:13px;color:var(--blue);font-weight:800;text-decoration:none}
.latest-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.card{overflow:hidden;border:1px solid var(--line);border-radius:15px;background:#fff}
.card-media{display:block;aspect-ratio:1.5;background:#edf3f8;overflow:hidden}
.card-media img{width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.card:hover .card-media img{transform:scale(1.02)}
.card-body{padding:18px 20px 21px}
.card-category{display:inline-flex;padding:5px 11px;border-radius:999px;background:#eaf4fc;color:var(--blue);font-size:10px;font-weight:850;letter-spacing:.7px;text-transform:uppercase}
.card h3{margin:14px 0 10px;font:700 24px/1.18 Georgia,"Times New Roman",serif;color:var(--navy)}
.card h3 a{text-decoration:none}
.card-excerpt{margin:0 0 14px;color:var(--muted);font-size:14px}
.meta{display:flex;flex-wrap:wrap;gap:8px;color:#778292;font-size:11px;text-transform:uppercase;letter-spacing:.45px}
.read-more{display:inline-block;margin-top:15px;color:var(--blue);font-size:12px;font-weight:800;text-decoration:none}

.useful{padding:58px 0 66px;background:var(--mist)}
.guide-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.guide{display:flex;flex-direction:column;justify-content:space-between;min-height:170px;padding:22px 19px;border:1px solid var(--line);border-radius:14px;background:#fff;text-decoration:none;transition:.18s ease}
.guide:hover{transform:translateY(-2px);box-shadow:var(--shadow);border-color:#c4d7e5}
.guide strong{font:700 22px/1.12 Georgia,"Times New Roman",serif;color:var(--navy)}
.guide span{font-size:13px;line-height:1.45;color:var(--muted)}
.guide-arrow{color:var(--blue);font-weight:900;font-size:16px}

.value-strip{padding:54px 0;background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.value-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:32px}
.value-item{padding-right:30px;border-right:1px solid var(--line)}
.value-item:last-child{border-right:0}
.value-item strong{display:block;margin-bottom:7px;color:var(--navy);font:700 22px/1.2 Georgia,"Times New Roman",serif}
.value-item p{margin:0;color:var(--muted);font-size:14px}

.newsletter{padding:64px 0;background:var(--navy);color:#fff}
.newsletter-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}
.newsletter .eyebrow{color:#78c2f2}
.newsletter h2{margin:14px 0 12px;font:700 clamp(34px,4vw,52px)/1.05 Georgia,"Times New Roman",serif}
.newsletter p{margin:0;color:#c5d0dc}
.subscribe-form{display:flex;gap:9px}
.subscribe-form input{min-width:0;flex:1;height:50px;padding:0 15px;border:1px solid #cad5df;border-radius:999px;background:#fff;color:var(--navy)}
.newsletter .btn{height:50px}
.subscribe-note{margin-top:9px;color:#9facbb;font-size:11px}

.page-hero{padding:56px 0 40px;background:var(--mist);border-bottom:1px solid var(--line)}
.page-hero h1{margin:14px 0 12px;font:700 clamp(44px,5vw,66px)/1.05 Georgia,"Times New Roman",serif;color:var(--navy);letter-spacing:-2px}
.page-hero p{max-width:720px;margin:0;color:var(--muted);font-size:18px}
.archive{padding:56px 0 80px}
.archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.pagination{display:flex;gap:8px;flex-wrap:wrap;margin-top:40px}
.pagination a,.pagination span{padding:9px 13px;border:1px solid var(--line);border-radius:8px;text-decoration:none;font-size:12px}
.pagination .current{background:var(--blue);color:#fff;border-color:var(--blue)}

.single-wrap{padding:58px 0 80px}
.single-header{max-width:900px;margin:0 auto 35px}
.single-header h1{margin:15px 0 17px;font:700 clamp(45px,5.5vw,72px)/1.03 Georgia,"Times New Roman",serif;color:var(--navy);letter-spacing:-2.3px}
.single-deck{max-width:780px;margin:0 0 18px;font-size:19px;color:var(--muted)}
.single-featured{max-width:1050px;margin:0 auto 42px;border-radius:16px;overflow:hidden;background:var(--mist)}
.single-featured img{width:100%;max-height:620px;object-fit:cover}
.entry-content{max-width:760px;margin:0 auto;font-size:18px}
.entry-content h2,.entry-content h3{font-family:Georgia,"Times New Roman",serif;color:var(--navy);line-height:1.2;margin-top:2em}
.entry-content h2{font-size:35px}.entry-content h3{font-size:28px}
.entry-content blockquote{margin:30px 0;padding:22px 26px;border-left:4px solid var(--blue);background:var(--mist);font:italic 24px/1.4 Georgia,"Times New Roman",serif;color:var(--navy)}
.entry-content img{margin:30px auto;border-radius:10px}
.article-end{max-width:760px;margin:45px auto 0;padding-top:24px;border-top:1px solid var(--line)}
.share-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.share-row a{padding:8px 12px;border:1px solid var(--line);border-radius:999px;text-decoration:none;font-size:11px;font-weight:800;text-transform:uppercase}
.related{max-width:1050px;margin:70px auto 0}
.search-form{display:flex;gap:8px;max-width:650px}
.search-form input{min-width:0;flex:1;height:48px;padding:0 15px;border:1px solid var(--line);border-radius:999px;background:#fff}

.site-footer{background:#fff;border-top:1px solid var(--line);padding:58px 0 25px}
.footer-grid{display:grid;grid-template-columns:1.25fr .75fr .75fr 1.25fr;gap:48px;align-items:start}
.footer-brand{font:700 31px/1 Georgia,"Times New Roman",serif;color:var(--navy)}
.footer-tagline{max-width:330px;margin:13px 0 0;color:var(--muted);font-size:14px}
.site-footer h3{margin:3px 0 14px;font-size:11px;letter-spacing:.8px;text-transform:uppercase;color:var(--blue)}
.site-footer ul{list-style:none;margin:0;padding:0}.site-footer li{margin:8px 0}
.site-footer a{text-decoration:none;font-size:13px;color:#596779}.site-footer a:hover{color:var(--blue)}
.footer-newsletter-copy{margin:0 0 13px;color:var(--muted);font-size:13px}
.footer-subscribe{display:flex;gap:7px}.footer-subscribe input{min-width:0;flex:1;height:44px;padding:0 13px;border:1px solid var(--line);border-radius:999px}
.footer-subscribe .btn{min-height:44px;padding:0 16px}
.footer-bottom{display:flex;justify-content:space-between;gap:20px;margin-top:43px;padding-top:18px;border-top:1px solid var(--line);font-size:11px;color:#8a94a0}
@media(max-width:1050px){
 .primary-nav{display:none}.header-subscribe{margin-left:auto}.menu-toggle{display:block}
 .hero-grid,.newsletter-grid{grid-template-columns:1fr;gap:38px}.guide-grid{grid-template-columns:repeat(3,1fr)}
 .footer-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
 .container{width:min(calc(100% - 30px),var(--container))}
 .header-inner{min-height:74px}.brand-text{font-size:28px}.header-subscribe{display:none}
 .hero{padding:45px 0}.hero h1{font-size:48px;letter-spacing:-2px}.hero-copy p{font-size:17px}
 .principle-shell{padding:16px}.principle-card{min-height:270px;padding:25px}
 .latest-grid,.archive-grid{grid-template-columns:1fr}.guide-grid{grid-template-columns:1fr 1fr}
 .section{padding:45px 0}.section-head{align-items:start;flex-direction:column}
 .value-grid{grid-template-columns:1fr;gap:24px}.value-item{padding:0 0 24px;border-right:0;border-bottom:1px solid var(--line)}.value-item:last-child{border-bottom:0;padding-bottom:0}
 .newsletter-grid{gap:26px}.subscribe-form,.footer-subscribe{flex-direction:column}
 .page-hero{padding:44px 0 32px}.page-hero h1{font-size:45px}
 .single-wrap{padding:42px 0 60px}.single-header h1{font-size:45px}.entry-content{font-size:17px}
 .footer-grid{grid-template-columns:1fr}.footer-bottom{flex-direction:column;gap:6px}
}
@media(max-width:480px){.guide-grid{grid-template-columns:1fr}.hero h1{font-size:43px}.hero-actions .btn{width:100%}}
