/*
Theme Name: FloomDaily






Author: A developer
Description: The blog is a blog you never knew you needed
Version: 1.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/

/* ─── Reset & Base ───────────────────────────────────────────── */
* {
  box-sizing: border-box;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
}

:root {
  --font-sans: 'Nunito Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Nunito Sans', system-ui, sans-serif;

  --color-text:         #2b1a1a;
  --color-muted:        #7a5c65;
  --color-border:       #ecdde3;
  --color-bg:           #ffffff;
  --color-surface:      #fdf4f6;
  --color-accent:       #a83258;
  --color-accent-hover: #7d1f3e;

  --radius: 3px;
  --transition: 0.18s ease;
}

html {
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.01em;
}

a {
  color: inherit;
  transition: color var(--transition), opacity var(--transition);
}

a:hover {
  opacity: 0.72;
}

hr {
  border: none;
  border-top: 1px solid var(--color-border) !important;
  opacity: 1 !important;
}

figure {
  overflow: hidden;
  margin: 0;
}

/* ─── Site Header ────────────────────────────────────────────── */
.site-header {
  z-index: 1030;
  background: var(--color-accent);
}

/* Tier 1: Flash News */
.header-top {
  background-color: #0a1628;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
  max-width: 100%;
}

.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  gap: 1rem;
  overflow: hidden;
  max-width: 100%;
}

.header-flashnews {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.flashnews-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--color-accent);
  padding: 0.2rem 0.65rem;
  white-space: nowrap;
  flex-shrink: 0;
  z-index: 1;
  margin-right: 0.75rem;
}

.flashnews-ticker-wrap {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}

.flashnews-ticker {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
  width: max-content;
}

.flashnews-ticker a {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
  transition: color var(--transition);
}

.flashnews-ticker a:hover {
  color: #fff;
  opacity: 1;
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.header-top-ctas {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

.header-top-cta {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  padding: 0.25rem 0.65rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 2px;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

.header-top-cta:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  opacity: 1;
}

.header-top-cta--highlight {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.header-top-cta--highlight:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

/* Tier 2: Logo + Banner */
.header-mid {
  background: #8fa3bf;
  border-bottom: 1px solid #7d94ae;
}

.header-mid-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.3rem 0;
  gap: 2rem;
}

@media (max-width: 991px) {
  .header-mid-inner {
    justify-content: center;
  }

  .site-logo-img {
    height: 100px;
    max-width: 340px;
  }
}

.site-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo-img {
  height: 80px;
  max-width: 320px;
  width: auto;
  object-fit: contain;
  display: block;
}

.site-logo-text {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-accent);
  letter-spacing: -0.03em;
}

.header-banner-slot {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.header-banner-img {
  max-height: 70px;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
}

@media (max-width: 991px) {
  .header-banner-slot {
    display: none;
  }
}

/* Tier 3: Nav bar */
.header-nav {
  background-color: var(--color-accent);
}

.header-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 46px;
  position: relative;
}

.site-nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.site-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0;
}

.site-nav-menu li a {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.82);
  padding: 0 0.85rem;
  line-height: 46px;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
}

.site-nav-menu li a:hover,
.site-nav-menu li.current-menu-item > a {
  color: #fff;
  opacity: 1;
}

.nav-search-btn {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  transition: color var(--transition);
}

.nav-search-btn:hover {
  color: #fff;
}

/* ─── Search Bar ─────────────────────────────────────────────── */
.header-search-bar {
  background: #0a1628;
  border-top: 1px solid rgba(255,255,255,0.08);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.header-search-bar.open {
  max-height: 70px;
  padding: 0.6rem 0;
}

.header-search-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-search-input {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 3px;
  color: #fff;
  font-size: 0.9rem;
  padding: 0.5rem 0.9rem;
  outline: none;
  font-family: var(--font-sans);
  transition: border-color var(--transition);
}

.header-search-input::placeholder {
  color: rgba(255,255,255,0.4);
}

.header-search-input:focus {
  border-color: rgba(255,255,255,0.4);
}

.header-search-submit {
  background: var(--color-accent) !important;
  border: none !important;
  border-radius: 3px;
  color: #fff;
  padding: 0.5rem 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background var(--transition);
}

.header-search-submit:hover {
  background: var(--color-accent-hover) !important;
}

/* Hamburger (mobile) */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 6px 4px;
  cursor: pointer;
  flex-shrink: 0;
  line-height: 1;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: background var(--transition);
  pointer-events: none;
}

