/* /////////Liver Cancer////////////////// */
.pure-css-section {
    padding: 80px 5%;
    background-color: #ffffff;
    overflow: hidden;
}

.med-wrap {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.content-box {
    animation: fadeInUp 1s ease-out forwards;
}

.image-box {
    animation: slideInRight 1.2s ease-out 0.3s backwards;
    position: relative;
}

.title-text {
    color: #3C0145;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.accent-line {
    width: 80px;
    height: 5px;
    background: #3C0145;
    margin-bottom: 30px;
}

.main-para {
    font-size: 1rem;
    color: #3C0145;
    margin-bottom: 20px;
}

.sub-para {
    color: #666;
    font-size: 1rem;
    color: #3C0145;
}

.link-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.med-link {
    padding: 10px 20px;
    border: 2px solid #3C0145;
    color: #3C0145;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: 0.3s;
}

.med-link:hover {
    background: #3C0145;
    color: #fff;
}

.resp-img {
    width: 100%;
    border-radius: 20px;
    border-right: 15px solid #3C0145;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.floating-info {
    position: absolute;
    bottom: 20px;
    left: -20px;
    background: #3C0145;
    color: white;
    padding: 12px 20px;
    font-weight: bold;
    border-radius: 4px;
}

@media (max-width: 850px) {
    .med-wrap {
        grid-template-columns: 1fr;
    }

    .image-box {
        order: -1;
    }
}

/* ////////////////////What is liver cancer?/The Good News////////// */
.liver-story-normal {
    background-color: #3C0145;
    padding: 80px 5%;
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    overflow: hidden;
}

.story-inner-wrap {
    max-width: 1100px;
    margin: 0 auto;
}

@keyframes fadeInUpNormal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-reveal {
    view-timeline-name: --story-reveal;
    view-timeline-axis: block;
    animation: fadeInUpNormal linear both;
    animation-timeline: --story-reveal;
    animation-range: entry 10% cover 30%;
}

.story-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.story-row.inverted {
    direction: rtl;
}

.story-row.inverted .story-text-container {
    direction: ltr;
}

.story-frame-fixed {
    position: relative;
    height: 350px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.story-frame-fixed img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.story-frame-fixed:hover img {
    transform: scale(1.05);
}

.frame-tag-sm {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #fff;
    color: #3C0145;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 800;
    border-radius: 4px;
}

.bg-index {
    font-size: 60px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.04);
    line-height: 1;
    margin-bottom: -30px;
}

.story-h2-normal {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.story-p-normal {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 1);
}

.story-accent-box {
    border-left: 3px solid #fff;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    font-style: italic;
    font-size: 15px;
}

.hope-compact-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 50px;
    text-align: center;
}

.hope-title-normal {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 15px;
}

.hope-text-normal {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.5;
    color: #fff;
}

.hope-action-btn {
    background: #3C0145;
    padding: 14px 35px;
    font-weight: 800;
    border: solid #fff 2px;
    cursor: pointer;
    transition: 0.3s;
}

