/*
Theme Name: Muslec
Theme URI: https://muslec.com
Author: Muslec
Description: Nigerian music & news magazine theme. Section-based homepage (Music, Stories, DJ Mix, Album, Videos, Lyrics, Instrumentals, Articles, Trending) with a "Publish On" chooser in the post editor so each post can be placed on the pages you select.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
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: muslec
Tags: blog, news, two-columns, custom-menu, featured-images
*/

:root {
  --ms-header: #16352a;
  --ms-brand: #15654a;
  --ms-gold: #e3ae2b;
  --ms-fg: #14201b;
  --ms-muted: #6b7b74;
  --ms-border: #e3e8e5;
  --ms-soft: #f5f7f6;
  --ms-radius: 10px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  color: var(--ms-fg);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.55;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ms-brand); }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
}

.ms-wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }

/* Header */
.ms-header { background: var(--ms-header); color: #fff; }
.ms-header a { color: #fff; }
.ms-header-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 16px;
}
.ms-logo img { max-height: 46px; width: auto; }
.ms-icons { display: flex; gap: 8px; }
.ms-icon-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 0; color: #fff; width: 38px; height: 38px;
  border-radius: 999px; font-size: 17px; cursor: pointer;
}
.ms-icon-btn:hover { background: var(--ms-gold); color: var(--ms-header); }

.ms-search-bar { display: none; padding-bottom: 14px; }
.ms-search-bar.open { display: block; }
.ms-search-bar input[type="search"] {
  width: 100%; padding: 11px 14px; border-radius: var(--ms-radius);
  border: 0; font-size: 15px;
}
.ms-search-bar input[type="submit"] { display: none; }

.ms-nav { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.ms-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 4px;
}
.ms-nav li a {
  display: block; padding: 12px 12px;
  font-size: 13.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em;
}
.ms-nav li a:hover, .ms-nav .current-menu-item > a { color: var(--ms-gold); }

/* Quick links */
.ms-quick { background: var(--ms-soft); border-bottom: 1px solid var(--ms-border); }
.ms-quick ul {
  list-style: none; margin: 0; padding: 14px 0;
  display: flex; gap: 18px; overflow-x: auto;
}
.ms-quick li { flex: 0 0 auto; text-align: center; }
.ms-quick small { display: block; font-size: 11.5px; color: var(--ms-muted); margin-top: 6px; max-width: 78px; }
.ms-bubble {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 999px;
  background: var(--ms-brand); color: #fff; font-size: 19px;
}
.ms-quick a:hover .ms-bubble { background: var(--ms-gold); color: var(--ms-header); }

/* Layout */
.ms-main { padding: 26px 0 46px; }
.ms-cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 30px; align-items: start; }

.ms-section { margin-bottom: 34px; }
.ms-section-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 14px;
}
.ms-title {
  font-family: Anton, Impact, sans-serif; font-weight: 400;
  text-transform: uppercase; letter-spacing: 0.02em;
  font-size: 22px; margin: 0;
  border-left: 5px solid var(--ms-gold); padding-left: 10px;
}
.ms-more {
  font-size: 12.5px; font-weight: 700; text-transform: uppercase;
  background: var(--ms-brand); color: #fff; padding: 7px 13px; border-radius: 999px;
}
.ms-more:hover { background: var(--ms-gold); color: var(--ms-header); }

/* Cards */
.ms-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ms-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ms-card {
  border: 1px solid var(--ms-border); border-radius: var(--ms-radius);
  overflow: hidden; background: #fff; transition: transform .18s ease, box-shadow .18s ease;
}
.ms-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(20, 32, 27, .12); }
.ms-thumb { position: relative; aspect-ratio: 4 / 3; background: var(--ms-soft); }
.ms-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ms-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--ms-gold); color: var(--ms-header);
  font-size: 11px; font-weight: 800; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px;
}
.ms-card-body { padding: 12px 13px 15px; }
.ms-card-body h3 { font-size: 15px; margin: 0 0 6px; line-height: 1.35; }
.ms-meta { font-size: 12px; color: var(--ms-muted); margin: 0; }

/* Sidebar */
.ms-side {
  border: 1px solid var(--ms-border); border-radius: var(--ms-radius);
  padding: 16px; margin-bottom: 22px;
}
.ms-side ul { list-style: none; margin: 14px 0 0; padding: 0; }
.ms-side li {
  display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 11px;
  align-items: center; padding: 10px 0; border-top: 1px solid var(--ms-border);
  font-size: 14px; font-weight: 600;
}
.ms-side li:first-child { border-top: 0; }
.ms-side li img { border-radius: 8px; aspect-ratio: 4 / 3; object-fit: cover; }

/* Entries */
.ms-entry h1 { font-family: Anton, Impact, sans-serif; font-weight: 400; font-size: 32px; line-height: 1.2; margin: 0 0 10px; }
.ms-featured { margin: 18px 0; border-radius: var(--ms-radius); overflow: hidden; }
.ms-entry-content { font-size: 16.5px; }
.ms-entry-content h2, .ms-entry-content h3 { margin-top: 28px; }
.ms-entry-content a { color: var(--ms-brand); text-decoration: underline; }
.ms-entry-content blockquote {
  margin: 20px 0; padding: 12px 18px; border-left: 4px solid var(--ms-gold);
  background: var(--ms-soft);
}

/* Pagination */
.ms-pagination { margin-top: 24px; }
.ms-pagination ul { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0; flex-wrap: wrap; }
.ms-pagination a, .ms-pagination span {
  display: block; padding: 8px 13px; border: 1px solid var(--ms-border);
  border-radius: 8px; font-size: 14px; font-weight: 700;
}
.ms-pagination .current { background: var(--ms-brand); color: #fff; border-color: var(--ms-brand); }

/* Footer */
.ms-footer { background: var(--ms-header); color: #fff; margin-top: 40px; padding: 38px 0 0; }
.ms-footer a { color: rgba(255, 255, 255, .85); }
.ms-footer a:hover { color: var(--ms-gold); }
.ms-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 26px; }
.ms-footer h2 {
  font-family: Anton, Impact, sans-serif; font-weight: 400; font-size: 17px;
  text-transform: uppercase; margin: 0 0 12px; color: var(--ms-gold);
}
.ms-footer ul { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.ms-footer li { padding: 5px 0; }
.ms-footer p { font-size: 14px; color: rgba(255, 255, 255, .78); }
.ms-copy {
  margin-top: 28px; padding: 16px; text-align: center; font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .8);
}

/* Responsive */
@media (max-width: 1024px) {
  .ms-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ms-cols { grid-template-columns: 1fr; }
  .ms-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .ms-grid, .ms-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ms-nav { display: none; }
  .ms-nav.open { display: block; }
  .ms-nav ul { flex-direction: column; }
  .ms-footer-grid { grid-template-columns: 1fr; }
  .ms-entry h1 { font-size: 26px; }
}
