@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700;800&display=swap');

:root {
  --bg: #07111f;
  --bg-soft: #0b1728;
  --bg-card: rgba(255, 255, 255, 0.08);
  --bg-card-strong: rgba(255, 255, 255, 0.12);
  --surface: #ffffff;
  --surface-soft: #f5f7fb;
  --text: #0e1726;
  --text-soft: #4f5f79;
  --text-white: #f7fbff;
  --muted-white: rgba(255, 255, 255, 0.72);
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: #d9e1ee;
  --primary: #0f5db8;
  --primary-dark: #0a3d91;
  --accent: #12b3df;
  --accent-2: #6c63ff;
  --success: #0f9d58;
  --danger: #d93025;
  --warning: #ffb020;
  --shadow-sm: 0 10px 30px rgba(7, 17, 31, 0.08);
  --shadow-md: 0 18px 50px rgba(7, 17, 31, 0.12);
  --shadow-lg: 0 28px 80px rgba(7, 17, 31, 0.18);
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --container: 1240px;
  --transition: 0.28s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(18, 179, 223, 0.16), transparent 24%),
    radial-gradient(circle at top right, rgba(108, 99, 255, 0.13), transparent 18%),
    linear-gradient(180deg, #f5f9ff 0%, #edf3fb 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.page-shell {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.page-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 15%, rgba(18, 179, 223, 0.12), transparent 18%),
    radial-gradient(circle at 85% 10%, rgba(15, 93, 184, 0.14), transparent 20%),
    radial-gradient(circle at 50% 100%, rgba(108, 99, 255, 0.10), transparent 20%);
  pointer-events: none;
  z-index: 0;
}

.site-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(7, 17, 31, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-topbar-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--primary), var(--accent-2));
  display: grid;
  place-items: center;
  color: white;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(15, 93, 184, 0.28);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title {
  color: var(--text-white);
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 0.96rem;
}

.brand-subtitle {
  color: var(--muted-white);
  font-size: 0.78rem;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.top-link {
  color: var(--muted-white);
  font-weight: 600;
  font-size: 0.94rem;
  transition: var(--transition);
}

.top-link:hover {
  color: var(--text-white);
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 0.92rem 1.4rem;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--accent-2));
  box-shadow: 0 16px 35px rgba(15, 93, 184, 0.24);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(15, 93, 184, 0.34);
}

.btn-secondary {
  color: var(--text);
  background: white;
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero-premium {
  position: relative;
  z-index: 1;
  padding: 72px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: stretch;
}

.hero-panel {
  position: relative;
  background:
    linear-gradient(135deg, rgba(7, 17, 31, 0.96), rgba(11, 23, 40, 0.92));
  color: white;
  border-radius: var(--radius-xl);
  padding: 46px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 420px;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: auto -10% -35% auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 179, 223, 0.28), transparent 65%);
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: -40px auto auto -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.18), transparent 68%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #dff8ff;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 18px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  margin: 0 0 18px;
  max-width: 760px;
}

.hero-text {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.06rem;
  line-height: 1.85;
  max-width: 680px;
  margin: 0 0 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-side {
  display: grid;
  gap: 20px;
}

.glass-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.glass-card.dark {
  background: linear-gradient(135deg, rgba(10, 19, 34, 0.92), rgba(15, 29, 48, 0.92));
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.stat-box {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-value {
  font-size: 1.7rem;
  font-weight: 800;
  color: white;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
}

.section {
  position: relative;
  z-index: 1;
  padding: 28px 0 72px;
}

.section-header {
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.section-kicker {
  display: inline-block;
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  margin-bottom: 10px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.03em;
}

.section-text {
  max-width: 700px;
  color: var(--text-soft);
  line-height: 1.8;
}

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

.article-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.article-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #dfe9f7, #cfdcf0);
  overflow: hidden;
}

.article-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-badge {
  position: absolute;
  left: 18px;
  top: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(7, 17, 31, 0.8);
  color: white;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: var(--text-soft);
  font-size: 0.87rem;
}

.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b6c3d9;
}

.article-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.52rem;
  line-height: 1.22;
  margin: 0;
  letter-spacing: -0.02em;
}

.article-title a:hover {
  color: var(--primary);
}

.article-excerpt {
  color: var(--text-soft);
  line-height: 1.8;
  font-size: 0.98rem;
  margin: 0;
}

.article-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.read-link {
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.read-link:hover {
  color: var(--primary-dark);
}

.auth-wrap {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 0;
}

.auth-layout {
  width: min(1180px, calc(100% - 32px));
  display: grid;
  grid-template-columns: 1fr 520px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

.auth-showcase {
  position: relative;
  background:
    linear-gradient(135deg, rgba(7, 17, 31, 0.95), rgba(12, 32, 57, 0.92)),
    url('img10.jpeg') center/cover no-repeat;
  color: white;
  padding: 52px 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 760px;
}

.auth-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 17, 31, 0.25), rgba(7, 17, 31, 0.72));
}

