:root {
    --ahi-brand:        #2b3a4a;
    --ahi-brand-light:  #f0f4f8;
    --ahi-text-dark:    #1a2430;
    --ahi-text-gray:    #5a6e7f;
    --ahi-border:       #dde4ea;
    --ahi-radius:       10px;
    --ahi-shadow:       0 2px 12px rgba(43,58,74,.08);
    --ahi-shadow-hover: 0 10px 28px rgba(43,58,74,.16);
}

.ahi-audio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.ahi-audio-card {
    background: #fff;
    border: 1px solid var(--ahi-border);
    border-radius: var(--ahi-radius);
    padding: 20px;
    box-shadow: var(--ahi-shadow);
    transition: transform .25s, box-shadow .25s, border-color .25s;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ahi-audio-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ahi-shadow-hover);
    border-color: var(--ahi-brand);
}

.ahi-audio-badge {
    align-self: flex-start;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: .6px;
    background: var(--ahi-brand-light);
    color: var(--ahi-brand);
}
.ahi-badge--spotify    { background: #e8f5e9; color: #1db954; }
.ahi-badge--youtube    { background: #fde8e8; color: #cc0000; }
.ahi-badge--soundcloud { background: #fff3e0; color: #ff5500; }
.ahi-badge--apple      { background: #f3e8fd; color: #7b2d8b; }
.ahi-badge--mixcloud   { background: #ece8fd; color: #5000ff; }
.ahi-badge--anchor,
.ahi-badge--buzzsprout,
.ahi-badge--podbean    { background: #e8f0fe; color: #1a73e8; }

.ahi-audio-title { font-size: 17px; font-weight: 700; color: var(--ahi-text-dark); margin: 0; line-height: 1.35; }
.ahi-title-link  { color: inherit; text-decoration: none; }
.ahi-title-link:hover { color: var(--ahi-brand); text-decoration: underline; }
.ahi-audio-desc  { font-size: 13.5px; color: var(--ahi-text-gray); margin: 0; line-height: 1.55; flex-grow: 1; }

.ahi-player-box { border-radius: 8px; overflow: hidden; background: #f7f9fb; border: 1px solid var(--ahi-border); }
.ahi-player-box iframe { width: 100% !important; display: block; border: none; }

.ahi-card-footer { border-top: 1px solid var(--ahi-border); padding-top: 10px; }
.ahi-share-link  { font-size: 12px; color: var(--ahi-text-gray); text-decoration: none; font-family: monospace; }
.ahi-share-link:hover { color: var(--ahi-brand); }

.ahi-empty { color: var(--ahi-text-gray); font-style: italic; padding: 16px 0; }

/* Single */
.ahi-single-wrap { max-width: 720px; margin: 40px auto; padding: 0 20px; }
.ahi-single-card { background: #fff; border: 1px solid var(--ahi-border); border-radius: var(--ahi-radius); box-shadow: var(--ahi-shadow); padding: 32px; margin-bottom: 24px; }
.ahi-single-header { margin-bottom: 20px; }
.ahi-single-title  { font-size: 26px; font-weight: 800; color: var(--ahi-text-dark); margin: 10px 0 8px; line-height: 1.25; }
.ahi-single-groups { margin-bottom: 8px; }
.ahi-group-tag { display: inline-block; background: var(--ahi-brand-light); color: var(--ahi-brand); font-size: 12px; padding: 3px 10px; border-radius: 20px; margin-right: 6px; }
.ahi-single-date { font-size: 13px; color: var(--ahi-text-gray); }
.ahi-single-player { margin: 20px 0; }
.ahi-single-description { border-top: 1px solid var(--ahi-border); padding-top: 16px; font-size: 15px; color: var(--ahi-text-gray); line-height: 1.65; }
.ahi-single-share { border-top: 1px solid var(--ahi-border); padding-top: 18px; margin-top: 18px; }
.ahi-single-share strong { font-size: 13px; color: var(--ahi-text-dark); }
.ahi-share-copy-wrap { display: flex; gap: 8px; margin: 10px 0; align-items: center; flex-wrap: wrap; }
.ahi-share-input { font-size: 12px; font-family: monospace; background: #f7f9fb; border: 1px solid var(--ahi-border); border-radius: 5px; padding: 6px 10px; flex: 1; min-width: 160px; }
.ahi-social-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.ahi-social-btn { display: inline-block; padding: 7px 14px; border-radius: 5px; font-size: 13px; text-decoration: none; font-weight: 600; }
.ahi-social-btn--twitter  { background: #000; color: #fff; }
.ahi-social-btn--linkedin { background: #0077b5; color: #fff; }
.ahi-social-btn--whatsapp { background: #25d366; color: #fff; }

/* Archive */
.ahi-archive-wrap { max-width: 1100px; margin: 40px auto; padding: 0 20px; }
.ahi-archive-title { font-size: 30px; font-weight: 800; color: var(--ahi-text-dark); margin: 0 0 24px; }

@media (max-width: 600px) {
    .ahi-audio-grid { grid-template-columns: 1fr; }
    .ahi-single-card { padding: 20px; }
}
