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

/* --- Modern CSS reset and variables --- */
:root {
  --font-base: 'Noto Sans KR', 'Inter', sans-serif;
  
  /* Color Palette - Premium Clinical Indigo & Teal */
  --color-brand-dark: #0f172a;       /* Slate 900 */
  --color-primary: #1e3a8a;          /* Navy 900 */
  --color-primary-light: #3b82f6;    /* Blue 500 */
  --color-accent: #0f766e;           /* Teal 700 */
  --color-accent-light: #0d9488;     /* Teal 600 */
  --color-bg-base: #f8fafc;          /* Slate 50 */
  --color-card-bg: rgba(255, 255, 255, 0.9);
  --color-text-dark: #1e293b;        /* Slate 800 */
  --color-text-muted: #64748b;       /* Slate 500 */
  --color-border: #e2e8f0;           /* Slate 200 */
  --color-white: #ffffff;
  
  /* Gradients */
  --grad-hero: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0f766e 100%);
  --grad-accent: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);
  --grad-card-overlay: linear-gradient(to bottom, rgba(15, 23, 42, 0) 40%, rgba(15, 23, 42, 0.85) 100%);
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

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

body {
  font-family: var(--font-base);
  background-color: var(--color-bg-base);
  color: var(--color-text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

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

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--color-brand-dark);
  line-height: 1.3;
}

/* --- Layout & Containers --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Premium Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  height: 70px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--color-primary);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
}

.logo-text span {
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--color-accent);
  margin-left: 8px;
  padding-left: 8px;
  border-left: 1.5px solid var(--color-border);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-dark);
  position: relative;
  padding: 8px 0;
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-accent-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background-color: var(--color-accent);
  transition: var(--transition-smooth);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--grad-accent);
  color: var(--color-white);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  opacity: 0.95;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background-color: var(--color-text-dark);
  margin: 5px 0;
  transition: var(--transition-fast);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 100px;
  background: var(--grad-hero);
  color: var(--color-white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.05) 2px, transparent 2px);
  background-size: 32px 32px;
  opacity: 0.75;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-white);
  backdrop-filter: blur(8px);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
  animation: float 4s ease-in-out infinite;
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 24px;
  color: var(--color-white);
  letter-spacing: -1px;
}

.hero-title br {
  display: block;
}

.hero-subtitle {
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  color: var(--color-accent);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

/* --- Search & Category Controls --- */
.controls-section {
  margin-top: -30px;
  position: relative;
  z-index: 10;
  margin-bottom: 60px;
}

.controls-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.search-box {
  position: relative;
  width: 100%;
}

.search-input {
  width: 100%;
  padding: 16px 20px 16px 52px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-base);
  font-size: 1rem;
  background-color: var(--color-white);
  color: var(--color-text-dark);
  outline: none;
  transition: var(--transition-fast);
}

.search-input:focus {
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  pointer-events: none;
}

.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-btn {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  color: var(--color-text-dark);
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.category-btn:hover {
  background: var(--color-bg-base);
  border-color: var(--color-text-muted);
}

.category-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
}

/* --- Blog Post Grid --- */
.blog-section {
  padding-bottom: 100px;
}

.grid-title {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 32px;
  position: relative;
  padding-left: 14px;
  color: var(--color-brand-dark);
}

.grid-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: var(--grad-accent);
  border-radius: 2px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 32px;
}

/* --- Blog Post Card --- */
.post-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(226, 232, 240, 0.6);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.48s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.48s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.48s ease;
}

.post-card:hover {
  transform: translateY(-18px) scale(1.03);
  box-shadow: 0 45px 85px -20px rgba(15, 23, 42, 0.14), 0 20px 40px -25px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.4);
}

.card-header {
  position: relative;
  height: 220px;
  background-size: cover;
  background-position: center;
  color: var(--color-white);
  overflow: hidden;
}

