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

:root {
  --hc-green: #537d5c;
  --hc-green-dark: #3e5d44;
  --hc-green-light: #e5ece2;
  --hc-red: #b53a47;
  --hc-red-dark: #a33340;
  --hc-gold: #b89968;
  --hc-text: #2c2c2c;
  --hc-muted: #6c6c6c;
  --hc-bg-cream: #f7f3ec;
  --hc-bg-light: #faf8f5;
  --hc-border: #e8e3da;
  --hc-footer: #232323;
  --hc-footer-darker: #1a1a1a;
}

/* ===== BASE ===== */
html {
  font-size: 15px;
  position: relative;
  min-height: 100%;
}
@media (min-width: 768px) {
  html { font-size: 16px; }
}

body {
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  color: var(--hc-text);
  background: #fff;
  line-height: 1.65;
  font-weight: 400;
}

h1, h2, h3, h4, .serif {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--hc-text);
}

a { color: var(--hc-green); text-decoration: none; }
a:hover { color: var(--hc-green-dark); }

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem rgba(83,125,92,.4);
}

.label-eyebrow {
  color: var(--hc-gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

/* ===== USP BANNER ===== */
.usp-banner {
  background-color: #333;
  color: #fff;
  padding: 0.7rem 0;
  font-size: 0.82rem;
  letter-spacing: 0.3px;
  font-weight: 400;
}
.usp-banner .usp-item {
  text-align: center;
  padding: 0.25rem 0;
}
@media (max-width: 767px) {
  .usp-banner .usp-hide-mobile { display: none; }
}

/* ===== HEADER ===== */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--hc-border);
}
.header-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0 0.75rem;
}
.header-search { flex: 1; }
.header-logo {
  flex: 0 0 auto;
  text-align: center;
  padding: 0 2rem;
}
.header-logo a { display: inline-block; }
.header-logo img {
  height: 38px;
  width: auto;
}
@media (min-width: 992px) {
  .header-logo img { height: 44px; }
}
.header-actions {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.header-login-link {
  color: var(--hc-text);
  text-decoration: none;
  display: flex;
  align-items: center;
}
.header-login-link:hover { color: var(--hc-green); }

/* Quick Search */
.quick-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  max-width: 200px;
}
.quick-search input {
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--hc-text);
  background: transparent;
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
  width: 100px;
  transition: width 0.3s, border-color 0.3s;
}
.quick-search input:focus {
  width: 180px;
  border-bottom-color: var(--hc-green);
}
.quick-search input::placeholder { color: #828282; }

.search-autocomplete {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 380px;
  max-height: 450px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--hc-border);
  border-radius: 5px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  z-index: 9999;
  margin-top: 0.5rem;
}
.search-autocomplete.show { display: block; }
.search-group-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #8b8b8b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.5rem 1rem 0.25rem;
}
.search-result-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: var(--hc-text);
  transition: background 0.15s;
}
.search-result-item:hover { background: var(--hc-bg-light); color: var(--hc-text); }
.search-result-img {
  width: 50px; height: 50px;
  object-fit: cover; border-radius: 4px;
  flex-shrink: 0;
}
.search-result-placeholder { background: var(--hc-green-light); }
.search-result-text { flex: 1; min-width: 0; }
.search-result-title {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-result-meta { font-size: 0.75rem; color: #828282; }
.search-view-all {
  display: block; text-align: center;
  padding: 0.75rem;
  border-top: 1px solid var(--hc-border);
  color: var(--hc-green);
  font-weight: 600; font-size: 0.85rem;
  text-decoration: none;
}
.search-view-all:hover { background: var(--hc-bg-light); color: var(--hc-green-dark); }

/* Header dropdown */
.header-user-dropdown .dropdown-toggle::after { display: none; }
.header-user-name { font-size: 0.875rem; font-weight: 500; }

/* Navigation row */
.header-nav {
  border-top: 1px solid #f2f2f2;
  padding: 0;
  text-align: center;
}
.header-nav-list {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0; padding: 0; gap: 0;
}
.header-nav-list li { display: block; }
.header-nav .nav-link {
  display: block;
  font-weight: 500;
  color: var(--hc-text);
  padding: 0.95rem 1.4rem;
  font-size: 0.875rem;
  letter-spacing: 0.4px;
  transition: color 0.2s;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-color: transparent;
  text-transform: none;
}
.header-nav .nav-link:hover,
.header-nav .nav-link.active {
  color: var(--hc-green);
  text-decoration-color: var(--hc-green);
}
.nav-toggler {
  display: none;
  background: none;
  border: 1px solid var(--hc-border);
  border-radius: 4px;
  padding: 0.4rem 0.6rem;
  margin: 0.5rem auto;
  cursor: pointer;
}
@media (max-width: 991px) {
  .nav-toggler { display: block; }
  .header-nav-list { display: none; flex-direction: column; }
  .header-nav-list.open { display: flex; }
  .header-top-row { padding: 0.75rem 0 0.5rem; }
  .header-logo img { height: 32px; }
  .quick-search { max-width: 120px; }
  .quick-search input { width: 70px; }
  .quick-search input:focus { width: 100px; }
  .search-autocomplete { width: 300px; }
}

/* ===== BUTTONS ===== */
.btn {
  border-radius: 2px;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 0.7rem 1.6rem;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.btn-hc {
  background-color: var(--hc-green);
  color: #fff;
  border: none;
}
.btn-hc:hover { background-color: var(--hc-green-dark); color: #fff; }

.btn-hc-red {
  background-color: var(--hc-red);
  color: #fff;
  border: none;
}
.btn-hc-red:hover { background-color: var(--hc-red-dark); color: #fff; }

.btn-hc-outline {
  background: transparent;
  color: var(--hc-text);
  border: 1px solid var(--hc-border);
}
.btn-hc-outline:hover {
  border-color: var(--hc-green);
  color: var(--hc-green);
}

.btn-hc-outline-light {
  background: transparent;
  color: #fff;
  border: none;
  padding: 0.7rem 0.5rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: transparent;
  font-weight: 500;
}
.btn-hc-outline-light:hover {
  color: #fff;
  background: transparent;
  text-decoration-color: rgba(255,255,255,0.7);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 9rem 0 8rem;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.15) 75%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}
@media (max-width: 767px) {
  .hero { padding: 5rem 0; min-height: 420px; }
}
.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 4.5rem;
  font-weight: 400;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 1.5rem;
  max-width: 7em;
  letter-spacing: -0.01em;
}
.hero .lead {
  font-size: 1.1rem;
  opacity: 0.95;
  font-weight: 300;
  margin-bottom: 2.2rem;
  max-width: 480px;
  line-height: 1.5;
}
@media (max-width: 991px) {
  .hero h1 { font-size: 3.2rem; }
}
@media (max-width: 767px) {
  .hero h1 { font-size: 2.4rem; }
}

/* ===== SECTION HEADINGS ===== */
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--hc-text);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.section-subtitle {
  color: var(--hc-muted);
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
  font-weight: 400;
}

.section-eyebrow {
  text-align: center;
  color: var(--hc-gold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

/* ===== BANNER BLOCK (used for featured event, case study, booking CTA) ===== */
.banner-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  margin: 4rem auto;
  text-decoration: none;
  color: var(--hc-text);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.2s;
}
.banner-block:hover { color: var(--hc-text); transform: translateY(-2px); }

.banner-block.flipped { direction: rtl; }
.banner-block.flipped > * { direction: ltr; }

.banner-block .image {
  background-size: cover;
  background-position: center;
  min-height: 360px;
}

.banner-block .text-container {
  padding: 3rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--hc-bg-cream);
}

.banner-block.theme-green .text-container { background: #e7ede4; }
.banner-block.theme-red .text-container { background: #f4e4e2; }

.banner-block .promo-text {
  color: var(--hc-text);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
}
.banner-block.theme-red .promo-text { color: var(--hc-red); }

.banner-block .heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.1rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  color: var(--hc-text);
}

.banner-block .body-text {
  color: var(--hc-text);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.banner-block .btn-banner {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 2px;
  align-self: flex-start;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: opacity 0.2s;
}
.banner-block.theme-green .btn-banner {
  background: var(--hc-green);
  color: #fff;
}
.banner-block.theme-red .btn-banner {
  background: var(--hc-red);
  color: #fff;
}
.banner-block .btn-banner:hover { opacity: 0.9; color: #fff; }

@media (max-width: 767px) {
  .banner-block { grid-template-columns: 1fr; margin: 2rem auto; }
  .banner-block.flipped { direction: ltr; }
  .banner-block .image { min-height: 220px; order: -1; }
  .banner-block .text-container { padding: 2rem; }
  .banner-block .heading { font-size: 1.6rem; }
}

/* ===== NEWS BLOCK (Nyheter & artiklar) ===== */
.news-block-section { padding: 4rem 0; }
.news-block-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 2rem;
}
.news-block-title h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
  margin: 0;
}
.news-block-title .visa-mer {
  color: var(--hc-red);
  font-size: 0.9rem;
  font-weight: 500;
}

.news-item {
  background: transparent;
  text-decoration: none;
  color: var(--hc-text);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.news-item .image-wrap {
  width: 100%;
  aspect-ratio: 4 / 2.6;
  overflow: hidden;
  margin-bottom: 1rem;
  background: var(--hc-green-light);
}
.news-item .image-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s;
}
.news-item:hover .image-wrap img { transform: scale(1.04); }
.news-item h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 0.75rem;
  line-height: 1.3;
  color: var(--hc-text);
}
.news-item .lecturer {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  text-decoration: none;
}
.news-item .lecturer img {
  width: 32px; height: 32px;
  border-radius: 50%;
  object-fit: cover;
}
.news-item .lecturer-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--hc-text);
}
.news-item .intro {
  color: var(--hc-text);
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
  line-height: 1.55;
}
.news-item .read-more-red {
  color: var(--hc-red);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  margin-top: auto;
  align-self: flex-start;
}

