/* ============================================= */
/* == Global Variables & Base Styles =========== */
/* ============================================= */

:root {
  /* Color System */
  --ink: #0b0f1a;
  --muted: #6b7280;
  --ring: #e5e7eb;
  --peach: #fff3e6;
  --white: #fff;
  --black: #111;
  --pure-black: #000;
  --primary: #16a34a;
  --primary-dark: #0f7a36;
  --dark: #0f172a;
  --light: #f8fafc;
  --gray: #64748b;
  --light-gray: #e2e8f0;
  --accent: #f59e0b;
  
  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-xxl: 48px;
  
  /* Typography */
  --text-base: 1rem;
  --text-sm: 0.875rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-xxl: 1.5rem;
  
  /* Layout */
  --header-h: 72px;
  --max-width: 1500px;
  --content-width: 80%;
  --border-radius: 12px;
  --border-radius-lg: 28px;

  /* Effects */
  --transition: all 0.3s ease;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* ============================================= */
/* == Utility Classes ========================== */
/* ============================================= */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ============================================= */
/* == Global Base Styles ======================= */
/* ============================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #fafafa;
  background-image: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  color: #334155;
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--dark);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================= */
/* == Hero Section ============================= */
/* ============================================= */

.tsd-hero {
  background: var(--white);
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  padding: var(--space-xl) var(--space-lg);
}

.tsd-hero-grid {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: var(--space-xxl);
}

.tsd-hero-meta {
  margin: 0 0 var(--space-md);
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.2px;
}

.tsd-hero-title {
  margin: 0 0 var(--space-xl);
  color: var(--black);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: 0;
  font-size: clamp(2.4rem, 7.8vw, 8rem);
}

.tsd-hero-read {
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.tsd-hero-read:hover {
  transform: scale(1.05);
}

.tsd-hero-media {
  margin: 0;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--ring);
  height: min(72vh, 720px);
  min-height: 420px;
}

.tsd-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ============================================= */
/* == 3-Post Featured Section ================== */
/* ============================================= */

.three-posts {
  padding: 50px 20px;
  max-width: 1400px;
  margin: 0 auto;
  background: var(--white);
}

.three-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.three-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--black);
  margin: 0;
}

.btn-outline {
  border: 1px solid var(--black);
  padding: var(--space-sm) var(--space-md);
  text-decoration: none;
  color: var(--black);
  border-radius: 4px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--black);
  color: var(--white);
}

.three-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.three-card {
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--white);
  transition: transform 0.2s ease;
}

.three-card:hover {
  transform: translateY(-5px);
}

.three-card img {
  width: calc(100% - 40px);
  height: 240px;
  margin: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.three-content {
  padding: 0 20px 25px;
}

.three-meta {
  color: var(--muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-sm);
}

.three-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--black);
  margin-bottom: var(--space-sm);
}

.three-excerpt {
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.5;
}

/* ============================================= */
/* == Moving Line Section ====================== */
/* ============================================= */

.moving-line {
  width: 100%;
  overflow: hidden;
  background: var(--white);
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  white-space: nowrap;
}

.moving-text {
  display: inline-block;
  padding: 20px 0;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  color: #c4c4c4;
  letter-spacing: 1px;
  animation: marquee 15s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ============================================= */
/* == Top Categories Section =================== */
/* ============================================= */

.cats {
  padding: 28px 20px 40px;
  background: var(--white);
}

.cats-title {
  margin: 0 0 22px;
  text-align: center;
  font-weight: 800;
  color: var(--black);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
}

.cats-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  justify-content: center;
}

.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 22px;
  text-decoration: none;
  color: var(--black);
  background: #f1f3f5;
  border: 1px solid #eceff3;
  border-radius: 9999px;
  font-weight: 700;
  font-size: var(--text-lg);
  line-height: 1.2;
  transition: var(--transition);
}

.cat-chip:hover {
  background: #e9edf1;
  transform: translateY(-1px);
}

.cat-chip img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 50%;
}

/* ============================================= */
/* == Popular Posts Section ==================== */
/* ============================================= */

.pop {
  width: var(--content-width);
  margin: 0 auto;
  padding: 50px 0;
  background: var(--white);
}

.pop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: 20px;
}

.pop-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  color: var(--black);
  letter-spacing: 0.2px;
}

.pop-more {
  display: inline-block;
  padding: 10px 14px;
  border: 1px solid var(--black);
  border-radius: 6px;
  color: var(--black);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.pop-more:hover {
  background: var(--black);
  color: var(--white);
}

.pop-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1.1fr 0.9fr;
}

