/* styles-v19.css — Trends Hub Style v19 */
/* ✅ Fixes:
   - Article page clean (no borders / no boxed look)
   - Right slider looks like the image (no box borders)
   - Recent posts list clean (no boxed items)
   - Less rounded cards across the site
*/

/* ---------------------------
   Base
---------------------------- */
:root{
  --green:#0b7a2a;
  --green2:#0f8f33;
  --greenDark:#07561d;

  --bg:#ffffff;
  --ink:#1b1f25;
  --muted:#6e7784;

  --card:#fff;
  --border:#e8e8e8;

  --radius:10px;              /* ✅ less rounded */
  --radius2:12px;             /* ✅ slightly less */
  --shadow: 0 10px 26px rgba(0,0,0,.08);

  --shell: 1480px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: "Open Sans", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:var(--ink);
  background: var(--bg);
  overflow-x:hidden;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
.lock{ overflow:hidden; }

.container{
  width:min(var(--shell), calc(100% - 32px));
  margin:0 auto;
  padding:22px 0 40px;
}

/* ---------------------------
   Topbar
---------------------------- */
.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background:var(--green);
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
}

.topbar__inner{
  width:min(var(--shell), calc(100% - 32px));
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 0;
  gap:14px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  color:#fff;
  font-weight:700;
  letter-spacing:.2px;
}

.brand img{
  width:34px;
  height:34px;
  border-radius:10px;
  object-fit:cover;
  background:#fff;
  padding:2px;
}

.navMain{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:nowrap;
  overflow:auto;
  padding-bottom:2px;
}

.navMain::-webkit-scrollbar{ height:0; }

.navLink{
  color:#fff;
  font-size:14px;
  font-weight:600;
  white-space:nowrap;
  opacity:.95;
}
.navLink:hover{ opacity:1; text-decoration:underline; }

/* burger */
.burger{
  width:42px;
  height:36px;
  border:0;
  background:transparent;
  display:none;
  cursor:pointer;
}
.burger span{
  display:block;
  height:2px;
  background:#fff;
  margin:6px 0;
  border-radius:3px;
}

/* ---------------------------
   Drawer
---------------------------- */
.overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.35);
  opacity:0;
  pointer-events:none;
  transition:.18s ease;
  z-index:60;
}
.overlay.open{
  opacity:1;
  pointer-events:auto;
}

.drawer{
  position:fixed;
  right:-360px;
  top:0;
  height:100%;
  width:360px;
  background:#fff;
  z-index:70;
  box-shadow:-12px 0 28px rgba(0,0,0,.18);
  transition:.22s ease;
  padding:16px;
  overflow:auto;
}
.drawer.open{ right:0; }

.drawer__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:12px;
}
.drawer__title{
  font-weight:800;
  font-size:18px;
}
.drawer__close{
  width:38px;
  height:38px;
  border:0;
  border-radius:10px;
  background:#f3f4f6;
  cursor:pointer;
  font-size:22px;
  line-height:0;
}

.drawer__search{
  display:flex;
  gap:8px;
  margin:10px 0 14px;
}
.drawerInput{
  flex:1;
  height:42px;
  border:1px solid #e2e6ea;
  border-radius:12px;
  padding:0 12px;
  outline:none;
}
.drawerGo{
  height:42px;
  border:0;
  border-radius:12px;
  background:var(--green);
  color:#fff;
  font-weight:700;
  padding:0 14px;
  cursor:pointer;
}

.drawer__links{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:10px 0 14px;
  border-top:1px solid #eee;
  border-bottom:1px solid #eee;
}
.drawer__links a{
  font-weight:700;
  color:#111827;
}

.drawerCats{
  padding-top:14px;
}
.drawerCats__title{
  font-weight:800;
  margin-bottom:10px;
}
.drawerCats a{
  display:block;
  padding:8px 0;
  color:#374151;
  font-weight:600;
}