.nav-hamburger:hover span,
.nav-hamburger:focus span {
  background-color: #fff;
}

@media (max-width: 991px) {
  .site-nav-menu {
    display: none;
  }
  .header-top-ctas {
    display: none;
  }
  .header-flashnews {
    justify-content: center;
  }
}

/* Prevent body shift when offcanvas opens */
body {
  padding-right: 0 !important;
}

/* Legacy */
.navbar { display: none; }
.hamburger-holder { display: none; }

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  gap: 1rem;
}

/* Left */
.site-nav-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.site-logo-link {
  display: flex;
  align-items: center;
}

.site-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
}

.site-logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

/* Hamburger */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 6px 4px;
  cursor: pointer;
  flex-shrink: 0;
  line-height: 1;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: background var(--transition);
  pointer-events: none;
}

.nav-hamburger:hover span,
.nav-hamburger:focus span {
  background-color: #fff;
}

/* Center nav */
.site-nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.site-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav-menu li a {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  padding: 0.4rem 0.65rem;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.site-nav-menu li a:hover,
.site-nav-menu li.current-menu-item > a {
  color: #fff;
  border-bottom-color: #fff;
  opacity: 1;
}

/* Right CTA */
.site-nav-right {
  flex-shrink: 0;
}

.nav-cta {
  display: inline-block;
  padding: 0.4rem 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-accent) !important;
  background: #fff;
  border-radius: 3px;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

.nav-cta:hover {
  background: rgba(255,255,255,0.88);
  opacity: 1;
}

/* Hide center menu on mobile */
@media (max-width: 991px) {
  .site-nav-center {
    display: none;
  }
}

/* ─── Offcanvas Side Menu ────────────────────────────────────── */
#sideMenu.offcanvas {
  width: 280px !important;
  background-color: #0f2550 !important;
  border-right: none !important;
  z-index: 100000 !important;
}

#sideMenu .offcanvas-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 1.25rem 1.5rem !important;
  border-bottom: 1px solid rgba(255,255,255,0.12) !important;
  background-color: #0f2550 !important;
  color: #fff !important;
}

.offcanvas-logo-link {
  display: flex;
  align-items: center;
}

.offcanvas-logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

#sideMenu .offcanvas-logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff !important;
  letter-spacing: -0.01em;
  display: block;
  opacity: 1 !important;
}

.offcanvas-close {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  color: rgba(255,255,255,0.6) !important;
  cursor: pointer;
  padding: 4px;
  transition: color var(--transition);
  line-height: 1;
}

.offcanvas-close:hover {
  color: #fff !important;
}

#sideMenu .offcanvas-body {
  padding: 1.5rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 2rem !important;
  background: transparent !important;
  overflow-y: auto;
}

.offcanvas-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.offcanvas-nav li a {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  padding: 0.65rem 0.75rem;
  border-radius: 3px;
  transition: background var(--transition), color var(--transition);
}

.offcanvas-nav li a:hover,
.offcanvas-nav li.current-menu-item > a {
  background: rgba(255,255,255,0.1);
  color: #fff;
  opacity: 1;
}

.offcanvas-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.offcanvas-footer-links a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}

.offcanvas-footer-links a:hover {
  color: #fff;
  opacity: 1;
}

/* Legacy classes kept for compatibility */
.hamburger-holder { display: none; }
.navbar { display: none; }