.pop-feature {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  min-height: 480px;
}

.pop-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pop-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px;
  color: var(--white);
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.45) 65%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

.pop-meta {
  margin: 0 0 10px;
  font-weight: 500;
  letter-spacing: 0.2px;
  opacity: 0.95;
  font-size: 0.98rem;
}

.pop-title {
  margin: 0;
  font-weight: 800;
  line-height: 1.05;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
}

.pop-list {
  display: grid;
  gap: 22px;
}

.pop-item {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--peach);
  border-radius: 14px;
  padding: 22px;
  transition: transform 0.2s ease;
}

.pop-item:hover {
  transform: translateY(-3px);
}

.pop-item-meta {
  margin: 0 0 10px;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.98rem;
}

.pop-item-title {
  margin: 0;
  color: var(--black);
  font-weight: 700;
  line-height: 1.25;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

/* ============================================= */
/* == Newsletter Section ======================= */
/* ============================================= */

.newsletter {
  width: var(--content-width);
  margin: 60px auto;
}

.newsletter-box {
  background: var(--pure-black);
  color: var(--white);
  padding: 50px;
  border-radius: var(--border-radius);
}

.newsletter-box h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 35px;
  line-height: 1.3;
}

.newsletter-form {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--white);
  padding-bottom: 5px;
  gap: var(--space-sm);
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: var(--text-base);
  color: var(--white);
}

.newsletter-form input::placeholder {
  color: #ddd;
}

.newsletter-form button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--white);
  padding: 0;
  transition: transform 0.2s ease;
}

.newsletter-form button:hover {
  transform: translateX(3px);
}

.newsletter-form svg {
  width: 20px;
  height: 20px;
}

/* ============================================= */
/* == Coupons Section ========================== */
/* ============================================= */

.coupons {
  width: 80%;
  margin: 50px auto;
  font-family: 'Segoe UI', sans-serif;
}

.coupons-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.coupons-head h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #1a1a1a;
}

.coupon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}

.c-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  padding: 20px;
  transition: var(--transition);
  position: relative;
}

.c-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.c-logo {
  text-align: center;
  margin-bottom: 15px;
}

.c-logo img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
}

.c-badge {
  display: inline-block;
  background: #bee5be;
  color: #1a1a1a;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 30px;
  margin-bottom: 10px;
}

.c-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 5px 0;
}

.c-desc {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.4;
  margin-bottom: 15px;
}

.c-btn {
  display: inline-block;
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

.c-btn.is-code {
  background: #fff;
  border: 2px solid #1a1a1a;
  color: #1a1a1a;
}

.c-btn.is-code:hover {
  background: #1a1a1a;
  color: #fff;
}

.c-btn.is-deal {
  background: #ff5c35;
  color: #fff;
  border: none;
}

.c-btn.is-deal:hover {
  background: #e44c29;
}

/* ============================================= */
/* == Post Page Styles ========================= */
/* ============================================= */

main {
  padding: 60px 0;
}

.post-wrap {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr) 300px;
  gap: 40px;
}

.post-left,
.post-right {
  align-self: start;
  position: sticky;
  top: 100px;
}

.author-card {
  background: #fef7ed;
  border: 1px solid #f6e8d8;
  border-radius: 14px;
  padding: 18px;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  margin-bottom: 18px;
  transition: var(--transition);
}

.author-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.author-avatar {
  width:72px;
  height:72px;
  border-radius:50%;
  object-fit:cover;
  grid-row:1/3;
}

.author-name {
  margin:0;
  font-weight:800;
  font-size:1.4rem;
  color:#111;
}

.author-role {
  margin:2px 0 0;
  color:#6b7280;
  font-weight:600;
}

.author-bio {
  grid-column:1/-1;
  margin:10px 0 12px;
  color:#4b5563;
  line-height:1.6;
}

.author-social {
  display:flex;
  gap:14px;
  font-weight:800
}

.author-social a {
  text-decoration:none;
  color:#111;
  border:1px solid #e7e7e7;
  border-radius:8px;
  padding:4px 8px;
  transition: var(--transition);
}

.author-social a:hover {
  background:#111;
  color:#fff;
}

.widget {
  margin-bottom:18px;
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  transition: var(--transition);
}

.widget:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.widget-head {
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:12px;
}

.widget-head h4 {
  margin:0;
  font-size:1.5rem;
  font-weight:800;
  color:#111;
  position: relative;
  padding-bottom: 8px;
}

.widget-head h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
}

.widget-head .rule {
  flex:1;
  height:1px;
  background:#e5e7eb;
}

