.public-page {
    padding: 56px 0 72px;
    background: linear-gradient(180deg, #f7f9ff 0, #fff 340px);
    min-height: 620px;
}

.public-hero {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 48px;
    margin-bottom: 34px;
    color: #fff;
    background: linear-gradient(135deg, #102a68, #315cc9);
    box-shadow: 0 24px 70px rgba(25, 55, 130, .2);
}

.public-hero::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .09);
    left: -80px;
    top: -110px;
}

.public-hero.podcast { background: linear-gradient(135deg, #492b7c, #9f4ec6); }
.public-hero.about { background: linear-gradient(135deg, #174d48, #2a9d8f); }
.public-hero.contact { background: linear-gradient(135deg, #713b24, #dc7d3b); }
.public-hero.blog { background: linear-gradient(135deg, #2b3f76, #627bc2); }

.public-hero > * { position: relative; z-index: 1; }
.public-hero h1 { color: #fff; margin: 0 0 12px; font-size: clamp(2rem, 4vw, 3.3rem); }
.public-hero p { max-width: 720px; margin: 0; color: rgba(255,255,255,.85); font-size: 1.05rem; line-height: 2; }
.public-hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 999px; background: rgba(255,255,255,.14); margin-bottom: 16px; font-size: .85rem; }

.catalog-filter {
    background: #fff;
    border: 1px solid #e6eaf3;
    border-radius: 20px;
    padding: 18px;
    margin-bottom: 28px;
    box-shadow: 0 10px 35px rgba(30, 52, 105, .07);
}

.catalog-summary { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; color: #687086; }
.catalog-summary strong { color: #18284f; font-size: 1.1rem; }

.catalog-card {
    height: 100%;
    border: 1px solid #e8ebf3;
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
}
.catalog-card:hover { transform: translateY(-5px); box-shadow: 0 18px 45px rgba(25, 49, 105, .13); }
.catalog-card-image { position: relative; display: block; height: 220px; overflow: hidden; background: #eef1f7; }
.catalog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.catalog-card:hover .catalog-card-image img { transform: scale(1.04); }
.catalog-card-type { position: absolute; right: 14px; top: 14px; padding: 7px 11px; border-radius: 999px; background: rgba(255,255,255,.94); color: #1d397d; font-size: .76rem; font-weight: 700; }
.catalog-card-body { padding: 20px; }
.catalog-card-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.catalog-card-meta span { padding: 5px 9px; border-radius: 8px; background: #f1f4fb; color: #59637a; font-size: .75rem; }
.catalog-card h2 { font-size: 1.08rem; line-height: 1.8; min-height: 54px; margin: 0 0 8px; }
.catalog-card h2 a { color: #17294f; text-decoration: none; }
.catalog-card p { color: #788095; font-size: .87rem; line-height: 1.8; min-height: 50px; }
.catalog-card-footer { border-top: 1px solid #edf0f6; padding: 15px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.catalog-price { color: #1749b2; font-weight: 800; }
.catalog-price del { display: block; color: #9aa0ad; font-size: .72rem; font-weight: 400; }
.catalog-stats { color: #80879a; font-size: .78rem; }

.public-empty { text-align: center; border: 1px dashed #cfd6e6; border-radius: 22px; padding: 64px 20px; background: #fff; }
.public-empty i { font-size: 44px; color: #6b82bd; margin-bottom: 16px; }
.public-empty h2 { font-size: 1.35rem; }
.public-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 34px; }
.public-pagination a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #dfe4ef; border-radius: 12px; text-decoration: none; color: #405174; background: #fff; }
.public-pagination a.active { background: #315cc9; color: #fff; border-color: #315cc9; }

.details-hero { display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 38px; align-items: center; background: #fff; border: 1px solid #e4e8f2; border-radius: 28px; padding: 30px; box-shadow: 0 20px 65px rgba(34, 54, 105, .09); }
.details-cover { border-radius: 20px; width: 100%; max-height: 390px; object-fit: cover; background: #eef1f7; }
.details-back { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; margin-bottom: 18px; }
.details-title { font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.55; color: #17284e; }
.details-lead { line-height: 2; color: #69738a; }
.details-chips { display: flex; gap: 9px; flex-wrap: wrap; margin: 18px 0; }
.details-chips span { padding: 8px 11px; border-radius: 10px; background: #eff3fb; color: #53617c; font-size: .82rem; }
.details-price { font-size: 1.5rem; color: #184bb5; font-weight: 900; }
.details-price del { font-size: .85rem; color: #9aa0ad; margin-left: 10px; }
.details-content { margin-top: 30px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 26px; align-items: start; }
.details-panel { background: #fff; border: 1px solid #e5e9f2; border-radius: 22px; padding: 26px; }
.details-panel h2 { font-size: 1.3rem; margin-bottom: 18px; }
.rich-content { line-height: 2.05; color: #3f485b; }
.episode-list { display: grid; gap: 12px; }
.episode-item { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 13px; align-items: center; padding: 14px; border: 1px solid #e9ecf3; border-radius: 15px; }
.episode-number { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: #edf2ff; color: #315cc9; font-weight: 800; }
.episode-item strong, .episode-item small { display: block; }
.episode-item small { color: #8990a0; margin-top: 3px; }
.episode-free { color: #198754; font-size: .78rem; }
.details-side-list { display: grid; gap: 13px; }
.details-side-list div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid #edf0f6; color: #687187; }
.details-side-list div:last-child { border-bottom: 0; padding-bottom: 0; }
.details-side-list strong { color: #253351; text-align: left; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
.about-image { width: 100%; border-radius: 26px; min-height: 430px; object-fit: cover; box-shadow: 0 20px 60px rgba(25, 60, 70, .14); }
.about-copy h2 { font-size: 2rem; color: #173d3a; }
.about-copy p { line-height: 2.1; color: #647270; }
.about-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 24px; }
.about-feature { border: 1px solid #dde8e6; border-radius: 18px; padding: 18px; background: #fff; }
.about-feature i { color: #2a9d8f; font-size: 22px; }
.about-feature strong { display: block; margin: 10px 0 5px; color: #244b47; }
.about-feature small { color: #788683; line-height: 1.8; }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; }
.about-stat { text-align: center; padding: 22px; border-radius: 18px; background: #fff; border: 1px solid #e2e9e8; }
.about-stat strong { display: block; color: #238c81; font-size: 1.7rem; }
.about-stat span { color: #788380; font-size: .85rem; }

.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 26px; align-items: start; }
.contact-form-card, .contact-info-card { background: #fff; border: 1px solid #ece4de; border-radius: 24px; padding: 28px; box-shadow: 0 16px 50px rgba(87, 53, 31, .08); }
.contact-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.contact-form-grid .full { grid-column: 1 / -1; }
.contact-form-card label { display: block; margin-bottom: 8px; font-weight: 700; color: #503a2c; }
.contact-form-card textarea { min-height: 170px; resize: vertical; }
.contact-submit { border: 0; background: #c9672e; color: #fff; padding: 13px 22px; border-radius: 13px; font-weight: 800; }
.contact-info-list { display: grid; gap: 16px; }
.contact-info-item { display: flex; gap: 13px; align-items: flex-start; padding: 15px; border-radius: 15px; background: #fff7f1; }
.contact-info-item i { color: #c9672e; font-size: 20px; margin-top: 3px; }
.contact-info-item strong, .contact-info-item span { display: block; }
.contact-info-item span { color: #806c60; margin-top: 4px; word-break: break-word; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { background: #fff; border: 1px solid #e5e9f2; border-radius: 22px; overflow: hidden; height: 100%; }
.blog-card img { width: 100%; height: 220px; object-fit: cover; }
.blog-card-body { padding: 20px; }
.blog-card h2 { font-size: 1.1rem; line-height: 1.8; }
.blog-card p { color: #727b8f; line-height: 1.9; }
.blog-meta { color: #8a91a0; font-size: .78rem; margin-bottom: 10px; }
.article-shell { max-width: 980px; margin: auto; }
.article-cover { width: 100%; max-height: 520px; object-fit: cover; border-radius: 24px; }
.article-body { background: #fff; border: 1px solid #e4e8f1; border-radius: 22px; padding: 34px; line-height: 2.1; }
.article-navigation { padding: 20px 0; }
.article-nav-link { display: block; background: #fff; border: 1px solid #e5e9f2; border-radius: 18px; padding: 20px; text-decoration: none; transition: all .2s ease; }
.article-nav-link:hover { border-color: #627bc2; box-shadow: 0 6px 20px rgba(30,60,130,.08); }
.article-nav-label { display: block; color: #8a91a0; font-size: .78rem; margin-bottom: 6px; }
.article-nav-title { color: #253869; font-size: .95rem; font-weight: 700; }

@media (max-width: 991px) {
    .public-hero { padding: 34px 26px; }
    .details-hero, .details-content, .about-grid, .contact-layout { grid-template-columns: 1fr; }
    .details-cover { order: -1; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
    .public-page { padding-top: 30px; }
    .public-hero { border-radius: 20px; padding: 28px 20px; }
    .catalog-card-image { height: 200px; }
    .contact-form-grid, .about-features, .blog-grid { grid-template-columns: 1fr; }
    .contact-form-grid .full { grid-column: auto; }
    .about-stats { grid-template-columns: 1fr 1fr; }
    .details-hero, .details-panel { padding: 20px; }
}