/* ─── Featured Post ──────────────────────────────────────────── */
.featured-text {
  width: 40%;
  padding-right: 2rem;
}

.featured-img {
  width: 60%;
}

.featured-img.col-8 {
  width: 68%;
}

.featured-text.col-4 {
  width: 32%;
}

.featured-img figure img {
  transition: transform 0.4s ease;
}

.featured-img:hover figure img {
  transform: scale(1.025);
}

.title-first {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.featured-author {
  font-size: 13px;
  color: var(--color-muted);
  padding: 0;
  display: inline-block;
  order: 2;
}

.featured-excerpt {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-muted);
  margin-top: 0.75rem;
}

/* ─── Category Labels ────────────────────────────────────────── */
.cat-label {
  right: 0;
  position: absolute;
  top: 0;
  left: auto;
  z-index: 1;
}

.cat-label a {
  display: inline-block;
  padding: 0.2rem 0.45rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--color-accent);
  border: none;
  transition: background var(--transition);
}

.cat-label a:hover {
  background: var(--color-accent-hover);
  opacity: 1;
}

.cat-label-main {
  display: flex;
  top: 0;
  right: 0;
  left: 0;
  position: absolute;
  z-index: 1;
}

.cat-label-main a {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--color-accent);
  border: none;
  transition: background var(--transition);
}

.cat-label-main a:hover {
  background: var(--color-accent-hover);
  opacity: 1;
}

/* ─── Cards ──────────────────────────────────────────────────── */
.card {
  border: none !important;
  border-radius: 0 !important;
  background: transparent;
}

.card-img-top {
  aspect-ratio: 14/10;
}

.attachment-post-thumbnail {
  aspect-ratio: 14/10 !important;
}

.card-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin-bottom: 0.35rem;
}

.card-title a {
  color: var(--color-text);
}

.card-title a:hover {
  color: var(--color-accent);
  opacity: 1;
}

.author {
  font-size: 12px;
  color: var(--color-muted);
  font-weight: 500;
}

.custom-card-style {
  position: relative;
  border-right: 1px solid var(--color-border);
}

.custom-card-style:last-child {
  border-right: none;
}

.custom-card-style-main {
  position: relative;
  border-right: 1px solid var(--color-border);
}

.custom-card-style-main::after {
  content: none;
}

.custom-card-style-main:nth-child(3n) {
  border-right: none;
}

.custom-card-style figure img,
.custom-card-style-main figure img {
  transition: transform 0.35s ease;
}

.custom-card-style:hover figure img,
.custom-card-style-main:hover figure img {
  transform: scale(1.04);
}

/* ─── Read More ──────────────────────────────────────────────── */
.read-more {
  display: inline-block;
}

.read-more a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
  vertical-align: middle;
}

.read-more a:hover {
  border-bottom-color: var(--color-accent);
  opacity: 1;
}

.read-more a:after {
  content: ' →';
  font-size: 0.9em;
  margin-left: 0.1rem;
}

/* ─── More Stories Header ────────────────────────────────────── */
.more-stories-header {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
}

/* ─── Breadcrumbs ────────────────────────────────────────────── */
.breadcrumbs,
.breadcrumbs a {
  letter-spacing: normal;
  word-spacing: normal;
}

.breadcrumbs a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  display: inline-block;
  text-transform: uppercase;
  margin-top: 8px;
}

.breadcrumbs a:hover,
.breadcrumbs a:last-of-type {
  color: var(--color-accent);
}

/* ─── Footer ─────────────────────────────────────────────────── */
footer {
  float: none;
  font-weight: normal;
  text-align: center;
  padding: 2rem 0 3.5rem;
  width: auto;
  clear: both;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
}

.footer-link-container {
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 700;
  padding-bottom: 1rem;
  text-transform: none;
}

.footer-detail-container > div {
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  justify-content: center;
  gap: 4px 12px;
  padding: 10px 40px;
}

.footer-detail-container > div > a {
  text-decoration: none;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-text);
  transition: color var(--transition);
}

