/*
Theme Name: GyanNews GeneratePress Child
Template: generatepress
Version: 1.6.0
Description: Native GeneratePress layout with a clean how-to guide homepage.
Requires PHP: 7.4
Text Domain: gyannews-gp
*/
.gn-feed{padding:clamp(16px,3vw,36px);background:var(--base-3,#fff)}.gn-feed h1{margin:0 0 8px}.gn-intro{margin-bottom:24px}.gn-cards{display:grid;gap:24px;grid-template-columns:repeat(var(--gn-columns,2),minmax(0,1fr))}.gn-card{min-width:0;border-bottom:1px solid #d9dfe4;padding-bottom:22px}.gn-card img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block;margin-bottom:12px}.gn-card h2{font-size:clamp(19px,2vw,24px);line-height:1.35;margin:0 0 8px;overflow-wrap:anywhere}.gn-card p{font-size:16px;line-height:1.6;margin:8px 0}.gn-meta{font-size:13px}.gn-list .gn-card{display:grid;grid-template-columns:minmax(0,32%) minmax(0,1fr);gap:18px}.gn-list .gn-card:not(.gn-has-image){display:block}.gn-pagination{margin-top:24px;display:flex;gap:10px;flex-wrap:wrap}.gn-pagination .page-numbers{padding:6px 11px;border:1px solid #d9dfe4}.gn-footer-links{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;padding:16px;font-size:14px}.gn-search{padding:20px;background:var(--base-3,#fff)}.gn-search input[type=search]{max-width:100%}.main-navigation .main-nav ul{flex-wrap:wrap}.gn-sticky .inside-right-sidebar,.gn-sticky .inside-left-sidebar{position:sticky;top:90px}.gn-feed a:focus-visible,.gn-footer-links a:focus-visible{outline:2px solid currentColor;outline-offset:3px}@media(max-width:767px){.gn-cards{grid-template-columns:1fr}.gn-list .gn-card{display:block}.gn-sticky .inside-right-sidebar,.gn-sticky .inside-left-sidebar{position:static}}

.gn-related{margin-top:20px}.gn-related ul{margin:0;list-style:none}.gn-related li{padding:10px 0;border-bottom:1px solid #d9dfe4}.gn-related li:last-child{border:0}.gn-search .widget-title{font-size:20px;margin-bottom:14px}.gn-search form{max-width:100%}.gn-search input{min-width:0;max-width:100%}

.gn-pages-footer .gn-footer-links{margin:0;padding:0;list-style:none;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 22px}.gn-pages-footer .gn-footer-links li{margin:0;padding:0}.gn-pages-footer .gn-footer-links a{display:inline-block;padding:5px 0;text-decoration:none}.gn-pages-footer .gn-footer-links a:hover{text-decoration:underline}.gn-pages-footer .inside-site-info{display:flex;flex-direction:column;align-items:center;gap:8px;padding:24px 18px}.gn-pages-footer .gn-footer-copyright{margin:0;text-align:center;font-size:13px}@media(max-width:767px){.gn-pages-footer .gn-footer-links{gap:6px 16px}}

.gn-latest li a{display:flex;align-items:center;gap:12px;line-height:1.45;font-size:15px;overflow-wrap:anywhere}.gn-latest li img{width:68px;height:56px;object-fit:cover;flex:none;border-radius:3px}.gn-latest li span{min-width:0}.gn-latest:first-child{margin-top:0}

/* 1.6: readable editorial layout, preserving native GeneratePress navigation. */
:root{--gn-body-size:19px;--gn-nav-size:17px;--gn-brand-size:36px;--gn-mobile-size:18px;--gn-sidebar-size:16px}
body{font-size:var(--gn-body-size);line-height:1.7}
.site-header{border-bottom:1px solid rgba(127,127,127,.19)}
.site-header .main-title{font-size:var(--gn-brand-size);font-weight:700;line-height:1.2;letter-spacing:-.025em;overflow-wrap:anywhere}
.site-header .site-description{font-size:16px;line-height:1.5;margin-top:6px}
.inside-header{gap:18px;padding-top:24px;padding-bottom:24px}
.main-navigation .main-nav ul li a,.main-navigation .menu-toggle{font-size:var(--gn-nav-size);font-weight:600;line-height:1.4;padding-top:13px;padding-bottom:13px;min-height:44px;white-space:normal}
.main-navigation .main-nav ul li a{padding-left:14px;padding-right:14px}
.main-navigation .main-nav>ul{row-gap:2px}
.main-navigation a:hover{text-decoration:underline;text-underline-offset:5px}
.site-content,.content-area,.inside-article,.entry-content,.gn-feed,.sidebar{min-width:0}
.entry-content,.entry-summary,.page-content,.gn-feed,.gn-card p{font-size:var(--gn-body-size);line-height:1.75;overflow-wrap:anywhere}
.entry-content p,.entry-content ul,.entry-content ol{margin-bottom:1.25em}
.entry-content li+li{margin-top:.35em}
.entry-title,.gn-feed h1{font-size:clamp(30px,3.3vw,42px);line-height:1.23;font-weight:700;letter-spacing:-.025em;overflow-wrap:anywhere}
.entry-content h2{font-size:clamp(25px,2.6vw,32px);line-height:1.32;margin-top:1.5em;margin-bottom:.65em}
.entry-content h3{font-size:clamp(22px,2vw,26px);line-height:1.35;margin-top:1.3em}
.gn-card h2{font-size:clamp(22px,2vw,27px);line-height:1.35;font-weight:650}
.gn-meta,.entry-meta{font-size:14px;line-height:1.5}
.gn-intro{line-height:1.6}.gn-cards{gap:28px}.gn-card img{border-radius:4px}
.entry-content img,.entry-content video,.entry-content iframe,.wp-caption{max-width:100%}.entry-content img,.entry-content video{height:auto}
.entry-content table{display:block;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;font-size:.95em}
.entry-content pre{max-width:100%;overflow:auto}.entry-content a{text-underline-offset:3px}
.gn-search,.sidebar .widget{font-size:var(--gn-sidebar-size);line-height:1.6}.gn-search .widget-title,.sidebar .widget-title{font-size:22px;line-height:1.3;font-weight:700}
.gn-latest li a{font-size:var(--gn-sidebar-size);line-height:1.5;min-height:44px}.gn-latest li{padding:12px 0}
.gn-search .search-form{display:flex;flex-wrap:wrap;gap:8px}.gn-search .search-form label{flex:1 1 120px;min-width:0}.gn-search .search-field{width:100%;font-size:16px;min-height:44px}.gn-search .search-submit{min-height:44px;max-width:100%}
.gn-pages-footer .gn-footer-links{font-size:16px;gap:4px 22px}.gn-pages-footer .gn-footer-links a{padding:10px 0;min-height:44px;box-sizing:border-box}.gn-pages-footer .gn-footer-copyright{font-size:15px;line-height:1.6}
.gn-pagination .page-numbers{min-width:44px;min-height:44px;box-sizing:border-box;text-align:center}
a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid currentColor;outline-offset:3px}
@media(max-width:900px){.gn-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.gn-list .gn-cards{grid-template-columns:1fr}}
@media(max-width:767px){body,.entry-content,.entry-summary,.page-content,.gn-feed,.gn-card p{font-size:var(--gn-mobile-size);line-height:1.7}.inside-header{padding:18px 20px}.site-header .main-title{font-size:clamp(26px,7vw,var(--gn-brand-size))}.site-header .site-description{font-size:15px}.main-navigation .main-nav ul li a,.main-navigation .menu-toggle{font-size:var(--gn-nav-size);min-height:48px}.gn-feed{padding:20px 16px}.gn-cards,.gn-list .gn-cards{grid-template-columns:1fr;gap:24px}.gn-list .gn-card{display:block}.gn-card h2{font-size:23px}.entry-title,.gn-feed h1{font-size:30px}.entry-content h2{font-size:26px}.entry-content h3{font-size:22px}.separate-containers .inside-article{padding:22px 18px}.gn-search{padding:20px 16px}.gn-pages-footer .gn-footer-links{gap:0 16px}.gn-pages-footer .inside-site-info{padding:20px 16px}.gn-sticky .inside-right-sidebar,.gn-sticky .inside-left-sidebar{position:static}}
