/* ============================================
   Course Detail Page - Modern Design
   ============================================ */

.cd {
    min-height: 100vh;
    background: #f8f9fa;
}

/* ============================================
   Hero Section
   ============================================ */

.cd-hero {
    background: linear-gradient(135deg, var(--accent, #8d1d39) 0%, color-mix(in srgb, var(--accent, #8d1d39) 80%, black) 100%);
    padding: 2rem 0 3rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.cd-hero--has-image {
    padding: 3rem 0 8rem;
    min-height: 420px;
    background: #1a1a1a;
}

.cd-hero__image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.cd-hero__image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.4) 40%,
        rgba(0, 0, 0, 0.2) 100%
    );
}

.cd-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.cd-hero__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.cd-hero__back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem 0.5rem 0.5rem;
    margin: -0.5rem 0 2rem -0.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.cd-hero__back:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

.cd-hero__back svg {
    width: 18px;
    height: 18px;
}

.cd-hero__content {
    margin-bottom: 2rem;
}

.cd-hero__badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: rgba(255,255,255,0.15);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.cd-hero__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.cd-hero__subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.75);
    margin: 0.5rem 0 0;
}

.cd-hero__run {
    display: inline-block;
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.7);
    margin-top: 0.375rem;
}

.cd-hero__bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cd-hero__schedule-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    flex: 1;
}

