.page--media-effectiveness {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* ---------- Top Header ---------- */
.media-effectiveness__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    z-index: 5;
}

.media-effectiveness__heading {
    margin: 0;
    color: var(--color-primary);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 56px;
    line-height: 1.1;
}

/* ---------- Info Block ---------- */
.media-effectiveness__info-block {
    text-align: right;
    position: absolute;
    right: 7rem;
    top: 8rem;
}

.media-effectiveness__subheading {
    margin: 0;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 28px;
    line-height: 1.2;
}

.media-effectiveness__title {
    margin: 0.25rem 0 0;
    color: var(--color-text);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 48px;
    line-height: 1.1;
}

.media-effectiveness__description {
    margin: 0.5rem 0 0;
    color: var(--color-text-muted);
    font-size: 32px;
    line-height: 1.55;
    max-width: 700px;
}

/* ---------- Stage (Khung chứa ảnh) ---------- */
.media-effectiveness__stage {
    flex: 1;
    position: relative;
    width: 100%;
    min-height: 0;
    margin-top: 4rem;
}

/* ---------- Reusable cwindow (Mac OS Window Box) ---------- */
.cwindow {
    position: relative;
    background-color: var(--color-surface-alt);
    border-radius: 14px;
    padding: 0.6rem;
    padding-top: 2.2rem;
    box-shadow: 0 20px 40px -20px var(--color-shadow-strong);
    border: 1px solid var(--color-border);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.cwindow:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 24px 48px -18px var(--color-shadow-strong);
    border-color: var(--color-primary);
    z-index: 10 !important;
}

.cwindow>img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    cursor: zoom-in;
}

.cwindow__dot {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    top: 12px;
    z-index: 2;
}

.cwindow__dot--red {
    background-color: #ff5f57;
    left: 14px;
}

.cwindow__dot--yellow {
    background-color: #febc2e;
    left: 30px;
}

.cwindow__dot--green {
    background-color: #28c840;
    left: 46px;
}

/* ---------- Position rules for 3-images layout (Slide 1) ---------- */
.media-effectiveness__stage--3-items .media-effectiveness__card--pos-1 {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 56%;
    z-index: 1;
}

.media-effectiveness__stage--3-items .media-effectiveness__card--pos-2 {
    position: absolute;
    top: 12%;
    right: 0%;
    width: 56%;
    z-index: 2;
}

.media-effectiveness__stage--3-items .media-effectiveness__card--pos-3 {
    position: absolute;
    bottom: 0%;
    left: 18%;
    width: 58%;
    z-index: 3;
}

/* ---------- Position rules for 2-images layout (Slide 2) ---------- */
.media-effectiveness__stage--2-items .media-effectiveness__card--pos-1 {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 62%;
    z-index: 1;
}

.media-effectiveness__stage--2-items .media-effectiveness__card--pos-2 {
    position: absolute;
    top: 18%;
    right: 0%;
    width: 62%;
    z-index: 2;
}

.media-effectiveness__stage--2-items .media-effectiveness__info-block {
    position: absolute;
    top: 70%;
    left: 0%;
    text-align: left;
    max-width: 40%;
    z-index: 5;
}

.media-effectiveness__stage--2-items .media-effectiveness__subheading {
    font-size: 30px;
    color: var(--color-primary);
    font-weight: 800;
    margin-bottom: 1rem;
}

.media-effectiveness__stage--2-items .media-effectiveness__title {
    font-size: 46px;
    color: var(--color-text);
    font-weight: 800;
    line-height: 1.1;
}

/* ---------- Trang tổng quan số liệu (Slide "Lượt tương tác Fanpage") ---------- */
.media-effectiveness__stats-header {
    margin-bottom: 0.75rem;
}

.media-effectiveness__stats-subheading {
    margin: 0 0 2rem;
    font-size: 40px;
    font-weight: 700;
    color: var(--color-text);
}

.media-effectiveness__stats-grid {
    position: relative;
    flex: 1;
    display: flex;
    gap: 2rem;
    min-height: 0;
    align-items: center;
    margin-top: 25rem;
}

.media-effectiveness__stats-banner {
    position: absolute;
    top: -25rem;
    right: 10%;
    width: 80%;
    z-index: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px var(--color-shadow-strong);
    border: 4px solid var(--color-surface);
    transition: all 0.5s;
}

.media-effectiveness__stats-banner:hover {
    z-index: 1;
    scale: 1.1;
}

/* ---------- Mockup Fanpage Facebook ---------- */
.fb-mock {
    background: #fff;
}

.fb-mock__cover {
    aspect-ratio: 16 / 3;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.fb-mock__profile {
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 1.25rem;
    padding: 0 1.75rem 1.25rem;
    margin-top: -4rem;
    z-index: 1;
}

.fb-mock__avatar {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid #fff;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
    margin-bottom: 4rem;
}

.fb-mock__info {
    padding-bottom: 0.25rem;
}

.fb-mock__name {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    color: #050505;
}

.fb-mock__meta {
    margin-top: 0.35rem;
    font-size: 20px;
    font-weight: 600;
    color: #65676b;
}

.fb-mock__desc {
    margin-top: 0.5rem;
    font-size: 20px;
    line-height: 1.5;
    color: #65676b;
}

.media-effectiveness__stats-side {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-height: 0;
    z-index: 1;
}

.stat-card {
    display: flex;
    flex-direction: column;
    flex: 1;
    background: var(--color-surface-alt);
    border-radius: 12px;
    padding: 2rem 2.25rem;
    box-shadow: 0 12px 32px var(--color-shadow-strong);
    z-index: 1;
}

.stat-card--main {
    justify-content: center;
    border-left: 6px solid var(--color-primary);
}

.stat-card--secondary {
    justify-content: center;
    border-left: 6px solid var(--color-text-muted);
}

.stat-card__title {
    margin: 0 0 1rem;
    font-size: 36px;
    font-weight: 700;
    color: var(--color-primary);
}

.stat-card__title i {
    margin-right: 0.5rem;
}

.stat-card--secondary .stat-card__title {
    color: var(--color-text);
}

.stat-card__title .highlight {
    color: var(--color-primary);
}

.stat-card__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
}

.stat-card__list li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 32px;
    line-height: 1.5;
    color: var(--color-text);
}

.stat-card__list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

.stat-card__list strong {
    color: var(--color-primary);
    font-weight: 700;
}

/* ---------- Print rules ---------- */
@media print {
    .cwindow:hover {
        transform: none;
        box-shadow: 0 20px 40px -20px var(--color-shadow-strong);
    }
}