/*
  Deprecated compatibility file.
  All active article styling now lives in /css/ccc.css.
*/

@import url('/css/ccc.css');

        .article-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-top: 18px;
        }

        .article-meta span {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 8px 12px;
            border-radius: 999px;
            background: rgba(255,255,255,0.16);
            color: #f8fcff;
            backdrop-filter: blur(4px);
        }

        .main-content {
            padding: 70px 0 90px;
            background: linear-gradient(180deg, #f5f7fb 0%, #eef4fb 100%);
        }

        .content-grid {
            display: grid;
            grid-template-columns: minmax(0, 1.8fr) minmax(240px, 280px);
            gap: 28px;
            align-items: start;
        }

        .article-content {
            background: #fff;
            border-radius: 24px;
            padding: 40px 44px;
            box-shadow: 0 20px 50px rgba(0,0,0,.08);
            max-width: 100%;
        }

        .article-content h2,
        .article-content h3,
        .article-content h4 {
            color: #072b69;
        }

        .article-content h2 {
            margin: 30px 0 12px;
            font-size: 30px;
        }

        .article-content h3 {
            margin: 20px 0 10px;
            font-size: 20px;
        }

        .article-content p,
        .article-content li {
            color: #475569;
            font-size: 17px;
            line-height: 1.85;
        }

        .article-content ul {
            padding-left: 20px;
            margin: 12px 0 18px;
        }

        .article-content li {
            margin-bottom: 10px;
        }

        .featured-image {
            margin-bottom: 28px;
        }

        .featured-image img {
            width: 100%;
            border-radius: 18px;
            object-fit: cover;
            box-shadow: 0 14px 35px rgba(0,0,0,.12);
        }

        .featured-image.slideshow {
            position: relative;
            overflow: hidden;
            border-radius: 16px;
            margin: 0 0 24px;
            min-height: 500px;
            background: #e7eef8;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        }

        .featured-image.slideshow .slide {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: contain;
            object-position: center center;
            background: #fff;
            opacity: 0;
            transform: scale(1.02);
            transition: opacity 0.9s ease, transform 0.9s ease;
            padding: 12px;
        }

        .featured-image.slideshow .slide.active {
            opacity: 1;
            transform: scale(1);
        }

        .intro {
            font-size: 1.06rem;
            line-height: 1.9;
            color: #475569;
            margin-bottom: 28px;
        }

        .article-section {
            padding: 28px 0 10px;
            border-top: 1px solid #e8edf5;
            margin-top: 24px;
            scroll-margin-top: 130px;
        }

        .article-section:first-of-type {
            border-top: none;
            margin-top: 0;
            padding-top: 0;
        }

        .section-number {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 52px;
            height: 52px;
            border-radius: 50%;
            background: #eef4ff;
            color: #072b69;
            font-weight: 700;
            margin-bottom: 16px;
        }

        .tip-box,
        .solution-box {
            border-radius: 16px;
            padding: 22px 24px;
            margin: 24px 0 10px;
        }

        .tip-box {
            background: #eef6ff;
            border-left: 5px solid #072b69;
        }

        .solution-box {
            background: #f1fff4;
            border-left: 5px solid #2f9e44;
        }

        .tip-box > div {
            display: inline-block;
        }

        .cta-row {
            margin-top: 18px;
        }

        .cement-hub-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 12px 22px;
            border-radius: 999px;
            background: linear-gradient(135deg,#0d4b9f,#193c6d);
            color: #fff;
            font-weight: 700;
            text-decoration: none;
            box-shadow: 0 12px 24px rgba(13,75,159,0.22);
            transition: transform .2s ease, box-shadow .2s ease;
        }

        .cement-hub-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 16px 28px rgba(13,75,159,0.28);
        }

        .check-list {
            list-style: disc;
            padding-left: 22px;
            margin: 14px 0;
        }

        .check-list li {
            margin-bottom: 8px;
        }

        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 24px;
            position: sticky;
            top: 120px;
        }

        .sidebar-card {
            background: #fff;
            border-radius: 18px;
            padding: 18px 20px;
            box-shadow: 0 16px 36px rgba(0,0,0,.06);
        }

        .sticky-toc {
            position: sticky;
            top: 110px;
            font-size: 0.95rem;
        }

        .sidebar-card h3,
        .sidebar-card h4 {
            color: #072b69;
            margin-bottom: 12px;
            font-size: 1rem;
        }

        .sidebar-card ul {
            list-style: none;
            padding-left: 0;
        }

        .sidebar-card li {
            margin-bottom: 8px;
        }

        .sidebar-card a {
            color: #334155;
        }

        .sidebar-card a:hover {
            color: #d4af37;
        }

        .share-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
        }

        .share-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 46px;
            height: 46px;
            border-radius: 50%;
            background: #072b69;
            color: #fff;
            transition: .3s;
        }

        .share-btn:hover {
            background: #d4af37;
            transform: translateY(-4px);
        }

        .site-footer {
            background: #041b44;
            color: #ddd;
            padding: 60px 0 25px;
            margin-top: 100px;
            text-align: center;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            text-align: center;
        }

        .footer-grid h3 {
            color: #fff;
            margin-bottom: 20px;
            text-align: center;
        }

        .footer-grid ul li {
            margin-bottom: 12px;
            text-align: center;
        }

        .footer-grid ul li a {
            color: #ddd;
        }

        .footer-grid ul li a:hover {
            color: #d4af37;
        }

        .footer-bottom {
            margin-top: 40px;
            padding-top: 20px;
            border-top: 1px solid rgba(255,255,255,.15);
            text-align: center;
            font-size: 14px;
        }

        .site-footer p,
        .site-footer li,
        .site-footer a,
        .site-footer .footer-bottom {
            text-align: center;
        }

        .footer-social {
            margin-top: 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .footer-social-title {
            display: block;
            font-size: 13px;
            font-weight: 700;
            color: #fff;
            margin: 0 0 12px;
            text-transform: uppercase;
            letter-spacing: 0.12em;
        }

        .footer-social-links {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 6px;
            justify-content: center;
        }

        .footer-social-links a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 42px;
            height: 42px;
            border-radius: 8px;
            background: #fff;
            overflow: hidden;
            border: 1px solid rgba(255,255,255,0.12);
            font-weight: 700;
            font-size: 14px;
            transition: all 0.18s ease;
            box-shadow: 0 6px 14px rgba(0,0,0,0.10);
            padding: 0;
        }

        .footer-social-links a:hover {
            background: linear-gradient(135deg, #d4af37, #f2c94c);
            transform: translateY(-2px) scale(1.03);
            box-shadow: 0 10px 20px rgba(212,175,55,0.18);
        }

        .footer-social-links a img {
            width: 100%;
            height: 100%;
            display: block;
            object-fit: cover;
            border-radius: 8px;
            background: #fff;
        }

        @media (max-width: 992px) {
            .content-grid {
                grid-template-columns: 1fr;
            }

            .sidebar {
                position: relative;
                top: 0;
            }

            .hero {
                height: 520px;
            }

            .hero h1 {
                font-size: 40px;
            }
        }

        @media (max-width: 768px) {
            .main-header .container {
                flex-direction: column;
                align-items: flex-start;
                padding: 16px 0;
            }

            .nav-links {
                display: none;
            }

            .hero {
                height: 460px;
            }

            .hero h1 {
                font-size: 32px;
            }

            .hero-description {
                font-size: 17px;
            }

            .article-content {
                padding: 25px;
            }

            .footer-grid {
                text-align: center;
            }
        }

/* Hide Prices / Calculator / Guides links from article page headers and hero actions
     They remain accessible in the sidebar 'Useful pages' container. */
.article-shell .site-nav a[href="/cement-prices.html"],
.article-shell .site-nav a[href="/calculator.html"],
.article-shell .site-nav a[href="/guides.html"],
.article-shell .hero-actions a[href="/calculator.html"],
.article-shell .hero-actions a[href="/guides.html"]{
    display:none !important;
}
