/*
Theme Name: Dike Magazine
Theme URI: https://example.com/dike-magazine
Author: Dike Magazine
Description: A bold Igbo Business & Success Magazine WordPress theme with dynamic featured carousel, profiles, publications, latest stories, site logo support, and favicon section icons.
Version: 2.0.0
Requires at least: 5.8
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: dike-magazine
Tags: blog, news, magazine, custom-logo, featured-images, responsive-layout
*/

:root{
  --dike-black:#0b0b0b;
  --dike-dark:#1b1b1b;
  --dike-nav:#202020;
  --dike-soft:#f4f4f4;
  --dike-white:#ffffff;
  --dike-gold:#d8af3f;
  --dike-text:#111111;
  --dike-muted:#6d6d6d;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--dike-soft);
  color:var(--dike-text);
  font-family:Arial, Helvetica, sans-serif;
  line-height:1.6;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
.dike-container{width:min(1180px,92%);margin:0 auto}
.screen-reader-text{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* Header */
.site-header{
  background:var(--dike-dark);
  color:var(--dike-white);
  position:sticky;
  top:0;
  z-index:100;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.dike-logo-wrap{
  display:flex;
  justify-content:center;
  align-items:center;
  padding:16px 12px;
}
.dike-logo-link,
.dike-logo-wrap .custom-logo-link{
  display:inline-flex !important;
  justify-content:center;
  align-items:center;
  width:auto !important;
  max-width:260px !important;
}
.dike-header-logo,
.dike-logo-wrap .custom-logo{
  width:auto !important;
  max-width:220px !important;
  max-height:78px !important;
  height:auto !important;
  object-fit:contain !important;
}
.dike-main-nav{
  background:var(--dike-nav);
  border-top:1px solid rgba(255,255,255,.08);
}
.dike-main-nav ul{
  list-style:none;
  margin:0;
  padding:16px 14px;
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:28px;
}
.dike-main-nav li{margin:0}
.dike-main-nav a{
  color:#fff;
  font-size:18px;
  font-weight:500;
}
.dike-main-nav a:hover{color:var(--dike-gold)}

/* Bold Carousel Hero */
.dike-hero-carousel{
  position:relative;
  height:76vh;
  min-height:620px;
  background:#000;
  overflow:hidden;
}
.dike-hero-track{
  height:100%;
  display:flex;
  transition:transform .7s ease;
}
.dike-hero-slide{
  position:relative;
  flex:0 0 100%;
  height:100%;
  color:#fff;
  overflow:hidden;
}
.dike-hero-slide img.dike-hero-image{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transform:scale(1.03);
}
.dike-hero-slide::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.86) 0%, rgba(0,0,0,.60) 46%, rgba(0,0,0,.22) 100%),
    linear-gradient(0deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,0) 62%);
}
.dike-hero-content{
  position:relative;
  z-index:2;
  height:100%;
  width:min(1180px,92%);
  margin:0 auto;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  padding:40px 0 110px;
}
.dike-hero-kicker{
  display:inline-block;
  color:var(--dike-gold);
  text-transform:uppercase;
  letter-spacing:.24em;
  font-size:13px;
  font-weight:900;
  margin-bottom:16px;
}
.dike-hero-title{
  max-width:820px;
  margin:0 0 20px;
  font-size:clamp(44px,7vw,92px);
  line-height:.95;
  letter-spacing:-.06em;
  font-weight:900;
}
.dike-hero-excerpt{
  max-width:650px;
  margin:0 0 30px;
  color:#e5e5e5;
  font-size:20px;
  line-height:1.55;
}
.dike-hero-read-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  background:var(--dike-gold);
  color:#111 !important;
  padding:16px 30px;
  border-radius:999px;
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:13px;
  font-weight:900;
  box-shadow:0 14px 30px rgba(0,0,0,.35);
  transition:transform .2s ease, background .2s ease;
}
.dike-hero-read-btn::after{content:"→";font-size:18px;line-height:1}
.dike-hero-read-btn:hover{transform:translateY(-2px);background:#f0c954}
.dike-hero-brand-logo{
  position:absolute;
  z-index:3;
  left:50%;
  bottom:48px;
  transform:translateX(-50%);
  width:auto !important;
  max-width:260px !important;
  max-height:115px !important;
  height:auto !important;
  object-fit:contain !important;
  filter:drop-shadow(0 8px 22px rgba(0,0,0,.9));
  background:transparent !important;
}
.dike-hero-controls{
  position:absolute;
  z-index:4;
  right:32px;
  bottom:42px;
  display:flex;
  gap:10px;
}
.dike-hero-control{
  width:46px;
  height:46px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.45);
  background:rgba(0,0,0,.48);
  color:#fff;
  cursor:pointer;
  font-size:26px;
  line-height:1;
}
.dike-hero-control:hover{background:rgba(216,175,63,.9);color:#111}
.dike-hero-dots{
  position:absolute;
  z-index:4;
  left:50%;
  bottom:22px;
  transform:translateX(-50%);
  display:flex;
  gap:9px;
}
.dike-hero-dot{
  width:34px;
  height:4px;
  border:0;
  background:rgba(255,255,255,.42);
  border-radius:999px;
  cursor:pointer;
}
.dike-hero-dot.is-active{background:var(--dike-gold)}

/* Sections */
.dike-section{padding:72px 0}
.dike-section-dark{background:#000;color:#fff}
.dike-section-header{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:34px;
}
.dike-section-icon{
  width:44px;
  height:44px;
  object-fit:contain;
  flex:0 0 44px;
}
.dike-section-title{
  margin:0;
  font-size:30px;
  line-height:1.1;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.14em;
  white-space:nowrap;
}
.dike-section-line{
  height:3px;
  flex:1;
  background:currentColor;
}
.dike-card-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
}
.dike-story-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
}
.dike-card{
  background:#fff;
  color:#111;
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 18px 45px rgba(0,0,0,.14);
  transition:transform .25s ease;
}
.dike-card:hover{transform:translateY(-6px)}
.dike-card-image{
  width:100%;
  height:290px;
  object-fit:cover;
}
.dike-card-body{padding:22px}
.dike-card-title{
  margin:0 0 8px;
  font-size:22px;
  line-height:1.12;
  font-weight:900;
}
.dike-card-meta{
  color:#777;
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:12px;
  font-weight:700;
}
.dike-publication-card{
  background:#151515;
  color:#fff;
  border:1px solid #2b2b2b;
}
.dike-publication-card .dike-card-meta{color:var(--dike-gold)}
.dike-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:16px;
  background:var(--dike-gold);
  color:#111 !important;
  padding:13px 22px;
  border-radius:999px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:13px;
}