/* ===== THEME BLOCK (Över 40 hälsoexperter etc.) ===== */
.theme-section { padding: 4rem 0; position: relative; }
.theme-row {
  display: grid;
  grid-template-columns: 1fr 0.1fr 2fr;
  gap: 0;
  padding: 2.5rem 0;
  align-items: start;
}
.theme-row .heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1.15;
  color: var(--hc-text);
  margin: 0;
}
.theme-row .body p {
  color: var(--hc-text);
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 767px) {
  .theme-row { grid-template-columns: 1fr; gap: 1rem; padding: 2rem 0; }
  .theme-row .heading { font-size: 1.6rem; }
}

/* ===== SHOW CASE (logo grids) ===== */
.show-case { padding: 3.5rem 0; }
.show-case-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--hc-text);
}
.show-case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem 2rem;
  align-items: center;
  justify-items: center;
}
.show-case-grid a, .show-case-grid > div {
  display: flex; align-items: center; justify-content: center;
  width: 100%;
  min-height: 80px;
}
.show-case-grid img {
  max-height: 60px;
  max-width: 180px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.3s;
}
.show-case-grid a:hover img {
  filter: grayscale(0%);
  opacity: 1;
}
@media (max-width: 991px) {
  .show-case-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 575px) {
  .show-case-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== EXPERT ===== */
.expert-avatar {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
}
.expert-avatar-sm {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 50%;
}
.expert-card { padding: 0.5rem; }

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
  background: transparent;
  padding: 1rem 0;
  font-size: 0.85rem;
}
.breadcrumbs a { color: var(--hc-green); }
.breadcrumbs a:hover { color: var(--hc-green-dark); }
.breadcrumbs .separator { color: #828282; margin: 0 0.5rem; }
.breadcrumbs .current { color: #828282; }

/* ===== ARTICLE BODY ===== */
.article-body { line-height: 1.8; font-size: 1rem; color: #404040; }
.article-body h2, .article-body h3 {
  font-family: 'Playfair Display', Georgia, serif;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--hc-text);
  font-weight: 500;
}
.article-body p { margin-bottom: 1rem; }
.article-body img { max-width: 100%; height: auto; margin-bottom: 1.25rem; }
.article-body blockquote {
  background-color: var(--hc-green-light);
  padding: 15px;
  margin: 10px 0;
  font-style: italic;
  border: none;
  border-radius: 3px;
}
.article-body ul, .article-body ol { margin-bottom: 1rem; padding-left: 1.5rem; }

/* ===== TAGS / BADGES ===== */
.tag-badge {
  background: var(--hc-green-light);
  color: var(--hc-green);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  text-decoration: none;
  display: inline-block;
  margin: 0.15rem;
  font-weight: 500;
}
.tag-badge:hover { background: var(--hc-green); color: #fff; }

/* ===== PAGINATION ===== */
.pagination .page-link {
  color: var(--hc-green);
  border-color: var(--hc-border);
  font-weight: 500;
}
.pagination .page-item.active .page-link {
  background-color: var(--hc-green);
  border-color: var(--hc-green);
  color: #fff;
}
.pagination .page-link:hover {
  background-color: var(--hc-green-light);
  color: var(--hc-green-dark);
}

/* ===== FILTER BAR ===== */
.filter-bar {
  background: var(--hc-bg-light);
  padding: 1rem 1.5rem;
  border-radius: 5px;
  margin-bottom: 2rem;
}
.filter-bar .btn-check:checked + .btn {
  background-color: var(--hc-green);
  color: #fff;
  border-color: var(--hc-green);
}

/* ===== CLIENT/PARTNER LOGOS ===== */
.logo-strip {
  padding: 3rem 0;
}
.logo-strip-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem 4rem;
}
.logo-strip-grid img {
  max-height: 38px;
  max-width: 140px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: all 0.3s;
}
.logo-strip-grid img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ===== TESTIMONIAL/CASE CARD ===== */
.testimonial-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border: 1px solid var(--hc-border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 2rem;
}
.testimonial-card .image {
  background-size: cover;
  background-position: center;
  min-height: 240px;
}
.testimonial-card .body { padding: 2rem; }
.testimonial-card .label-eyebrow { color: var(--hc-red); }
.testimonial-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}
.testimonial-card .quote {
  color: var(--hc-muted);
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 1rem;
}
@media (max-width: 767px) {
  .testimonial-card { grid-template-columns: 1fr; }
  .testimonial-card .image { min-height: 180px; }
}

/* ===== BOOKING CTA ===== */
.booking-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: var(--hc-bg-cream);
  border-radius: 4px;
  overflow: hidden;
  align-items: stretch;
  margin: 2rem 0;
}
.booking-card .body { padding: 2.5rem; }
.booking-card .image {
  background-size: cover;
  background-position: center;
  min-height: 260px;
}
.booking-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.booking-card p {
  color: var(--hc-muted);
  margin-bottom: 1.2rem;
}
@media (max-width: 767px) {
  .booking-card { grid-template-columns: 1fr; }
}