.popmini {
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:14px;
}

.popmini li a {
  display:grid;
  grid-template-columns:84px 1fr;
  gap:12px;
  text-decoration:none;
  color:inherit;
  padding:8px;
  border-radius:10px;
  transition: var(--transition);
}

.popmini li a:hover {
  background: var(--light);
  transform: translateX(5px);
}

.popmini img {
  width:84px;
  height:84px;
  object-fit:cover;
  border-radius:14px;
}

.mini-meta {
  margin:0;
  color:#6b7280;
  font-weight:600;
  font-size: 0.85rem;
}

.mini-title {
  margin:2px 0 0;
  font-weight:800;
  line-height:1.25;
  font-size: 1rem;
}

.catlist {
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:12px;
}

.catlist a {
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:#f3f4f6;
  border:1px solid #eff2f5;
  border-radius:8px;
  padding:14px 16px;
  text-decoration:none;
  color:#333;
  font-weight:700;
  transition: var(--transition);
}

.catlist a:hover {
  background: var(--primary);
  color: white;
  transform: translateX(5px);
}

.catlist a span {
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:6px;
  padding:6px 10px;
  min-width:36px;
  text-align:center;
}

.catlist a:hover span {
  background: var(--dark);
  color: white;
}

.post-main {
  min-width:0;
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
}

.post-head {
  margin-bottom: 40px;
  text-align: center;
}

.post-head .post-meta {
  margin:0 0 8px;
  color:#6b7280;
  font-weight:600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.post-meta::before, .post-meta::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--light-gray);
}

.post-title {
  margin:0 0 14px;
  color:#111;
  font-weight:900;
  line-height:1.05;
  font-size:clamp(2rem,4.6vw,3.2rem);
  position: relative;
  padding-bottom: 20px;
}

.post-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.post-hero {
  margin:0 0 18px;
  border-radius:16px;
  overflow:hidden;
  position: relative;
  margin-bottom: 40px;
  box-shadow: var(--shadow-md);
}

.post-hero img {
  width:100%;
  height:500px;
  object-fit:cover;
}

.post-hero figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 16px;
  font-size: 0.95rem;
  text-align: center;
}

.post-body {
  color: #475569;
  font-size: 1.1rem;
  line-height: 1.8;
}

.post-body h2 {
  font-size: 1.8rem;
  margin: 50px 0 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--light-gray);
}

.post-body h3 {
  font-size: 1.4rem;
  margin: 40px 0 16px;
  color: var(--primary-dark);
}

.post-body p {
  margin:0 0 24px;
  text-align: justify;
}

.post-body blockquote {
  border-left: 4px solid var(--primary);
  padding: 20px 30px;
  background: var(--light);
  margin: 30px 0;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  font-style: italic;
  color: var(--dark);
  position: relative;
}

.post-body blockquote::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: var(--primary);
  opacity: 0.2;
  line-height: 1;
}

.toc {
  background:#f5f7fa;
  border:1px solid #e5eaf0;
  border-radius:14px;
  padding:16px;
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  transition: var(--transition);
}

.toc:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.toc h4 {
  margin:0 0 10px;
  font-weight:800;
  font-size: 1.4rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--light-gray);
  position: relative;
}

.toc h4::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
}

.toc ol {
  margin:0;
  padding-left:18px;
  display:grid;
  gap:8px;
}

.toc li {
  line-height:1.4;
  position: relative;
  padding-left: 20px;
}

.toc li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

.toc a {
  text-decoration:none;
  color:#111;
  font-weight:700;
  color: var(--gray);
  font-weight: 500;
  display: block;
  padding: 8px 0;
  transition: var(--transition);
}

.toc a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.toc a.is-active {
  color: var(--primary);
  font-weight: 600;
}

.toc ul {
  margin-top:6px;
  list-style:disc;
  padding-left:18px;
  padding-left: 20px;
  margin-top: 8px;
  border-left: 1px solid var(--light-gray);
}

.toc ul li::before {
  background: var(--accent);
}

.comments {
  margin-top:34px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--light-gray);
}

.comments h2 {
  margin:0 0 16px;
  font-size:2rem;
  font-size: 1.8rem;
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--light-gray);
}

.comment {
  display:grid;
  grid-template-columns:72px 1fr;
  gap:12px;
  margin-bottom:20px;
  padding: 20px;
  background: var(--light);
  border-radius: var(--border-radius);
}

.c-avatar {
  width:72px;
  height:72px;
  border-radius:50%;
  object-fit:cover;
  border: 2px solid var(--primary);
  padding: 2px;
}

