/*
Theme Name: Don Bosko Modern
Theme URI: https://www.donbosko-kosova.com/
Author: Qendra Social-Edukative «Don Bosko»
Description: Temë moderne në stilin dhe ngjyrat e një portali lajmesh (si drita.info) për Qendrën Social-Edukative «Don Bosko» në Prishtinë. Përdor faqet, menytë dhe tekstet ekzistuese të WordPress-it pa i ndryshuar ato.
Version: 4.6.1
Requires at least: 5.8
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: donbosko-modern
*/

/*
VOICE: portal lajmesh i rregullt dhe serioz, si drita.info.
IDEA: faqja e parë e një reviste: shirit lajmesh, logo në qendër, menu e errët, lajmi kryesor i madh.
PICTURE: slider i madh me foto dhe dy lajme anash; kartela me foto.
COLOUR: blu #008cee (theks, si drita.info), gri e errët #2b2b2b, e bardhë, gri e lehtë #f7f7f7.
TYPE: Poppins në gjithë faqen.
*/

:root {
  --accent: #008cee;
  --accent-dark: #0072c4;
  --accent-deep: #00579a;
  --gold: #3fa9f5;
  --gold-dark: #0072c4;
  --dark: #2b2b2b;
  --darker: #1f1f1f;
  --head: #282828;
  --text: #4d4d4d;
  --muted: #8a8a8a;
  --line: #ebebeb;
  --soft: #f7f7f7;
  --white: #fff;
  --radius: 10px;
  --font: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.7; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-dark); }