/* Subscribe */
.dike-subscribe{
  background:linear-gradient(90deg,#000,#252525);
  color:#fff;
  text-align:center;
  padding:86px 0;
}
.dike-subscribe-title{
  margin:0 0 14px;
  text-transform:uppercase;
  font-size:48px;
  font-weight:900;
}
.dike-subscribe-copy{
  color:#d0d0d0;
  max-width:760px;
  margin:0 auto 40px;
  font-size:18px;
}
.dike-price-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.dike-price-card{
  background:#fff;
  color:#111;
  border-radius:28px;
  padding:38px 24px;
  box-shadow:0 20px 50px rgba(0,0,0,.24);
}
.dike-price-card.is-featured{
  background:var(--dike-gold);
  transform:scale(1.04);
}
.dike-price-card h3{font-size:28px;margin:0 0 14px}
.dike-price{font-size:42px;font-weight:900;margin:0 0 18px}

/* Content pages */
.dike-content{
  background:#fff;
  padding:50px;
  margin:50px auto;
  border-radius:24px;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
}
.dike-content h1{font-size:44px;line-height:1.1;margin-top:0}
.dike-post-list article{margin-bottom:34px;padding-bottom:30px;border-bottom:1px solid #eee}
.dike-post-thumb{margin:22px 0;border-radius:18px;overflow:hidden}

/* Footer */
.site-footer{
  background:#000;
  color:#fff;
  padding:40px 0;
}
.dike-footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  flex-wrap:wrap;
}
.dike-footer-logo,
.site-footer .custom-logo{
  width:auto !important;
  max-width:130px !important;
  max-height:70px !important;
  height:auto !important;
  object-fit:contain !important;
}
.site-footer .custom-logo-link{
  display:inline-flex !important;
  width:auto !important;
  max-width:150px !important;
}
.dike-footer-nav,
.dike-footer-nav ul{
  display:flex;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
  list-style:none;
  padding:0;
  margin:0;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:13px;
  color:#ddd;
}

/* Responsive */
@media(max-width:900px){
  .dike-card-grid,.dike-story-grid,.dike-price-grid{grid-template-columns:1fr 1fr}
  .dike-main-nav a{font-size:16px}
  .dike-hero-carousel{height:70vh;min-height:540px}
  .dike-hero-content{justify-content:flex-end;padding-bottom:140px}
  .dike-hero-title{font-size:46px;letter-spacing:-.04em}
  .dike-hero-excerpt{font-size:17px}
}
@media(max-width:640px){
  .dike-logo-wrap .custom-logo,.dike-header-logo{max-width:170px !important;max-height:64px !important}
  .dike-main-nav ul{gap:18px}
  .dike-hero-carousel{height:68vh;min-height:520px}
  .dike-hero-title{font-size:38px}
  .dike-hero-excerpt{font-size:15px}
  .dike-hero-content{padding-bottom:150px}
  .dike-hero-controls{right:18px;bottom:38px}
  .dike-hero-brand-logo{max-width:220px !important;max-height:105px !important}
  .dike-card-grid,.dike-story-grid,.dike-price-grid{grid-template-columns:1fr}
  .dike-section-title{font-size:22px;white-space:normal}
  .dike-subscribe-title{font-size:34px}
  .dike-content{padding:28px}
}


/* Publication header with Site Logo */
.dike-publication-header{
  gap:18px;
}

.dike-publication-logo{
  width:auto;
  max-width:170px;
  max-height:70px;
  height:auto;
  object-fit:contain;
  filter:brightness(0) invert(1);
  flex-shrink:0;
}

@media(max-width:640px){
  .dike-publication-logo{
    max-width:120px;
    max-height:54px;
  }
}