/* ===== EXPERTS GRID (homepage) ===== */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
}
.expert-tile {
  text-align: center;
  text-decoration: none;
  color: var(--hc-text);
}
.expert-tile img {
  width: 110px; height: 110px;
  object-fit: cover; border-radius: 50%;
  margin-bottom: 0.75rem;
}
.expert-tile .name {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: 1rem;
}
.expert-tile .title {
  color: var(--hc-muted);
  font-size: 0.82rem;
}

/* ===== FOOTER ===== */
.site-footer { margin-top: 0 !important; }
.footer-dark {
  background: var(--hc-footer);
  color: #fff;
  padding: 3.5rem 0 2rem;
}
.footer-dark h5 {
  color: #aaa;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 1.2rem;
}
.footer-dark ul { list-style: none; padding: 0; margin: 0; }
.footer-dark li { margin-bottom: 0.55rem; }
.footer-dark a {
  color: #fff;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
}
.footer-dark a:hover { color: var(--hc-green); }

.footer-newsletter h5 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1rem;
  letter-spacing: 0;
}
.footer-newsletter .form-control {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  border-radius: 2px;
  font-size: 0.875rem;
  padding: 0.6rem 0.8rem;
}
.footer-newsletter .form-control::placeholder { color: rgba(255,255,255,0.5); }
.footer-newsletter .btn {
  background-color: var(--hc-green);
  color: #fff;
  border: none;
  border-radius: 2px;
  font-weight: 500;
  font-size: 0.85rem;
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.7rem;
}
.footer-newsletter .btn:hover { background-color: var(--hc-green-dark); }

