/*
Theme Name: DAP Magazine
Theme URI: https://digitalassetpost.com
Description: CoinDesk/TechCrunch magazine style theme for Digital Asset Post
Author: DAP Editorial
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Merriweather:wght@400;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: #ffffff;
  font-family: 'DM Sans', -apple-system, sans-serif;
  color: #1a1a1a;
  font-size: 16px;
  line-height: 1.6;
}

a { color: #0d9488; text-decoration: none; }
a:hover { color: #0f766e; }

/* HEADER */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}

.site-logo {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  text-decoration: none;
}

.site-logo span { color: #0d9488; }

.site-nav a {
  color: #6b7280;
  font-size: 14px;
  font-weight: 500;
  margin-left: 24px;
  transition: color 0.2s;
}

.site-nav a:hover { color: #0d9488; }

/* BREAKING BAR */
.breaking-bar {
  background: #042f2e;
  color: #5eead4;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 20px;
  text-align: center;
}

.breaking-bar a { color: #5eead4; text-decoration: underline; }

/* MAIN */
.site-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
}

/* HERO SECTION */
.hero-section {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 2px solid #f3f4f6;
}

.hero-main {
  background: #f0fdfa;
  border-radius: 12px;
  padding: 32px;
  border: 1px solid #ccfbf1;
}

.hero-main .hero-cat {
  display: inline-block;
  background: #0d9488;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.hero-main h2 {
  font-family: 'Merriweather', serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
}

.hero-main h2 a { color: #1a1a1a; }
.hero-main h2 a:hover { color: #0d9488; }

.hero-main .hero-excerpt {
  color: #6b7280;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.hero-main .hero-meta {
  font-size: 13px;
  color: #9ca3af;
}

.hero-sidebar {  }

.hero-side-item {
  padding: 16px 0;
  border-bottom: 1px solid #f3f4f6;
}

.hero-side-item .side-cat {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #0d9488;
  margin-bottom: 4px;
}

.hero-side-item h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 4px;
}

.hero-side-item h3 a { color: #1a1a1a; }
.hero-side-item h3 a:hover { color: #0d9488; }

.hero-side-item .side-meta {
  font-size: 12px;
  color: #9ca3af;
}

/* ARTICLE GRID */
.section-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid #0d9488;
  display: inline-block;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.article-card {
  border: 1px solid #f3f4f6;
  border-radius: 10px;
  padding: 20px;
  transition: all 0.2s;
}

.article-card:hover {
  border-color: #0d9488;
  box-shadow: 0 4px 20px rgba(13, 148, 136, 0.08);
}

.article-card .card-cat {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #0d9488;
  margin-bottom: 8px;
}

.article-card h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
}

.article-card h3 a { color: #1a1a1a; }
.article-card h3 a:hover { color: #0d9488; }

.article-card .card-excerpt {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card .card-meta {
  font-size: 12px;
  color: #9ca3af;
}

/* SINGLE POST */
.single-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 20px;
}

.single-wrap .single-cat {
  display: inline-block;
  background: #0d9488;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.single-wrap h1 {
  font-family: 'Merriweather', serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
}

.single-wrap .post-meta {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
}

.single-wrap .post-content {
  font-family: 'Merriweather', serif;
  font-size: 17px;
  line-height: 1.9;
  color: #374151;
}

.single-wrap .post-content p { margin-bottom: 20px; }

.single-wrap .post-tags {
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px solid #e5e7eb;
}

.single-wrap .post-tags a {
  display: inline-block;
  background: #f0fdfa;
  color: #0d9488;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-right: 8px;
  border: 1px solid #ccfbf1;
}

/* FOOTER */
.site-footer {
  background: #042f2e;
  padding: 30px 20px;
  text-align: center;
  color: #5eead4;
  font-size: 13px;
}

.site-footer a { color: #99f6e4; }
.site-footer a:hover { color: #ffffff; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-section { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .header-inner { flex-direction: column; gap: 8px; }
  .site-nav a { margin-left: 0; margin-right: 16px; }
  .hero-main h2 { font-size: 22px; }
  .single-wrap h1 { font-size: 26px; }
}
