@font-face {
  font-family: "Montserrat";
  src: url(../fonts/Montserrat-VariableFont_wght.ttf);
  font-display: swap;
}

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

body {
  font-family: "Montserrat", Helvetica, sans-serif;
  background: #fff;
  color: #1a1a1a;
  line-height: 1.5;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
}

.container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 16px;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.md-flex-row {
  flex-direction: row;
}

.justify-between {
  justify-content: space-between;
}

.items-center {
  align-items: center;
}

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

.text-start {
  text-align: left;
}

.gap-10 {
  gap: 10px;
}

.gap-16 {
  gap: 16px;
}

.mb-16 {
  margin-bottom: 16px;
}

.mb-24 {
  margin-bottom: 24px;
}

.mt-24 {
  margin-top: 24px;
}

.p-16 {
  padding: 16px;
}

.py-8 {
  padding-top: 8px;
  padding-bottom: 8px;
}

.border-b {
  border-bottom: 1px solid #e5e7eb;
}

.border-t {
  border-top: 1px solid #e5e7eb;
}

.rounded {
  border-radius: 8px;
}

.bg-gray {
  background: #f3f4f6;
}

.bg-light {
  background: #f8fafc;
}

.bg-yellow-light {
  background: #fef9c3;
}

.bg-red-light {
  background: #fee2e2;
}

.bg-green-light {
  background: #dcfce7;
}

.bg-blue-light {
  background: #eff6ff;
}

.border-yellow {
  border: 1px solid #fde047;
}

.border-gray {
  border: 1px solid #d1d5db;
}

.border-green {
  border: 1px solid #86efac;
}

.border-red {
  border: 1px solid #fca5a5;
}

.shadow-sm {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* header */
.pub-header {
  background: #1a1a2e;
  color: #fff;
  padding: 10px 0;
  border-bottom: 3px solid #e74c3c;
}

.pub-logo {
  font-size: 1.4rem;
  font-weight: bold;
  color: #fff;
}

/* advertorial */
.advertorial-pre-header {
  background: #efefef;
  padding: 4px 0;
  color: #000;
}

/* headline */
.article-headline {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  color: #111;
  margin-bottom: 16px;
}

@media (max-width: 640px) {
  .article-headline {
    font-size: 1.5rem;
  }
}

/* byline */
.article-byline {
  padding: 12px 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: #555;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.byline-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: #e3e3e3;
  flex-shrink: 0;
}

.byline-left {
  flex: 1;
}

.byline-author {
  font-weight: bold;
  color: #111;
}

.byline-title {
  color: #777;
}

.byline-meta {
  font-size: 0.82rem;
  color: #777;
}

/* badges */
.social-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.social-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
}

.badge-blue {
  background: #1877f2;
}

.badge-red {
  background: #e74c3c;
}

.badge-green {
  background: #16a34a;
}

.badge-purple {
  background: #7c3aed;
}

/* feature list */
.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 16px 0;
}

@media (min-width: 640px) {
  .feature-list {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f8faf5;
  border: 1px solid #d4edda;
  border-radius: 8px;
  padding: 14px 16px;
}

.feature-check {
  width: 28px;
  height: 28px;
  background: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
  font-weight: bold;
}

.feature-text strong {
  font-size: 0.9rem;
  color: #111;
}

.feature-text span {
  font-size: 0.82rem;
  color: #555;
  display: block;
}

/* fb posts */
.fb-posts-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 16px auto;
  max-width: 500px;
}

@media (min-width: 768px) {
  .fb-posts-container {
    grid-template-columns: 1fr 1fr;
    max-width: 100%;
  }
}

.fb-post {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px;
  font-size: 0.9rem;
}

.fb-post-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.fb-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: #e5e7eb;
  flex-shrink: 0;
}

.fb-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fb-name {
  font-weight: bold;
  color: #111;
}

.fb-time {
  font-size: 0.75rem;
  color: #999;
}

.fb-menu {
  margin-left: auto;
  color: #999;
  font-size: 1.2rem;
}

.fb-text {
  margin-bottom: 10px;
}

.fb-img {
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 10px;
  aspect-ratio: 1/1;
}

.fb-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fb-reactions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  font-size: 0.8rem;
  color: #777;
  margin-bottom: 8px;
}

.fb-actions {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
}