.auth-showcase > * {
  position: relative;
  z-index: 1;
}

.auth-eyebrow {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
  width: fit-content;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1.06;
  margin: 22px 0 18px;
  letter-spacing: -0.03em;
}

.auth-copy {
  font-size: 1.03rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.76);
  max-width: 560px;
}

.auth-highlights {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.auth-highlight {
  display: flex;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.auth-highlight-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(18, 179, 223, 0.16);
  color: #d7fbff;
  flex-shrink: 0;
  font-weight: 800;
}

.auth-panel {
  padding: 42px 36px;
  background: rgba(255, 255, 255, 0.92);
}

.panel-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 24px;
}

.panel-title {
  font-size: 2rem;
  line-height: 1.15;
  margin: 0 0 8px;
}

.panel-text {
  color: var(--text-soft);
  line-height: 1.75;
  margin: 0;
}

.auth-mini-link {
  color: var(--primary);
  font-weight: 700;
}

.form-grid {
  display: grid;
  gap: 18px;
}

.form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-label {
  font-weight: 700;
  color: #22324b;
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  min-height: 58px;
  border-radius: 18px;
  border: 1px solid #dbe4f1;
  background: #f8fbff;
  padding: 0 18px;
  color: var(--text);
  outline: none;
  transition: var(--transition);
}

textarea.form-control {
  min-height: 180px;
  padding: 16px 18px;
  resize: vertical;
}

select.form-control {
  appearance: none;
}

.form-control:focus {
  border-color: rgba(15, 93, 184, 0.45);
  box-shadow: 0 0 0 4px rgba(15, 93, 184, 0.10);
  background: white;
}

.file-input {
  display: grid;
  gap: 8px;
}

.file-card {
  border: 1.5px dashed #c9d6e8;
  border-radius: 22px;
  padding: 22px;
  background: linear-gradient(180deg, #fbfdff, #f3f8ff);
  text-align: center;
  color: var(--text-soft);
  transition: var(--transition);
}

.file-card:hover {
  border-color: var(--primary);
  background: white;
}

.form-note {
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.7;
}

.message-box {
  margin-top: 10px;
  min-height: 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.dashboard-wrap {
  position: relative;
  z-index: 1;
  padding: 34px 0 80px;
}

.dashboard-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  margin-bottom: 26px;
}

.dashboard-panel {
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.dashboard-panel.dark {
  background: linear-gradient(135deg, #0a1526, #10243d);
  color: white;
}

.dashboard-panel-inner {
  padding: 28px;
}

.dashboard-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  line-height: 1.08;
  margin: 0 0 12px;
  letter-spacing: -0.03em;
}

.dashboard-subtitle {
  color: var(--text-soft);
  margin: 0;
  line-height: 1.8;
}

.dashboard-panel.dark .dashboard-subtitle,
.dashboard-panel.dark .muted {
  color: rgba(255, 255, 255, 0.74);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.metric-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px;
  border-radius: 22px;
}

.metric-label {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
  margin-bottom: 8px;
}

.metric-value {
  font-size: 1.7rem;
  font-weight: 800;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.editor-card,
.sidebar-card {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 30px;
  box-shadow: var(--shadow-md);
}

.editor-head,
.sidebar-head {
  padding: 26px 28px 0;
}

.editor-body,
.sidebar-body {
  padding: 22px 28px 28px;
}

.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  margin: 0 0 8px;
  line-height: 1.12;
}

.card-subtitle {
  color: var(--text-soft);
  margin: 0;
  line-height: 1.75;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.inline-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--primary-dark);
  font-size: 0.86rem;
  font-weight: 700;
}

.list-stack {
  display: grid;
  gap: 16px;
}

.post-item {
  border-radius: 24px;
  border: 1px solid #e2eaf5;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  padding: 18px;
  transition: var(--transition);
}

.post-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.post-item-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  margin-bottom: 8px;
}

.post-item-title {
  font-weight: 800;
  font-size: 1.06rem;
  line-height: 1.45;
  color: #142339;
  margin: 0;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-badge.published {
  background: rgba(15, 157, 88, 0.12);
  color: var(--success);
}

.status-badge.draft {
  background: rgba(255, 176, 32, 0.14);
  color: #9c6500;
}

.post-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 0.86rem;
  color: var(--text-soft);
}

.empty-state {
  border-radius: 26px;
  padding: 32px 24px;
  text-align: center;
  border: 1px dashed #ccd9ea;
  background: linear-gradient(180deg, #fcfdff, #f5f9ff);
  color: var(--text-soft);
}

.post-shell {
  position: relative;
  z-index: 1;
  padding: 0 0 90px;
}

.post-hero {
  position: relative;
  padding: 70px 0 26px;
}

.post-hero-card {
  background:
    linear-gradient(135deg, rgba(7, 17, 31, 0.96), rgba(12, 32, 57, 0.92));
  color: white;
  border-radius: 34px;
  padding: 52px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.post-hero-card::before {
  content: "";
  position: absolute;
  inset: auto -90px -90px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 179, 223, 0.26), transparent 68%);
}