.hope-action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {

    .story-row,
    .story-row.inverted {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .story-h2-normal {
        font-size: 28px;
    }

    .story-frame-fixed {
        height: 250px;
    }
}

/* /////////////Types of Liver Cancer/////// */

.liver-types-grid-section {
    padding: 80px 5%;
    background-color: #fff;
    font-family: 'Inter', sans-serif;
    color: #444;
    overflow: hidden;
}

.grid-container {
    max-width: 1200px;
    margin: 0 auto;
}

@keyframes fadeInUpFade {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-reveal {
    view-timeline-name: --grid-reveal;
    view-timeline-axis: block;
    animation: fadeInUpFade linear both;
    animation-timeline: --grid-reveal;
    animation-range: entry 10% cover 30%;
}

.category-eyebrow {
    color: #3C0145;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    display: block;
    margin-bottom: 10px;
}

.grid-main-title {
    font-size: 36px;
    color: #3C0145;
    font-weight: 800;
    margin-bottom: 20px;
}

.grid-intro {
    max-width: 800px;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 50px;
}

.types-mosaic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.mosaic-item {
    background: #f9f9f9;
    padding: 35px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.mosaic-item:hover {
    background: #fff;
    box-shadow: 0 15px 30px rgba(60, 1, 69, 0.05);
    transform: translateY(-5px);
}

.mosaic-content h3 {
    font-size: 20px;
    color: #3C0145;
    margin-bottom: 12px;
    font-weight: 700;
}

.mosaic-content p {
    font-size: 14px;
    line-height: 1.6;
}

.benign-comparison-panel {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
    background: #fdfbff;
    padding: 40px;
    border: 1px solid rgba(60, 1, 69, 0.1);
}

.comparison-visual {
    position: relative;
    overflow: hidden;
}

.comparison-visual img {
    width: 100%;
    display: block;
}

.visual-caption {
    background: rgba(60, 1, 69, 0.9);
    color: #fff;
    font-size: 11px;
    padding: 8px;
    text-align: center;
}

.benign-badge {
    color: #2e7d32;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.comparison-text h3 {
    font-size: 28px;
    color: #3C0145;
    margin-bottom: 15px;
}

.important-note {
    margin-top: 20px;
    padding: 15px;
    border-left: 4px solid #3C0145;
    background: rgba(60, 1, 69, 0.03);
    font-size: 14px;
}

@media (max-width: 850px) {
    .benign-comparison-panel {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* //////////Liver cancer symptoms///////////////// */
.liver-symptoms-dark {
    padding: 100px 5%;
    background-color: #3C0145;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

.symptoms-container {
    max-width: 1200px;
    margin: 0 auto;
}

.symptoms-header {
    text-align: center;
    margin-bottom: 70px;
}

.warning-badge {
    color: #ff4d4d;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    display: block;
    margin-bottom: 15px;
}

.symptoms-main-title {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 20px;
}

.symptoms-intro {
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.8;
    line-height: 1.6;
    color: #ffffff;
}

.symptoms-dashboard {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

.symptoms-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.symptom-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.symptom-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}



.symptom-card p {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    color: white;
}

.medical-overlay-frame {
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.medical-overlay-frame img {
    width: 100%;
    display: block;
}

@keyframes fadeInUpSymptoms {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeftSymptoms {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-f-up {
    view-timeline-name: --symp-header;
    view-timeline-axis: block;
    /* animation: fadeInUpSymptoms linear both; */
    animation-timeline: --symp-header;
    animation-range: entry 10% cover 30%;
}

.animate-slide-in {
    view-timeline-name: --symp-card;
    view-timeline-axis: block;
    animation: slideInLeftSymptoms linear both;
    animation-range: entry 5% cover 25%;
}

@media (max-width: 992px) {
    .symptoms-dashboard {
        grid-template-columns: 1fr;
    }

    .symptoms-list {
        grid-template-columns: 1fr;
    }
}

/* ////////////Early signs of liver cancer///////////////// */
.medical-gender-section {
    padding: 80px 20px;
    background-color: #fdfdfd;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

.container-gender-signs {
    max-width: 1200px;
    margin: 0 auto;
}

.early-signs-banner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    background: #fff;
    border: 1px solid #eee;
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: 0 15px 35px rgba(60, 1, 69, 0.05);
}

.early-signs-content {
    padding: 50px;
}

.clinical-badge {
    color: #3C0145;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}

.section-title-sm {
    color: #3C0145;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
}

.early-signs-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gender-flex-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.gender-card {
    background: #fff;
    border: 1px solid #eee;
    overflow: hidden;
    transition: transform 0.4s ease;
}

.gender-card:hover {
    transform: translateY(-10px);
}

.card-image-top {
    position: relative;
    height: 250px;
}

.card-image-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gender-tag {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: #3C0145;
    color: #fff;
    padding: 6px 15px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
}

.card-info {
    padding: 35px;
}

.card-info h3 {
    color: #3C0145;
    margin-bottom: 15px;
    font-size: 22px;
}

.card-info p {
    color: #3C0145;
    line-height: 1.6;
    font-size: 15px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.scroll-reveal-up {
    view-timeline-name: --banner;
    view-timeline-axis: block;
    animation: fadeInUp linear both;
    animation-timeline: --banner;
    animation-range: entry 10% cover 30%;
}

.scroll-reveal-left {
    view-timeline-name: --female;
    view-timeline-axis: block;
    animation: slideInLeft linear both;
    animation-timeline: --female;
    animation-range: entry 10% cover 30%;
}

.scroll-reveal-right {
    view-timeline-name: --male;
    view-timeline-axis: block;
    animation: slideInRight linear both;
    animation-timeline: --male;
    animation-range: entry 10% cover 30%;
}

@media (max-width: 992px) {
    .early-signs-banner {
        grid-template-columns: 1fr;
    }

    .gender-flex-grid {
        grid-template-columns: 1fr;
    }

    .early-signs-content {
        padding: 30px;
    }
}

/* //////////Causes of Liver Cancer//////////// */
.liver-causes-modern {
    padding: 70px 5%;
    background-color: #ffffff;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

.causes-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.causes-head-area {
    text-align: center;
    margin-bottom: 70px;
}

.badge-label {
    color: #3C0145;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: block;
}

.main-heading {
    font-size: 34px;
    color: #3C0145;
    font-weight: 800;
    margin-bottom: 15px;
}

.intro-text {
    font-size: 16px;
    color: #3C0145;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.6;
}

.causes-flex-stack {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.cause-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cause-row.reverse {
    direction: rtl;
}

.cause-row.reverse .cause-info {
    direction: ltr;
}

.tag-label {
    color: #d161ff;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.cause-info h3 {
    font-size: 24px;
    color: #3C0145;
    margin-bottom: 18px;
    font-weight: 700;
}

.cause-info p {
    font-size: 15px;
    line-height: 1.7;
    color: #3C0145;
}

.cause-img {
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(60, 1, 69, 0.08);
}

.cause-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.cause-row:hover .cause-img img {
    transform: scale(1.04);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    view-timeline-name: --scroll-reveal;
    view-timeline-axis: block;
    animation-timeline: --scroll-reveal;
    animation-range: entry 10% cover 30%;
}

@media (max-width: 800px) {

    .cause-row,
    .cause-row.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .main-heading {
        font-size: 28px;
    }

    .causes-flex-stack {
        gap: 60px;
    }
}

/* //////////Diagnosis and staging of liver cancer///////// */
.diagnostic-journey-dark {
    background-color: #3C0145;
    padding: 70px 5%;
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    overflow: hidden;
}

.journey-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.journey-intro {
    text-align: center;
    margin-bottom: 50px;
}

.eyebrow-text {
    color: #d161ff;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 15px;
}

.journey-h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
}

.journey-p {
    color: #fff;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
}

.timeline-visual-grid {
    position: relative;
}

.timeline-visual-grid::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(209, 97, 255, 0.3), transparent);
    transform: translateX(-50%);
}

.timeline-row {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    align-items: center;
    margin-bottom: 80px;
}

.timeline-row.reverse {
    direction: rtl;
}

.timeline-row.reverse .timeline-content,
.timeline-row.reverse .timeline-media {
    direction: ltr;
}

.timeline-center {
    display: flex;
    justify-content: center;
    z-index: 2;
}

.pulse-node {
    width: 12px;
    height: 12px;
    background: #d161ff;
    border-radius: 50%;
    box-shadow: 0 0 15px #d161ff;
    position: relative;
}

.tool-badge {
    color: #d161ff;
    font-weight: 800;
    font-size: 10px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.tool-h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.tool-p {
    font-size: 15px;
    line-height: 1.6;
    color: #fff;
}

.media-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.media-card img {
    width: 100%;
    display: block;
    transition: filter 0.4s ease;
}

.timeline-row:hover .media-card img {
    filter: brightness(1.2);
}

@keyframes timelineIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    view-timeline-name: --timeline;
    view-timeline-axis: block;
    /* animation: timelineIn linear both; */
    animation-timeline: --timeline;
    animation-range: entry 10% cover 30%;
}

@media (max-width: 800px) {
    .timeline-visual-grid::before {
        left: 20px;
    }

    .timeline-row,
    .timeline-row.reverse {
        grid-template-columns: 350px 1fr;
        direction: ltr;
        gap: 20px;
    }

    /* .timeline-media { display: none; } */
    .timeline-center {
        justify-content: flex-start;
    }

    .journey-h2 {
        font-size: 28px;
    }
}

/* ///////////////Liver cancer stages/////////// */
.liver-roadmap-section {
    padding: 80px 5%;
    background-color: #ffffff;
    font-family: 'Inter', sans-serif;
    color: #333333;
    overflow: hidden;
}

.roadmap-container {
    max-width: 1000px;
    margin: 0 auto;
}

.roadmap-header {
    text-align: center;
    margin-bottom: 80px;
}

.system-tag {
    color: #3C0145;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 2px;
}

.roadmap-h2 {
    font-size: 32px;
    color: #3C0145;
    font-weight: 800;
    margin: 15px 0;
}

.roadmap-p {
    font-size: 16px;
    color: #3C0145;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.6;
}

.roadmap-timeline {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.roadmap-item {
    display: flex;
    align-items: center;
    gap: 50px;
    background: #fdfbff;
    padding: 30px;
    border: 1px solid #f0f0f0;
    transition: transform 0.4s ease;
}

.roadmap-item.alt-row {
    flex-direction: row-reverse;
}

.roadmap-item:hover {
    transform: scale(1.02);
    border-color: #3C0145;
}

.item-visual {
    flex-shrink: 0;
    width: 350px;
    height: 250px;
    background: #fff;
    position: relative;
    border: 1px solid #eee;
    overflow: hidden;
}

.item-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #3C0145;
    color: #fff;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 800;
    border-radius: 4px;
}

.item-text h3 {
    color: #3C0145;
    font-size: 22px;
    margin-bottom: 12px;
}

.item-text p {
    font-size: 15px;
    line-height: 1.6;
    color: #3C0145;
}

.bclc-callout {
    margin-top: 60px;
    display: flex;
    gap: 25px;
    background: #3C0145;
    color: #fff;
    padding: 35px;
    border-radius: 20px;
    align-items: center;
}

.callout-icon {
    width: 40px;
    height: 40px;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    flex-shrink: 0;
}

.callout-body h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.callout-body p {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.5;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-reveal {
    view-timeline-name: --roadmap;
    view-timeline-axis: block;
    /* animation: fadeInUp linear both; */
    animation-timeline: --roadmap;
    animation-range: entry 10% cover 30%;
}

@media (max-width: 800px) {

    .roadmap-item,
    .roadmap-item.alt-row {
        flex-direction: column;
        text-align: center;
    }

    .item-visual {
        width: 100%;
    }
}

/* ////////////////////////Tumor Types ///////////////////////////*/
.tumor-contrast-section {
    background-color: #3C0145;
    padding: 90px 5%;
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    overflow: hidden;
}

.contrast-container {
    max-width: 1100px;
    margin: 0 auto;
}

.contrast-header {
    text-align: center;
    margin-bottom: 70px;
}

.pathology-badge {
    color: #e8b3ff;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 15px;
}

.contrast-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.contrast-intro-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.6;
    color: #ffffff;
}

.dual-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.pathology-card {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.card-header-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.card-header-row h3 {
    font-size: 22px;
    font-weight: 700;
}

.indicator-glow {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.card-media-box {
    position: relative;
    overflow: hidden;
    height: 220px;
    margin-bottom: 25px;
    background-color: rgba(0, 0, 0, 0.2);
}

.card-media-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.media-status-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-body-text p {
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
    flex-grow: 1;
}

.clinical-note {
    margin-top: 25px;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    font-size: 14px;
    line-height: 1.5;
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in {
    view-timeline-name: --hdr-timeline;
    view-timeline-axis: block;
    animation: fadeInUp linear both;
    animation-timeline: --hdr-timeline;
    animation-range: entry 10% cover 30%;
}

.animate-slide-left {
    view-timeline-name: --left-card;
    view-timeline-axis: block;
    animation: slideInLeft linear both;
    animation-timeline: --left-card;
    animation-range: entry 10% cover 30%;
}

.animate-slide-right {
    view-timeline-name: --right-card;
    view-timeline-axis: block;
    animation: slideInRight linear both;
    animation-timeline: --right-card;
    animation-range: entry 10% cover 30%;
}

@media (max-width: 800px) {
    .dual-panel-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contrast-main-title {
        font-size: 28px;
    }

    .card-media-box {
        height: 180px;
    }
}
/* ////////////////Liver Cancer Treatment///////////// */
.treatment-light-protocol {
    background-color: #ffffff;
    padding: 90px 5%;
    font-family: 'Inter', sans-serif;
    color: #333333;
    overflow: hidden;
}

.protocol-container {
    max-width: 1100px;
    margin: 0 auto;
}

.protocol-header {
    text-align: center;
    margin-bottom: 70px;
}

.protocol-badge {
    color: #3C0145; 
    font-weight: 800;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 2.5px;
    background: #f5e6f8;
    padding: 6px 16px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 15px;
}

.protocol-main-title {
    font-size: 34px;
    color: #3C0145;
    font-weight: 800;
    margin-bottom: 20px;
}

.protocol-intro {
    max-width: 750px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.6;
    color: #555555;
}

.protocol-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.protocol-card {
    background: #ffffff;
    border: 1px solid #eeeeee;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.protocol-card:hover {
    transform: translateY(-5px);
    border-color: #3C0145;
    box-shadow: 0 15px 35px rgba(60, 1, 69, 0.06);
}

.card-visual-header {
    position: relative;
    height: 200px;
    background: #fafafa;
}

.card-visual-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-phase-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #3C0145;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-inner-content {
    padding: 30px;
    flex-grow: 1;
}

.card-inner-content h3 {
    color: #3C0145;
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 700;
}

.card-inner-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #555555;
}

.full-width-card {
    grid-column: span 2;
}

.split-card-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
}

.split-text {
    padding: 40px;
}

.inline-tag {
    position: static;
    display: inline-block;
    margin-bottom: 15px;
}

.split-text h3 {
    color: #3C0145;
    font-size: 22px;
    margin-bottom: 15px;
}

.split-text p {
    font-size: 14.5px;
    line-height: 1.65;
    color: #555555;
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes drawRevealUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-scroll-up {
    view-timeline-name: --treatment-reveal;
    view-timeline-axis: block;
    /* animation: drawRevealUp linear both; */
    animation-timeline: --treatment-reveal;
    animation-range: entry 5% cover 25%;
}

@media (max-width: 800px) {
    .protocol-cards-grid { grid-template-columns: 1fr; }
    .full-width-card { grid-column: span 1; }
    .split-card-layout { grid-template-columns: 1fr; }
    .split-image { display: none; }
    .protocol-main-title { font-size: 28px; }
}
/* //////////////////// */