Theme Name: GLv2
Theme URI: https://g-ardhmeria.com
Author: Gentuar Lushtaku
Author URI: https://g-ardhmeria.com
Description: Clean, modern, responsive WordPress news portal theme for Gazeta Ardhmeria with ad slots, Customizer options, mobile hamburger navigation, featured sections, and polished post layouts.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: https://g-ardhmeria.com
Tags: news, blog, custom-logo, custom-menu, featured-images, right-sidebar, theme-options, responsive-layout
*/

:root {
  --ga-primary: #d71920;
  --ga-primary-dark: #b9151b;
  --ga-text: #12151c;
  --ga-muted: #697386;
  --ga-border: #e8ebf0;
  --ga-bg: #f6f7fb;
  --ga-card: #ffffff;
  --ga-dark: #0d1117;
  --ga-radius: 18px;
  --ga-shadow: 0 18px 45px rgba(12, 18, 28, 0.08);
  --ga-container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--ga-bg);
  color: var(--ga-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color .2s ease, opacity .2s ease, transform .2s ease; }
a:hover { color: var(--ga-primary); }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font: inherit; }
.screen-reader-text { position: absolute; left: -9999px; }

.ga-container { width: min(100% - 32px, var(--ga-container)); margin: 0 auto; }
.ga-topbar { background: var(--ga-dark); color: #fff; font-size: 13px; }
.ga-topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.ga-date { color: rgba(255,255,255,.78); }
.ga-social a { margin-left: 14px; color: rgba(255,255,255,.8); }
.ga-social a:hover { color: #fff; }

.ga-site-header { background: rgba(255,255,255,.94); backdrop-filter: blur(16px); border-bottom: 1px solid var(--ga-border); position: sticky; top: 0; z-index: 1000; }
.admin-bar .ga-site-header { top: 32px; }
.ga-header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.ga-brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.ga-brand img { max-height: 58px; width: auto; }
.ga-brand-text { display: flex; flex-direction: column; line-height: 1.08; }
.ga-site-title { font-size: 28px; font-weight: 900; letter-spacing: -0.04em; }
.ga-site-title span { color: var(--ga-primary); }
.ga-site-description { color: var(--ga-muted); font-size: 13px; margin-top: 4px; }

.ga-nav-wrap { display: flex; align-items: center; gap: 20px; }
.ga-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.ga-menu li { position: relative; }
.ga-menu a { display: block; padding: 12px 8px; margin: 0 5px; border-radius: 0; font-weight: 700; font-size: 15px; border-bottom: 2px solid transparent; }
.ga-menu a:hover, .ga-menu .current-menu-item > a, .ga-menu .current-menu-ancestor > a { background: transparent; color: var(--ga-primary); border-bottom-color: var(--ga-primary); }
.ga-menu .sub-menu { position: absolute; top: 100%; left: 0; min-width: 220px; display: none; background: #fff; border: 1px solid var(--ga-border); border-radius: 14px; padding: 8px; box-shadow: var(--ga-shadow); list-style: none; z-index: 1001; }
.ga-menu li:hover > .sub-menu { display: block; }
.ga-menu .sub-menu a { border-radius: 0; white-space: nowrap; margin: 0; padding: 10px 8px; }
.ga-search-link { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--ga-bg); color: var(--ga-text); }
.ga-search-link:hover { background: var(--ga-primary); color: #fff; }
.ga-menu-toggle { display: none; border: 0; background: transparent; color: var(--ga-dark); width: 46px; height: 46px; border-radius: 0; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; margin-left: auto; }
.ga-menu-toggle span { width: 24px; height: 2px; background: var(--ga-dark); border-radius: 10px; transition: transform .2s ease, opacity .2s ease; }
.ga-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ga-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ga-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.ga-ad { background: #fff; border: 1px dashed #cfd6e3; border-radius: var(--ga-radius); padding: 14px; text-align: center; color: var(--ga-muted); margin: 22px 0; overflow: hidden; }
.ga-ad img, .ga-ad iframe { margin: 0 auto; max-width: 100%; }
.ga-ad-custom + .ga-ad-images { margin-top: 14px; }
.ga-ad-images { position: relative; width: 100%; height: 170px; max-width: 100%; overflow: hidden; border-radius: 16px; background: #f3f5f8; }
.ga-ad-slide { display: grid; place-items: center; width: 100%; height: 100%; }
.ga-ad-slide img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ga-ad-slider .ga-ad-slide { animation: gaAdFade 12s infinite; opacity: 0; position: absolute; inset: 0; }
.ga-ad-slider .ga-ad-slide:nth-child(1) { animation-delay: 0s; }
.ga-ad-slider .ga-ad-slide:nth-child(2) { animation-delay: 4s; }
.ga-ad-slider .ga-ad-slide:nth-child(3) { animation-delay: 8s; }
@keyframes gaAdFade { 0%, 28% { opacity: 1; } 34%, 100% { opacity: 0; } }
.ga-ad-label { display: block; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; color: #9aa4b2; margin-bottom: 8px; }
.ga-sidebar .ga-ad-images { height: 280px; }
.ga-content .ga-ad-images { height: 180px; }

.ga-breaking { margin: 24px 0 0; background: #fff; border: 1px solid var(--ga-border); border-radius: 999px; display: flex; align-items: center; overflow: hidden; box-shadow: 0 10px 25px rgba(12,18,28,.04); }
.ga-breaking-label { background: var(--ga-primary); color: #fff; padding: 10px 16px; font-weight: 900; white-space: nowrap; }
.ga-breaking-items { padding: 0 16px; display: flex; gap: 22px; overflow: hidden; white-space: nowrap; }
.ga-breaking-items a { font-weight: 700; color: var(--ga-text); }

.ga-main { padding: 30px 0 48px; }
.ga-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 30px; align-items: start; }
.ga-card { background: var(--ga-card); border: 1px solid var(--ga-border); border-radius: var(--ga-radius); box-shadow: 0 14px 35px rgba(12, 18, 28, 0.05); overflow: hidden; }
.ga-card-body { padding: 20px; }
.ga-section-title { font-size: 24px; letter-spacing: -0.03em; margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.ga-section-title:before { content: ""; width: 6px; height: 24px; border-radius: 999px; background: var(--ga-primary); }

.ga-hero { display: grid; grid-template-columns: 1.3fr .7fr; gap: 22px; margin-top: 26px; }
.ga-featured-main, .ga-featured-small { position: relative; min-height: 460px; border-radius: 24px; overflow: hidden; background: var(--ga-dark); box-shadow: var(--ga-shadow); }
.ga-featured-small { min-height: 219px; }
.ga-featured-stack { display: grid; gap: 22px; }
.ga-featured-main img, .ga-featured-small img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform .35s ease; }
.ga-featured-main:hover img, .ga-featured-small:hover img { transform: scale(1.04); }
.ga-featured-content { position: absolute; inset: auto 0 0; padding: 26px; color: #fff; background: linear-gradient(180deg, transparent, rgba(0,0,0,.84)); }
.ga-featured-small .ga-featured-content { padding: 20px; }
.ga-cat { display: inline-flex; align-items: center; background: var(--ga-primary); color: #fff; border-radius: 999px; padding: 5px 10px; font-size: 12px; font-weight: 900; margin-bottom: 10px; }
.ga-featured-content h1, .ga-featured-content h2 { margin: 0; line-height: 1.08; letter-spacing: -0.04em; }
.ga-featured-content h1 { font-size: clamp(30px, 4vw, 52px); }
.ga-featured-content h2 { font-size: 22px; }
.ga-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--ga-muted); font-size: 14px; margin: 10px 0; }
.ga-featured-content .ga-meta { color: rgba(255,255,255,.78); }

.ga-post-list { display: grid; gap: 18px; }
.ga-post-card { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 18px; padding: 14px; }
.ga-post-thumb { border-radius: 15px; overflow: hidden; background: #e6e9ef; min-height: 150px; }
.ga-post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.ga-post-card:hover .ga-post-thumb img { transform: scale(1.04); }
.ga-post-title { margin: 0 0 8px; font-size: 22px; line-height: 1.2; letter-spacing: -0.025em; }
.ga-excerpt { color: var(--ga-muted); margin: 8px 0 0; }
.ga-read-more { display: inline-flex; align-items: center; gap: 8px; color: var(--ga-primary); font-weight: 900; margin-top: 12px; }

.ga-sidebar { display: grid; gap: 20px; }
.ga-widget { background: #fff; border: 1px solid var(--ga-border); border-radius: var(--ga-radius); padding: 20px; box-shadow: 0 12px 30px rgba(12, 18, 28, .04); }
.ga-widget h2, .ga-widget .widget-title { margin: 0 0 14px; font-size: 19px; letter-spacing: -0.02em; }
.ga-widget ul { margin: 0; padding-left: 18px; }
.ga-widget li { margin: 8px 0; }
.search-form { display: flex; gap: 8px; }
.search-field { width: 100%; border: 1px solid var(--ga-border); border-radius: 12px; padding: 12px 14px; outline: none; }
.search-submit, .ga-button { border: 0; border-radius: 12px; padding: 12px 16px; background: var(--ga-primary); color: #fff; font-weight: 900; cursor: pointer; }

.ga-article { background: #fff; border: 1px solid var(--ga-border); border-radius: 24px; box-shadow: var(--ga-shadow); overflow: hidden; }
.ga-article-header { padding: clamp(22px, 4vw, 42px); }
.ga-article-title { font-size: clamp(34px, 5vw, 58px); line-height: 1.05; letter-spacing: -0.055em; margin: 0; }
.ga-article-thumb img { width: 100%; max-height: 620px; object-fit: cover; }
.ga-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--ga-border); }
.ga-share span { color: var(--ga-muted); font-weight: 900; margin-right: 2px; }
.ga-share a, .ga-copy-link { width: 44px; height: 44px; border: 1px solid var(--ga-border); background: var(--ga-bg); color: var(--ga-text); border-radius: 50%; padding: 0; font-weight: 900; font-size: 0; cursor: pointer; display: inline-grid; place-items: center; transition: .18s ease; }
.ga-share a svg, .ga-copy-link svg { width: 19px; height: 19px; fill: currentColor; }
.ga-share a:hover, .ga-copy-link:hover { border-color: var(--ga-primary); color: #fff; background: var(--ga-primary); transform: translateY(-2px); }

.ga-content { padding: 0 clamp(22px, 4vw, 42px) 42px; font-size: 18px; }
.ga-content p { margin: 0 0 1.15em; }
.ga-content h2, .ga-content h3 { line-height: 1.15; letter-spacing: -0.035em; margin-top: 1.5em; }
.ga-content blockquote { margin: 26px 0; padding: 22px 24px; border-left: 5px solid var(--ga-primary); background: var(--ga-bg); border-radius: 0 16px 16px 0; font-weight: 700; }
.ga-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.ga-tags a { background: var(--ga-bg); border-radius: 999px; padding: 6px 12px; color: var(--ga-muted); font-weight: 700; font-size: 14px; }

.ga-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.ga-pagination .page-numbers { min-width: 42px; height: 42px; display: grid; place-items: center; background: #fff; border: 1px solid var(--ga-border); border-radius: 12px; font-weight: 800; }
.ga-pagination .current { background: var(--ga-primary); color: #fff; border-color: var(--ga-primary); }

.ga-footer { background: var(--ga-dark); color: #fff; padding: 44px 0 20px; margin-top: 36px; }
.ga-footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; }
.ga-footer a { color: rgba(255,255,255,.82); }
.ga-footer a:hover { color: #fff; }
.ga-footer-title { font-size: 24px; font-weight: 900; letter-spacing: -0.04em; margin: 0 0 10px; }
.ga-copyright { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.65); font-size: 14px; }

@media (max-width: 960px) {
  .admin-bar .ga-site-header { top: 0; }
  .ga-header-inner { min-height: 72px; display: flex !important; flex-direction: row !important; justify-content: space-between !important; align-items: center !important; }
  .ga-brand { order: 1 !important; margin-right: auto !important; }
  .ga-nav-wrap { order: 2 !important; margin-left: auto !important; display: flex !important; justify-content: flex-end !important; }
  .ga-menu-toggle { display: inline-flex !important; order: 99 !important; }
  .ga-search-link { display: none !important; }
  .ga-primary-navigation { position: fixed; left: 16px; right: 16px; top: 112px; display: none; background: #fff; border: 1px solid var(--ga-border); border-radius: 20px; padding: 12px; box-shadow: var(--ga-shadow); max-height: calc(100vh - 140px); overflow: auto; }
  .ga-primary-navigation.is-open { display: block; }
  .ga-menu { flex-direction: column; align-items: stretch; gap: 4px; }
  .ga-menu a { border-radius: 0; padding: 13px 8px; margin: 0 5px; }
  .ga-menu .sub-menu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 14px; background: transparent; }
  .ga-hero { grid-template-columns: 1fr; }
  .ga-featured-main { min-height: 420px; }
  .ga-grid { grid-template-columns: 1fr; }
  .ga-sidebar { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 640px) {
  .ga-container { width: min(100% - 22px, var(--ga-container)); }
  .ga-topbar { display: none; }
  .ga-site-title { font-size: 22px; }
  .ga-site-description { display: none; }
  .ga-brand img { max-height: 46px; }
  .ga-primary-navigation { top: 84px; }
  .ga-ad-images, .ga-content .ga-ad-images { height: 125px; }
  .ga-sidebar .ga-ad-images { height: 230px; }
  .ga-breaking { border-radius: 16px; align-items: stretch; flex-direction: column; }
  .ga-breaking-label { text-align: center; }
  .ga-breaking-items { padding: 10px 14px; overflow-x: auto; }
  .ga-featured-main, .ga-featured-small { min-height: 320px; border-radius: 18px; }
  .ga-featured-content { padding: 20px; }
  .ga-post-card { grid-template-columns: 1fr; }
  .ga-post-thumb { min-height: 210px; }
  .ga-sidebar { grid-template-columns: 1fr; }
  .ga-footer-grid { grid-template-columns: 1fr; }
  .ga-article-title { font-size: 34px; }
  .ga-content { font-size: 17px; }
}
