/* ── Resume Carousel Styles ──────────────────────────────────────── */

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, sans-serif;
}

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

.swiper-wrapper {
  padding: 1rem 0;
}

.rc-section {
  padding: 3rem 0 1rem 0;
  position: relative;
  margin-right: 1.5rem;
  border-top: 1px solid #d9d9d9;
  margin-top: 2rem;
}

.rc-swiper {
  padding: 0 40px;
}

.rc-slide {
  height: auto;
  padding: 0.5rem !important;
}

.rc-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: white;
  border-radius: 12px;
  overflow: visible;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.06),
    0 1px 3px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  position: relative;
  height: 370px !important;
}

.rc-card-category {
  font-size: 14px;
  font-weight: bold;
  color: #4a7eb8;
  margin-bottom: 8px;
  padding: 12px 12px 0;
  line-height: 1.2;
  line-clamp: 2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  height: 48px !important;
  overflow: hidden;
  vertical-align: middle;
}

.rc-thumbnail {
  position: relative;
  width: 100%;
  background: #e0e0e0;
  overflow: visible;
}

.rc-thumbnail-image-wrapper {
  width: 100%;
  height: 120px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e0d8d0;
}

.rc-thumbnail-placeholder {
  width: 100%;
  height: 100%;
  background: #e0d8d0;
}

.rc-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hover overlay */
.rc-thumbnail::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.rc-card:hover .rc-thumbnail::before {
  opacity: 1;
}

/* Play button on hover - white circle with blue triangle */
.rc-thumbnail::after {
  content: "▶";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.26);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #1a73e8;
  padding-left: 4px;
}

.rc-card:hover .rc-thumbnail::after {
  opacity: 1;
}

.rc-time-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(71, 85, 105, 0.85);
  color: white;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.rc-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
}

.rc-progress-fill {
  height: 100%;
  background: #1a73e8;
  transition: width 0.3s ease;
}

/* Author initials circle */
.rc-author-initials {
  position: absolute;
  bottom: -25px;
  right: 6px;
  width: 60px;
  height: 60px;
  background: #e0d8d0;
  color: #4a4a4a;
  border-radius: 50%;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: bold;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.rc-author-initials img {
  width: 100%;
  height: 100%;
  border-radius: 100% !important;
  object-fit: cover;
}

.rc-body {
  padding: 24px 12px 12px 12px;
}

.rc-post-type {
  font-size: 0.75rem;
  font-weight: 600;
  margin: 0 0 8px;
  color: black;
  display: flex;
  align-items: center;
  gap: 4px;
}

.rc-video-icon {
  width: 14px;
  height: 14px;
  color: currentColor;
}

.rc-podcast-icon {
  width: 12px;
  height: 12px;
  color: currentColor;
}

.rc-cpd-row {
  font-size: 11px;
  color: #888;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.rc-cpd-icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  color: currentColor;
}

.rc-title {
  font-weight: 600;
  margin: 0 0 8px;
  line-height: 1.2;
  color: #1a1a1a !important;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}

.rc-expert {
  font-size: 12px;
  color: #666;
  line-height: 1.2;
}

.rc-expert strong {
  color: #333;
}

/* Swiper Navigation Arrows */
.rc-section .swiper-button-prev,
.rc-section .swiper-button-next {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background-color: #fff !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
  position: absolute !important;
  top: 220px !important;
  margin-top: 0 !important;
  z-index: 10 !important;
}

.rc-section .swiper-button-prev {
  left: -20px !important;
}

.rc-section .swiper-button-next {
  right: -20px !important;
}

.rc-section .swiper-button-prev::after,
.rc-section .swiper-button-next::after {
  font-size: 16px !important;
  font-weight: bold !important;
  color: #333 !important;
}

.rc-section .swiper-button-prev.swiper-button-disabled,
.rc-section .swiper-button-next.swiper-button-disabled {
  opacity: 0.35 !important;
}