.c-head {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:6px;
}

.c-head strong {
  font-size: 1.2rem;
  color: var(--dark);
}

.btn-reply {
  border:1px solid #111;
  background:#fff;
  border-radius:6px;
  padding:6px 10px;
  font-weight:700;
  cursor:pointer;
  background: var(--primary);
  color: white;
  border: none;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.9rem;
  transition: var(--transition);
}

.btn-reply:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.c-text {
  margin:0;
  color:#374151;
}

.leave-title {
  margin:24px 0 10px;
  font-size:1.8rem;
  margin: 50px 0 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--light-gray);
}

.c-form {
  background: var(--light);
  padding: 30px;
  border-radius: var(--border-radius);
}

.c-form textarea {
  width:100%;
  min-height:180px;
  border:1px solid #e5e7eb;
  border-radius:10px;
  padding:14px;
  font:inherit;
  resize:vertical;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.c-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
}

.c-row {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin:12px 0;
}

.c-row input {
  border:1px solid #e5e7eb;
  border-radius:10px;
  padding:12px;
  font:inherit;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius);
  padding: 14px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.c-row input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
}

.c-remember {
  display:flex;
  gap:8px;
  align-items:flex-start;
  color:#4b5563;
  font-size:.95rem;
  margin-bottom: 20px;
}

.c-submit {
  margin-top:12px;
  background:#0b1220;
  color:#fff;
  border:0;
  border-radius:12px;
  padding:12px 18px;
  font-weight:800;
  cursor:pointer;
  background: var(--primary);
  color: white;
  border-radius: var(--border-radius);
  padding: 14px 28px;
  font-size: 1.1rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.c-submit:hover {
  opacity:.95;
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

/* ============================================= */
/* ============================================= */
/* == Responsive Breakpoints =================== */
/* ============================================= */

@media (max-width: 1200px) {
  .tsd-hero {
    padding: 28px 20px;
  }
  .tsd-hero-grid {
    gap: 36px;
  }
  
  .post-wrap {
    grid-template-columns: 280px 1fr;
  }
  
  .post-right {
    grid-column: 1 / -1;
    position: static;
    max-width: 800px;
    margin: 0 auto;
  }
}

@media (max-width: 1024px) {
  .tsd-hero-grid {
    grid-template-columns: 1fr;
  }
  .tsd-hero-media {
    order: -1;
    height: 42vh;
    min-height: 320px;
  }
  .tsd-hero-read {
    width: 96px;
    height: 96px;
  }
  
  .three-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pop-grid {
    grid-template-columns: 1fr;
  }
  .pop-feature {
    min-height: 380px;
  }
}

@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .three-grid {
    grid-template-columns: 1fr;
  }
  
  .post-wrap {
    grid-template-columns: 1fr;
  }
  
  .post-left {
    position: static;
  }
  
  .post-main {
    padding: 30px 20px;
  }
  
  .post-title {
    font-size: 2.2rem;
  }
  
  .post-hero img {
    height: 350px;
  }
  
  .c-row {
    grid-template-columns: 1fr;
  }
  
  .coupons {
    width: 90%;
  }
}

@media (max-width: 640px) {
  .pop {
    width: 94%;
    padding: 36px 0;
  }
  .pop-feature {
    min-height: 300px;
    border-radius: 14px;
  }
  .pop-overlay {
    padding: 20px;
  }
}

@media (max-width: 600px) {
  .newsletter-box {
    padding: 35px 25px;
  }
  
  .cat-chip {
    padding: 10px 16px;
    font-size: var(--text-base);
  }
  .cat-chip img {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 576px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .popmini li a {
    grid-template-columns: 1fr;
  }
  
  .popmini img {
    width: 100%;
    height: 200px;
  }
  
  .comment {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .c-head {
    flex-direction: column;
    gap: 10px;
  }
  
  .c-avatar {
    margin: 0 auto;
  }
}

@media (max-width: 520px) {
  .tsd-hero {
    min-height: auto;
    padding: 24px 16px 40px;
  }
  .tsd-hero-title {
    margin-bottom: 28px;
    font-size: clamp(2rem, 9vw, 3rem);
  }
  .tsd-hero-read {
    width: 84px;
    height: 84px;
  }
}

/* ===== Animations ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.post-head, .post-body, .comments, .toc {
  animation: fadeIn 0.6s ease forwards;
}

.post-head { animation-delay: 0.1s; }
.post-body { animation-delay: 0.2s; }
.comments { animation-delay: 0.3s; }
.toc { animation-delay: 0.4s; }