.footer-detail-container > div > a:hover {
  color: var(--color-accent);
  opacity: 1;
}

.fotter-bottom > .d-inline-block span {
  margin-right: 12px;
  font-size: 13px;
}

.footer-menu {
  text-align: center;
  padding: 1.5rem;
}

.footer-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  gap: 20px;
}

.footer-menu-list li {
  display: inline;
}

.footer-menu-list a {
  text-decoration: none;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-text);
  transition: color var(--transition);
}

.footer-menu-list a:hover {
  color: var(--color-accent);
  opacity: 1;
}

/* ─── Offcanvas / Side Menu ──────────────────────────────────── */
.menu-social-icons {
  list-style: none;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin: 0.5rem 1.25rem;
  padding: 1rem 0;
  display: flex;
  gap: 10px;
}

.menu-social-icons li {
  display: inline-block;
}

.menu-social-icons a.card {
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--color-border) !important;
  color: var(--color-text);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: transparent;
  transition: background var(--transition), color var(--transition);
}

.menu-social-icons a.card:hover {
  background: var(--color-accent);
  color: white !important;
  opacity: 1;
}

.menu-social-icons i {
  display: block;
}

/* ─── Spinner ────────────────────────────────────────────────── */
#spinner {
  position: fixed;
  top: 90%;
  left: 72%;
  transform: translate(-50%, -50%);
  z-index: 1000;
}

/* ─── Comments ───────────────────────────────────────────────── */
.comments-section {
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
}

.comment-list {
  margin: 0;
  padding: 0;
}

.comment-list .comment {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  padding: 1rem;
  transition: box-shadow var(--transition);
}

.comment-list .comment:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.comment-list .comment-author {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.comment-list .comment-author .avatar {
  border-radius: 50%;
  margin-right: 0.5rem;
}

.comment-list .comment-author .fn {
  font-weight: 600;
  color: var(--color-text);
  margin-right: 0.5rem;
}

.comment-list .comment-metadata {
  font-size: 0.8rem;
  color: var(--color-muted);
}

.comment-list .comment-metadata a {
  color: var(--color-muted);
  text-decoration: none;
}

.comment-list .comment-content {
  margin: 1rem 0;
  line-height: 1.6;
  color: #444;
}

.comment-list .reply {
  margin-top: 0.5rem;
}

.comment-list .reply .comment-reply-link {
  background-color: var(--color-accent);
  color: white;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-block;
  transition: background var(--transition);
}

.comment-list .reply .comment-reply-link:hover {
  background-color: var(--color-accent-hover);
  opacity: 1;
}

.comment-list .children {
  margin-left: 2rem;
  margin-top: 1rem;
  padding-left: 0;
  list-style: none;
}

.comment-list .children .comment {
  background-color: #f3f4f6;
  border-left: 2px solid var(--color-accent);
}

.comments-title {
  font-weight: 700;
  color: var(--color-text);
  font-size: 1.25rem;
}

.comment-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background-color: var(--color-surface);
  transition: box-shadow var(--transition);
}

.comment-item:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.comment-author {
  display: flex;
  align-items: center;
}

.comment-author strong {
  color: var(--color-text);
  font-weight: 600;
}

.comment-content {
  line-height: 1.6;
  color: #444;
}

