/* AgroNews.Al */
:root {
    --green: #2d9332;
    --green-2: #099610;
    --green-dark: #194916;
    --text: #1f2a1f;
    --muted: #6b766b;
    --line: #e6ebe6;
    --bg-soft: #f4f7f4;
    --radius: 6px;
    --font-h: "Raleway", system-ui, sans-serif;
    --font-b: "Lato", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font: 16px/1.6 var(--font-b);
    color: var(--text);
    background: #9ed58c url("/wp-content/uploads/2019/01/agriculture.jpg") center top / cover fixed;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--green); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-h); line-height: 1.3; margin: 0; }
button { font: inherit; cursor: pointer; }

.site { max-width: 1180px; margin: 0 auto; background: #fff; box-shadow: 0 0 30px rgba(0, 0, 0, .15); }
.wrap { padding: 0 18px; }

/* top bar */
.topbar { background: #f5f5f5; border-bottom: 1px solid var(--line); font-size: 13px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; min-height: 36px; }
.today { color: var(--muted); text-transform: capitalize; }
.top-links { display: flex; align-items: center; gap: 16px; }
.top-links a { color: #444; }
.search-toggle { background: none; border: 0; color: #444; padding: 4px; display: flex; }
.search-bar { display: none; gap: 8px; padding-bottom: 10px; }
.search-open .search-bar { display: flex; }
.search-bar input, .search-inline input { flex: 1; padding: 10px 12px; border: 1px solid #cfd8cf; border-radius: var(--radius); font-size: 15px; }
.search-bar button, .search-inline button { background: var(--green); color: #fff; border: 0; border-radius: var(--radius); padding: 0 20px; font-weight: 700; }

/* header */
.header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 16px; padding-bottom: 16px; }
.logo img { max-height: 90px; width: auto; }
.logo-text { font: 800 30px var(--font-h); color: var(--green); }
.header-ad { flex: 0 1 728px; min-width: 0; }
.header-ad .ad { margin: 0; }
.header-ad video, .header-ad img, .header-ad iframe { width: 100%; height: auto; display: block; border-radius: 4px; }

/* navigation */
.mainnav { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 50; }
.nav-in { display: flex; align-items: center; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.menu > li { position: relative; border-right: 1px solid var(--line); border-top: 3px solid transparent; }
.menu > li:first-child { border-left: 1px solid var(--line); }
.menu > li:hover, .menu > li.active { border-top-color: var(--green); }
.menu > li > a { display: block; padding: 12px 14px; font: 700 12.5px var(--font-h); text-transform: uppercase; letter-spacing: .3px; color: #333; }
.menu > li.active > a { color: var(--green); }
.menu .sub-toggle { display: none; }
.menu .sub { list-style: none; margin: 0; padding: 6px 0; position: absolute; left: -1px; top: 100%; min-width: 210px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--green); box-shadow: 0 8px 20px rgba(0, 0, 0, .08); display: none; }
.menu .has-sub:hover .sub { display: block; }
.menu .sub a { display: block; padding: 8px 16px; font-size: 14px; }
.menu .has-sub > a::after { content: " ▾"; font-size: 10px; }
.burger { display: none; background: none; border: 0; padding: 12px 6px; }
.burger span { display: block; width: 24px; height: 3px; background: var(--green-dark); margin: 4px 0; border-radius: 2px; }

/* layout */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 30px; padding-top: 24px; padding-bottom: 30px; }

/* section titles */
.sec-title { display: flex; align-items: center; gap: 14px; margin: 4px 0 16px; }
.sec-title h2 { font-size: 20px; color: var(--green); padding-left: 10px; border-left: 4px solid var(--green); white-space: nowrap; }
.sec-title::after { content: ""; flex: 1; height: 1px; background: var(--green); opacity: .6; order: 2; }
.sec-title .more { order: 3; font-size: 13px; color: var(--muted); white-space: nowrap; }
.home-sec { margin-bottom: 28px; }

/* hero */
.hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; margin-bottom: 18px; }
.hero-main { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: #ddd; min-height: 300px; }
.hero-main img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 5/3; transition: transform .4s; }
.hero-main:hover img { transform: scale(1.03); }
.hero-over { position: absolute; inset: auto 0 0 0; padding: 60px 18px 16px; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); color: #fff; display: flex; flex-direction: column; gap: 6px; }
.hero-over strong { font: 700 21px/1.3 var(--font-h); }
.hero-over .meta { color: #e5e5e5; }
.hero-over .badge { position: static; align-self: flex-start; }
.hero-side { display: flex; flex-direction: column; gap: 14px; }

/* grids & cards */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; }
.card-img { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); aspect-ratio: 420/284; border-bottom: 3px solid var(--green); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.05); }
.badge { position: absolute; top: 10px; right: 10px; background: var(--green); color: #fff; font: 700 10.5px var(--font-h); text-transform: uppercase; padding: 4px 9px; border-radius: 3px; letter-spacing: .3px; }
.card-over { position: absolute; inset: auto 0 0 0; padding: 30px 10px 8px; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); color: #fff; font-size: 12.5px; text-align: center; }
.card-over .meta { color: #fff; }
.card-title { font-size: 15.5px; margin-top: 10px; line-height: 1.35; color: var(--green-dark); }
.card-ex { font-size: 14px; color: var(--muted); margin: 6px 0 0; }
.noimg { display: block; width: 100%; height: 100%; min-height: 80px; background: linear-gradient(135deg, #e9f3e7, #cfe6c9); }

/* list item */
.li { display: flex; gap: 12px; align-items: flex-start; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); }
.grid2 .li, .hero-side .li { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.li-img { flex: 0 0 105px; aspect-ratio: 150/110; border-radius: 4px; overflow: hidden; background: var(--bg-soft); }
.li-img img { width: 100%; height: 100%; object-fit: cover; }
.li-body { min-width: 0; }
.li-body h3 { font-size: 14.5px; color: var(--green-dark); line-height: 1.35; }
.li-body p { font-size: 13.5px; color: var(--muted); margin: 4px 0 0; }
.content > .li .li-img { flex-basis: 200px; }
.content > .li .li-body h3 { font-size: 18px; }
.meta { font-size: 12px; color: var(--muted); }
.sep { opacity: .6; margin: 0 4px; }

/* archive */
.archive-head { margin-bottom: 20px; }
.archive-head h1 { font-size: 28px; color: var(--green-dark); border-left: 4px solid var(--green); padding-left: 12px; }
.arch-desc { color: var(--muted); }
.arch-first { margin-bottom: 20px; }
.arch-first .card-title { font-size: 22px; }
.subcats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.subcats a { background: var(--bg-soft); border: 1px solid var(--line); padding: 4px 12px; border-radius: 20px; font-size: 13px; }
.search-inline { display: flex; gap: 8px; margin: 14px 0 6px; }
.found { color: var(--muted); font-size: 14px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--green); }
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 26px 0 6px; }
.pager a, .pager span { padding: 7px 13px; border: 1px solid var(--line); border-radius: 4px; font-size: 14px; }
.pager .cur { background: var(--green); color: #fff; border-color: var(--green); }
.pager .dots { border: 0; }
.empty { padding: 40px 0; text-align: center; color: var(--muted); }

/* single */
.s-title { font-size: 30px; line-height: 1.25; color: var(--green-dark); margin-bottom: 10px; }
.s-meta { color: var(--muted); font-size: 13px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.s-meta .meta { font-size: 13px; }
.s-img { margin: 0 0 18px; }
.s-img img { width: 100%; border-radius: var(--radius); }
.s-content { font-size: 17.5px; line-height: 1.75; overflow-wrap: break-word; }
.s-content p { margin: 0 0 1.1em; }
.s-content h2, .s-content h3, .s-content h4 { margin: 1.4em 0 .6em; color: var(--green-dark); }
.s-content a { color: var(--green); text-decoration: underline; }
.s-content img { border-radius: 4px; margin: 6px 0 12px; }
.s-content .alignleft { float: left; margin: 6px 18px 12px 0; max-width: 50%; }
.s-content .alignright { float: right; margin: 6px 0 12px 18px; max-width: 50%; }
.s-content .aligncenter { margin-left: auto; margin-right: auto; }
.s-content figure { margin: 1em 0; }
.s-content figcaption { font-size: 13.5px; color: var(--muted); text-align: center; margin-top: 4px; }
.s-content .wp-caption { max-width: 100%; }
.s-content table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 15px; display: block; overflow-x: auto; }
.s-content td, .s-content th { border: 1px solid var(--line); padding: 6px 10px; }
.s-content blockquote { margin: 1.2em 0; padding: 10px 18px; border-left: 4px solid var(--green); background: var(--bg-soft); }
.s-content video, .s-content audio { width: 100%; margin: 1em 0; border-radius: 4px; background: #000; }
.s-content iframe:not(.embed iframe) { max-width: 100%; }
.s-content::after { content: ""; display: block; clear: both; }
.embed { position: relative; aspect-ratio: 16/9; margin: 1em 0; background: #000; border-radius: 4px; overflow: hidden; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.s-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 20px 0; }
.s-tags a { font-size: 13px; background: var(--bg-soft); padding: 3px 10px; border-radius: 3px; color: var(--green-dark); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 22px 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.share span { font-weight: 700; margin-right: 4px; }
.share a, .share button { color: #fff; border: 0; border-radius: 4px; padding: 7px 14px; font-size: 13.5px; font-weight: 700; }
.sh-fb { background: #1877f2; } .sh-wa { background: #25d366; } .sh-vb { background: #7360f2; } .sh-x { background: #111; } .sh-copy { background: #777; }
.share a:hover { color: #fff; opacity: .9; }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.prevnext a { display: block; padding: 12px 14px; background: var(--bg-soft); border-radius: var(--radius); font: 700 14.5px/1.35 var(--font-h); color: var(--green-dark); }
.prevnext small { display: block; font: 400 12px var(--font-b); color: var(--muted); margin-bottom: 4px; }
.pn-next { text-align: right; grid-column: 2; }

/* sidebar */
.sidebar { min-width: 0; }
.widget { margin-bottom: 28px; }
.w-title { font-size: 16px; color: var(--green); border-left: 4px solid var(--green); padding-left: 10px; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.w-title::after { content: ""; flex: 1; height: 1px; background: var(--green); opacity: .5; }
.sidebar .li-img { flex-basis: 80px; }
.sidebar .li-body h3 { font-size: 13.5px; }
.popular { margin: 0; padding: 0; list-style: none; counter-reset: pop; }
.popular li { counter-increment: pop; display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font: 600 14px/1.35 var(--font-h); }
.popular li::before { content: counter(pop); flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 12px; }
.weather { background: linear-gradient(135deg, #2d9332, #194916); color: #fff; border-radius: var(--radius); padding: 14px; }
.weather .w-title { color: #fff; border-color: #fff; }
.weather .w-title::after { background: #fff; }
.w-now { display: flex; align-items: center; gap: 12px; }
.w-icon { font-size: 40px; line-height: 1; }
.w-temp { font: 800 34px var(--font-h); }
.w-txt { font-size: 14px; line-height: 1.3; }
.w-txt small { opacity: .85; }
.w-days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; text-align: center; font-size: 12px; }
.w-days div { background: rgba(255, 255, 255, .12); border-radius: 4px; padding: 6px 2px; display: flex; flex-direction: column; text-transform: capitalize; }
.w-days span { font-size: 20px; }
.fb-btn { display: block; text-align: center; background: #1877f2; color: #fff; padding: 10px; border-radius: var(--radius); font-weight: 700; }
.fb-btn:hover { color: #fff; }

/* ads */
.ad { margin: 0 0 24px; text-align: center; overflow: hidden; }
.ad img, .ad video { margin: 0 auto; max-width: 100%; height: auto; }
.ad video { width: 100%; }

/* footer */
.footer { background: #1d2b1d; color: #cfd8cf; margin-top: 10px; }
.footer-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding-top: 34px; padding-bottom: 26px; }
.footer img { max-height: 70px; width: auto; background: #fff; padding: 6px; border-radius: 4px; margin-bottom: 12px; }
.footer-text { font-size: 14px; }
.footer-text p { margin: 0; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.footer li { padding: 3px 0; }
.footer a:hover { color: #8fd18f; }
.copyright { border-top: 1px solid rgba(255, 255, 255, .1); padding: 14px 0; font-size: 13px; text-align: center; }
.copyright a { color: #8fd18f; }
.notfound { text-align: center; padding: 30px 0 40px; }
.notfound h1 { font-size: 80px; color: var(--green); }
.notfound .search-inline { max-width: 460px; margin: 16px auto; }
.to-top { position: fixed; right: 18px; bottom: 18px; width: 42px; height: 42px; border-radius: 50%; background: var(--green); color: #fff; border: 0; font-size: 20px; opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 60; }
.scrolled .to-top { opacity: 1; pointer-events: auto; }

/* responsive */
@media (max-width: 1000px) {
    .layout { grid-template-columns: 1fr; }
    .sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
}
@media (max-width: 860px) {
    body { background: #fff; }
    .header { flex-direction: column; }
    .header-ad { width: 100%; }
    .burger { display: block; }
    .menu { display: none; flex-direction: column; width: 100%; }
    .nav-open .menu { display: flex; }
    .nav-in { flex-wrap: wrap; }
    .menu > li { border: 0 !important; border-top: 1px solid var(--line) !important; }
    .menu .sub { position: static; box-shadow: none; border: 0; display: none; padding-left: 14px; }
    .menu .has-sub:hover .sub { display: none; }
    .menu .has-sub.open .sub { display: block; }
    .menu .sub-toggle { display: block; position: absolute; right: 0; top: 0; background: none; border: 0; padding: 10px 16px; }
    .menu .has-sub > a::after { content: ""; }
    .hero { grid-template-columns: 1fr; }
    .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-in { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .wrap { padding: 0 12px; }
    .today { display: none; }
    .topbar-in { justify-content: flex-end; }
    .grid3, .grid2, .sidebar { grid-template-columns: 1fr; }
    .s-title { font-size: 24px; }
    .s-content { font-size: 17px; }
    .s-content .alignleft, .s-content .alignright { float: none; margin: 10px auto; max-width: 100%; }
    .content > .li .li-img { flex-basis: 110px; }
    .content > .li .li-body h3 { font-size: 15.5px; }
    .content > .li .li-body p { display: none; }
    .hero-over strong { font-size: 18px; }
    .prevnext { grid-template-columns: 1fr; }
    .pn-next { grid-column: 1; }
}
