/* =========================================================
   SANKALP ALLOYS - BLOG PAGE / ARTICLE SHARED STYLES
   ========================================================= */

/* Blog listing hero */
.blog-hero {
    position: relative;
    min-height: 235px;
    height: 235px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 28px 20px;
    color: #fff;
    background:
        linear-gradient(rgba(3, 34, 52, 0.55), rgba(3, 34, 52, 0.55)),
        url('../images/blog-hero-bg.jpg') center center / cover no-repeat;
}

.blog-hero h1 {
    position: relative;
    z-index: 2;
    margin: 0 0 10px;
    font-size: 42px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-transform: none;
    color: #fff;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.28);
}

.blog-hero p {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
}

/* Individual article hero */
.titanium-blog-hero {
    position: relative;
    min-height: 235px;
    height: 235px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 28px 20px;
    text-align: center;
    color: #fff;
    background:
        linear-gradient(rgba(3, 34, 52, 0.56), rgba(3, 34, 52, 0.56)),
        url('../images/products/sheets-plates.jpg') center center / cover no-repeat;
}

.titanium-blog-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(19, 112, 154, 0.08);
    z-index: 1;
}

.titanium-blog-hero h1,
.titanium-blog-hero p {
    position: relative;
    z-index: 2;
}

.titanium-blog-hero h1 {
    margin: 0 0 10px;
    max-width: 980px;
    font-size: 40px;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.4px;
    text-transform: none;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.28);
}

.titanium-blog-hero p {
    max-width: 780px;
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255,255,255,.92);
}

/* Article content */
.titanium-blog-content {
    max-width: 1120px;
    margin: 0 auto;
    padding: 54px 22px 72px;
    color: #333;
    line-height: 1.7;
    font-family: "Urbanist", sans-serif;
}

.titanium-blog-section {
    margin-bottom: 38px;
}

.titanium-blog-section h2 {
    margin-bottom: 16px;
    color: #13709a;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 750;
}

.titanium-blog-section h3 {
    margin-bottom: 12px;
    color: #13709a;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 700;
}

.titanium-blog-section p {
    margin-bottom: 14px;
    font-size: 16px;
    line-height: 1.75;
    color: #4b5563;
}

.titanium-specs-list,
.titanium-industry-list,
.titanium-inventory-list,
.titanium-certification-list,
.titanium-delivery-list,
.titanium-services-list,
.titanium-location-list,
.titanium-benefits-list {
    margin: 0 0 20px;
    padding-left: 22px;
}

.titanium-specs-list li,
.titanium-industry-list li,
.titanium-inventory-list li,
.titanium-certification-list li,
.titanium-delivery-list li,
.titanium-services-list li,
.titanium-location-list li,
.titanium-benefits-list li {
    margin-bottom: 9px;
    line-height: 1.65;
}

.titanium-specs-table {
    width: 100%;
    margin: 24px 0;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid #dbe5ea;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(13, 75, 105, 0.07);
}

.titanium-specs-table th,
.titanium-specs-table td {
    padding: 12px 14px;
    border-right: 1px solid #e2e8ec;
    border-bottom: 1px solid #e2e8ec;
    text-align: left;
}

.titanium-specs-table th {
    background: #13709a;
    color: #fff;
    font-weight: 650;
}

.titanium-specs-table tr:nth-child(even) {
    background: #f7fafb;
}

.titanium-contact-info {
    margin: 34px 0;
    padding: 26px;
    border-left: 4px solid #13709a;
    border-radius: 8px;
    background: #f7fafc;
}

/* Article images: never crop important content */
.titanium-image-container,
.titanium-feature-image {
    margin: 28px auto;
    text-align: center;
}

.titanium-image-container img,
.titanium-feature-image img {
    display: block;
    width: min(100%, 900px);
    height: auto;
    max-height: none;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(12, 55, 78, 0.11);
    background: #f4f7f9;
}

.titanium-image-caption {
    margin-top: 9px;
    font-size: 14px;
    color: #6b7280;
    font-style: italic;
}

.highlight {
    color: #13709a;
    font-weight: 700;
}

@media (max-width: 768px) {
    .blog-hero,
    .titanium-blog-hero {
        min-height: 205px;
        height: 205px;
        padding: 24px 18px;
    }

    .blog-hero h1,
    .titanium-blog-hero h1 {
        font-size: 31px;
    }

    .blog-hero p,
    .titanium-blog-hero p {
        font-size: 15px;
    }

    .titanium-blog-content {
        padding: 42px 16px 56px;
    }

    .titanium-blog-section h2 {
        font-size: 25px;
    }

    .titanium-blog-section h3 {
        font-size: 20px;
    }

    .titanium-specs-table {
        display: block;
        overflow-x: auto;
    }
}

@media (max-width: 480px) {
    .blog-hero,
    .titanium-blog-hero {
        min-height: 185px;
        height: 185px;
    }

    .blog-hero h1,
    .titanium-blog-hero h1 {
        font-size: 27px;
    }
}