.comment-form-wrapper {
  background-color: var(--color-surface);
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.comment-form-wrapper h4 {
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1.25rem;
}

.comment-form-wrapper .form-label {
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.875rem;
}

.comment-form-wrapper .form-control {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.65rem 0.75rem;
  font-size: 0.9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.comment-form-wrapper .form-control:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

.comment-reply .btn {
  font-size: 0.8rem;
  padding: 0.35rem 0.7rem;
}

.comment-awaiting-moderation {
  font-style: italic;
  color: var(--color-muted);
  margin-bottom: 1rem;
}

.comments-closed {
  text-align: center;
  font-style: italic;
  color: var(--color-muted);
}

.comment-item .children {
  margin-left: 2rem;
  margin-top: 1rem;
}

.comment-item .children .comment-item {
  background-color: #f3f4f6;
  border-left: 2px solid var(--color-accent);
}

.comment-pagination {
  text-align: center;
}

.comment-pagination .page-numbers {
  display: inline-block;
  padding: 0.4rem 0.7rem;
  margin: 0 0.2rem;
  text-decoration: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  font-size: 0.875rem;
  transition: background var(--transition), color var(--transition);
}

.comment-pagination .page-numbers:hover,
.comment-pagination .page-numbers.current {
  background-color: var(--color-accent);
  color: white;
  border-color: var(--color-accent);
  opacity: 1;
}

/* ─── Hero Featured Post (Split) ─────────────────────────────── */
.hero-split {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 0;
  margin: 1.5rem 0;
  align-items: stretch;
}

/* Left text panel */
.hero-split-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem 2.5rem 1.5rem 0;
  gap: 0.75rem;
}

.hero-split-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hero-split-cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.hero-split-title {
  font-family: 'Nunito Sans', sans-serif !important;
  font-size: clamp(1.6rem, 2.5vw, 2.4rem) !important;
  font-weight: 900 !important;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

.hero-split-title a {
  color: var(--color-text);
}

.hero-split-title a:hover {
  color: var(--color-accent);
  opacity: 1;
}

.hero-split-excerpt {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #000;
  margin: 0;
}

.hero-split-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.hero-split-dot {
  opacity: 0.4;
}

.hero-split-readmore {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-top: 0.5rem;
  transition: gap var(--transition);
}

.hero-split-readmore:hover {
  opacity: 1;
  color: var(--color-accent-hover);
}

/* Right image panel */
.hero-split-img-wrap {
  display: block;
  position: relative;
  overflow: hidden;
  max-height: 420px;
}

.hero-split-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.hero-split-img-wrap:hover .hero-split-img {
  transform: scale(1.03);
}

.hero-split-img-cats {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.hero-split-img-cats span {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
}

@media (max-width: 768px) {
  .hero-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-split-text {
    padding: 1.5rem 0;
    order: 2;
  }

  .hero-split-img-wrap {
    order: 1;
    aspect-ratio: 16/9;
  }
}

/* ─── Article Cards ──────────────────────────────────────────── */
.article-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.article-card-img-wrap {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.article-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.article-card-img-wrap:hover img {
  transform: scale(1.04);
}

.article-card-cats {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 0.4rem;
}

.article-card-cat {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  line-height: 1;
}

.article-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.article-card-date {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.article-card-date svg {
  flex-shrink: 0;
}

.article-card-title {
  font-family: 'Nunito Sans', sans-serif !important;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0.25rem 0;
}

.article-card-title a {
  color: var(--color-text);
}

.article-card-title a:hover {
  color: var(--color-accent);
  opacity: 1;
}

.article-card-excerpt {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--color-text);
  line-height: 1.6;
  margin: 0.3rem 0 0;
  min-height: calc(0.9rem * 1.6 * 3);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-readmore {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.article-card-readmore:hover {
  color: var(--color-accent-hover);
}

/* ─── Single Post Title ──────────────────────────────────────── */
.single-post-title {
  font-family: 'Nunito Sans', sans-serif !important;
  font-size: clamp(2.2rem, 3.5vw, 3.2rem) !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em !important;
  color: var(--color-text) !important;
}

/* ─── Category Page Cards ────────────────────────────────────── */
.category .article-card-img-wrap {
  aspect-ratio: 16/9;
  min-height: 220px;
}

.category .article-card-title {
  font-size: 1.4rem;
}

.category .article-card-excerpt {
  font-size: 1rem;
}

/* ─── Article Sidebars ───────────────────────────────────────── */
.article-sidebar {
  padding-top: 1.5rem;
  font-size: 0.875rem;
}

.article-sidebar-left {
  padding-right: 1.5rem;
}

.article-sidebar-right {
  padding-left: 1.5rem;
}

.sidebar-widget {
  margin-bottom: 2rem;
}

.sidebar-widget-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
}

.sidebar-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-widget ul li {
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--color-border);
  line-height: 1.4;
}

.sidebar-widget ul li:last-child {
  border-bottom: none;
}

.sidebar-widget ul li a {
  color: var(--color-text);
  font-size: 0.8rem;
  font-weight: 500;
}

.sidebar-widget ul li a:hover {
  color: var(--color-accent);
  opacity: 1;
}

.sidebar-post-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sidebar-post {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  text-decoration: none;
  color: var(--color-text);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
}

.sidebar-post:hover {
  opacity: 1;
}

.sidebar-post:hover .sidebar-post-title {
  color: var(--color-accent);
}

.sidebar-post img {
  width: 80px;
  height: 65px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 3px;
}

.sidebar-post-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}

.sidebar-post-date {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.sidebar-post-title {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-text);
  transition: color var(--transition);
}

/* Right sidebar: text left, image right */
.sidebar-post-right {
  flex-direction: row-reverse;
}

/* ─── Next Article Button ────────────────────────────────────── */
#next-article-btn {
  display: block;
  margin: 2.5rem auto;
  padding: 0.7rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--color-accent);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), opacity var(--transition);
}

