/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/


:root {
  --green:      var(--cnvs-themecolor);
  --green-dark: #1e8449;
  --green-pale: #eafaf1;
  --green-mid:  #a9dfbf;
  --text:       #2c3e50;
  --text-muted: #566573;
  --text-light: #95a5a6;
  --border:     #e8ecef;
  --white:      #ffffff;
  --bg-light:   #f8fdf9;
  --radius:     6px;
  --shadow:     0 2px 15px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 25px rgba(0,0,0,0.12);
}

/* ── ARTICLE PAGE ── */
.article-layout {
  padding: 60px 0 80px;
}

.article-layout .container {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

/* Article content */
.article-body {
  min-width: 0;
}

.article-header {
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--green-pale);
}

.article-header .cat-pill {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.article-header h1 {
  font-size: 1.95rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-light);
}

.article-meta .author {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-weight: 600;
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green-pale);
  border: 2px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--green-dark);
  flex-shrink: 0;
}

.article-content { font-size: 15px; line-height: 1.8; }

.article-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 32px 0 14px;
  color: var(--text);
  padding-left: 14px;
  border-left: 3px solid var(--green);
}

.article-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 24px 0 10px;
  color: var(--text);
}

.article-content p { margin-bottom: 16px; color: var(--text-muted); }

.article-content ul,
.article-content ol {
  margin: 0 0 16px 24px;
  color: var(--text-muted);
}

.article-content li { margin-bottom: 6px; }

.article-tip {
  background: var(--green-pale);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 18px;
  margin: 20px 0;
  font-size: 14px;
  color: #1a6335;
}

.article-tip strong { color: var(--green-dark); }

.article-nav-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* ── SIDEBAR ── */
.sidebar { position: sticky; top: 90px; }

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

.sidebar-card-title {
  background: var(--text);
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 12px 18px;
}

.sidebar-card-body { padding: 18px; }

.sidebar-appointment h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text);
}

.sidebar-appointment p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.6;
}

.btn-appoint {
  display: block;
  background: var(--green);
  color: #fff !important;
  text-align: center;
  padding: 11px 20px;
  border-radius: var(--radius);
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: .05em;
  transition: background .2s, transform .15s;
  margin-bottom: 10px;
}

.btn-appoint:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.btn-call {
  display: block;
  border: 2px solid var(--green);
  color: var(--green) !important;
  text-align: center;
  padding: 9px 20px;
  border-radius: var(--radius);
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: .05em;
  transition: background .2s, color .2s;
}

.btn-call:hover {
  background: var(--green);
  color: #fff !important;
}

.schedule-list { list-style: none; font-size: 13px; }
.schedule-list li {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.schedule-list li:last-child { border-bottom: none; }
.schedule-list .day { font-weight: 600; color: var(--text); }
.schedule-list .closed { color: var(--text-light); font-style: italic; }

.related-list { list-style: none; }
.related-list li { border-bottom: 1px solid var(--border); }
.related-list li:last-child { border-bottom: none; }
.related-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  transition: color .2s;
}
.related-list a:hover { color: var(--green); }
.related-list .rel-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--green-pale);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-card.featured { grid-template-columns: 1fr; }
  .blog-card.featured .blog-card-thumb { height: 220px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-layout .container { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card.featured { grid-column: auto; }
  .main-nav { display: none; }
  .nav-hamburger { display: block; }
  .page-hero h1 { font-size: 1.7rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .top-bar-inner { flex-direction: column; align-items: flex-start; }
}
