/* =============================================
   HOOM THEME — Hugo Content Network
   Accent color injected via :root in head.html
   ============================================= */

/* ----- RESET & BASE ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { background: #f4f4f4; font-family: 'Karla', sans-serif; font-size: 15px; font-weight: 400; color: #333; line-height: 1.7; word-wrap: break-word; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ----- LAYOUT ----- */
.site-wrapper { max-width: 1200px; margin: 0 auto; background: #fff; box-shadow: 0 0 24px rgba(0,0,0,.09); }
.content-area { display: grid; grid-template-columns: 1fr 300px; gap: 36px; padding: 36px 24px; max-width: 1200px; margin: 0 auto; }

/* ----- HEADER ----- */
.site-header { background: #fff; border-bottom: 1px solid #eee; }
.header-top { display: flex; align-items: center; justify-content: space-between; padding: 7px 24px; background: #f9f9f9; border-bottom: 1px solid #eee; }
.header-top-nav { display: flex; gap: 20px; }
.header-top-nav a { color: #666; font-size: 12px; letter-spacing: .5px; text-transform: uppercase; }
.header-top-nav a:hover { color: var(--accent); }
.header-top-right { font-size: 12px; color: #aaa; letter-spacing: .5px; }
.header-logo { text-align: center; padding: 22px 24px 18px; }
.logo-link { display: inline-block; }
.logo-link img { height: 54px; width: auto; margin: 0 auto; }
.logo-text { font-family: 'Playfair Display', Georgia, serif; font-size: 40px; font-weight: 700; color: #1a1a1a; letter-spacing: -1px; }
.logo-text .logo-dot { color: var(--accent); }
.logo-tagline { font-size: 11px; color: #aaa; text-transform: uppercase; letter-spacing: 2px; margin-top: 5px; }
.site-nav { background: #1a1a1a; }
.site-nav ul { display: flex; align-items: center; justify-content: center; padding: 0 20px; overflow-x: auto; }
.site-nav ul li a { display: block; color: #ddd; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 14px 16px; white-space: nowrap; transition: background .2s, color .2s; }
.site-nav ul li a:hover { background: var(--accent); color: #fff; }

/* ----- HERO GRID ----- */
.hero-section { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 260px 260px; gap: 3px; background: #111; }
.hero-post { position: relative; overflow: hidden; }
.hero-post:first-child { grid-row: 1 / 3; }
.hero-post img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.hero-post:hover img { transform: scale(1.04); }
.hero-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; background: linear-gradient(to top, rgba(0,0,0,.78) 0%, transparent 100%); color: #fff; }
.hero-post:not(:first-child) .hero-overlay { padding: 14px; }
.hero-overlay .cat-badge { margin-bottom: 8px; }
.hero-overlay h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 21px; line-height: 1.3; color: #fff; margin-bottom: 5px; }
.hero-post:not(:first-child) .hero-overlay h2 { font-size: 15px; }
.hero-overlay .post-meta { font-size: 11px; color: rgba(255,255,255,.75); }

/* ----- SECTION HEADING ----- */
.section-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; border-bottom: 3px solid var(--accent); padding-bottom: 10px; }
.section-heading h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 19px; font-weight: 700; color: #1a1a1a; }

/* ----- POST GRID ----- */
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.post-card { background: #fff; border-radius: 3px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.07); border: 1px solid #eee; transition: box-shadow .3s, transform .3s; }
.post-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.11); transform: translateY(-3px); }
.post-card-image { position: relative; overflow: hidden; }
.post-card-image img { width: 100%; height: 195px; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card-image img { transform: scale(1.04); }
.cat-badge { display: inline-block; background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 3px 9px; border-radius: 2px; }
.cat-badge-overlay { position: absolute; top: 10px; left: 10px; }
.post-card-body { padding: 16px; }
.post-meta { font-size: 11px; color: #999; margin-bottom: 7px; }
.post-card-body h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 16px; font-weight: 700; line-height: 1.4; color: #1a1a1a; margin-bottom: 9px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-card-body h3 a:hover { color: var(--accent); }
.post-excerpt { font-size: 13px; color: #666; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 13px; }
.read-more { display: inline-block; background: #1a1a1a; color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 7px 16px; border-radius: 2px; transition: background .2s; }
.read-more:hover { background: var(--accent); color: #fff; }

/* ----- PAGINATION ----- */
.pagination { display: flex; justify-content: center; gap: 7px; padding: 30px 0 8px; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid #ddd; font-size: 13px; font-weight: 600; color: #333; border-radius: 3px; transition: all .2s; }
.pagination a:hover, .pagination .active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ----- SIDEBAR ----- */
.sidebar-widget { background: #fff; border-radius: 3px; box-shadow: 0 2px 10px rgba(0,0,0,.07); border: 1px solid #eee; margin-bottom: 28px; overflow: hidden; }
.sidebar-widget-title { background: #1a1a1a; color: #fff; font-family: 'Playfair Display', Georgia, serif; font-size: 13px; font-weight: 700; padding: 11px 16px; text-transform: uppercase; letter-spacing: 1.5px; border-left: 4px solid var(--accent); }
.sidebar-widget-body { padding: 14px 16px; }
.popular-post { display: flex; gap: 11px; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid #f2f2f2; }
.popular-post:last-child { border-bottom: none; }
.popular-post-img { width: 68px; height: 58px; object-fit: cover; border-radius: 2px; flex-shrink: 0; }
.popular-post-info h4 { font-family: 'Playfair Display', Georgia, serif; font-size: 13px; font-weight: 700; line-height: 1.35; color: #1a1a1a; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.popular-post-info h4 a:hover { color: var(--accent); }
.popular-post-info .post-date { font-size: 11px; color: #aaa; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-cloud a { display: inline-block; border: 1px solid #ddd; color: #555; font-size: 11px; padding: 4px 11px; border-radius: 20px; transition: all .2s; }
.tag-cloud a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.cat-list a { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid #f2f2f2; font-size: 13px; color: #444; font-weight: 500; transition: color .2s, padding-left .2s; }
.cat-list a:last-child { border-bottom: none; }
.cat-list a:hover { color: var(--accent); padding-left: 5px; }
.cat-list a span { background: #f0f0f0; color: #777; font-size: 10px; padding: 2px 7px; border-radius: 10px; }
.search-form { display: flex; }
.search-input { flex: 1; padding: 9px 13px; border: 1px solid #ddd; border-right: none; border-radius: 3px 0 0 3px; font-size: 13px; font-family: 'Karla', sans-serif; outline: none; }
.search-input:focus { border-color: var(--accent); }
.search-btn { background: var(--accent); color: #fff; border: none; padding: 9px 14px; border-radius: 0 3px 3px 0; cursor: pointer; font-size: 15px; }

/* ----- BREADCRUMB ----- */
.breadcrumb { padding: 10px 24px; background: #f9f9f9; border-bottom: 1px solid #eee; font-size: 12px; color: #999; }
.breadcrumb a { color: var(--accent); }
.breadcrumb .sep { margin: 0 7px; color: #ccc; }

/* ----- SINGLE POST ----- */
.single-post { background: #fff; border-radius: 3px; box-shadow: 0 2px 10px rgba(0,0,0,.07); border: 1px solid #eee; overflow: hidden; margin-bottom: 28px; }
.single-post-hero { width: 100%; height: 360px; object-fit: cover; }
.single-post-header-info { padding: 26px 32px 0; }
.single-post-header-info h1 { font-family: 'Playfair Display', Georgia, serif; font-size: 28px; font-weight: 700; line-height: 1.35; color: #1a1a1a; margin: 11px 0 13px; }
.post-meta-full { display: flex; align-items: center; gap: 14px; font-size: 12px; color: #999; padding-bottom: 18px; border-bottom: 1px solid #f0f0f0; flex-wrap: wrap; }
.post-meta-full a { color: var(--accent); font-weight: 600; }
.post-meta-full .sep { color: #ddd; }
.single-post-content { padding: 24px 32px 32px; font-size: 15px; line-height: 1.85; color: #444; }
.single-post-content h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 21px; font-weight: 700; color: #1a1a1a; margin: 30px 0 13px; border-left: 4px solid var(--accent); padding-left: 14px; }
.single-post-content h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 18px; font-weight: 700; color: #1a1a1a; margin: 24px 0 11px; }
.single-post-content h4 { font-size: 16px; font-weight: 700; color: #1a1a1a; margin: 20px 0 9px; }
.single-post-content p { margin-bottom: 17px; }
.single-post-content ul { list-style: disc; padding-left: 22px; margin-bottom: 17px; }
.single-post-content ol { list-style: decimal; padding-left: 22px; margin-bottom: 17px; }
.single-post-content li { margin-bottom: 7px; }
.single-post-content a { color: var(--accent); text-decoration: underline; }
.single-post-content blockquote { border-left: 4px solid var(--accent); background: #f9f9f9; padding: 15px 20px; margin: 22px 0; font-style: italic; color: #555; border-radius: 0 3px 3px 0; }
.single-post-content hr { border: none; border-top: 2px dashed #e8e8e8; margin: 28px 0; }
.single-post-content strong { font-weight: 700; color: #1a1a1a; }
.single-post-content table { width: 100%; border-collapse: collapse; margin-bottom: 18px; font-size: 14px; }
.single-post-content th { background: var(--accent); color: #fff; padding: 9px 14px; text-align: left; font-weight: 700; }
.single-post-content td { padding: 8px 14px; border-bottom: 1px solid #eee; }
.single-post-content tr:nth-child(even) td { background: #f9f9f9; }
.post-tags { padding: 16px 32px; border-top: 1px solid #f0f0f0; display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.post-tags-label { font-size: 11px; font-weight: 700; text-transform: uppercase; color: #aaa; letter-spacing: 1px; margin-right: 4px; }

/* ----- LIST PAGE ----- */
.list-header { padding: 24px 0 12px; border-bottom: 3px solid var(--accent); margin-bottom: 26px; }
.list-header h1 { font-family: 'Playfair Display', Georgia, serif; font-size: 26px; font-weight: 700; color: #1a1a1a; }
.list-header p { font-size: 14px; color: #777; margin-top: 7px; line-height: 1.6; }

/* ----- FOOTER ----- */
.site-footer { background: #1a1a1a; color: #bbb; padding: 42px 24px 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; max-width: 1200px; margin: 0 auto; padding-bottom: 28px; border-bottom: 1px solid #333; }
.footer-about .footer-logo-text { font-family: 'Playfair Display', Georgia, serif; font-size: 22px; color: #fff; margin-bottom: 10px; }
.footer-about .footer-logo-text span { color: var(--accent); }
.footer-about p { font-size: 13px; line-height: 1.7; color: #888; }
.footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: #fff; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid var(--accent); display: inline-block; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 13px; color: #888; transition: color .2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom { max-width: 1200px; margin: 18px auto 0; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #555; flex-wrap: wrap; gap: 8px; }

/* ----- RESPONSIVE ----- */
@media (max-width: 900px) {
  .content-area { grid-template-columns: 1fr; }
  .hero-section { grid-template-columns: 1fr; grid-template-rows: auto; }
  .hero-post:first-child { grid-row: auto; }
  .hero-post img { height: 220px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .post-grid { grid-template-columns: 1fr; }
  .logo-text { font-size: 28px; }
  .site-nav ul { justify-content: flex-start; }
  .single-post-hero { height: 200px; }
  .single-post-header-info, .single-post-content, .post-tags { padding-left: 18px; padding-right: 18px; }
  .single-post-header-info h1 { font-size: 21px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-section { display: block; }
}

/* ── Mammoth Force CTA ─────────────────────────────────── */
.mammoth-cta {
  margin: 2.5rem 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 12px;
  border-left: 4px solid var(--accent);
  overflow: hidden;
}
.mammoth-cta-inner {
  padding: 2rem 2.25rem;
}
.mammoth-cta-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(255,255,255,.08);
  padding: 3px 9px;
  border-radius: 4px;
  margin-bottom: .75rem;
}
.mammoth-cta-heading {
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  color: #f1f5f9;
  margin: 0 0 .6rem;
  line-height: 1.3;
}
.mammoth-cta-body {
  font-size: .93rem;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0 0 1.25rem;
}
.mammoth-cta-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
  padding: .6rem 1.4rem;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity .2s;
}
.mammoth-cta-btn:hover { opacity: .85; color: #fff; }

/* ── Partner Sites Widget ──────────────────────────────── */
.partner-list { list-style: none; padding: 0; margin: 0; }
.partner-list li { border-bottom: 1px solid #f1f5f9; }
.partner-list li:last-child { border-bottom: none; }
.partner-list a {
  display: block;
  padding: .65rem 0;
  text-decoration: none;
  transition: color .15s;
}
.partner-list a:hover .partner-name { color: var(--accent); }
.partner-name {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: #1e293b;
}
.partner-tagline {
  display: block;
  font-size: .78rem;
  color: #94a3b8;
  margin-top: 2px;
}