.footer-social {
  padding: 1.5rem 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2.5rem;
}
.footer-social a { display: inline-block; margin: 0 0.5rem; }
.footer-social img {
  width: 22px; height: 22px;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.footer-social a:hover img { opacity: 1; }

.footer-light {
  background:rgba(255,255,255,0.5);
  padding: 1rem 0;
  text-align: center;
  color: var(--hc-footer-darker); 
  font-size: 0.78rem;
}

/* ===== PRODUCT / LECTURE CARDS ===== */
.product-card {
  border: 1px solid var(--hc-border);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.product-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.product-card .card-img-top {
  height: 220px;
  object-fit: cover;
}
.product-card .price {
  color: var(--hc-green);
  font-weight: 700;
  font-size: 1.1rem;
}

.news-card {
  border: 1px solid var(--hc-border);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s, transform 0.2s;
}
.news-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}
.news-card .card-img-top { height: 200px; object-fit: cover; }

/* ===== PLACEHOLDER ===== */
.img-placeholder {
  background: var(--hc-green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hc-green);
  font-size: 2rem;
  height: 200px;
}

/* ===== SIDEBAR / AUTHOR / CONTACT (kept) ===== */
.sidebar-section {
  background: var(--hc-bg-light);
  padding: 1.5rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}
.author-sidebar {
  text-align: center;
  padding: 1.5rem;
  background: var(--hc-bg-light);
  border-radius: 4px;
}
.author-sidebar .author-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--hc-text);
}
.contact-card {
  background: #fff;
  border: 1px solid var(--hc-border);
  border-radius: 4px;
  padding: 2rem;
}