.cd-hero__schedule {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cd-hero__schedule--slider {
    flex-wrap: nowrap;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.cd-hero__schedule--slider .cd-hero__schedule-item {
    flex-shrink: 0;
}

.cd-hero__schedule-arrow {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.cd-hero__schedule-arrow:hover {
    background: rgba(255,255,255,0.35);
}

.cd-hero__schedule-arrow:disabled {
    opacity: 0.3;
    cursor: default;
}

.cd-hero__schedule-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.625rem 0.75rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    border-radius: 10px;
    min-width: 80px;
}

.cd-hero__schedule-day {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
}

.cd-hero__schedule-time {
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: ui-monospace, SFMono-Regular, monospace;
}

.cd-hero__schedule-item--sold-out {
    opacity: 0.45;
}

.cd-hero__schedule-status {
    font-size: 0.625rem;
    font-weight: 600;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.cd-hero__schedule-location {
    font-size: 0.625rem;
    font-weight: 500;
    opacity: 0.75;
    margin-top: 0.25rem;
    padding-top: 0.25rem;
    border-top: 1px solid rgba(255,255,255,0.15);
    max-width: 150px;
    text-align: center;
    line-height: 1.25;
}

.cd-hero__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cd-hero__share {
    display: flex;
    gap: 0.375rem;
    margin-left: 0.5rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(255,255,255,0.2);
}

.cd-hero__share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.8);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.cd-hero__share-btn:hover {
    background: rgba(255,255,255,0.25);
    color: #fff;
    transform: scale(1.1);
}

.cd-hero__share-btn--copied {
    background: rgba(74,222,128,0.3) !important;
    color: #4ade80 !important;
}

@media (max-width: 640px) {
    .cd-hero__share {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
    }
}

.cd-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cd-hero__btn svg {
    width: 18px;
    height: 18px;
}

.cd-hero__btn--trial {
    background: #10b981;
    color: white;
}

.cd-hero__btn--trial:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.cd-hero__btn--cta {
    background: rgba(255,255,255,0.15);
    color: white;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
}

.cd-hero__btn--cta:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}

.cd-hero__btn--disabled {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    cursor: not-allowed;
}

/* ============================================
   Main Content
   ============================================ */

.cd-main {
    padding: 2rem 0 3rem;
    margin-top: -4rem;
    position: relative;
    z-index: 2;
}

.cd-main__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   Quick Info Cards
   ============================================ */

.cd-quickinfo {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.cd-quickinfo__card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.cd-quickinfo__card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.cd-quickinfo__card--cta {
    background: linear-gradient(135deg, #8d1d39 0%, #a82346 100%);
    color: white;
}

.cd-quickinfo__card--trial {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: white;
}

.cd-quickinfo__card--trial .cd-quickinfo__icon {
    background: rgba(255,255,255,0.15);
}

.cd-quickinfo__card--trial .cd-quickinfo__icon svg {
    color: white;
}

.cd-quickinfo__card--trial .cd-quickinfo__label {
    color: rgba(255,255,255,0.85);
}

.cd-quickinfo__card--trial .cd-quickinfo__link {
    color: white;
}

.cd-quickinfo__icon {
    width: 44px;
    height: 44px;
    background: #f5f5f5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cd-quickinfo__card--cta .cd-quickinfo__icon {
    background: rgba(255,255,255,0.15);
}

.cd-quickinfo__icon svg {
    width: 22px;
    height: 22px;
    color: #8d1d39;
}

.cd-quickinfo__card--cta .cd-quickinfo__icon svg {
    color: white;
}

.cd-quickinfo__content {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.cd-quickinfo__label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #333;
}

.cd-quickinfo__card--cta .cd-quickinfo__label {
    color: rgba(255,255,255,0.7);
}

.cd-quickinfo__value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1a1a1a;
}

.cd-quickinfo__sub {
    font-size: 0.8125rem;
    color: #333;
}

.cd-quickinfo__link {
    font-size: 0.9375rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.cd-quickinfo__link:hover {
    opacity: 0.9;
}

/* ============================================
   Grid Layout
   ============================================ */

.cd-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2rem;
}

.cd-grid__main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.cd-grid__aside {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ============================================
   Sections
   ============================================ */

.cd-section {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.cd-section__title {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 1.0625rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1.25rem;
}

.cd-section__title svg {
    width: 20px;
    height: 20px;
    color: #8d1d39;
}

/* Description Section */
.cd-section--description {
    margin-bottom: 2rem;
}

.cd-description {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #333;
}

.cd-description p {
    margin: 0 0 1rem;
}

.cd-description p:last-child {
    margin-bottom: 0;
}

.cd-description a {
    color: #8d1d39;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cd-description a:hover {
    color: #6b1429;
}

.cd-description strong,
.cd-description b {
    font-weight: 600;
}

.cd-description em,
.cd-description i {
    font-style: italic;
}

.cd-description u {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cd-description ul,
.cd-description ol {
    margin: 0 0 1rem;
    padding-left: 1.5rem;
}

.cd-description li {
    margin-bottom: 0.25rem;
}

/* ============================================
   Weekly Schedule
   ============================================ */

.cd-schedule {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cd-schedule__item {
    display: flex;
    gap: 1.5rem;
    padding: 1.25rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.cd-schedule__day {
    min-width: 120px;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.cd-schedule__day-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
}

.cd-schedule__day-time {
    font-size: 0.875rem;
    font-weight: 600;
    color: #8d1d39;
}

.cd-schedule__details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

/* Event Titles (when different from team name) */
.cd-schedule__event-titles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-bottom: 0.375rem;
}

.cd-schedule__event-title {
    display: inline-block;
    padding: 0.3125rem 0.625rem;
    background: linear-gradient(135deg, rgba(141, 29, 57, 0.08) 0%, rgba(141, 29, 57, 0.12) 100%);
    color: #8d1d39;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.cd-schedule__trainer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #333;
}

/* Location Card */
.cd-schedule__location-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.875rem 1rem;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.cd-schedule__location-card:hover {
    border-color: #8d1d39;
    box-shadow: 0 2px 8px rgba(141, 29, 57, 0.12);
}

.cd-schedule__location-main {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.cd-schedule__location-icon {
    width: 20px;
    height: 20px;
    color: #8d1d39;
    flex-shrink: 0;
    margin-top: 2px;
}

.cd-schedule__location-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.cd-schedule__location-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1a1a1a;
}

.cd-schedule__location-address {
    font-size: 0.8125rem;
    color: #333;
}

.cd-schedule__location-maps {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.75rem;
    background: #8d1d39;
    color: white;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.cd-schedule__location-maps svg {
    width: 14px;
    height: 14px;
}

.cd-schedule__location-card:hover .cd-schedule__location-maps {
    background: #7a1831;
}

.cd-schedule__dates {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.375rem;
    margin-top: 0.25rem;
}

.cd-schedule__dates-label {
    font-size: 0.75rem;
    color: #333;
    margin-right: 0.25rem;
}

.cd-schedule__date-chip {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: all 0.15s ease;
}

a.cd-schedule__date-chip:hover {
    background: #8d1d39;
    border-color: #8d1d39;
    color: white;
}

/* Policy info icon (for slot-level guidelines) */
.cd-schedule__policy-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #8d1d39;
    cursor: help;
    border-radius: 50%;
    transition: all 0.15s ease;
}

.cd-schedule__policy-info:hover {
    background: rgba(141, 29, 57, 0.1);
}

.cd-schedule__policy-info i {
    font-size: 1rem;
}

.cd-schedule__policy-info--standalone {
    width: auto;
    padding: 0.375rem 0.75rem;
    gap: 0.375rem;
    background: rgba(141, 29, 57, 0.08);
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
}

.cd-schedule__policy-info--standalone:hover {
    background: rgba(141, 29, 57, 0.15);
}

/* More Info Button */
.cd-schedule__more-info-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: 0.5rem;
    padding: 0.5rem 0.875rem;
    background: rgba(141, 29, 57, 0.08);
    border: 1px solid rgba(141, 29, 57, 0.2);
    border-radius: 6px;
    color: #8d1d39;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.cd-schedule__more-info-btn:hover {
    background: rgba(141, 29, 57, 0.15);
    border-color: rgba(141, 29, 57, 0.4);
}

.cd-schedule__more-info-btn i {
    font-size: 0.875rem;
}

/* Event Info Modal */
.cd-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.cd-modal__backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.cd-modal__content {
    position: relative;
    background: white;
    border-radius: 16px;
    width: 100%;
    max-width: 560px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.cd-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #eee;
}

.cd-modal__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.cd-modal__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.15s ease;
}

.cd-modal__close:hover {
    background: #f0f0f0;
    color: #333;
}

.cd-modal__body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.cd-modal__body p {
    margin: 0 0 1rem;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #333;
}

.cd-modal__body p:last-child {
    margin-bottom: 0;
}

.cd-modal__body a {
    color: #8d1d39;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cd-modal__body a:hover {
    color: #6b1429;
}

.cd-modal__body strong,
.cd-modal__body b {
    font-weight: 600;
}

.cd-modal__body em,
.cd-modal__body i:not(.fa-solid):not(.fa-regular):not(.fa-brands) {
    font-style: italic;
}

.cd-modal__body u {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cd-modal__body ul,
.cd-modal__body ol {
    margin: 0 0 1rem;
    padding-left: 1.5rem;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #333;
}

.cd-modal__body li {
    margin-bottom: 0.25rem;
}

.cd-modal__footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #eee;
    background: #f9f9f9;
    border-radius: 0 0 16px 16px;
    display: flex;
    justify-content: flex-end;
}

.cd-modal__btn {
    padding: 0.625rem 1.25rem;
    background: #8d1d39;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.cd-modal__btn:hover {
    background: #7a1831;
}

.cd-schedule__trainer svg {
    width: 16px;
    height: 16px;
    opacity: 0.6;
    flex-shrink: 0;
}

/* ============================================
   Dates Grid
   ============================================ */

.cd-dates {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
}

.cd-dates__item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.2s ease;
}

a.cd-dates__item {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.cd-dates__item:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.cd-dates__item--today {
    background: linear-gradient(135deg, #8d1d39 0%, #a82346 100%);
    color: white;
}

.cd-dates__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 40px;
}

.cd-dates__day {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
}

.cd-dates__month {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    opacity: 0.7;
}

.cd-dates__info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.cd-dates__weekday {
    font-size: 0.8125rem;
    font-weight: 600;
}

.cd-dates__time {
    font-size: 0.75rem;
    opacity: 0.7;
    font-family: ui-monospace, SFMono-Regular, monospace;
}

.cd-dates__item--today .cd-dates__time {
    opacity: 0.85;
}

.cd-dates__item--today:hover {
    background: linear-gradient(135deg, #7a1831 0%, #8d1d39 100%);
}

/* ============================================
   Sidebar Cards
   ============================================ */

.cd-card {
    background: white;
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.cd-card__title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #333;
    margin: 0 0 1rem;
}

.cd-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cd-card__location {
    margin: 0;
    line-height: 1.5;
    color: #333;
}

.cd-card__location span {
    color: #333;
}

.cd-card__address {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #333;
}

.cd-card__text {
    font-size: 0.875rem;
    color: #333;
    margin: 0;
    line-height: 1.5;
}

.cd-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.cd-card__btn svg {
    width: 18px;
    height: 18px;
}

.cd-card__btn--primary {
    background: linear-gradient(135deg, #8d1d39 0%, #a82346 100%);
    color: white;
}

.cd-card__btn--primary:hover {
    background: linear-gradient(135deg, #7a1831 0%, #8d1d39 100%);
    transform: translateY(-1px);
}

.cd-card__btn--disabled {
    background: #e0e0e0;
    color: #333;
    cursor: not-allowed;
}

.cd-card__btn--maps {
    background: #f0f0f0;
    color: #333;
}

.cd-card__btn--maps:hover {
    background: #e5e5e5;
}

.cd-card__link {
    font-size: 0.875rem;
    font-weight: 600;
    color: #8d1d39;
    text-decoration: none;
}

.cd-card__link:hover {
    text-decoration: underline;
}

.cd-card__dept {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cd-card__dept-badge {
    display: inline-block;
    width: fit-content;
    padding: 0.3125rem 0.75rem;
    background: color-mix(in srgb, var(--dept-color) 10%, white);
    color: var(--dept-color);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.cd-card__dept-team {
    font-size: 0.875rem;
    color: #333;
}

.cd-card__leaders {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.cd-card__leaders-label {
    display: block;
    font-size: 0.75rem;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.cd-card__leader {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #333;
    padding: 0.25rem 0;
}

.cd-card__leader::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--dept-color, #8d1d39);
    border-radius: 50%;
    flex-shrink: 0;
}

.cd-card__contact-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #333;
    margin: 0 0 0.5rem 0;
}

.cd-card__contact-name {
    font-weight: 600;
    color: #333;
    margin: 0 0 0.75rem 0;
}

.cd-card__divider {
    border-top: 1px solid #e5e5e5;
    margin: 0.75rem 0;
}

.cd-card__btn--phone {
    background: #f0f0f0;
    color: #333;
}

.cd-card__btn--phone:hover {
    background: #e0e0e0;
}

.cd-card__btn--email {
    background: #f0f0f0;
    color: #333;
    word-break: break-all;
}

.cd-card__btn--outline {
    background: transparent;
    border: 1px solid #ddd;
    color: #333;
}

.cd-card__btn--outline:hover {
    background: #f5f5f5;
    border-color: #ccc;
    color: #333;
}

.cd-card__description {
    font-size: 0.875rem;
    color: #333;
    line-height: 1.5;
    margin: 0.75rem 0 0;
}

.cd-card__btn--email:hover {
    background: #e0e0e0;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
    .cd-grid {
        grid-template-columns: 1fr;
    }

    .cd-grid__aside {
        order: -1;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 640px) {
    .cd-hero {
        padding: 1.5rem 0 2.5rem;
    }

    .cd-hero--has-image {
        padding: 1.5rem 0 5rem;
        min-height: 300px;
    }

    .cd-main {
        margin-top: -2.5rem;
    }

    .cd-hero__title {
        font-size: 1.5rem;
    }

    .cd-quickinfo {
        grid-template-columns: 1fr;
    }

    .cd-schedule__item {
        flex-direction: column;
        gap: 0.75rem;
    }

    .cd-schedule__day {
        min-width: auto;
    }

    .cd-schedule__location-card {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .cd-schedule__location-maps {
        justify-content: center;
    }

    .cd-dates {
        grid-template-columns: 1fr;
    }

    .cd-grid__aside {
        grid-template-columns: 1fr;
    }
}
