/*
Theme Name: UK Sohodni
Theme URI: https://ukrainasohodni.com.ua
Author: Skin Hub S.L.
Description: Тема для Україна Сьогодні
Version: 5.6
Text Domain: uk-sohodni
*/

* { margin:0; padding:0; box-sizing:border-box; }
body { font-family:'Noto Sans', Arial, sans-serif; background:#F1EFE8; color:#2C2C2A; }
a { text-decoration:none; color:inherit; }
.wrap { max-width:1200px; margin:0 auto; background:#fff; }
.topbar { background:#0D3B7A; padding:14px 32px; }
.topbar-utility { display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; }
.utility-date { color:#888780; font-size:12px; }
.utility-right { display:flex; align-items:center; gap:12px; }
.social-icon { color:#B4B2A9; display:flex; }
.social-icon:hover { color:#fff; }
.search-toggle { background:none; border:none; color:#B4B2A9; cursor:pointer; padding:0; display:flex; }
.search-toggle:hover { color:#fff; }
.us-search-form { max-height:0; overflow:hidden; transition:max-height .2s ease; }
.us-search-form.open { max-height:44px; margin-bottom:10px; }
.us-search-form input { width:100%; height:36px; border-radius:var(--radius,8px); border:0.5px solid #2C2C2A; background:rgba(255,255,255,0.06); color:#fff; padding:0 12px; font-size:13px; }
.topbar-main { display:flex; justify-content:space-between; align-items:center; }
.topbar-row { display:contents; }
.logo { display:flex; align-items:center; gap:10px; }
.logo-mark { width:36px; height:36px; border-radius:8px; background:#FDB813; display:flex; align-items:center; justify-content:center; font-weight:700; color:#0D3B7A; }
.logo-text { display:none; }
.btn-subscribe { background:#FDB813; color:#0D3B7A; font-size:13px; font-weight:700; padding:8px 16px; border-radius:6px; }
.btn-subscribe:hover { background:#FED766; }
.nav { border-top:1px solid rgba(255,255,255,0.08); margin-top:14px; padding-top:10px; position:relative; }
.nav ul { list-style:none; display:flex; flex-wrap:wrap; gap:16px; }
.nav li { position:relative; }
.nav a { color:#B4B2A9; font-size:13px; display:block; }
.nav a:hover { color:#fff; }
.nav li.menu-item-has-children > a::after { content:"▾"; font-size:9px; margin-left:4px; color:#5F5E5A; }
.nav ul.sub-menu { display:none; position:absolute; top:100%; left:0; background:#0D3B7A; border:0.5px solid rgba(255,255,255,0.12); border-radius:6px; padding:6px 0; min-width:190px; flex-direction:column; gap:0; z-index:20; box-shadow:0 8px 20px rgba(0,0,0,0.35); }
.nav li:hover > ul.sub-menu { display:flex; }
.nav ul.sub-menu li { width:100%; }
.nav ul.sub-menu a { padding:8px 16px; font-size:13px; font-weight:400; }
.nav ul.sub-menu a::after { content:none; }
.nav-toggle { display:none; background:none; border:none; color:#fff; cursor:pointer; padding:6px; }
.ticker { background:#fff; padding:12px 20px; display:flex; align-items:center; gap:14px; border:1px solid #E0DED6; border-radius:10px; margin:20px 32px 0; }
.tag { font-size:11px; font-weight:700; padding:3px 10px; border-radius:4px; display:inline-block; }
.tag-news { background:#FDB813; color:#0D3B7A; }
.tag-health { background:#FDB813; color:#0D3B7A; }
.tag-recipe { background:#97C459; color:#173404; }
.tag-benefit { background:#FAC775; color:#412402; }
.ticker .text { color:#2C2C2A; font-size:14px; font-weight:700; }
.main { padding:32px; }
.hero { display:grid; grid-template-columns:1.4fr 1fr; gap:20px; margin-bottom:28px; }
.hero-carousel { position:relative; overflow:hidden; }
.hero-track { display:flex; transition:transform .4s ease; }
.hero-slide { flex:0 0 100%; min-width:0; }
.hero-big { position:relative; border-radius:12px; overflow:hidden; background:#0D3B7A; min-height:360px; display:flex; flex-direction:column; justify-content:flex-end; padding:24px; background-size:cover; background-position:center; }
.hero-big h1 { color:#fff; font-size:26px; font-weight:700; line-height:1.35; margin-top:12px; }
.hero-side { display:flex; flex-direction:column; gap:16px; }
.side-card { background:#F1EFE8; border-radius:12px; padding:22px; flex:1; display:flex; flex-direction:column; justify-content:space-between; min-height:160px; }
.side-card h2 { font-size:17px; font-weight:700; margin-top:12px; line-height:1.3; }
.grid3 { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-bottom:28px; }
.grid2 { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; margin-bottom:28px; }
.card { border:1px solid #E0DED6; border-radius:12px; padding:16px; }
.card .thumb { aspect-ratio:16/9; width:100%; border-radius:8px; margin-bottom:12px; background-size:cover; background-position:center; }
.card h3 { font-size:19px; font-weight:700; line-height:1.35; }
.card-meta { font-size:11px; color:#888780; display:block; margin-top:6px; }
.section-title { display:flex; align-items:center; gap:10px; margin:32px 0 18px; }
.section-title .bar { width:18px; height:4px; background:#FDB813; }
.section-title span { font-size:13px; font-weight:700; color:#0D3B7A; letter-spacing:0.5px; }
.section-more { margin-left:auto; font-size:12px; color:#0C447C; font-weight:700; }
.feed-list { display:flex; flex-direction:column; margin-bottom:12px; }
.feed-item { display:flex; gap:14px; align-items:center; padding:12px 0; border-bottom:1px solid #E0DED6; }
.feed-item:last-child { border-bottom:none; }
.feed-thumb { width:76px; height:56px; flex:none; border-radius:8px; background-size:cover; background-position:center; }
.feed-info h4 { font-size:14px; font-weight:700; line-height:1.35; margin-bottom:4px; }
.feed-meta { font-size:11px; color:#888780; }
.footer { background:#0D3B7A; color:#B4B2A9; padding:24px 32px; font-size:12px; text-align:center; }
.site-footer { background:#0D3B7A; padding:28px 32px 20px; }
.footer-top { display:flex; justify-content:space-between; align-items:center; padding-bottom:20px; border-bottom:1px solid rgba(255,255,255,0.08); }
.footer-logo-img { max-height:64px; }
.footer-socials { display:flex; gap:14px; }
.footer-bottom { padding-top:16px; }
.footer-bottom ul { list-style:none; display:flex; flex-wrap:wrap; gap:16px; }
.footer-bottom a { color:#B4B2A9; font-size:13px; }
.footer-bottom a:hover { color:#fff; }
.footer-copy-row { text-align:center; padding-top:14px; margin-top:14px; border-top:1px solid rgba(255,255,255,0.08); }
.footer-copy { color:#888780; font-size:12px; }
.logo-img { max-height:52px; }
.single-content { padding:32px; max-width:760px; margin:0 auto; line-height:1.7; }
.single-cat { display:inline-block; background:#FDB813; color:#0D3B7A; font-size:11px; font-weight:700; padding:3px 10px; border-radius:4px; margin-bottom:10px; }
.single-content h1 { font-size:28px; font-weight:700; margin-bottom:14px; }
.single-meta { display:flex; align-items:center; gap:18px; flex-wrap:wrap; margin-bottom:20px; font-size:13px; color:#5F5E5A; }
.meta-author { display:flex; align-items:center; gap:8px; }
.meta-author img { border-radius:50%; }
.single-thumb { margin:0 0 24px; border-radius:12px; overflow:hidden; border:1px solid #E0DED6; }
.single-thumb img { width:100%; height:auto; display:block; }
.single-caption { background:#2C2C2A; color:#B4B2A9; font-size:12px; text-align:center; padding:8px 12px; margin:0; }
.single-tags { display:flex; flex-wrap:wrap; gap:10px; margin-top:24px; padding-top:16px; border-top:1px solid #E0DED6; }
.single-tags a { font-size:12px; color:#0C447C; }
.single-nav { display:flex; justify-content:space-between; gap:16px; margin-top:24px; padding-top:20px; border-top:1px solid #E0DED6; }
.single-nav-link { font-size:13px; font-weight:700; color:#0D3B7A; max-width:48%; }
.single-nav-next { text-align:right; margin-left:auto; }
.single-nav-arrow { color:#FDB813; }
.seo-block { margin-top:32px; padding-top:24px; border-top:1px solid #E0DED6; font-size:13px; line-height:1.7; color:#5F5E5A; }
.seo-block h2 { font-size:16px; font-weight:700; color:#0D3B7A; margin-bottom:12px; }
.seo-block p { margin-bottom:10px; }
.seo-block a { color:#0C447C; }
.seo-block strong { color:#2C2C2A; }
.single-comments { margin-top:32px; padding-top:24px; border-top:1px solid #E0DED6; }
.comments-title { font-size:18px; font-weight:700; margin-bottom:16px; }
.comment-list { list-style:none; }
.comment-list .children { list-style:none; margin-left:40px; }
.comment-body { display:flex; gap:12px; padding:16px 0; border-bottom:1px solid #E0DED6; }
.comment-body .avatar { border-radius:50%; flex:none; }
.comment-author { font-size:13px; font-weight:700; }
.comment-author .says { display:none; }
.comment-metadata { font-size:11px; color:#888780; margin-bottom:6px; }
.comment-metadata a { color:#888780; }
.comment-content p { font-size:14px; line-height:1.6; margin-top:4px; }
.reply { margin-top:6px; }
.reply a { font-size:12px; font-weight:700; color:#0C447C; }
.comments-closed { font-size:13px; color:#888780; }
#respond { margin-top:20px; }
#respond .comment-reply-title { font-size:16px; font-weight:700; margin-bottom:12px; }
#respond p { margin-bottom:10px; }
#respond label { display:block; font-size:13px; margin-bottom:4px; }
#respond input[type="text"], #respond input[type="email"], #respond input[type="url"], #respond textarea { width:100%; border:1px solid #E0DED6; border-radius:8px; padding:10px 12px; font-size:14px; font-family:inherit; }
#respond textarea { min-height:100px; }
#respond .form-submit input { background:#0D3B7A; color:#fff; border:none; border-radius:8px; padding:10px 20px; font-size:14px; font-weight:700; cursor:pointer; }
#respond .form-submit input:hover { background:#0C447C; }

@media (max-width:680px) {
  .main, .single-content { padding:16px; }
  .topbar { padding:12px 16px; }
  .topbar-main { flex-direction:column; align-items:stretch; gap:12px; }
  .topbar-row { display:flex; align-items:center; justify-content:space-between; gap:12px; }
  .hero { grid-template-columns:1fr; }
  .hero-big { min-height:260px; }
  .hero-big h1 { font-size:21px; }
  .grid3, .grid2 { grid-template-columns:1fr; }
  .site-footer { padding:20px 16px 16px; }
  .footer-top { flex-direction:column; align-items:flex-start; gap:14px; }
  .footer-bottom ul { flex-direction:column; gap:10px; }
  .feed-thumb { width:64px; height:48px; }
  .single-content h1 { font-size:22px; }
  .single-nav { flex-direction:column; }
  .single-nav-link { max-width:100%; }
  .ticker { margin:16px 16px 0; flex-direction:column; text-align:center; }
  .ticker .tag { margin-bottom:2px; }
  .single-nav-next { text-align:left; margin-left:0; }
  .nav-toggle { display:flex; }
  .btn-subscribe { text-align:center; }
  .nav { border-top:none; margin-top:0; padding-top:0; }
  .nav ul { display:none; flex-direction:column; gap:0; }
  .nav.open ul { display:flex; padding-bottom:12px; }
  .nav a { padding:10px 0; border-bottom:1px solid rgba(255,255,255,0.08); }
  .nav ul.sub-menu { position:static; background:none; border:none; box-shadow:none; padding:0 0 0 16px; min-width:0; display:none; }
  .nav li.menu-item-has-children.open > ul.sub-menu { display:flex; }
  .nav li:hover > ul.sub-menu { display:none; }
  .nav li.menu-item-has-children.open:hover > ul.sub-menu { display:flex; }
}

.archive-pagination { margin:32px 0; }
.archive-pagination .nav-links { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; }
.archive-pagination .page-numbers { display:flex; align-items:center; justify-content:center; min-width:38px; height:38px; padding:0 10px; border-radius:8px; border:1px solid #E0DED6; color:#0D3B7A; font-size:13px; font-weight:700; }
.archive-pagination .page-numbers.current { background:#0D3B7A; color:#fff; border-color:#0D3B7A; }
.archive-pagination .page-numbers.dots { border:none; }
.archive-pagination a.page-numbers:hover { background:#F1EFE8; }
