@import url("https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&family=Inter:wght@400;500;600&display=swap");

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

body {
  background:
    linear-gradient(180deg, #f7f9fb 0%, #eef3f6 100%);
  color: #18181b;
  font-family: "Inter", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: "Merriweather", serif;
  color: #18181b;
  margin-bottom: 1rem;
  line-height: 1.3;
}

h1 {
  font-size: 2.75rem;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  letter-spacing: 0;
}

h2 {
  font-size: 1.85rem;
  margin-top: 2.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #dce7ed;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  color: #3f3f46;
}

a {
  color: #2563eb;
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* Top Bar */
.top-bar {
  background: linear-gradient(90deg, #18181b, #27272a);
  color: #ffffff;
  text-align: center;
  padding: 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Header */
.header {
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 1rem 0;
  top: 0;
  z-index: 100;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.95);
}

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

.header-logo {
  height: 44px;
  transition: transform 0.2s ease;
}

.header-logo:hover {
  transform: scale(1.02);
}

.header-cta-btn {
  background-color: #2563eb;
  color: #ffffff;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39);
  transition: all 0.3s ease;
}

.header-cta-btn:hover {
  background-color: #1d4ed8;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* Layout */
.main-container {
  max-width: 1180px;
  margin: 2.5rem auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: minmax(240px, 290px) minmax(0, 760px);
  gap: 2.5rem;
  align-items: start;
  justify-content: center;
}

.article-content {
  min-width: 0;
  max-width: none;
  background-color: #ffffff;
  padding: 3.5rem;
  border: 1px solid #dfe7ee;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.sidebar {
  width: auto;
  position: sticky;
  top: 104px;
}

.left-sidebar-layout .article-content {
  grid-column: 2;
  grid-row: 1;
}

.left-sidebar-layout .sidebar {
  grid-column: 1;
  grid-row: 1;
}

/* Article specifics */
.author-meta {
  font-size: 0.95rem;
  color: #71717a;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.author-meta .author-name {
  font-weight: 600;
  color: #18181b;
}

.content-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 2.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.content-image:hover {
  transform: scale(1.01);
}

/* ENHANCED CTA Section */
.cta-section {
  width: 100%;
  background: linear-gradient(135deg, #f0f7fb 0%, #ffffff 100%);
  border: 1px solid #cfe1eb;
  border-radius: 8px;
  padding: 4rem 2rem;
  text-align: center;
  margin: 4rem 0;
  box-shadow: 0 20px 44px rgba(15, 76, 92, 0.1);
  position: relative;
  overflow: hidden;
}

/* Add a subtle shine effect */
.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
  transform: skewX(-20deg);
  animation: shine 6s infinite;
}

@keyframes shine {
  0% {
    left: -100%;
  }
  20% {
    left: 200%;
  }
  100% {
    left: 200%;
  }
}

.cta-logo {
  max-height: 90px;
  outline: 4px solid #2563eb;
  outline-offset: 6px;
  border-radius: 8px;
  margin-bottom: 2.5rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: #fff;
  padding: 0.75rem;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.15);
}

.cta-logo:hover {
  outline-offset: 12px;
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.25);
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  padding: 1.25rem 3rem;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 1.5rem;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
}

.cta-button:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e3a8a);
  text-decoration: none;
  color: #ffffff;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.5);
}

/* Disclaimer Section */
.disclaimer-section {
  background-color: #f8fafc;
  color: #64748b;
  padding: 2rem;
  font-size: 0.9rem;
  border-radius: 8px;
  margin-top: 4rem;
  line-height: 1.7;
  border: 1px solid #e2e8f0;
  text-align: justify;
}

/* Sidebar */
.sidebar-widget {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.25rem;
  border: 1px solid #dfe7ee;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.07);
}

.sidebar-widget h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #dce7ed;
  padding-bottom: 0.75rem;
  color: #18181b;
}

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

.sidebar-widget li {
  margin-bottom: 0.95rem;
  padding-left: 1.25rem;
  position: relative;
}

.sidebar-widget li::before {
  content: "→";
  color: #2563eb;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.sidebar-widget li::before {
  content: ">";
}

.sidebar-widget a {
  color: #475569;
  font-weight: 500;
  transition: color 0.2s ease;
}

.sidebar-widget a:hover {
  color: #2563eb;
  text-decoration: none;
}

.sidebar-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

/* Footer */
.footer {
  border-top: 1px solid #e2e8f0;
  padding: 4rem 2rem;
  text-align: center;
  margin-top: 5rem;
  background-color: #ffffff;
}

.footer-nav {
  margin-bottom: 2.5rem;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #64748b;
  font-size: 1rem;
  font-weight: 500;
}

.footer-nav a:hover {
  color: #18181b;
}

.contact-details {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.8;
}

.contact-details strong {
  color: #475569;
}

/* Responsive */
@media (max-width: 900px) {
  .main-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    padding: 0 1rem;
  }

  .left-sidebar-layout .article-content,
  .left-sidebar-layout .sidebar {
    grid-column: 1;
    grid-row: auto;
  }

  .sidebar {
    width: 100%;
    position: static;
    order: 2;
  }

  .sidebar-widget {
    padding: 1.5rem;
  }

  .article-content {
    padding: 2.5rem 1.5rem;
    order: 1;
  }

  h1 {
    font-size: 2.25rem;
  }
}

@media (max-width: 640px) {
  .header-inner {
    padding: 0 1rem;
  }

  .header-logo {
    height: 36px;
  }

  .header-cta-btn {
    padding: 0.55rem 0.9rem;
  }

  .author-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.15rem;
  }

  .cta-section {
    padding: 2.5rem 1rem;
  }

  .cta-button {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
  }
}