.post-hero-card > * {
  position: relative;
  z-index: 1;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.post-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.06;
  margin: 0 0 18px;
  letter-spacing: -0.03em;
  color: white;
}

.post-excerpt {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.08rem;
  line-height: 1.9;
  max-width: 860px;
  margin: 0;
}

.post-body-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  margin-top: 24px;
}

.post-sidebox,
.post-content-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 30px;
  box-shadow: var(--shadow-md);
}

.post-sidebox {
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: 98px;
}

.side-title {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

.side-block {
  padding: 14px 0;
  border-top: 1px solid #ebf0f7;
}

.side-block:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.side-label {
  font-size: 0.82rem;
  color: var(--text-soft);
  margin-bottom: 6px;
}

.side-value {
  font-weight: 700;
  line-height: 1.6;
  color: #15253e;
}

.post-content-card {
  overflow: hidden;
}

.featured-image-wrap {
  background: #dfe8f5;
}

.featured-image {
  width: 100%;
  max-height: 520px;
  
}

.post-content-inner {
  padding: 36px 38px 42px;
}

.blog-content {
  font-size: 1.08rem;
  line-height: 2;
  color: #32445f;
  max-width: 100%;
}

.blog-content > *:first-child {
  margin-top: 0;
}

.blog-content p {
  margin: 0 0 1.5rem;
  color: #344763;
  font-size: 1.06rem;
  line-height: 2;
}

.blog-content p:first-of-type {
  font-size: 1.18rem;
  line-height: 2;
  color: #1d2f4a;
  font-weight: 500;
}

.blog-content p:first-of-type::first-letter {
  float: left;
  font-family: 'Playfair Display', serif;
  font-size: 4.2rem;
  line-height: 0.9;
  padding-right: 10px;
  padding-top: 8px;
  color: var(--primary-dark);
  font-weight: 700;
}

.blog-content h2,
.blog-content h3,
.blog-content h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
  color: #10203a;
  letter-spacing: -0.02em;
  margin-top: 2.6rem;
  margin-bottom: 1rem;
}

.blog-content h2 {
  font-size: 2.15rem;
  border-top: 1px solid #e7edf5;
  padding-top: 1.6rem;
}

.blog-content h3 {
  font-size: 1.65rem;
}

.blog-content h4 {
  font-size: 1.3rem;
}

.blog-content ul,
.blog-content ol {
  margin: 0 0 1.6rem;
  padding-left: 1.4rem;
}

.blog-content li {
  margin-bottom: 0.7rem;
  color: #344763;
  line-height: 1.9;
}

.blog-content blockquote {
  margin: 2.2rem 0;
  padding: 1.4rem 1.6rem;
  border-left: 4px solid var(--accent);
  background: linear-gradient(180deg, #f7fbff, #eef6ff);
  border-radius: 0 18px 18px 0;
  color: #173154;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.9;
}

.blog-content img {
  width: 100%;
  border-radius: 24px;
  margin: 2.2rem 0;
  box-shadow: var(--shadow-sm);
}

.blog-content a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.blog-content strong {
  color: #14243d;
  font-weight: 700;
}

.blog-content hr {
  border: none;
  border-top: 1px solid #e4ebf4;
  margin: 2.4rem 0;
}

.blog-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  overflow: hidden;
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow-sm);
}

.blog-content table th,
.blog-content table td {
  padding: 14px 16px;
  border: 1px solid #e8eef6;
  text-align: left;
}

.blog-content table th {
  background: #f4f8fd;
  color: #173154;
  font-weight: 700;
}

.loading-box,
.error-box {
  border-radius: 26px;
  padding: 34px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.88);
}

.error-box {
  color: var(--danger);
}

.footer-note {
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.7;
}

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

.hidden {
  display: none !important;
}

@media (max-width: 1100px) {
  .hero-grid,
  .dashboard-top,
  .dashboard-grid,
  .auth-layout,
  .post-body-layout {
    grid-template-columns: 1fr;
  }

  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post-sidebox {
    position: static;
  }

  .auth-showcase {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .site-topbar-inner,
  .section-header,
  .panel-top,
  .toolbar,
  .article-footer,
  .post-item-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-grid,
  .form-grid.two,
  .metric-grid,
  .stats-list {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .post-hero-card,
  .auth-panel,
  .auth-showcase,
  .dashboard-panel-inner,
  .editor-body,
  .sidebar-body,
  .post-content-inner {
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero-panel,
  .post-hero-card {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .dashboard-wrap {
    padding-top: 20px;
  }

  .post-title,
  .hero-title,
  .auth-title {
    word-break: break-word;
  }
}