/* ---------------------------
   Hero (home)
---------------------------- */
.hero{
 background:
    radial-gradient(circle at 20% 20%, rgba(11,122,42,.14), transparent 60%),
    radial-gradient(circle at 90% 30%, rgba(32,199,173,.10), transparent 65%),
    linear-gradient(180deg, #ffffff, #f3faf6);
  
  background-size:cover;
  background-position:center;
  min-height:200px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.hero__inner{
  width:min(var(--shell), calc(100% - 32px));
  padding:34px 0;
  text-align:center;
}

.hero__logoRow{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:10px 18px;
  background:rgba(255,255,255,.90);
  border-radius:999px;
  box-shadow:0 10px 26px rgba(0,0,0,.14);
}

.hero__logo{
  width:38px;
  height:38px;
  border-radius:12px;
  object-fit:cover;
}

.hero__name{
  font-size:36px;
  font-weight:900;
  letter-spacing:.2px;
}

.hero__search{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-top:16px;
}

.searchInput{
  width:min(520px, 100%);
  height:46px;
  border-radius:999px;
  border:0;
  padding:0 18px;
  outline:none;
  font-size:15px;
  background:#f3f4f6;
  box-shadow:0 8px 22px rgba(0,0,0,.12);
}
.searchBtn{
  width:46px;
  height:46px;
  border-radius:50%;
  border:0;
  background:var(--green);
  color:#fff;
  cursor:pointer;
  display:grid;
  place-items:center;
  box-shadow:0 8px 22px rgba(0,0,0,.12);
}
.searchBtn svg{
  width:20px;
  height:20px;
  fill:none;
  stroke:#fff;
  stroke-width:2.4;
  stroke-linecap:round;
  stroke-linejoin:round;
}

/* ---------------------------
   Home layout
---------------------------- */
.homeLayout{
  display:grid;
  grid-template-columns: 1fr 320px;
  gap:24px;
  align-items:start;
}
.homeSide {
    position:sticky;
  top:84px;
}
.homeSide .sideSticky{
  position:sticky;
  top:84px;
}

/* ---------------------------
   Featured row
---------------------------- */
.featuredRow{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:18px;
  margin-top:16px;
}

/* featured card */
.fCard{
  background:#fff;
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
}
.fCard__media{
  position:relative;
  display:block;
}
.fCard__media img{
  width:100%;
  height:190px;
  object-fit:cover;
}
.fCard__cat{
  position:absolute;
  right:12px;
  top:12px;
  background:rgba(255,255,255,.92);
  color:#0b7a2a;
  font-weight:800;
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  text-transform:lowercase;
}
.fCard__body{
  padding:12px 14px 14px;
}
.fCard__meta{
  display:flex;
  justify-content:flex-end;
  color:#6b7280;
  font-size:12px;
  margin-bottom:6px;
}
.fCard__title{
  display:block;
  font-weight:900;
  font-size:17px;
  line-height:1.2;
}

/* ---------------------------
   Sections
---------------------------- */
.sectionBlock{
  margin-top:20px;
}
.sectionHead{
  display:flex;
  align-items:end;
  justify-content:space-between;
  margin-bottom:10px;
}
.sectionHead h2{
  margin:0;
  font-size:22px;
  font-weight:900;
}
.sectionMore{
  font-weight:800;
  color:var(--green);
}

/* Grid of section cards */
.gridCards{
  display:grid;
  gap:18px;
}
.gridCards--sections{
  grid-template-columns: repeat(2, 1fr);
}

/* ✅ Full image + overlay box (like your screenshot) */
.sCard{
  position:relative;
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  background:#fff;
}
.sCard__media{
  display:block;
  position:relative;
}
.sCard__media img{
  width:100%;
  height:240px;
  object-fit:cover;
}
.sCard__cat{
  position:absolute;
  right:12px;
  top:12px;
  background:rgba(0,0,0,.65);
  color:#fff;
  font-weight:900;
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  text-transform:lowercase;
}

/* ✅ overlay content box */
.sCard__box{
  position:absolute;
  left:16px;
  right:16px;
  bottom:16px;
  background:rgba(255,255,255,.92);
  border-radius:12px;
  padding:12px 12px 12px;
  box-shadow:0 14px 34px rgba(0,0,0,.20);
}
.sCard__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:6px;
}
.sCard__catInline{
  font-weight:900;
  font-size:12px;
  color:var(--green);
  text-transform:lowercase;
}
.sCard__title{
  display:block;
  font-weight:900;
  font-size:16px;
  line-height:1.25;
  margin-bottom:6px;
}
.sCard__excerpt{
  font-size:13px;
  line-height:1.35;
  color:#4b5563;
}

/* ---------------------------
   Sidebar (Trending / Recent)
   ✅ clean list (NO boxes)
---------------------------- */
.sideTitle,
.sideTitleClean{
  font-size:18px;
  font-weight:900;
  margin-bottom:12px;
}

.sidePlainList{
  display:flex;
  flex-direction:column;
  gap:14px;
}

/* ✅ NO box, NO border items */
.recentItem{
  display:flex;
  align-items:flex-start;
  gap:12px;
}

.recentItem__img{
 width:56px;
  height:56px;
  flex:0 0 56px;
  border-radius:12px;
  object-fit:cover;
  object-position:center;
  background:#e5e7eb;
  display:block;
}
.recentItem__txt{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
}
.recentItem__title{
  font-weight:800;
  font-size:13px;
  line-height:1.15;
  color:#111827;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.recentItem__meta{
  font-size:12px;
  color:#6b7280;
}

/* ---------------------------
   Breadcrumbs
---------------------------- */
.crumbs{
  display:flex;
  align-items:center;
  gap:8px;
  color:#6b7280;
  font-size:13px;
  margin-bottom:12px;
}
.crumbs a{ color:#6b7280; }
.crumbs a:hover{ text-decoration:underline; }

/* ---------------------------
   Category top + chips
---------------------------- */
.catTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.catTop__title{
  margin:0;
  font-size:34px;
  font-weight:900;
}

.chipsRow{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:14px 0 18px;
}

.navChip{
  border:1px solid #e6e6e6;
  padding:8px 12px;
  border-radius:999px;
  font-weight:800;
  font-size:13px;
  background:#fff;
}
.navChip--active{
  border-color:var(--green);
  color:var(--green);
}

/* ---------------------------
   Two-column pages
---------------------------- */
.twoCol{
  display:grid;
  grid-template-columns: 1fr 320px;
  gap:24px;
  align-items:start;
}
.gridMain{ min-width:0; }

.sideBoxClean{
  position:sticky;
  top:84px;
  align-self:start;
}

/* ---------------------------
   Pagination
---------------------------- */
.pg{
  display:flex;
  gap:10px;
  justify-content:center;
  margin:22px 0 10px;
}
.pg__link{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:10px;
  font-weight:900;
  border:1px solid #e6e6e6;
  background:#fff;
}
.pg__link--active{
  border-color:var(--green);
  color:var(--green);
}

/* ---------------------------
   ✅ ARTICLE PAGE (clean like image)
   - no borders
   - no box
---------------------------- */
.articleLayout{
  display:grid;
  grid-template-columns: 1fr 320px;
  gap:28px;
  align-items:start;
}

.articleClean{
  padding:0;
  background:transparent;
  border:0;
  box-shadow:none;
  border-radius:0;
}

.articleTopClean{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}

.articleCat{
  display:inline-block;
  font-weight:900;
  font-size:12px;
  color:var(--green);
  text-transform:uppercase;
  letter-spacing:.6px;
}

.articleTitleClean{
  margin:0;
  font-size:38px;
  font-weight:900;
  line-height:1.05;
}

.articleMetaClean{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:12px;
  color:#6b7280;
  font-size:13px;
}
.articleMetaClean .sep{
  opacity:.5;
}

.copyBtn{
  border:1px solid #e6e6e6;
  background:#fff;
  padding:8px 14px;
  border-radius:999px;
  font-weight:800;
  cursor:pointer;
}

.articleHeroClean{
  margin-top:16px;
}
/* ✅ Article hero image — not huge */
.articleHeroClean img{
  width:100%;
  height:420px;          /* ✅ control size */
  max-height:420px;
  object-fit:cover;      /* ✅ crop nicely */
  object-position:center;
  border-radius:12px;
  box-shadow:0 16px 34px rgba(0,0,0,.14);
}

@media (max-width: 520px){
  .articleHeroClean img{
    height:260px;
    max-height:260px;
  }
}


.articleContentClean{
  margin-top:18px;
  font-size:16px;
  line-height:1.75;
  color:#262b33;
}
.articleContentClean h2{
  margin:22px 0 10px;
  font-size:24px;
  font-weight:900;
}
.articleContentClean p{
  margin:0 0 14px;
}

/* ---------------------------
   ✅ Right sidebar slider (auto)
   - clean like screenshot
---------------------------- */
.articleSide{
  position:sticky;
  top:84px;
  align-self:start;
}

/* slider wrapper */
.sideSlider{
  background:transparent;
  border:0;
  box-shadow:none;
  border-radius:0;
  padding:0;
  margin-bottom:18px;
}

.sideSlider__nav{
  display:flex;
  justify-content:flex-end;
  gap:8px;
  margin-bottom:10px;
}
.sideSlider__btn{
  width:32px;
  height:32px;
  border:1px solid #ddd;
  background:#fff;
  border-radius:4px;
  cursor:pointer;
  font-size:18px;
  line-height:0;
}

.sideSlider__media{
  display:block;
  border-radius:10px;
  overflow:hidden;
}
.sideSlider__media img{
  width:100%;
  height:190px;
  object-fit:cover;
}

.sideSlider__body{
  padding:12px 0 0;
}
.sideSlider__title{
  font-weight:900;
  font-size:15px;
  line-height:1.2;
  margin-bottom:10px;
}
.sideSlider__more{
  display:inline-block;
  padding:8px 12px;
  border:1px solid #ddd;
  border-radius:2px;
  font-weight:800;
  font-size:11px;
  letter-spacing:.7px;
  text-transform:uppercase;
  background:#fff;
}

.sideSlider__dots{
  display:flex;
  justify-content:center;
  gap:6px;
  padding:12px 0 6px;
}
.dot{
  width:7px;
  height:7px;
  border-radius:50%;
  border:0;
  background:#d1d5db;
  cursor:pointer;
}
.dot--on{ background:var(--green); }

/* recent posts section */
.sideRecent{
  margin-top:12px;
}
.sideRecent__title{
  font-weight:900;
  font-size:15px;
  margin-bottom:12px;
  border-top:1px solid #eee;
  padding-top:12px;
}

/* ---------------------------
   Search page
---------------------------- */
.searchBox{
  text-align:center;
  padding:18px 0 14px;
}
.searchBox h1{
  margin:0 0 6px;
  font-weight:900;
}
.searchBox p{
  margin:0;
  color:#6b7280;
}

.searchRow{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-top:12px;
}

.resultsHead{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:10px;
  margin:10px 0 12px;
}
.resultsTitle{
  font-weight:900;
  font-size:18px;
}
.resultsInfo{
  color:#6b7280;
  font-size:13px;
}

/* ---------------------------
   Footer
---------------------------- */
.footer{
  border-top:1px solid #eee;
  margin-top:24px;
}
.footer__inner{
  width:min(var(--shell), calc(100% - 32px));
  margin:0 auto;
  padding:22px 0;
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  justify-content:space-between;
  align-items:center;
}
.footer__brand{
  display:flex;
  align-items:center;
  gap:10px;
}
.footer__brand img{
  width:38px;
  height:38px;
  border-radius:12px;
  background:#fff;
  border:1px solid #eee;
  padding:3px;
}
.footer__name{
  font-weight:900;
}
.footer__sub{
  color:#6b7280;
  font-size:13px;
}
.footer__links{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  color:#374151;
  font-weight:700;
  font-size:14px;
}
.footer__copy{
  width:100%;
  color:#6b7280;
  font-size:13px;
  margin-top:6px;
}

/* ---------------------------
   Back to top bubble
---------------------------- */
.toTop{
  position:fixed;
  right:18px;
  bottom:18px;
  width:46px;
  height:46px;
  border-radius:50%;
  border:0;
  background:var(--green);
  color:#fff;
  display:grid;
  place-items:center;
  cursor:pointer;
  opacity:0;
  pointer-events:none;
  transition:.2s ease;
  box-shadow:0 14px 30px rgba(0,0,0,.20);
  z-index:80;
}
.toTop.show{
  opacity:1;
  pointer-events:auto;
}
.toTop svg{
  width:20px;
  height:20px;
  fill:none;
  stroke:#fff;
  stroke-width:2.4;
  stroke-linecap:round;
  stroke-linejoin:round;
}

/* ---------------------------
   Autocomplete box
---------------------------- */
.acBox{
  position:absolute;
  background:#fff;
  border:1px solid #e6e6e6;
  border-radius:14px;
  box-shadow:0 14px 32px rgba(0,0,0,.14);
  overflow:hidden;
  z-index:120;
}
.acItem{
  width:100%;
  text-align:left;
  border:0;
  background:#fff;
  padding:10px 12px;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  gap:3px;
}
.acItem:hover{
  background:#f3f4f6;
}
.acItem__title{
  font-weight:900;
  font-size:13px;
}
.acItem__cat{
  color:#6b7280;
  font-size:12px;
}

/* ---------------------------
   Responsive
---------------------------- */
@media (max-width: 980px){
  .homeLayout,
  .twoCol,
  .articleLayout{
    grid-template-columns:1fr;
  }

  .homeSide .sideSticky,
  .sideBoxClean,
  .articleSide{
    position:relative;
    top:auto;
  }

  .featuredRow{
    grid-template-columns:1fr;
  }

  .gridCards--sections{
    grid-template-columns:1fr;
  }

  .navMain{ display:none; }
  .burger{ display:block; }
}

@media (max-width: 520px){
  .hero__name{ font-size:28px; }
  .articleTitleClean{ font-size:30px; }
  .sCard__media img{ height:220px; }
}