.read-more {
  color: var(--hc-green);
  font-weight: 500;
  font-size: 0.875rem;
}
.read-more:hover { color: var(--hc-green-dark); }

/* ===== PAGE INTRO (used on Services/Lectures/Articles list pages) ===== */
.page-intro {
  text-align: center;
  padding: 3rem 0 2rem;
}
.page-intro .breadcrumbs {
  text-align: left;
}
.page-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  font-weight: 400;
  color: var(--hc-text);
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}
.page-title-divider {
  width: 56px;
  height: 2px;
  background: var(--hc-green);
  margin: 0.75rem auto 1.5rem;
}
.page-intro-text {
  max-width: 720px;
  margin: 0 auto;
  color: var(--hc-text);
  font-size: 0.95rem;
  line-height: 1.7;
}
@media (max-width: 767px) {
  .page-title { font-size: 2.2rem; }
}

/* ===== SERVICES / PRODUCT CARDS ===== */
.services-section { padding: 4rem 0; }
.services-section .show-case-heading { margin-bottom: 0.5rem; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (max-width: 991px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .product-grid { grid-template-columns: 1fr; }
}

.product-card {
  background: #fff;
  border: 1px solid var(--hc-border);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.product-image {
  aspect-ratio: 1 / 1;
  background: var(--hc-green-light);
  overflow: hidden;
}
.product-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.product-card:hover .product-image img { transform: scale(1.05); }
.product-image-link { display: block; }

.product-body {
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--hc-text);
  margin: 0 0 0.75rem;
  line-height: 1.3;
}
.product-lecturer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}
.product-lecturer img {
  width: 28px; height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--hc-bg-light);
}
.product-lecturer span {
  font-size: 0.8rem;
  color: var(--hc-muted);
  font-weight: 500;
}
.product-desc {
  font-size: 0.88rem;
  color: var(--hc-text);
  margin-bottom: 1rem;
  line-height: 1.55;
  flex: 1;
}
.product-go-to {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--hc-text);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  margin-top: auto;
}
.product-go-to .arrow {
  display: inline-block;
  transition: transform 0.2s;
}
.product-go-to:hover { color: var(--hc-green); }
.product-go-to:hover .arrow { transform: translateX(4px); }

/* ===== TEXT BLOCK SECTION ===== */
.text-block-section {
  background: var(--hc-bg-cream);
  padding: 3rem 0;
}
.text-block-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--hc-green);
  margin-bottom: 1rem;
}
.text-block-body {
  color: var(--hc-text);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 900px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
  .hero { padding: 3.5rem 0; min-height: 360px; }
  .hero h1 { font-size: 2.2rem; }
  .section-title { font-size: 1.6rem; }
}
