/*
Theme Name: Urban Scholar
Theme URI: https://researchgatebd.net/
Author: ResearchGateBD
Author URI: https://researchgatebd.net/
Description: A premium academic portfolio and urban-planning publication theme with no-code homepage controls.
Version: 1.3.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: urban-scholar
*/
:root{--navy:#102a43;--navy-2:#173f5f;--gold:#c49a4a;--cream:#f8f5ef;--ink:#17202a;--muted:#65758b;--line:#e5e9ef;--white:#fff;--radius:18px;--shadow:0 18px 50px rgba(16,42,67,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fff;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.7}a{color:var(--navy-2);text-decoration:none}a:hover{color:var(--gold)}img{max-width:100%;height:auto}.container{width:min(1140px,92%);margin:auto}.site-header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}.header-inner{min-height:82px;display:flex;align-items:center;gap:24px}.main-navigation{margin-left:auto}.header-actions{display:flex;align-items:center;gap:10px}.cart-link{display:inline-flex;align-items:center;gap:6px;padding:9px 13px;border:1px solid var(--line);border-radius:999px;color:var(--navy);font-weight:700;font-size:.86rem;white-space:nowrap}.cart-link:hover{border-color:var(--gold);color:var(--gold)}.cart-icon{font-size:1rem}.cart-count{min-width:21px;height:21px;border-radius:50%;display:inline-grid;place-items:center;background:var(--gold);color:#fff;font-size:.72rem}.site-brand{flex:0 0 230px}.site-title{display:block;line-height:1.2;font-size:1.08rem}.primary-menu{gap:6px}.primary-menu a{display:block;padding:10px 12px;border-radius:10px;transition:.2s ease}.primary-menu a:hover{background:#f4eee2;color:var(--navy)}.site-brand{display:flex;align-items:center;gap:12px}.custom-logo{max-height:48px;width:auto}.site-title{font-family:Georgia,serif;font-size:1.3rem;font-weight:700;color:var(--navy);letter-spacing:-.02em}.site-description{display:none}.primary-menu{display:flex;align-items:center;gap:24px;list-style:none;margin:0;padding:0;font-size:.92rem;font-weight:600}.primary-menu a{color:var(--navy)}.menu-toggle{display:none;border:0;background:transparent;font-size:1.5rem;color:var(--navy)}.hero{background:linear-gradient(135deg,var(--navy) 0%,#173f5f 62%,#205072 100%);color:white;padding:96px 0 88px;overflow:hidden;position:relative}.hero:after{content:"";position:absolute;width:480px;height:480px;border:1px solid rgba(255,255,255,.13);border-radius:50%;right:-170px;top:-180px}.hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:62px;align-items:center;position:relative;z-index:1}.eyebrow{color:#e8c879;text-transform:uppercase;letter-spacing:.16em;font-size:.73rem;font-weight:800}.hero h1{font-family:Georgia,serif;font-size:clamp(2.5rem,5vw,4.5rem);line-height:1.08;margin:18px 0}.hero p{font-size:1.1rem;color:rgba(255,255,255,.82);max-width:620px}.button{display:inline-block;padding:13px 22px;border-radius:999px;font-weight:700;transition:.2s ease;border:1px solid transparent}.button-primary{background:var(--gold);color:#fff}.button-primary:hover{background:#d2ac60;color:#fff;transform:translateY(-2px)}.button-light{border-color:rgba(255,255,255,.5);color:#fff;margin-left:10px}.button-light:hover{background:#fff;color:var(--navy)}.hero-card{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);padding:26px;border-radius:var(--radius);box-shadow:var(--shadow)}.hero-card img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:13px}.hero-card .placeholder{aspect-ratio:4/5;background:linear-gradient(145deg,#e8c879,#567b8f);border-radius:13px;display:grid;place-items:center;font-size:4rem;font-family:Georgia,serif}.section{padding:84px 0}.section-alt{background:var(--cream)}.section-heading{max-width:690px;margin-bottom:34px}.section-heading h2{font-family:Georgia,serif;font-size:clamp(2rem,4vw,3rem);line-height:1.2;color:var(--navy);margin:10px 0}.section-heading p{color:var(--muted)}.profile-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:60px;align-items:center}.profile-photo{border-radius:var(--radius);width:100%;aspect-ratio:1/1;object-fit:cover;box-shadow:var(--shadow)}.profile-photo.placeholder{background:linear-gradient(145deg,#dde7ed,#a9c0cc);display:grid;place-items:center;color:var(--navy);font:5rem Georgia,serif}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.feature-card,.book-card,.post-card{border:1px solid var(--line);border-radius:var(--radius);padding:26px;background:#fff;box-shadow:0 8px 25px rgba(16,42,67,.04)}.feature-card h3,.book-card h3,.post-card h3{color:var(--navy);margin:0 0 9px;font-family:Georgia,serif}.feature-card p,.book-card p,.post-card p{color:var(--muted);margin:0}.icon-circle{height:46px;width:46px;display:grid;place-items:center;border-radius:50%;background:#f3e7cb;color:var(--navy);font-size:1.2rem;margin-bottom:16px}.book-grid,.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.book-card{border-top:4px solid var(--gold)}.book-card .book-meta{font-size:.82rem;color:var(--gold);font-weight:700;margin-bottom:12px}.book-card .button{margin-top:18px;font-size:.88rem;padding:9px 16px}.post-card{padding:0;overflow:hidden}.post-card img{width:100%;height:190px;object-fit:cover}.post-card-content{padding:22px}.post-card time{color:var(--gold);font-size:.8rem;font-weight:700}.contact-box{background:var(--navy);color:#fff;border-radius:var(--radius);padding:42px;display:flex;align-items:center;justify-content:space-between;gap:30px}.contact-box h2{font-family:Georgia,serif;margin:0 0 10px}.contact-box p{color:rgba(255,255,255,.78);margin:0}.site-footer{background:#0b2033;color:rgba(255,255,255,.75);padding:58px 0 24px}.footer-main{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:48px;padding-bottom:42px}.footer-title{font:1.55rem Georgia,serif;color:#fff;margin-bottom:12px}.site-footer p{max-width:330px;margin:0 0 15px}.site-footer a{color:#fff}.footer-column h3{color:#e8c879;font-size:.85rem;text-transform:uppercase;letter-spacing:.12em}.footer-menu,.footer-links{list-style:none;padding:0;margin:0}.footer-menu li,.footer-links li{margin:7px 0}.footer-bottom{border-top:1px solid rgba(255,255,255,.14);padding-top:20px;display:flex;justify-content:space-between;gap:20px;font-size:.82rem}.pdf-document{margin:30px 0;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff;box-shadow:0 8px 25px rgba(16,42,67,.06)}.pdf-document-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 20px;background:var(--cream);color:var(--navy)}.pdf-document-header .button{font-size:.78rem;padding:8px 14px}.pdf-frame{display:block;width:100%;height:680px;border:0}.entry-content>p:first-child{font-size:1.12rem;color:#3d4f61}.entry-content .pdf-document+p{margin-top:28px}.entry-header{padding:72px 0 30px;background:var(--cream)}.entry-title{font:clamp(2rem,4vw,3.5rem) Georgia,serif;color:var(--navy);line-height:1.18;margin:0}.content-area{padding:55px 0}.entry-content{max-width:800px;margin:auto;font-size:1.05rem}.entry-content h2,.entry-content h3{font-family:Georgia,serif;color:var(--navy)}.entry-content h2{font-size:clamp(2rem,4vw,3.2rem);line-height:1.2}.premium-page-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:50px;align-items:start}.profile-fact-card{background:var(--cream);border:1px solid var(--line);border-top:4px solid var(--gold);border-radius:var(--radius);padding:28px}.profile-fact-card h3{margin-top:0}.profile-fact-card ul{padding-left:20px}.premium-page-grid+.feature-grid{margin-top:32px}.entry-content img{border-radius:12px}.post-navigation{border-top:1px solid var(--line);margin-top:40px;padding-top:20px}.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);height:1px;width:1px;overflow:hidden}.alignwide{max-width:1140px;margin-left:auto;margin-right:auto}.wp-caption{max-width:100%}.widget{margin-bottom:30px}.widget-title{font-family:Georgia,serif;color:var(--navy)}
@media(max-width:800px){.site-brand{flex:1 1 auto}.site-title{font-size:1rem}.main-navigation{position:static}.header-inner{gap:10px}.header-actions{margin-left:auto}.cart-label{display:none}.premium-page-grid{grid-template-columns:1fr}.footer-main{grid-template-columns:1fr;gap:25px}.footer-bottom{flex-direction:column}.pdf-frame{height:480px}.header-inner{min-height:68px}.menu-toggle{display:block}.primary-menu{display:none;position:absolute;top:68px;left:0;right:0;background:#fff;padding:18px 5%;flex-direction:column;align-items:flex-start;border-bottom:1px solid var(--line)}.primary-menu.is-open{display:flex}.hero{padding:68px 0}.hero-grid,.profile-grid{grid-template-columns:1fr;gap:36px}.hero-card{max-width:380px}.feature-grid,.book-grid,.post-grid{grid-template-columns:1fr}.section{padding:62px 0}.contact-box,.footer-grid{flex-direction:column;align-items:flex-start}.button-light{margin-left:0;margin-top:10px}}

/* WooCommerce shop */
.shop-section .woocommerce ul.products{margin:0;display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.shop-section .woocommerce ul.products li.product{width:auto;margin:0;border:1px solid var(--line);border-radius:var(--radius);padding:18px;background:#fff;box-shadow:0 8px 25px rgba(16,42,67,.04)}.shop-section .woocommerce ul.products li.product a img{border-radius:12px}.shop-section .woocommerce ul.products li.product .woocommerce-loop-product__title{font:1.25rem Georgia,serif;color:var(--navy)}.shop-section .woocommerce ul.products li.product .price{color:var(--navy);font-weight:800}.shop-section .woocommerce ul.products li.product .button{background:var(--gold);color:#fff;border-radius:999px}.woocommerce .button,.woocommerce a.button{border-radius:999px;background:var(--gold);color:#fff}.woocommerce .button:hover,.woocommerce a.button:hover{background:var(--navy);color:#fff}.woocommerce span.onsale{background:var(--gold)}@media(max-width:800px){.shop-section .woocommerce ul.products{grid-template-columns:1fr}}