#next-article-btn:hover:not(:disabled) {
  background: var(--color-accent-hover);
}

#next-article-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ─── Logo ───────────────────────────────────────────────────── */
.logo {
  vertical-align: middle;
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav-item > .nav-link {
    font-size: 0.75rem;
  }
}

@media (min-width: 768px) {
  .title-first {
    font-size: 2rem;
    line-height: 1.15;
  }
}

@media (max-width: 768px) {
  .direct-wraper {
    border-bottom: 1px solid var(--color-border);
  }

  .row-cols-1 .col:nth-child(3) .direct-wraper {
    border-bottom: none;
    padding-bottom: 0 !important;
  }

  .row-cols-1 .col:nth-child(1) .direct-wraper {
    border-top: 1px solid var(--color-border);
  }

  .row-cols-1 .col:first-child .direct-wraper {
    border-top: none;
  }

  .card-img-top {
    aspect-ratio: 445/240;
  }

  .card-title {
    font-size: 15px;
  }

  .col-6.col-md-12.order-2.order-md-1 {
    position: relative;
  }

  .cat-label {
    right: -0.1rem;
    position: absolute;
    top: 0;
    left: auto;
    z-index: 1;
  }

  .cat-label a {
    padding: 0.15rem 0.3rem;
    font-size: 10px;
  }

  .cat-label-main {
    right: auto;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
  }

  .cat-label-main a {
    padding: 0.15rem 0.3rem;
    font-size: 10px;
  }

  .author {
    font-size: 11px;
  }

  .row-cols-1 .custom-card-style-main:nth-child(1) .direct-wraper {
    border: none;
  }

  .custom-card-style-main::after {
    content: none;
  }
}

@media (max-width: 425px) {
  .title-first {
    font-size: 1.4rem;
  }

  .author-main {
    font-size: 11px;
  }

  .wpblog_dev_chi_category_link {
    font-size: 15px;
  }

  .wpblog-dev-chi-header-card-title {
    font-size: 16px;
    line-height: 1.2;
    text-align: center;
  }

  .extra-info {
    font-size: 12px;
  }

  .featured {
    height: auto;
  }

  .navbar-brand.mx-auto {
    margin-left: 9rem !important;
  }

  .featured-text {
    width: 100%;
  }

  .featured-img {
    width: 100%;
  }

  .card-title {
    font-size: 16px;
  }
}

@media (max-width: 375px) {
  .navbar-brand.mx-auto {
    margin-left: 7.8rem !important;
  }

  .featured-text,
  .featured-img {
    width: 100%;
  }
}

@media (min-width: 1400px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1400px !important;
  }
}