h1, h2, h3, h4 { font-family: var(--font); color: var(--head); font-weight: 600; line-height: 1.3; margin: 0; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { position: fixed; top: 10px; left: 10px; z-index: 999; background: #fff; padding: 10px 16px; clip: auto; width: auto; height: auto; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.ico { width: 1em; height: 1em; display: inline-block; vertical-align: -.14em; }

/* ---------- Shiriti "Lajmet e fundit" ---------- */
.ticker { background: var(--accent); color: #fff; }
.ticker .wrap { display: flex; align-items: stretch; min-height: 50px; }
.ticker-label { flex: none; background: rgba(0,0,0,.12); padding-left: 22px; margin-left: -22px; display: flex; align-items: center; padding: 0 22px 0 0; margin-right: 22px; border-right: 1px solid rgba(255,255,255,.25); font-weight: 600; font-size: 15px; white-space: nowrap; }
.ticker-track { flex: 1; overflow: hidden; display: flex; align-items: center; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-move { display: flex; gap: 0; width: max-content; animation: tick 60s linear infinite; }
.ticker-move:hover { animation-play-state: paused; }
.ticker-move a { flex: none; color: #fff; font-size: 14.5px; font-weight: 500; white-space: nowrap; padding: 0 26px; border-right: 1px solid rgba(255,255,255,.3); }
.ticker-move a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
@keyframes tick { to { transform: translateX(-50%); } }
.ticker-side { flex: none; display: flex; align-items: center; gap: 16px; padding-left: 22px; }
.ticker-side a { color: #fff; display: inline-flex; }
.ticker-side a:hover { color: #fff; opacity: .8; }
.ticker-side svg { width: 16px; height: 16px; fill: currentColor; }
.ticker-side .login { font-size: 13.5px; font-weight: 500; border: 1px solid rgba(255,255,255,.45); border-radius: 4px; padding: 3px 12px; white-space: nowrap; }
@media (max-width: 760px) { .ticker-label { font-size: 13px; padding-right: 14px; margin-right: 14px; } .ticker-side .soc { display: none; } .ticker-side { padding-left: 12px; } }
@media (max-width: 560px) { .ticker-side { display: none; } }
@media (prefers-reduced-motion: reduce) { .ticker-move { animation: none; } }

/* ---------- Koka me logo në qendër ---------- */
.site-header { background: #fff; }
.site-header .wrap { display: flex; justify-content: center; align-items: center; padding: 38px 0 34px; position: relative; }
.brand { display: flex; align-items: center; gap: 18px; text-decoration: none; }
.brand img, .brand .custom-logo { height: 90px; width: auto; }
.brand-text strong { display: block; font-size: 34px; font-weight: 700; letter-spacing: -.01em; color: var(--head); line-height: 1.05; }
.brand-text strong b { color: var(--accent); font-weight: 700; }
.brand-text small { display: block; margin-top: 6px; font-size: 12.5px; font-weight: 500; letter-spacing: .22em; color: var(--accent); text-transform: uppercase; }
.brand-text em { display: block; font-size: 13px; color: var(--muted); font-style: italic; margin-top: 2px; }
@media (max-width: 760px) {
  .site-header .wrap { justify-content: flex-start; padding: 18px 0; }
  .brand { gap: 12px; }
  .brand img, .brand .custom-logo { height: 54px; }
  .brand-text strong { font-size: 21px; }
  .brand-text small { font-size: 9.5px; letter-spacing: .12em; }
  .brand-text em { display: none; }
}

/* ---------- Menyja e errët ---------- */
.nav-bar { position: sticky; top: 0; z-index: 50; background: var(--dark); }
.nav-bar .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 64px; position: relative; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > div > ul, .main-nav > ul { display: flex; justify-content: center; flex-wrap: wrap; }
.main-nav li { position: relative; }
.main-nav > div > ul > li > a, .main-nav > ul > li > a { display: block; padding: 20px 17px; color: #fff; font-size: 15.5px; font-weight: 500; white-space: nowrap; }
.main-nav > div > ul > li > a:hover, .main-nav > ul > li > a:hover,
.main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a, .main-nav .current_page_item > a, .main-nav .current_page_ancestor > a { color: var(--gold); }
.main-nav .sub-menu, .main-nav .children { position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff; border-top: 3px solid var(--accent); box-shadow: 0 12px 30px rgba(0,0,0,.15); padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .22s; z-index: 5; }
.main-nav .sub-menu .sub-menu, .main-nav .children .children { top: -11px; left: 100%; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu, .main-nav li:hover > .children, .main-nav li:focus-within > .children { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a, .main-nav .children a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 20px; color: var(--head); font-size: 14.5px; font-weight: 500; line-height: 1.4; }
.main-nav .sub-menu a:hover, .main-nav .children a:hover { color: var(--accent); background: var(--soft); }
.main-nav .sub-menu .menu-item-has-children > a::after, .main-nav .children .page_item_has_children > a::after { content: "›"; color: var(--muted); }
.sub-toggle { display: none; }
.search-btn { position: absolute; right: 0; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; font-size: 19px; }
.search-btn:hover { color: var(--gold); }
.search-drop { position: absolute; right: 0; top: 100%; width: min(380px, 100vw - 40px); background: #fff; padding: 16px; box-shadow: 0 12px 30px rgba(0,0,0,.15); border-top: 3px solid var(--accent); display: none; z-index: 6; }
.search-drop.open { display: block; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-family: var(--font); font-size: 15px; font-weight: 500; gap: 10px; align-items: center; cursor: pointer; min-height: 44px; padding: 0 4px; }
.nav-toggle .bars { width: 22px; height: 14px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; position: relative; }
.nav-toggle .bars::after { content: ""; position: absolute; left: 0; right: 0; top: 4px; border-top: 2px solid currentColor; }
@media (min-width: 1101px) {
  .main-nav > div > ul > li:nth-last-child(-n+3) > .sub-menu, .main-nav > ul > li:nth-last-child(-n+3) > .children { left: auto; right: 0; }
  .main-nav > div > ul > li:nth-last-child(-n+3) .sub-menu .sub-menu, .main-nav > ul > li:nth-last-child(-n+3) .children .children { left: auto; right: 100%; }
  .nav-close { display: none !important; }
}
@media (max-width: 1100px) {
  .nav-bar .wrap { justify-content: flex-start; min-height: 56px; }
  .nav-toggle { display: inline-flex; }
  .main-nav { position: fixed; top: 0; left: 0; bottom: 0; width: min(380px, 90vw); background: var(--dark); padding: 74px 0 30px; overflow-y: auto; transform: translateX(-105%); transition: transform .3s; z-index: 60; }
  body.nav-open .main-nav { transform: none; }
  body.nav-open .nav-bar { z-index: 70; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 55; }
  .main-nav > div > ul, .main-nav > ul { display: block; }
  .main-nav li { border-bottom: 1px solid rgba(255,255,255,.08); }
  .main-nav > div > ul > li > a, .main-nav > ul > li > a { padding: 14px 60px 14px 24px; white-space: normal; }
  .main-nav .sub-menu, .main-nav .children { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: rgba(0,0,0,.2); padding: 4px 0; display: none; min-width: 0; }
  .main-nav li.open > .sub-menu, .main-nav li.open > .children { display: block; }
  .main-nav .sub-menu a, .main-nav .children a { color: rgba(255,255,255,.85); padding: 10px 60px 10px 36px; }
  .main-nav .sub-menu .sub-menu a, .main-nav .children .children a { padding-left: 50px; }
  .main-nav .sub-menu a:hover, .main-nav .children a:hover { background: none; color: var(--gold); }
  .main-nav .sub-menu .menu-item-has-children > a::after, .main-nav .children .page_item_has_children > a::after { display: none; }
  .sub-toggle { display: grid; place-items: center; position: absolute; right: 12px; top: 7px; width: 38px; height: 38px; border: 0; border-radius: 6px; background: rgba(255,255,255,.08); color: #fff; font-size: 18px; cursor: pointer; }
  .main-nav li li .sub-toggle { top: 3px; width: 34px; height: 34px; }
  .main-nav li.open > .sub-toggle { background: var(--accent); }
  .nav-close { position: absolute; top: 14px; right: 14px; display: grid !important; place-items: center; width: 44px; height: 44px; background: rgba(255,255,255,.08); border: 0; border-radius: 6px; color: #fff; font-size: 18px; cursor: pointer; }
}

/* ---------- Elemente të përbashkëta ---------- */
.cat { display: inline-block; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; color: var(--accent); }
.cat.pill { background: #fff; color: var(--head); border-radius: 30px; padding: 5px 14px; font-size: 11.5px; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.cat.on-img { color: #fff; }
.meta { font-size: 13px; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: .02em; }
.meta b { font-weight: 600; }
.ph { background: linear-gradient(135deg, #d5dae0, #aeb6bf); position: relative; }
.ph::after { content: "DON BOSKO"; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.75); font-weight: 700; font-size: 15px; letter-spacing: .3em; }
.thumb-img { display: block; overflow: hidden; border-radius: var(--radius); position: relative; }
.thumb-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
a:hover > .thumb-img img, .thumb-img:hover img, .card:hover .thumb-img img { transform: scale(1.05); }

.section { padding: 60px 0; }
.section.soft { background: var(--soft); }
.block-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 30px; flex-wrap: wrap; }
.block-head h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; color: var(--head); }
.block-head .all { font-size: 14px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.block-head .all:hover { color: var(--gold-dark); }

.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 10px 24px; border-radius: 6px; background: var(--accent); color: #fff; font-weight: 600; font-size: 15px; }
.btn:hover { background: var(--accent-dark); color: #fff; }

/* ---------- Hero: slider + dy kartela ---------- */
.hero { padding: 40px 0 34px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 2.05fr) minmax(0, 1fr); gap: 24px; }
.slider { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 520px; background: var(--dark); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s, visibility .7s; }
.slide.active { opacity: 1; visibility: visible; }
.slide .bg { position: absolute; inset: 0; }
.slide .bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.overlay-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; color: #fff; }
.slide::after, .overlay-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,0) 75%); pointer-events: none; }
.slide .txt, .overlay-card .txt { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 34px 36px; display: flex; flex-direction: column; gap: 10px; }
.slide h3 { font-size: clamp(22px, 2.3vw, 30px); line-height: 1.3; max-width: 30em; }
.slide h3 a, .overlay-card h3 { color: #fff; }
.slide h3 a:hover { color: var(--gold); }
.slide .meta, .overlay-card .meta { color: rgba(255,255,255,.85); }
.slide .cat, .overlay-card .cat { color: #fff; background: var(--accent); padding: 3px 10px; border-radius: 3px; align-self: flex-start; font-size: 12px; }
.slider-nav { position: absolute; right: 22px; bottom: 30px; z-index: 3; display: flex; flex-direction: column; gap: 8px; }
.slider-nav button { width: 44px; height: 44px; border: 0; border-radius: 4px; background: #fff; color: var(--head); font-size: 18px; cursor: pointer; display: grid; place-items: center; }
.slider-nav button:hover { background: var(--accent); color: #fff; }
.slider-dots { position: absolute; left: 36px; top: 26px; z-index: 3; display: flex; gap: 6px; }
.slider-dots button { width: 26px; height: 4px; border: 0; border-radius: 2px; background: rgba(255,255,255,.45); padding: 0; cursor: pointer; }
.slider-dots button.on { background: #fff; }
.side-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 24px; }
.overlay-card { min-height: 248px; }
.overlay-card .bg { position: absolute; inset: 0; }
.overlay-card .bg img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.overlay-card:hover .bg img { transform: scale(1.05); }
.overlay-card .txt { padding: 24px; gap: 8px; }
.overlay-card h3 { font-size: 19px; line-height: 1.35; }
.overlay-card:hover h3 { color: var(--gold); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .slider { min-height: 420px; } .side-stack { grid-template-rows: none; grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .side-stack { grid-template-columns: 1fr; } .slider { min-height: 380px; } .slide .txt { padding: 24px 70px 24px 22px; } .slider-dots { left: 22px; } }

/* ---------- Rripi me foto të rrumbullakëta ---------- */
.trending { background: var(--soft); padding: 40px 0; }
.trend-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.trend { display: flex; gap: 16px; align-items: flex-start; }
.trend .round { flex: none; width: 84px; height: 84px; border-radius: 50%; overflow: hidden; display: block; }
.trend .round img { width: 100%; height: 100%; object-fit: cover; }
.trend .round.ph::after { content: "DB"; font-size: 18px; letter-spacing: .05em; }
.trend .round.ic { display: grid; place-items: center; background: #fff; color: var(--accent); font-size: 30px; border: 1px solid var(--line); }
.trend h3 { font-size: 16px; line-height: 1.4; margin: 4px 0 6px; }
.trend h3 a { color: var(--head); }
.trend h3 a:hover { color: var(--accent); }
@media (max-width: 1000px) { .trend-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .trend-row { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- Blloqet me kartela + anështylla ---------- */
.with-side { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
@media (max-width: 1000px) { .with-side { grid-template-columns: 1fr; } }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 28px; }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .cards.three, .cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards, .cards.three, .cards.four { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; gap: 14px; }
.card .thumb-img { aspect-ratio: 16/11; }
.card .thumb-img .cat.pill { position: absolute; left: 16px; top: 16px; z-index: 1; }
.card h3 { font-size: 19px; line-height: 1.4; }
.card h3 a { color: var(--head); }
.card h3 a:hover { color: var(--accent); }
.card p { margin: 0; font-size: 14.5px; color: var(--text); line-height: 1.65; }
.card.small .thumb-img { aspect-ratio: 4/3; }
.card.small h3 { font-size: 17px; }

.list-posts { display: flex; flex-direction: column; }
.list-post { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.list-post:first-child { padding-top: 0; }
.list-post .thumb-img { flex: none; width: 104px; height: 82px; border-radius: 8px; }
.list-post .thumb-img.ph::after { font-size: 9px; letter-spacing: .15em; }
.list-post h3 { font-size: 15px; line-height: 1.45; margin-bottom: 4px; }
.list-post h3 a { color: var(--head); }
.list-post h3 a:hover { color: var(--accent); }

.side-widget { margin-bottom: 40px; }
.side-widget > h2 { font-size: 22px; font-weight: 700; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--line); position: relative; }
.side-widget > h2::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 60px; height: 2px; background: var(--accent); }
.follow { display: flex; flex-direction: column; gap: 10px; }
.follow a { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 8px; color: #fff; font-weight: 600; font-size: 15px; }
.follow a svg { width: 20px; height: 20px; fill: currentColor; }
.follow a span { margin-left: auto; font-weight: 500; font-size: 13px; opacity: .85; }
.follow a:hover { color: #fff; filter: brightness(1.1); }
.follow .fb { background: #3b5998; }
.follow .tw { background: #111; }
.follow .yt { background: #cc181e; }
.event-list { list-style: none; margin: 0; padding: 0; }
.event-list li { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.event-list .d { flex: none; width: 56px; height: 56px; border-radius: 8px; background: var(--accent); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; }
.event-list .d b { font-size: 20px; }
.event-list .d span { font-size: 10.5px; text-transform: uppercase; color: rgba(255,255,255,.85); font-weight: 600; }
.event-list a { color: var(--head); font-weight: 600; font-size: 14.5px; line-height: 1.4; }
.event-list a:hover { color: var(--accent); }
.event-list small { display: block; font-size: 12px; color: var(--muted); font-weight: 500; }
.link-list { list-style: none; margin: 0; padding: 0; }
.link-list li a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--head); font-weight: 500; font-size: 15px; }
.link-list li a::after { content: "›"; color: var(--muted); font-size: 18px; }
.link-list li a:hover, .link-list li.current a { color: var(--accent); }
.enrol-box { background: var(--accent); color: #fff; border-radius: var(--radius); padding: 26px; }
.enrol-box h2 { color: #fff; font-size: 22px; margin-bottom: 6px; }
.enrol-box p { margin: 0 0 14px; font-size: 14px; color: rgba(255,255,255,.8); }
.enrol-box a { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.18); color: #fff; font-weight: 500; font-size: 15px; }
.enrol-box a:hover { color: #fff; text-decoration: underline; }
.quote-box { background: var(--soft); border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; padding: 24px; font-size: 17px; font-style: italic; color: var(--head); line-height: 1.55; }
.quote-box cite { display: block; margin-top: 10px; font-style: normal; font-weight: 600; font-size: 13px; color: var(--accent); text-transform: uppercase; }

/* Pllakat e seksioneve (Shkolla / Qendra) */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.tile { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; color: #fff; }
.tile .bg { position: absolute; inset: 0; }
.tile .bg img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tile:hover .bg img { transform: scale(1.06); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,.05) 65%); }
.tile .txt { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px; }
.tile h3 { color: #fff; font-size: 21px; margin: 6px 0 4px; }
.tile p { margin: 0; font-size: 13.5px; color: rgba(255,255,255,.8); line-height: 1.5; }
.tile .cat { color: #fff; background: var(--accent); padding: 3px 10px; border-radius: 3px; font-size: 12px; }
.tile:hover h3 { color: var(--gold); }
@media (max-width: 1000px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr; } .tile { aspect-ratio: 16/10; } }

.links-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.links-grid a { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--head); font-weight: 600; font-size: 15.5px; transition: .2s; }
.links-grid a .ico { flex: none; font-size: 22px; color: var(--accent); }
.links-grid a:hover { border-color: var(--accent); color: var(--accent); box-shadow: 0 8px 24px rgba(0,0,0,.06); }
@media (max-width: 1000px) { .links-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .links-grid { grid-template-columns: 1fr; } }

/* ---------- Faqet e brendshme ---------- */
.page-top { background: var(--soft); padding: 34px 0 30px; border-bottom: 1px solid var(--line); }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13.5px; font-weight: 500; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .sep { color: #c4c4c4; font-size: 0; }
.breadcrumbs .sep::before { content: "›"; font-size: 15px; }
.breadcrumbs .here { color: var(--accent); }
.page-top h1 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; margin-top: 10px; }
.page-top .post-meta { margin-top: 12px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.page-body { padding: 50px 0 80px; }
.entry-content { font-size: 16.5px; line-height: 1.85; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { font-size: 28px; margin: 1.5em 0 .6em; }
.entry-content h3 { font-size: 22px; margin: 1.4em 0 .5em; }
.entry-content h4 { font-size: 18px; margin: 1.2em 0 .4em; }
.entry-content strong { color: var(--head); }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: 8px; }
.entry-content .alignleft { float: left; margin: 6px 26px 16px 0; }
.entry-content .alignright { float: right; margin: 6px 0 16px 26px; }
.entry-content .aligncenter { display: block; margin-inline: auto; }
@media (max-width: 600px) { .entry-content .alignleft, .entry-content .alignright { float: none; margin: 0 0 16px; } }
.entry-content blockquote { margin: 1.8em 0; padding: 20px 26px; background: var(--soft); border-left: 4px solid var(--accent); border-radius: 0 8px 8px 0; font-style: italic; font-size: 18px; color: var(--head); }
.entry-content ul li::marker { color: var(--accent); }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 14.5px; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.entry-content tr:first-child td, .entry-content th { background: var(--dark); color: #fff; font-weight: 600; }
.entry-content iframe { max-width: 100%; }
.entry-content::after { content: ""; display: table; clear: both; }
.featured-img { border-radius: var(--radius); overflow: hidden; margin-bottom: 30px; }
.featured-img img { width: 100%; display: block; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { font-size: 13.5px; color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.gallery .gallery-item { margin: 0; width: auto !important; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 0 !important; border-radius: 8px; }
.sidebar { position: sticky; top: 84px; }
@media (max-width: 1000px) { .sidebar { position: static; } }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 600; font-size: 15px; }

.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 50px; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 44px; min-height: 44px; padding: 8px 14px; border-radius: 6px; border: 1px solid var(--line); color: var(--head); display: inline-flex; align-items: center; justify-content: center; font-weight: 500; }
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination .current { background: var(--accent); border-color: var(--accent); color: #fff; }

.search-form { display: flex; }
.search-form input[type=search] { flex: 1; min-height: 46px; padding: 8px 14px; border: 1px solid var(--line); border-right: 0; border-radius: 6px 0 0 6px; font: inherit; font-size: 16px; }
.search-form button { min-height: 46px; padding: 8px 18px; border: 0; border-radius: 0 6px 6px 0; background: var(--accent); color: #fff; font-family: var(--font); font-weight: 600; cursor: pointer; }

/* ---------- Footer ---------- */
.site-footer { background: var(--darker); color: rgba(255,255,255,.65); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding: 70px 0 56px; }
.f-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.f-brand img { height: 60px; width: auto; }
.f-brand strong { color: #fff; font-size: 20px; line-height: 1.2; font-weight: 700; }
.site-footer h4 { color: #fff; font-size: 18px; font-weight: 600; margin: 0 0 20px; position: relative; padding-bottom: 12px; }
.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--gold); }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer address { font-style: normal; line-height: 1.85; }
.f-social { display: flex; gap: 10px; margin-top: 18px; }
.f-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.f-social a:hover { background: var(--accent); color: #fff; }
.f-social svg { width: 17px; height: 17px; fill: currentColor; }
.site-footer .search-form input[type=search] { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #fff; }
.footer-bottom { background: #161616; padding: 20px 0; font-size: 13.5px; text-align: center; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; padding: 50px 0 40px; } }

/* ---------- Gjuhët SQ / EN / IT ---------- */
.langs { display: inline-flex; gap: 2px; background: rgba(0,0,0,.14); border-radius: 4px; padding: 2px; }
.langs a { min-width: 34px; padding: 3px 8px; border-radius: 3px; color: #fff; font-size: 12.5px; font-weight: 600; text-align: center; letter-spacing: .03em; }
.langs a:hover { background: rgba(255,255,255,.18); color: #fff; }
.langs a.on { background: #fff; color: var(--accent); }
.main-nav .langs { display: none; }
@media (max-width: 1100px) {
  .main-nav .langs { display: flex; position: absolute; top: 20px; left: 24px; background: rgba(255,255,255,.08); }
  .main-nav .langs a { padding: 6px 12px; font-size: 13.5px; }
}

/* ---------- Logoja ---------- */
.brand img, .brand .custom-logo { max-height: 90px; }
.f-brand img { background: #fff; border-radius: 50%; padding: 4px; }
