/* ==========================================================
   Real English 2027 – Podcast "The Diary of Overseas Study"
   ========================================================== */
:root {
    --pc-navy: #13263d;
    --pc-blush: #fff0f1;
    --pc-blush-2: #fdf5f5;
}

.pc-section { padding: 2.2rem 0; }
.pc-section--blush { background: linear-gradient(180deg, var(--pc-blush-2), #fbeff0); }
.pc-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .6rem 1.5rem; margin-bottom: 1.1rem; }
.pc-head__title .hp-eyebrow { margin-bottom: .2rem; font-size: .78rem; letter-spacing: .6px; }
.pc-head__title h2 { font-family: var(--hp-serif); font-weight: 800; color: var(--pc-navy); font-size: clamp(1.45rem, 2.6vw, 1.95rem); margin: 0; }
.pc-head__tools { display: flex; align-items: center; gap: .8rem; }
.pc-arrow { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--hp-line); background: #fff; color: var(--pc-navy); box-shadow: var(--hp-shadow); transition: background .2s, color .2s; }
.pc-arrow:hover:not(:disabled) { background: var(--re-red); border-color: var(--re-red); color: #fff; }
.pc-arrow:disabled { opacity: .45; cursor: default; }

.pc-badge { display: inline-block; font-size: .68rem; font-weight: 600; line-height: 1; padding: .32rem .5rem; border-radius: 3px; background: #fde8ea; color: var(--re-red); }
.pc-badge--green { background: #e3f5e9; color: #1f8a4c; }
a.pc-badge:hover { filter: brightness(.96); }

/* ---------- Hero ---------- */
.pc-hero { position: relative; background: linear-gradient(90deg, #fff 0%, #fff6f6 45%, #fbe9ea 100%); min-height: 430px; display: flex; align-items: center; padding: 2.4rem 0; }
.pc-hero .container { position: relative; z-index: 2; }
.pc-hero__copy { max-width: 560px; }
.pc-hero__copy .hp-eyebrow { letter-spacing: .8px; font-size: .82rem; }
.pc-hero__title { font-family: var(--hp-serif); font-weight: 800; text-transform: uppercase; line-height: 1.02; font-size: clamp(2.1rem, 4.4vw, 3.3rem); color: var(--pc-navy); margin: .3rem 0 .9rem; }
.pc-hero__title span, .pc-hero__title em { display: block; }
.pc-hero__title em { font-style: normal; color: var(--re-red); }
.pc-hero__tagline { font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.4; color: var(--pc-navy); margin-bottom: .8rem; }
.pc-hero__desc { color: #3a4254; font-size: .95rem; line-height: 1.55; margin-bottom: 1.4rem; }
.pc-hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.pc-hero__actions .bi-play-circle-fill, .pc-hero__yt .bi-youtube { font-size: 1.25rem; }
.pc-hero__yt .bi-youtube { color: #ff0000; }
.pc-hero__yt:hover .bi-youtube { color: #fff; }
.pc-hero__actions .re-btn:hover i:first-child { transform: none; }
.pc-hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 54%; overflow: hidden; }
.pc-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.pc-hero__media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #fff6f6 0%, rgba(255, 246, 246, .55) 9%, rgba(255, 246, 246, 0) 22%); }
.pc-hero__hand { position: absolute; z-index: 2; left: 40%; top: 9%; margin: 0; color: #f4f4f4; font-size: clamp(1.4rem, 2.4vw, 2.1rem); transform: rotate(-9deg); text-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.pc-hero__hand::after { content: ""; display: block; height: 10px; margin-top: -.2rem; width: 75%; border-bottom: 3px solid var(--re-red); border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.pc-hero__sticker { position: absolute; z-index: 3; right: 1.2rem; bottom: -2.6rem; margin: 0; background: #fff; padding: .9rem 1.1rem .7rem; color: var(--pc-navy); font-size: 1.25rem; line-height: 1.05; transform: rotate(-8deg); box-shadow: 0 8px 22px rgba(0, 0, 0, .15); }
.pc-hero__sticker::after { content: ""; display: block; height: 8px; margin-top: .1rem; border-bottom: 2.5px solid var(--re-red); border-radius: 0 0 50% 50% / 0 0 100% 100%; }

/* ---------- Dải giá trị ---------- */
.pc-values { background: #fff; border-bottom: 1px solid var(--hp-line); }
.pc-values__list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0; padding: 1.1rem 11rem 1.1rem 0; }
.pc-values__list li { display: flex; align-items: center; gap: .9rem; }
.pc-values__list i { color: var(--re-red); font-size: 2rem; line-height: 1; }
.pc-values__list strong { display: block; color: var(--pc-navy); font-size: .9rem; }
.pc-values__list span { display: block; color: var(--hp-muted); font-size: .8rem; }

/* ---------- Ba series ---------- */
.pc-series { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.pc-series__card { position: relative; display: block; aspect-ratio: 1.62; border-radius: 6px; overflow: hidden; color: #fff; background: #3a1418; box-shadow: var(--hp-shadow); }
.pc-series__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .6s ease; }
.pc-series__card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(178, 16, 28, .95) 0%, rgba(140, 12, 22, .78) 32%, rgba(40, 8, 10, .25) 62%, rgba(0, 0, 0, 0) 80%), linear-gradient(0deg, rgba(25, 6, 8, .55) 0%, rgba(0, 0, 0, 0) 55%); }
.pc-series__card:hover { color: #fff; }
.pc-series__card:hover img { transform: scale(1.05); }
.pc-series__card.is-active { outline: 3px solid var(--re-red); outline-offset: 3px; }
.pc-series__count { position: absolute; z-index: 2; top: .8rem; left: .8rem; background: rgba(255, 255, 255, .92); color: var(--pc-navy); font-size: .72rem; font-weight: 700; padding: .25rem .55rem; border-radius: 999px; }
.pc-series__body { position: absolute; z-index: 2; left: 1rem; right: 4.5rem; bottom: 1rem; }
.pc-series__body strong { display: block; font-size: clamp(1.25rem, 2.1vw, 1.7rem); font-weight: 700; line-height: 1.08; text-transform: uppercase; letter-spacing: .3px; margin-bottom: .6rem; max-width: 10ch; }
.pc-series__body span { display: block; font-size: .84rem; line-height: 1.4; opacity: .95; }
.pc-series__go { position: absolute; z-index: 2; right: 1rem; bottom: 1rem; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--pc-navy); font-size: 1.1rem; transition: transform .2s; }
.pc-series__card:hover .pc-series__go { transform: translateX(3px); }

/* ---------- Thẻ tập ---------- */
.pc-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--hp-line); border-radius: 6px; overflow: hidden; color: var(--pc-navy); transition: transform .25s, box-shadow .25s; }
.pc-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(15, 30, 69, .12); color: var(--pc-navy); }
.pc-card__thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: #1f232b; overflow: hidden; }
.pc-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pc-card:hover .pc-card__thumb img { transform: scale(1.05); }
.pc-card__thumb.hp-thumb__img--play::after { background: rgba(255, 255, 255, .95); color: var(--re-red); width: 40px; height: 40px; margin: -20px 0 0 -20px; font-size: 1.25rem; }
.pc-card__duration { position: absolute; right: .45rem; bottom: .45rem; background: rgba(0, 0, 0, .78); color: #fff; font-size: .72rem; font-weight: 600; padding: .15rem .4rem; border-radius: 3px; }
.pc-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; padding: .75rem .8rem .9rem; flex: 1; }
.pc-card__title { font-size: .88rem; line-height: 1.38; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pc-card__text { color: var(--hp-muted); font-size: .76rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.pc-carousel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 1rem) / 5); column-gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .3rem; }
.pc-carousel::-webkit-scrollbar { display: none; }
.pc-carousel__item { scroll-snap-align: start; }

/* ---------- Khám phá ---------- */
.pc-explore { background: #fff; border-top: 1px solid var(--hp-line); }
.pc-filter { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.2rem; margin-bottom: 1.2rem; }
.pc-filter__chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.pc-filter__chips a { display: inline-flex; align-items: center; gap: .35rem; min-height: 38px; padding: .35rem .9rem; border-radius: 999px; border: 1px solid var(--hp-line); background: #fff; color: var(--pc-navy); font-size: .84rem; font-weight: 600; }
.pc-filter__chips a small { color: var(--hp-muted); font-weight: 500; }
.pc-filter__chips a:hover { border-color: var(--re-red); color: var(--re-red); }
.pc-filter__chips a.is-active { background: var(--re-red); border-color: var(--re-red); color: #fff; }
.pc-filter__chips a.is-active small { color: #ffd9dc; }
.pc-filter__form { display: flex; flex-wrap: wrap; gap: .5rem; flex: 1 1 420px; justify-content: flex-end; }
.pc-filter__search { position: relative; flex: 1 1 240px; max-width: 380px; }
.pc-filter__search i { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: var(--hp-muted); }
.pc-filter__search input { width: 100%; min-height: 42px; border: 1px solid var(--hp-line); border-radius: 6px; padding: .4rem .8rem .4rem 2.3rem; font-size: .88rem; }
.pc-filter__search input:focus { outline: 2px solid rgba(224, 27, 36, .2); border-color: var(--re-red); }
.pc-filter__form .form-select { width: auto; min-height: 42px; font-size: .86rem; border-color: var(--hp-line); }
.pc-filter__form .re-btn { min-height: 42px; }
.pc-filter__result { font-size: .86rem; color: var(--hp-muted); margin: -.4rem 0 1rem; }
.pc-filter__result a { color: var(--re-red); font-weight: 600; }
.pc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }

/* ---------- Khách mời + hành trình ---------- */
.pc-journey { padding-top: .6rem; }
.pc-journey__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.pc-journey__grid--single { grid-template-columns: 1fr; }
.pc-quotes { position: relative; background: linear-gradient(135deg, #fff, #fdf3f4); border: 1px solid #f6e3e5; border-radius: 6px; padding: 1.2rem 1.4rem 1rem; }
.pc-quotes__title, .pc-services h2 { font-family: var(--hp-serif); font-weight: 800; color: var(--pc-navy); font-size: 1.4rem; margin-bottom: .9rem; }
.pc-quote { display: grid; grid-template-columns: 120px 1fr; gap: 1.3rem; align-items: center; margin: 0; }
.pc-quote img { width: 120px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.pc-quote blockquote { font-family: var(--hp-serif); font-style: italic; color: var(--pc-navy); font-size: 1.08rem; line-height: 1.55; margin: 0 0 .7rem; }
.pc-quote figcaption { color: var(--hp-muted); font-size: .82rem; }
.pc-quote figcaption a { color: var(--hp-muted); text-decoration: underline; }
.pc-quotes__nav { display: flex; align-items: center; justify-content: space-between; margin-top: .9rem; }
.pc-quotes__dots { display: flex; gap: .4rem; }
.pc-quotes__dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: #e3c6c9; }
.pc-quotes__dots button.is-active { background: var(--re-red); }

.pc-services { background: #fdeef0; border-radius: 6px; padding: 1.2rem 1.2rem 1.3rem; }
.pc-services h2 { margin-bottom: .4rem; }
.pc-services > p { color: #3a4254; font-size: .88rem; margin-bottom: 1rem; }
.pc-services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.pc-service { display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; border-radius: 6px; padding: 1rem .5rem; color: var(--pc-navy); transition: transform .2s, box-shadow .2s; }
.pc-service:hover { transform: translateY(-3px); box-shadow: var(--hp-shadow); color: var(--pc-navy); }
.pc-service i { color: var(--re-red); font-size: 1.8rem; line-height: 1; margin-bottom: .55rem; }
.pc-service strong { font-size: .84rem; margin-bottom: .3rem; }
.pc-service span { color: var(--hp-muted); font-size: .76rem; line-height: 1.45; }
.pc-services--wide { margin-top: 2rem; }

/* ---------- Theo dõi kênh ---------- */
.pc-subscribe { background: linear-gradient(90deg, #fbeeee, #f8e6e7); padding: 2.2rem 0; margin-top: 1rem; }
.pc-subscribe__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1.2rem 3rem; padding-right: 13rem; }
.pc-subscribe h2 { font-family: var(--hp-serif); font-weight: 800; color: var(--pc-navy); font-size: clamp(1.4rem, 2.6vw, 1.95rem); margin-bottom: .35rem; }
.pc-subscribe p { color: #3a4254; font-size: .92rem; max-width: 470px; margin: 0; }
.pc-subscribe__btn { padding: .9rem 1.8rem; }
.pc-subscribe__btn .bi-youtube { font-size: 1.4rem; }
.pc-subscribe__btn:hover .bi-youtube { transform: none; }
.pc-subscribe .pc-subscribe__hand { max-width: none; position: absolute; right: 0; top: 50%; transform: translateY(-50%) rotate(-10deg); margin: 0; color: var(--pc-navy); font-size: 1.9rem; line-height: 1.05; }
.pc-subscribe__hand::after { content: ""; display: block; height: 8px; margin-top: .1rem; border-bottom: 2.5px solid var(--re-red); border-radius: 0 0 50% 50% / 0 0 100% 100%; }

/* ---------- Trang tập ---------- */
.pc-episode { padding: 1.4rem 0 2.5rem; }
.pc-episode__grid { display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.pc-episode__grid .nw-side { border-left: 1px solid var(--hp-line); padding-left: 1.6rem; }
.pc-player { margin-bottom: 1.2rem; }
.pc-player__facade { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 6px; overflow: hidden; background: #1f232b; cursor: pointer; }
.pc-player__facade img { width: 100%; height: 100%; object-fit: cover; }
.pc-player__facade.hp-thumb__img--play::after { width: 74px; height: 74px; margin: -37px 0 0 -37px; font-size: 2.2rem; color: var(--re-red); }
.pc-player__soon { position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%); display: inline-flex; align-items: center; gap: .5rem; background: rgba(0, 0, 0, .75); color: #fff; padding: .55rem 1rem; border-radius: 999px; font-size: .85rem; font-weight: 600; white-space: nowrap; }
.pc-player__soon:hover { background: #ff0000; color: #fff; }
.pc-episode__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: .4rem; }
.pc-episode__kicker .hp-eyebrow { margin: 0; }
.pc-episode__title { font-family: var(--hp-serif); font-weight: 800; color: var(--pc-navy); font-size: clamp(1.6rem, 3.2vw, 2.3rem); line-height: 1.22; margin-bottom: .9rem; }
.pc-episode__watch { margin: 1.4rem 0 0; }
.pc-episode__watch .re-btn i { font-size: 1.15rem; transform: none; }
.pc-related__img { position: relative; }
.pc-related__img::after { width: 30px !important; height: 30px !important; margin: -15px 0 0 -15px !important; font-size: .9rem !important; }
.pc-side-subscribe p { color: var(--hp-muted); font-size: .84rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
    .pc-carousel { grid-auto-columns: calc((100% - 2 * 1rem) / 3); }
    .pc-journey__grid { grid-template-columns: 1fr; }
}

@media (max-width: 991.98px) {
    .pc-hero { flex-direction: column; align-items: stretch; padding: 2rem 0 0; min-height: 0; }
    .pc-hero__media { position: relative; width: 100%; height: 300px; margin-top: 1.6rem; }
    .pc-hero__media::before { display: none; }
    .pc-hero__hand { left: auto; right: 6%; }
    .pc-hero__sticker { display: none; }
    .pc-values__list { grid-template-columns: 1fr; padding-right: 0; }
    .pc-series { grid-template-columns: 1fr; }
    .pc-series__card { aspect-ratio: 2; }
    .pc-grid { grid-template-columns: repeat(2, 1fr); }
    .pc-episode__grid { grid-template-columns: 1fr; }
    .pc-episode__grid .nw-side { border-left: 0; padding-left: 0; }
    .pc-subscribe__inner { padding-right: 0; grid-template-columns: 1fr; }
    .pc-subscribe__hand { display: none; }
}

@media (max-width: 767.98px) {
    .pc-carousel { grid-auto-columns: 78%; }
    .pc-services__grid { grid-template-columns: repeat(2, 1fr); }
    .pc-filter__form { justify-content: stretch; }
    .pc-filter__search { max-width: none; }
}

@media (max-width: 575.98px) {
    .pc-hero__actions .re-btn { width: 100%; min-height: 44px; }
    .pc-grid { grid-template-columns: 1fr; }
    .pc-quote { grid-template-columns: 90px 1fr; gap: .9rem; }
    .pc-quote img { width: 90px; }
    .pc-quote blockquote { font-size: .95rem; }
    .pc-subscribe__btn { width: 100%; }
    .pc-head__tools .pc-arrow { display: none; }
}