.fb-action-btn {
  flex: 1;
  padding: 6px;
  background: none;
  border: none;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.fb-comments {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fb-comment {
  display: flex;
  gap: 8px;
}

.fb-comment-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  background: #e5e7eb;
  flex-shrink: 0;
}

.fb-comment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fb-comment-bubble {
  background: #f0f2f5;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 0.82rem;
}

.fb-comment-name {
  font-weight: bold;
  color: #111;
  display: block;
  margin-bottom: 2px;
}

.fb-comment-actions {
  display: flex;
  gap: 10px;
  font-size: 0.75rem;
  color: #999;
  margin-top: 4px;
  margin-left: 44px;
}

/* pricing */
.pricing-box {
  background: #fff3f3;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
}

.pricing-box-green {
  background: #f0fdf4;
  border-color: #86efac;
}

.price-red {
  color: #dc2626;
  font-weight: bold;
}

.price-green {
  color: #16a34a;
  font-weight: bold;
}

/* cta */
.cta-button {
  display: block;
  background: linear-gradient(180deg, #4ba614, #008c00);
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  text-align: center;
  padding: 14px 24px;
  border-radius: 6px;
  border: 1px solid #34740e;
}

.cta-button-large {
  font-size: 1.4rem;
  padding: 18px 28px;
}

.cta-button:hover {
  filter: brightness(0.85);
}

/* comments */
.comments-section {
  margin-top: 24px;
}

.comment-input-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
}

.comment-input-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e5e7eb;
  flex-shrink: 0;
}

.comment-input-field {
  flex: 1;
  border: 1px solid #d1d5db;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 0.9rem;
  background: #fff;
}

.user-comment {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: #e5e7eb;
  flex-shrink: 0;
}

.comment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comment-name {
  font-weight: bold;
  color: #111;
}

.comment-text {
  margin: 4px 0 6px;
}

.comment-meta {
  display: flex;
  gap: 12px;
  font-size: 0.75rem;
  color: #999;
}

/* urgency */
.urgency-box {
  border-radius: 8px;
  overflow: hidden;
  margin: 24px 0;
}

.urgency-header {
  background: #1a1a2e;
  color: #fff;
  padding: 14px 20px;
}

.urgency-body {
  background: #f1f5f9;
  padding: 20px;
}

.urgency-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: center;
  margin-top: 16px;
}

.urgency-stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: #1a1a2e;
}

.urgency-stat-label {
  font-size: 0.78rem;
  color: #64748b;
}

/* ratings widget */
.ratings-widget {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 20px;
  margin: 24px 0;
}

.ratings-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
}

.score-big {
  font-size: 3rem;
  font-weight: 800;
  color: #111;
  line-height: 1;
}

.score-stars {
  color: #f59e0b;
  font-size: 1.4rem;
  letter-spacing: 2px;
}

.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
}

.rating-bar-track {
  flex: 1;
  background: #e5e7eb;
  border-radius: 4px;
  height: 10px;
  overflow: hidden;
}

.rating-bar-fill {
  height: 100%;
  background: #f59e0b;
  border-radius: 4px;
  color: white;
  font-size: 0.6rem;
  padding-right: 4px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* setup steps */
.setup-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0;
}

.setup-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.step-number {
  width: 36px;
  height: 36px;
  background: #1a1a2e;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}

/* quote */
.quote {
  font-style: italic;
  padding-left: 16px;
  border-left: 4px solid #ccc;
  margin: 16px 0;
}

/* sidebar */
.sidebar-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 20px 16px;
  margin-top: 8px;
  position: sticky;
  top: 0;
}

/* footer */
.pub-footer {
  background: #f3f4f6;
  border-top: 1px solid #e5e7eb;
  margin-top: 40px;
  padding: 32px 16px;
}

.pub-footer-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 640px) {
  .pub-footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pub-footer-bottom {
  max-width: 1060px;
  margin: 20px auto 0;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
  font-size: 0.8rem;
  color: #9ca3af;
}

/* image wrapper */
.twill-image-wrapper {
  position: relative;
  overflow: hidden;
  background-color: #e3e3e3;
}

.twill-image-wrapper img {
  position: absolute;
  bottom: 0;
  height: 100%;
  left: 0;
  margin: 0;
  max-width: none;
  padding: 0;
  right: 0;
  top: 0;
  width: 100%;
  object-fit: cover;
}

/* breaking bar */
.breaking-bar {
  background: #e74c3c;
  color: #fff;
  padding: 8px 16px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
}

.breaking-label {
  background: #fff;
  color: #e74c3c;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 800;
}

/* utilities */
.w-full {
  width: 100%;
}

.text-lg {
  font-size: 1.125rem;
}

.font-bold {
  font-weight: 700;
}
footer a {
  color: #000;
}
.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.relative {
  position: relative;
}

.sticky {
  position: sticky;
}

.main-grid {
  display: flex;
  flex-direction: column;
  padding-top: 30px;
}

@media (min-width: 768px) {
  .main-grid {
    flex-direction: row;
  }

  .content-col {
    flex: 0 0 66.666%;
    width: 66.666%;
  }

  .sidebar-col {
    flex: 0 0 33.333%;
    width: 33.333%;
  }
}

@media (min-width: 1024px) {
  .content-col {
    flex: 0 0 75%;
    width: 75%;
  }

  .sidebar-col {
    flex: 0 0 25%;
    width: 25%;
  }
}