/* blog-show.css */


/* From resources/views/templates/basic/blogShow.blade.php */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

    .cyb-blog-details,
    .cyb-blog-details * {
        font-family: "Inter", Calibri, Arial, sans-serif !important;
    }

    .cyb-blog-details {
        position: relative;
        padding: 70px 0 80px;
        background:
            radial-gradient(circle at 8% 8%, rgba(162, 48, 40, 0.07), transparent 28%),
            linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
        overflow: hidden;
    }

    .cyb-blog-details::before {
        content: "";
        position: absolute;
        top: -130px;
        right: -120px;
        width: 320px;
        height: 320px;
        border-radius: 50%;
        background: rgba(162, 48, 40, 0.08);
        pointer-events: none;
    }

    .cyb-blog-details .container {
        position: relative;
        z-index: 2;
    }

    .cyb-blog-wrapper {
        max-width: 980px;
        margin: 0 auto;
    }

    .cyb-back-link {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 24px;
        color: #374151;
        font-size: 14px;
        font-weight: 700;
        text-decoration: none;
        transition: all 0.25s ease;
    }

    .cyb-back-link:hover {
        color: #A23028;
        transform: translateX(-3px);
        text-decoration: none;
    }

    .cyb-article-card {
        background: #ffffff;
        border: 1px solid rgba(15, 23, 42, 0.08);
        border-radius: 28px;
        box-shadow: 0 22px 70px rgba(15, 23, 42, 0.09);
        overflow: hidden;
    }

    .cyb-article-header {
        padding: 38px 38px 28px;
    }

    .cyb-article-date {
        display: inline-flex;
        align-items: center;
        min-height: 34px;
        padding: 8px 15px;
        margin-bottom: 18px;
        border-radius: 999px;
        background: #fff5f4;
        color: #A23028;
        border: 1px solid rgba(162, 48, 40, 0.14);
        font-size: 13px;
        font-weight: 700;
        line-height: 1;
    }

    .cyb-article-title {
        margin: 0;
        color: #111827;
        font-size: clamp(32px, 5vw, 54px);
        font-weight: 900;
        line-height: 1.12;
        letter-spacing: -1.3px;
    }

    .cyb-article-image {
        margin: 0 38px 34px;
        border-radius: 24px;
        overflow: hidden;
        background: #f5f6f8;
        box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
    }

    .cyb-article-image img {
        width: 100%;
        height: 480px;
        display: block;
        object-fit: cover;
    }

    /*
    |--------------------------------------------------------------------------
    | Blog Description Area
    |--------------------------------------------------------------------------
    */

    .cyb-article-content {
        padding: 0 38px 46px;
        color: #374151;
        font-size: 18px;
        font-weight: 400;
        line-height: 1.9;
        word-break: break-word;
    }

    /*
    |--------------------------------------------------------------------------
    | Fix all-bold content issue from editor
    |--------------------------------------------------------------------------
    */

    .cyb-article-content,
    .cyb-article-content p,
    .cyb-article-content div,
    .cyb-article-content span,
    .cyb-article-content li {
        font-weight: 400 !important;
    }

    .cyb-article-content p {
        margin: 0 0 20px;
        color: #374151;
        font-size: 18px;
        font-weight: 400 !important;
        line-height: 1.9;
    }

    .cyb-article-content p:first-of-type {
        font-size: 20px;
        color: #1f2937;
        line-height: 1.85;
    }

    /*
    |--------------------------------------------------------------------------
    | Strong/Bold Handling
    |--------------------------------------------------------------------------
    | If your editor saves section titles as:
    | <div><strong>Heading Text</strong></div>
    | this will make them beautiful headings.
    |--------------------------------------------------------------------------
    */

    .cyb-article-content div > strong:only-child,
    .cyb-article-content div > b:only-child {
        display: block;
        margin: 34px 0 16px;
        color: #111827;
        font-size: 28px;
        font-weight: 800 !important;
        line-height: 1.3;
        letter-spacing: -0.5px;
    }

    .cyb-article-content p > strong:only-child,
    .cyb-article-content p > b:only-child {
        display: block;
        margin: 30px 0 14px;
        color: #111827;
        font-size: 26px;
        font-weight: 800 !important;
        line-height: 1.3;
        letter-spacing: -0.4px;
    }

    .cyb-article-content strong,
    .cyb-article-content b {
        color: #111827;
        font-weight: 700 !important;
    }

    /*
    |--------------------------------------------------------------------------
    | Headings
    |--------------------------------------------------------------------------
    */

    .cyb-article-content h1,
    .cyb-article-content h2,
    .cyb-article-content h3,
    .cyb-article-content h4,
    .cyb-article-content h5,
    .cyb-article-content h6 {
        margin: 36px 0 16px;
        color: #111827;
        font-weight: 800 !important;
        line-height: 1.3;
        letter-spacing: -0.3px;
    }

    .cyb-article-content h1 {
        font-size: 34px;
    }

    .cyb-article-content h2 {
        position: relative;
        padding-left: 16px;
        font-size: 30px;
    }

    .cyb-article-content h2::before {
        content: "";
        position: absolute;
        left: 0;
        top: 7px;
        width: 5px;
        height: 28px;
        border-radius: 20px;
        background: #A23028;
    }

    .cyb-article-content h3 {
        font-size: 24px;
    }

    .cyb-article-content h4 {
        font-size: 21px;
    }

    .cyb-article-content h5 {
        font-size: 19px;
    }

    .cyb-article-content h6 {
        font-size: 17px;
    }

    /*
    |--------------------------------------------------------------------------
    | Lists
    |--------------------------------------------------------------------------
    */

    .cyb-article-content ul,
    .cyb-article-content ol {
        margin: 18px 0 24px;
        padding-left: 24px;
    }

    .cyb-article-content li {
        margin-bottom: 10px;
        color: #374151;
        font-size: 18px;
        line-height: 1.8;
    }

    .cyb-article-content ul li::marker {
        color: #A23028;
    }

    .cyb-article-content ol li::marker {
        color: #A23028;
        font-weight: 700;
    }

    /*
    |--------------------------------------------------------------------------
    | Links
    |--------------------------------------------------------------------------
    */

    .cyb-article-content a {
        color: #A23028;
        font-weight: 700;
        text-decoration: none;
        border-bottom: 1px solid rgba(162, 48, 40, 0.35);
        transition: all 0.25s ease;
    }

    .cyb-article-content a:hover {
        color: #111827;
        border-bottom-color: #111827;
    }

    /*
    |--------------------------------------------------------------------------
    | Images / Media
    |--------------------------------------------------------------------------
    */

    .cyb-article-content img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 28px auto;
        border-radius: 20px;
        box-shadow: 0 16px 45px rgba(15, 23, 42, 0.12);
    }

    .cyb-article-content iframe,
    .cyb-article-content video {
        width: 100%;
        max-width: 100%;
        border-radius: 18px;
        margin: 28px 0;
    }

    /*
    |--------------------------------------------------------------------------
    | Blockquote
    |--------------------------------------------------------------------------
    */

    .cyb-article-content blockquote {
        margin: 32px 0;
        padding: 24px 26px;
        border-left: 5px solid #A23028;
        border-radius: 18px;
        background: linear-gradient(135deg, #fff5f4 0%, #ffffff 100%);
        color: #111827;
        font-size: 19px;
        font-weight: 500 !important;
        line-height: 1.8;
    }

    .cyb-article-content blockquote p {
        margin-bottom: 0;
        color: #111827;
        font-size: 19px;
        font-weight: 500 !important;
    }

    /*
    |--------------------------------------------------------------------------
    | Tables
    |--------------------------------------------------------------------------
    */

    .cyb-article-content table {
        width: 100%;
        margin: 28px 0;
        border-collapse: collapse;
        overflow: hidden;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    }

    .cyb-article-content table th,
    .cyb-article-content table td {
        padding: 14px 16px;
        border: 1px solid #e5e7eb;
        text-align: left;
        vertical-align: top;
    }

    .cyb-article-content table th {
        background: #fff5f4;
        color: #111827;
        font-weight: 800 !important;
    }

    .cyb-article-content table td {
        color: #374151;
        font-weight: 400 !important;
    }

    /*
    |--------------------------------------------------------------------------
    | Code / HR
    |--------------------------------------------------------------------------
    */

    .cyb-article-content hr {
        margin: 34px 0;
        border: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
    }

    .cyb-article-content code {
        padding: 3px 7px;
        border-radius: 6px;
        background: #f3f4f6;
        color: #A23028;
        font-size: 15px;
        font-weight: 500;
    }

    .cyb-article-content pre {
        margin: 28px 0;
        padding: 20px;
        border-radius: 18px;
        background: #111827;
        color: #ffffff;
        overflow-x: auto;
        line-height: 1.7;
    }

    .cyb-article-content pre code {
        padding: 0;
        background: transparent;
        color: inherit;
        font-size: 15px;
    }

    /*
    |--------------------------------------------------------------------------
    | Related Blogs
    |--------------------------------------------------------------------------
    */

    .cyb-related-section {
        margin-top: 54px;
    }

    .cyb-related-header {
        display: flex;
        align-items: end;
        justify-content: space-between;
        gap: 18px;
        margin-bottom: 24px;
    }

    .cyb-related-header h3 {
        margin: 0;
        color: #111827;
        font-size: 30px;
        font-weight: 800;
        letter-spacing: -0.6px;
    }

    .cyb-related-header p {
        margin: 6px 0 0;
        color: #6b7280;
        font-size: 15px;
        line-height: 1.6;
    }

    .cyb-related-card {
        height: 100%;
        display: flex;
        flex-direction: column;
        background: #ffffff;
        border: 1px solid rgba(15, 23, 42, 0.08);
        border-radius: 22px;
        overflow: hidden;
        box-shadow: 0 16px 45px rgba(15, 23, 42, 0.08);
        transition: all 0.28s ease;
    }

    .cyb-related-card:hover {
        transform: translateY(-6px);
        border-color: rgba(162, 48, 40, 0.22);
        box-shadow: 0 24px 65px rgba(15, 23, 42, 0.13);
    }

    .cyb-related-thumb {
        height: 180px;
        display: block;
        background: #f5f6f8;
        overflow: hidden;
        text-decoration: none;
    }

    .cyb-related-thumb img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

    .cyb-related-card:hover .cyb-related-thumb img {
        transform: scale(1.07);
    }

    .cyb-related-no-image {
        height: 180px;
        display: flex;
        align-items: center;
        justify-content: center;
        background:
            radial-gradient(circle at top left, rgba(162, 48, 40, 0.14), transparent 35%),
            linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
        text-decoration: none;
    }

    .cyb-related-no-image span {
        width: 58px;
        height: 58px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 18px;
        background: #111827;
        color: #ffffff;
        font-size: 24px;
        font-weight: 800;
    }

    .cyb-related-body {
        flex: 1;
        padding: 18px;
    }

    .cyb-related-date {
        display: block;
        margin-bottom: 8px;
        color: #A23028;
        font-size: 12px;
        font-weight: 700;
    }

    .cyb-related-title {
        margin: 0;
        color: #111827;
        font-size: 17px;
        font-weight: 800;
        line-height: 1.4;
        letter-spacing: -0.25px;
    }

    .cyb-related-title a {
        color: inherit;
        text-decoration: none;
        transition: color 0.25s ease;
    }

    .cyb-related-title a:hover {
        color: #A23028;
        text-decoration: none;
    }

    /*
    |--------------------------------------------------------------------------
    | Responsive
    |--------------------------------------------------------------------------
    */

    @media (max-width: 991px) {
        .cyb-blog-details {
            padding: 56px 0 68px;
        }

        .cyb-article-header {
            padding: 30px 28px 24px;
        }

        .cyb-article-image {
            margin: 0 28px 30px;
        }

        .cyb-article-image img {
            height: 390px;
        }

        .cyb-article-content {
            padding: 0 28px 38px;
        }
    }

    @media (max-width: 575px) {
        .cyb-blog-details {
            padding: 44px 0 58px;
        }

        .cyb-article-card {
            border-radius: 22px;
        }

        .cyb-article-header {
            padding: 24px 20px 20px;
        }

        .cyb-article-date {
            font-size: 12px;
            min-height: 32px;
            padding: 8px 13px;
        }

        .cyb-article-title {
            font-size: 31px;
            letter-spacing: -0.8px;
        }

        .cyb-article-image {
            margin: 0 20px 24px;
            border-radius: 18px;
        }

        .cyb-article-image img {
            height: 260px;
        }

        .cyb-article-content {
            padding: 0 20px 34px;
            font-size: 16px;
            line-height: 1.85;
        }

        .cyb-article-content p,
        .cyb-article-content li {
            font-size: 16px;
            line-height: 1.85;
        }

        .cyb-article-content p:first-of-type {
            font-size: 17px;
        }

        .cyb-article-content h1 {
            font-size: 27px;
        }

        .cyb-article-content h2 {
            font-size: 24px;
            padding-left: 14px;
        }

        .cyb-article-content h2::before {
            top: 5px;
            height: 24px;
        }

        .cyb-article-content h3 {
            font-size: 21px;
        }

        .cyb-article-content div > strong:only-child,
        .cyb-article-content div > b:only-child {
            font-size: 24px;
            margin: 28px 0 14px;
        }

        .cyb-article-content p > strong:only-child,
        .cyb-article-content p > b:only-child {
            font-size: 23px;
            margin: 26px 0 13px;
        }

        .cyb-article-content blockquote {
            padding: 18px;
            font-size: 16px;
            border-radius: 16px;
        }

        .cyb-article-content blockquote p {
            font-size: 16px;
        }

        .cyb-related-section {
            margin-top: 42px;
        }

        .cyb-related-header {
            display: block;
            margin-bottom: 20px;
        }

        .cyb-related-header h3 {
            font-size: 25px;
        }

        .cyb-related-thumb,
        .cyb-related-no-image {
            height: 200px;
        }
    }