/* Gradient background templates if image is not loaded */
.card-header-gradient-1 {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}
.card-header-gradient-2 {
  background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
}
.card-header-gradient-3 {
  background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
}
.card-header-gradient-4 {
  background: linear-gradient(135deg, #7c2d12 0%, #ea580c 100%);
}
.card-header-gradient-5 {
  background: linear-gradient(135deg, #312e81 0%, #6366f1 100%);
}
.card-header-gradient-6 {
  background: linear-gradient(135deg, #881337 0%, #db2777 100%);
}
.card-header-gradient-7 {
  background: linear-gradient(135deg, #065f46 0%, #10b981 100%);
}

.card-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-card-overlay);
  z-index: 1;
}

.card-header-content {
  position: absolute;
  inset: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
}

.card-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-badge {
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-white);
  backdrop-filter: blur(4px);
}

.card-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: var(--color-white);
  font-size: 1.05rem;
  backdrop-filter: blur(4px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.post-card:hover .card-icon {
  background: var(--color-white);
  border-color: var(--color-white);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
  transform: scale(1.15) rotate(8deg);
}

/* Category-specific icon hover colors */
.post-card:hover .card-header-gradient-1 .card-icon { color: #1e3a8a; }
.post-card:hover .card-header-gradient-2 .card-icon { color: #0f766e; }
.post-card:hover .card-header-gradient-3 .card-icon { color: #1e293b; }
.post-card:hover .card-header-gradient-4 .card-icon { color: #ea580c; }
.post-card:hover .card-header-gradient-5 .card-icon { color: #312e81; }
.post-card:hover .card-header-gradient-6 .card-icon { color: #881337; }
.post-card:hover .card-header-gradient-7 .card-icon { color: #065f46; }

/* Micro-animations keyframes for hover states */
@keyframes pulse-heart {
  0% { transform: scale(1); }
  14% { transform: scale(1.25); }
  28% { transform: scale(1); }
  42% { transform: scale(1.25); }
  70% { transform: scale(1); }
}
.post-card:hover .card-header-gradient-1 .card-icon i {
  animation: pulse-heart 1.2s infinite;
}

@keyframes tilt-stethoscope {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-15deg); }
  75% { transform: rotate(15deg); }
}
.post-card:hover .card-header-gradient-2 .card-icon i {
  animation: tilt-stethoscope 1.2s ease-in-out infinite;
}

@keyframes bounce-clipboard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.post-card:hover .card-header-gradient-3 .card-icon i {
  animation: bounce-clipboard 1s ease infinite;
}

@keyframes rotate-capsule {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.post-card:hover .card-header-gradient-4 .card-icon i {
  animation: rotate-capsule 2.5s linear infinite;
}

@keyframes shake-stones {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  20% { transform: translate(-2px, 1px) rotate(-3deg); }
  40% { transform: translate(1px, -1px) rotate(3deg); }
  60% { transform: translate(-1px, 2.5px) rotate(-1deg); }
  80% { transform: translate(2px, 1px) rotate(2deg); }
}
.post-card:hover .card-header-gradient-5 .card-icon i {
  animation: shake-stones 0.8s ease infinite;
}

@keyframes wiggle-apple {
  0%, 100% { transform: rotate(0deg); }
  15% { transform: rotate(-10deg) scale(1.05); }
  30% { transform: rotate(8deg) scale(1.05); }
  45% { transform: rotate(-6deg); }
  60% { transform: rotate(4deg); }
}
.post-card:hover .card-header-gradient-6 .card-icon i {
  animation: wiggle-apple 1.2s ease-in-out infinite;
}

.post-card:hover .card-header-gradient-7 .card-icon i {
  animation: pulse-heart 1.2s infinite;
}

.card-title-link h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.35;
  margin-top: auto;
  text-shadow: 0 2px 4px rgba(15, 23, 42, 0.3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-body {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-excerpt {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-date {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.card-readmore {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-fast);
}

.post-card:hover .card-readmore {
  color: var(--color-accent-light);
  transform: translateX(4px);
}

/* --- Clinic Info / CTA Section --- */
.clinic-info-section {
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 80px 0;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.info-content h2 {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.info-content .accent-text {
  color: var(--color-accent);
}

.info-desc {
  color: var(--color-text-muted);
  margin-bottom: 36px;
  font-size: 1.05rem;
}

.info-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.info-item {
  display: flex;
  gap: 16px;
}

.info-item-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(15, 118, 110, 0.1);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-item-text h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.info-item-text p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.info-ctas {
  display: flex;
  gap: 16px;
}

/* Styled Map / Image Container */
.info-map-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 400px;
  border: 1px solid var(--color-border);
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
}

.map-badge {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.map-address {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--color-brand-dark);
}

.map-sub {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.map-link-btn {
  background: #2db400; /* Naver Green */
  color: var(--color-white);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-md);
}

.map-link-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  opacity: 0.95;
}

/* --- Footer --- */
.site-footer {
  background: var(--color-brand-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 60px 0 40px 0;
  font-size: 0.9rem;
  border-top: 4px solid var(--color-accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: 16px;
}

.footer-logo span {
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
  margin-left: 8px;
  padding-left: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-about p {
  line-height: 1.7;
}

.footer-title {
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-contact-info p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copy {
  font-size: 0.85rem;
}

.footer-legal a {
  margin-left: 20px;
}

.footer-legal a:hover {
  color: var(--color-white);
}

/* --- BLOG DETAIL PAGE LAYOUT --- */
.blog-detail-page {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 100px;
}

.blog-detail-container {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
}

.blog-post-content {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.post-category-tag {
  background: rgba(15, 118, 110, 0.1);
  color: var(--color-accent);
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.post-publish-date {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.post-detail-title {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 32px;
  color: var(--color-brand-dark);
}

.post-featured-banner {
  height: 380px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-md);
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.post-body {
  font-size: 1.05rem;
  color: #334155; /* Slate 700 */
  line-height: 1.8;
}

.post-body p {
  margin-bottom: 24px;
}

.post-body h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-top: 48px;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-border);
}

.post-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--color-accent);
}

.post-body ul, .post-body ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.post-body li {
  margin-bottom: 8px;
}

.post-body strong {
  color: var(--color-brand-dark);
  font-weight: 700;
}

/* GEO Quick Summary Box Style */
.post-quick-summary {
  background: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 100%);
  border-left: 5px solid var(--color-primary-light);
  padding: 24px 28px;
  border-radius: var(--radius-md);
  margin: 36px 0;
  box-shadow: var(--shadow-sm);
  border-top: 1px solid rgba(59, 130, 246, 0.1);
  border-right: 1px solid rgba(59, 130, 246, 0.1);
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.post-quick-summary-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-quick-summary-title i {
  color: var(--color-accent);
  font-size: 1.2rem;
}

.post-quick-summary p {
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-brand-dark);
  font-weight: 500;
}

/* Certificate Showcase Style */
.certificate-showcase {
  text-align: center;
  margin: 36px 0;
  padding: 24px;
  background: #f8fafc;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
}

.certificate-showcase img {
  max-width: 520px;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  border: 1px solid #cbd5e1;
  transition: transform 0.3s ease;
}

.certificate-showcase img:hover {
  transform: scale(1.02);
}

.certificate-caption {
  margin-top: 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #475569;
}

.certificate-disclaimer {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
  font-weight: 400;
  color: #64748b;
  line-height: 1.45;
}

/* Certificate Digital Badge Card Style */
.certificate-badge-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
  padding: 24px 28px;
  margin: 20px auto 36px;
  max-width: 580px;
  text-align: left;
}

.certificate-badge-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.certificate-badge-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fef08a 0%, #eab308 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #713f12;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(234, 179, 8, 0.25);
  flex-shrink: 0;
}

.certificate-badge-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-brand-dark);
  margin-bottom: 4px;
}

.certificate-badge-sub {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 600;
}

.certificate-badge-grid {
  display: grid;
  grid-template-columns: 110px 1fr;
  row-gap: 8px;
  column-gap: 12px;
  font-size: 0.92rem;
  line-height: 1.6;
}

.certificate-badge-label {
  font-weight: 700;
  color: #475569;
}

.certificate-badge-value {
  color: #0f172a;
}

/* Callout Box Style */
.post-callout {
  background: #f1f5f9;
  border-left: 4px solid var(--color-primary-light);
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 32px 0;
}

.post-callout-teal {
  background: #f0fdfa;
  border-left: 4px solid var(--color-accent-light);
}

.post-callout p {
  margin-bottom: 0;
  font-weight: 500;
}

/* Table Style in Post */
.post-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 0.95rem;
}

.post-table th, .post-table td {
  border: 1px solid var(--color-border);
  padding: 12px 16px;
  text-align: left;
}

.post-table th {
  background-color: var(--color-bg-base);
  font-weight: 700;
  color: var(--color-brand-dark);
}

.post-table tr:nth-child(even) {
  background-color: rgba(248, 250, 252, 0.5);
}

/* Post Detail Footer - Hospital Guide Widget */
.post-cta-widget {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-top: 60px;
}

.post-cta-widget h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--color-brand-dark);
}

.post-cta-widget p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.post-cta-buttons {
  display: flex;
  gap: 16px;
}

.post-cta-buttons .btn {
  padding: 12px 24px;
  font-size: 0.95rem;
}

/* Sidebar styling */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sidebar-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.sidebar-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-accent);
}

.sidebar-posts-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-post-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-post-link {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text-dark);
  transition: var(--transition-fast);
}

.sidebar-post-link:hover {
  color: var(--color-accent);
}

.sidebar-post-date {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.sidebar-info-list {
  list-style: none;
  font-size: 0.9rem;
  color: var(--color-text-dark);
}

.sidebar-info-list li {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--color-border);
}

.sidebar-info-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.sidebar-info-list strong {
  display: block;
  color: var(--color-accent);
  margin-bottom: 4px;
}

/* --- Floating Actions --- */
.floating-actions {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.floating-btn:hover {
  transform: scale(1.1) translateY(-3px);
  background: var(--color-accent-light);
  box-shadow: var(--shadow-xl);
}

.floating-btn-phone {
  background: var(--color-primary);
}

.floating-btn-phone:hover {
  background: var(--color-primary-light);
}

/* --- Animations --- */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0px); }
}

/* --- Responsive styles --- */
@media (max-width: 992px) {
  .blog-detail-container {
    grid-template-columns: 1fr;
  }
  .info-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .info-map-container {
    height: 350px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-about {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .hero {
    padding-top: calc(var(--header-height) + 30px);
    padding-bottom: 60px;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-ctas {
    flex-direction: column;
    gap: 12px;
    padding: 0 20px;
  }
  
  .controls-section {
    margin-top: -20px;
    padding: 0 10px;
  }
  
  .controls-card {
    padding: 16px;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 80%;
    height: calc(100vh - var(--header-height));
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 40px;
    gap: 24px;
    box-shadow: var(--shadow-xl);
    transition: var(--transition-smooth);
    border-right: 1px solid var(--color-border);
  }
  
  .main-nav.active {
    left: 0;
  }
  
  .nav-link {
    width: 100%;
    font-size: 1.1rem;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-bg-base);
  }
  
  .nav-cta {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
  }
  
  .info-content h2 {
    font-size: 1.8rem;
  }
  
  .info-ctas {
    flex-direction: column;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-about {
    grid-column: span 1;
  }
  
  .blog-post-content {
    padding: 24px;
  }
  
  .post-detail-title {
    font-size: 1.8rem;
  }
  
  .post-featured-banner {
    height: 220px;
  }
  
  .post-cta-buttons {
    flex-direction: column;
  }
}

/* Medical Warning Legal Box */
.medical-warning-box {
  background-color: #e6f3ff;
  border-left: 5px solid #0056b3;
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  margin: 40px 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #1e293b;
}
.medical-warning-box strong {
  color: #0f172a;
}

/* GEO Optimized Clinic Location & Care Card */
.post-geo-box {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.08);
  margin: 40px 0;
  overflow: hidden;
}

.post-geo-header {
  background: linear-gradient(135deg, #1e3a8a 0%, #0369a1 100%);
  color: #ffffff;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.post-geo-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
}

.post-geo-title i {
  color: #38bdf8;
  font-size: 1.25rem;
}

.post-geo-badge {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.2px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.post-geo-body {
  padding: 24px 28px;
}

.post-geo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.post-geo-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.post-geo-icon {
  width: 36px;
  height: 36px;
  background: #eff6ff;
  color: #2563eb;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.post-geo-info h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #64748b;
  margin: 0 0 3px 0;
}

.post-geo-info p {
  font-size: 0.95rem;
  color: #0f172a;
  margin: 0;
  line-height: 1.5;
  font-weight: 600;
}

.post-geo-areas {
  background: #f8fafc;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 22px;
  border: 1px solid #e2e8f0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #334155;
}

.post-geo-areas strong {
  color: #0369a1;
}

.post-geo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.post-geo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.post-geo-btn-naver {
  background: #03c75a;
  color: #ffffff;
}

.post-geo-btn-naver:hover {
  background: #02b14f;
  color: #ffffff;
}

.post-geo-btn-call {
  background: #1e3a8a;
  color: #ffffff;
}

.post-geo-btn-call:hover {
  background: #1e40af;
  color: #ffffff;
}

.post-geo-btn-sub {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
}

.post-geo-btn-sub:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* Post Breadcrumbs Navigation for GEO */
.post-breadcrumb {
  margin-bottom: 18px;
  font-size: 0.88rem;
  color: #64748b;
}

.post-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-breadcrumb a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.post-breadcrumb a:hover {
  color: var(--color-primary);
}

.post-breadcrumb i.fa-chevron-right {
  font-size: 0.7rem;
  color: #94a3b8;
}

.post-breadcrumb span.current-crumb {
  color: var(--color-primary);
  font-weight: 700;
}



