/* ==========================================================================
   Resources CSS - Mobile-First Category & Show Page Styling
   ========================================================================== */

/* ── Show Hero (Mobile) ── */
.show-hero {
    position: relative;
    background: linear-gradient(145deg, #0ea876 0%, #00875a 50%, #00603f 100%);
    border-radius: var(--radius-xl);
    padding: 24px 18px;
    color: #ffffff;
    overflow: hidden;
    margin: 10px 0 20px;
    box-shadow: 0 10px 24px -4px rgba(0, 135, 90, 0.3);
}

.show-hero::before {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.12);
    top: -50px;
    right: -40px;
    pointer-events: none;
}

.show-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.12;
    z-index: 1;
    pointer-events: none;
}

.show-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.show-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 96, 63, 0.6) 0%, rgba(14, 168, 118, 0.4) 100%);
    z-index: 2;
}

.show-hero__content {
    position: relative;
    z-index: 3;
    text-align: center;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #d1fae5;
    margin-bottom: 8px;
    font-weight: 500;
}

.breadcrumb a {
    color: #ffffff;
    opacity: 0.85;
}

.breadcrumb a:hover {
    opacity: 1;
}

.breadcrumb__sep {
    opacity: 0.6;
}

.show-hero__label {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 3px 12px;
    border-radius: var(--radius-pill);
    margin-bottom: 10px;
}

.show-hero__content h1 {
    font-size: 24px;
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.2;
}

.show-hero__content p {
    font-size: 12.5px;
    color: #f0fdf4;
    line-height: 1.6;
    margin-bottom: 16px;
}

.show-hero__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.show-hero__actions .btn-register {
    width: 100%;
    padding: 11px 18px;
    font-size: 13.5px;
}

.show-hero__actions .btn-login {
    width: 100%;
    padding: 10px 18px;
    font-size: 13px;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.12);
}

/* ── Show Info Section (Mobile) ── */
.show-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px 16px;
    box-shadow: var(--shadow-sm);
}

.show-info__text h2 {
    font-size: 18px;
    margin-bottom: 10px;
}

.show-info__img {
    margin: 12px 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    max-height: 200px;
}

.show-info__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.show-info__content {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
}

.show-info__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    background: #fbfdfc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px;
}

.show-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: center;
    padding: 10px 6px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
}

.show-stat__value {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
}

.show-stat__label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
}

/* ── Cards Grid ── */
.list-section {
    margin: 24px 0;
}

.list-section__header h2 {
    font-size: 18px;
    margin-bottom: 14px;
}

.grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.card--hot {
    border-color: #ffd8b3;
}

.card__img-wrap {
    position: relative;
    height: 140px;
    overflow: hidden;
    background: #f0fdf4;
}

.card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card__badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 9px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
}

.card__badge--hot {
    background: linear-gradient(135deg, #ff8c00, #ff5e00);
    color: #ffffff;
}

.card__body {
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card__body h3 {
    font-size: 15px;
    margin: 0;
}

.card__body p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

.card__btn {
    width: 100%;
    padding: 9px 16px;
    font-size: 13px;
    margin-top: 6px;
}

/* ── Ad Block (Mobile) ── */
.ad-block {
    margin: 20px 0;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.ad-block img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
}
