/* ==========================================================================
   Single Case Result Page — single-portfolio.php
   ========================================================================== */

/* Hero Section */
.case-single-hero {
    padding: 60px 0 40px;
    text-align: center;
}

.case-type-badge {
    display: inline-block;
    padding: 6px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
    background: linear-gradient(316deg, #182E51 -68.17%, #1797F3 84.91%);
}
.case-type-badge.case-type-settlement {
    background: linear-gradient(275deg, #0A8F4F 31.73%, #0DBF6A 129.03%);
}
.case-type-badge.case-type-arbitration {
    background: linear-gradient(275deg, #8B5CF6 31.73%, #6D28D9 129.03%);
}
.case-type-badge.case-type-mediation {
    background: linear-gradient(275deg, #D5750A 31.73%, #F59E0B 129.03%);
}

.case-hero-amount {
    margin-bottom: 40px;
}
.case-hero-amount .amount-label {
    display: block;
    font-size: 16px;
    font-weight: 400;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}
.case-hero-amount .amount-value {
    display: inline-block;
    font-size: 72px;
    font-weight: 900;
    line-height: 1;
    background: var(--gradient2, linear-gradient(316deg, #182E51 -68.17%, #1797F3 84.91%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Meta grid */
.case-hero-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    padding: 30px 0;
    border-top: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
}
.case-hero-meta .meta-item {
    text-align: center;
}
.case-hero-meta .meta-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
}
.case-hero-meta .meta-value {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #1F2937;
}
.case-hero-meta .meta-value a {
    color: #1797F3;
    text-decoration: none;
}
.case-hero-meta .meta-value a:hover {
    text-decoration: underline;
}

/* Practice area pills */
.case-practice-areas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}
.practice-area-pill {
    display: inline-block;
    padding: 6px 18px;
    border: 1px solid #1797F3;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: #1797F3;
    text-decoration: none;
    transition: 0.3s;
}
.practice-area-pill:hover {
    background: #1797F3;
    color: #fff;
}

/* Verified badge */
.case-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: #ECFDF5;
    color: #065F46;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
}
.case-verified-badge svg {
    color: #059669;
}

/* Override theme global white text for case pages */
.case-single-hero p,
.case-single-story p,
.case-single-damages p,
.case-single-reviews p,
.case-single-related p,
.case-single-related .case-box-linked .case-desc p {
    color: #374151;
}
.case-single-hero h2,
.case-single-story h2,
.case-single-story h3 {
    color: #1F2937;
}

/* Story Section */
.case-single-story {
    padding: 40px 0;
}
.case-story-content {
    max-width: 800px;
    margin: 0 auto;
}
.case-summary {
    margin-bottom: 30px;
    padding: 24px 30px;
    background: #F3F4F6;
    border-left: 4px solid #1797F3;
    border-radius: 0 4px 4px 0;
}
.case-summary .summary-text {
    font-size: 18px;
    line-height: 1.6;
    color: #374151;
    font-style: italic;
    margin: 0;
}
.case-full-story {
    font-size: 17px;
    line-height: 1.8;
    color: #374151;
}
.case-full-story p {
    margin-bottom: 1.5em;
}
.case-full-story h2,
.case-full-story h3 {
    color: #1F2937;
    margin-top: 2em;
    margin-bottom: 0.75em;
}

/* Damage Breakdown */
.case-single-damages {
    padding: 50px 0;
    background: linear-gradient(180deg, rgba(112, 195, 253, 0.15) 0%, rgba(255, 255, 255, 1) 100%);
}
.case-single-damages .section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 900;
    color: #1F2937;
    margin-bottom: 30px;
    text-transform: uppercase;
}
.damage-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}
.damage-card {
    flex: 1 1 220px;
    max-width: 280px;
    padding: 24px;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    text-align: center;
    transition: 0.3s;
}
.damage-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.damage-card .damage-type {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.damage-card .damage-amount {
    display: block;
    font-size: 28px;
    font-weight: 900;
    color: #1797F3;
}
.damage-card-total {
    border: 2px solid #1797F3;
    background: linear-gradient(180deg, rgba(23, 151, 243, 0.05) 0%, #fff 100%);
}
.damage-card-total .damage-type {
    color: #1797F3;
}
.damage-card-total .damage-amount {
    font-size: 32px;
    background: var(--gradient2, linear-gradient(316deg, #182E51 -68.17%, #1797F3 84.91%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* PDF Download */
.case-single-pdf {
    padding: 40px 0;
}
.pdf-download-box {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
    padding: 24px 30px;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: 8px;
}
.pdf-icon {
    flex-shrink: 0;
}
.pdf-info {
    flex: 1;
}
.pdf-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1F2937;
    margin: 0 0 4px;
}
.pdf-info p {
    font-size: 14px;
    color: #6B7280;
    margin: 0;
}
.pdf-download-box .btn-effect2 {
    flex-shrink: 0;
    font-size: 16px;
    letter-spacing: 3px;
}

/* Client Reviews */
.case-single-reviews {
    padding: 50px 0;
    background: #F9FAFB;
}
.case-single-reviews .section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 900;
    color: #1F2937;
    margin-bottom: 30px;
    text-transform: uppercase;
}
.case-reviews-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}
.case-review-card {
    flex: 1 1 300px;
    max-width: 460px;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
}
.review-text {
    margin-bottom: 16px;
}
.review-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #374151;
    margin: 0;
}
.review-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.review-author-name {
    font-size: 16px;
    font-weight: 700;
    color: #1F2937;
}
.review-date {
    font-size: 13px;
    color: #9CA3AF;
}
.review-source {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid #E5E7EB;
}
.review-source span {
    font-size: 13px;
    color: #6B7280;
    font-weight: 500;
}

/* Related Cases */
.case-single-related {
    padding: 60px 0;
}
.case-single-related .section-title {
    font-size: 28px;
    font-weight: 900;
    color: #1F2937;
    margin-bottom: 30px;
    text-transform: uppercase;
}
.case-single-related .row > div {
    margin-bottom: 30px;
}
.case-box-linked {
    display: block;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #1797F3;
    background: #fff;
    padding: 30px 20px;
    height: 100%;
    transition: 0.3s;
    position: relative;
}
.case-box-linked:hover {
    box-shadow: 0 8px 24px rgba(23, 151, 243, 0.15);
    transform: translateY(-2px);
}
.case-box-linked .case-name p {
    color: #1F2937;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}
.case-box-linked .case-amt h3 {
    background: var(--gradient2, linear-gradient(316deg, #182E51 -68.17%, #1797F3 84.91%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #1797F3;
}
.case-box-linked .case-desc p {
    color: #6B7280;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}
.case-box-linked .case-link {
    margin-top: auto;
}

/* CTA Phones */
.cta-phones {
    margin-bottom: 30px;
}
.cta-phones p {
    font-size: 20px;
    color: #1F2937;
    margin: 0;
}
.cta-phones a {
    color: #1797F3;
    font-weight: 700;
    text-decoration: none;
}
.cta-phones a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 991px) {
    .case-hero-amount .amount-value {
        font-size: 48px;
    }
    .case-hero-meta {
        gap: 20px;
    }
    .pdf-download-box {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .case-hero-amount .amount-value {
        font-size: 36px;
    }
    .case-hero-meta {
        flex-direction: column;
        gap: 16px;
    }
    .damage-cards {
        flex-direction: column;
        align-items: center;
    }
    .damage-card {
        max-width: 100%;
    }
    .case-review-card {
        max-width: 100%;
    }
    .pdf-download-box .btn-effect2 {
        font-size: 14px;
        letter-spacing: 2px;
    }
}
