/* ============================================================================
   Framework Technology — News/Blog redesign, 2nd pass (ported from
   D:\TFS FrameWorkTek\BasePro\Framework-News-Media-Comments\assets\css\news-modern.css,
   the newer approved reference's own stylesheet for blog.html / blog-details.html).

   Supersedes the earlier Framework-Team-Final-based design entirely for /Home/Blog and
   /Home/BlogDetail - those two pages no longer load app/blog-redesign.css (renamed/trimmed to
   app/home-news.css, which now covers ONLY the homepage latest-news section - see that file).

   Class names are the reference's own fw-* prefix, which is already effectively scoped (no other
   FWT stylesheet defines fw-* selectors), so this file cannot affect any page that does not render
   this markup. RTL is handled the same way the reference handles it: a `.rtl` ancestor class, which
   is exactly what MainMaster.js already toggles on .page-wrapper for every page - no new RTL
   plumbing was needed.

   Ported near-verbatim from the reference. Omitted entirely because this system has no matching
   data source (and the task forbids fabricating data): .fw-news-tabs (category tabs - the task
   explicitly asks for these to be removed site-wide), .fw-card-chip/.fw-featured-media's decorative
   AML/company-logo treatment (replaced with the record's real image), .fw-keypoints, .fw-article-tags
   (no tag data), .fw-video-info/.fw-gallery-more (no per-item title/description/overflow-count data
   behind either), .fw-lightbox (this project's established convention - see GalleryDetail.js's own
   comment - opens media in a new tab instead of a custom lightbox; no lightbox library is used
   anywhere in this project).

   .fw-gallery-grid/.fw-gallery-item and .fw-video-grid/.fw-video-card/.fw-video-frame ARE ported
   (MasterNewsInformation.MasterNewsGallery, a real child-table collection - see
   WebApi/Controllers/FrameworkTechsManagement/MasterNewsInformationController.cs's GetByIdClient/
   GetByIdReadOnlyClient and JsPages/BlogDetail.js's buildArticleGalleryHtml), but the grid itself is
   NOT the reference's rigid 4-slot nth-child masonry - a real article's gallery item count is
   arbitrary, not always exactly 4, so this uses a flexible repeat(auto-fill,minmax(...)) grid instead
   that degrades to any count without leaving empty slots or misplacing items.

   Added, not in the reference: .fw-pagination (the reference's own /Home/Blog uses a single "Load
   more" link with no page numbers; this system requires real server-side Prev/Next + page-number
   pagination per architecture already in WebApi, so a pagination control was designed in this
   file's own visual language - pill buttons, navy active state, same radii/shadows as
   .fw-news-bottom a) and .fw-comment-form-note (a small muted line for the moderation notice, which
   the reference's static form has no equivalent of).
   ============================================================================ */
:root {
    --fw-navy: #111d42;
    --fw-blue: #53b7e8;
    --fw-blue2: #268fd0;
    --fw-ink: #14213d;
    --fw-muted: #6e7890;
    --fw-bg: #f6f9fd;
    --fw-line: #e6edf6;
    --fw-white: #fff
}

.fw-news-shell {
/*    background: linear-gradient(180deg,#f7fbff 0,#fff 24%,#f7f9fc 100%);*/
    position: relative;
    overflow: hidden;
    padding: 72px 0 95px
}

    .fw-news-shell:before {
        content: "";
        position: absolute;
        inset: 0 auto auto -120px;
        width: 420px;
        height: 420px;
        border-radius: 50%;
        background: radial-gradient(circle,rgba(83,183,232,.16),rgba(83,183,232,0) 70%);
        pointer-events: none
    }

    .fw-news-shell:after {
        content: "";
        position: absolute;
        right: -140px;
        top: 220px;
        width: 400px;
        height: 400px;
        border-radius: 50%;
        background: radial-gradient(circle,rgba(17,29,66,.08),rgba(17,29,66,0) 72%);
        pointer-events: none
    }

    .fw-news-shell .auto-container {
        position: relative;
        z-index: 1
    }

.fw-news-intro {
    max-width: 860px;
    margin: 0 auto 38px;
    text-align: center
}

.fw-news-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #eaf7fd;
    color: #1376ac;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    margin-bottom: 16px
}

    .fw-news-kicker:before {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--fw-blue2);
        box-shadow: 0 0 0 6px rgba(38,143,208,.1)
    }

.fw-news-intro h2 {
    font-size: 42px;
    line-height: 1.18;
    color: var(--fw-navy);
    font-weight: 700;
    margin: 0 0 14px
}

    .fw-news-intro h2 span {
        color: var(--fw-blue2)
    }

.fw-news-intro p {
    font-size: 16px;
    line-height: 1.9;
    color: var(--fw-muted);
    margin: 0 auto;
    max-width: 720px
}

.fw-featured {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 0;
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 28px 80px rgba(17,29,66,.12);
    border: 1px solid rgba(17,29,66,.06);
    margin-bottom: 34px;
    min-height: 470px
}

.fw-featured-media {
    position: relative;
    min-height: 470px;
    overflow: hidden;
    background: linear-gradient(135deg,#0f1d42,#174f7b 55%,#55b9e8)
}

    .fw-featured-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        position: relative;
        z-index: 1
    }

    .fw-featured-media:after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg,transparent 45%,rgba(9,19,45,.55));
        z-index: 2;
        pointer-events: none
    }

.fw-featured-badge {
    position: absolute;
    left: 26px;
    top: 26px;
    z-index: 3;
    background: rgba(255,255,255,.14);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    color: #fff;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 700
}

.rtl .fw-featured-badge {
    left: auto;
    right: 26px
}

.fw-featured-content {
    padding: 46px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0
}

.fw-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    color: #748097;
    font-size: 13px;
    margin-bottom: 18px
}

    .fw-meta span {
        display: inline-flex;
        align-items: center;
        gap: 7px
    }

    .fw-meta i {
        color: var(--fw-blue2)
    }

.fw-featured-content h3 {
    font-size: 31px;
    line-height: 1.45;
    color: var(--fw-navy);
    margin: 0 0 16px;
    font-weight: 700;
    overflow-wrap: anywhere
}

.fw-featured-content p {
    color: #66738a;
    font-size: 16px;
    line-height: 1.95;
    margin: 0 0 25px
}

.fw-readmore {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--fw-navy);
    font-weight: 700;
    font-size: 14px;
    width: max-content;
    padding: 12px 18px;
    border-radius: 999px;
    background: #edf8fe;
    transition: .25s
}

    .fw-readmore:hover {
        background: var(--fw-navy);
        color: #fff;
        gap: 16px
    }

.rtl .fw-readmore i {
    transform: rotate(180deg)
}

.fw-news-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 22px
}

.fw-news-card {
    background: #fff;
    border: 1px solid #e9eef5;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 13px 40px rgba(17,29,66,.06);
    transition: .28s;
    display: flex;
    flex-direction: column;
    min-width: 0
}

    .fw-news-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 22px 50px rgba(17,29,66,.11);
        border-color: #d9eaf6
    }

.fw-news-card-media {
    height: 210px;
    position: relative;
    overflow: hidden;
    background: #eaf0f6
}

    .fw-news-card-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .4s
    }

.fw-news-card:hover .fw-news-card-media img {
    transform: scale(1.04)
}

.fw-news-card-body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1
}

    .fw-news-card-body h3 {
        font-size: 21px;
        line-height: 1.5;
        color: var(--fw-navy);
        margin: 5px 0 10px;
        font-weight: 700;
        overflow-wrap: anywhere
    }

    .fw-news-card-body p {
        font-size: 15px;
        line-height: 1.8;
        color: #748097;
        margin: 0 0 18px
    }

    .fw-news-card-body .fw-readmore, .fw-featured-content .fw-readmore {
        font-size: 15px
    }

        .fw-news-card-body .fw-readmore i, .fw-featured-content .fw-readmore i {
            font-size: 14px
        }

    .fw-news-card-body .fw-readmore {
        margin-top: auto;
        padding: 0;
        background: none;
        color: var(--fw-blue2)
    }

        .fw-news-card-body .fw-readmore:hover {
            color: var(--fw-navy);
            background: none
        }

/* Pagination - own addition, same visual language as .fw-news-bottom's pill button */
.fw-pagination {
    margin-top: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap
}

html[lang="ar"] .fw-pagination {
/*    direction: ltr*/
}
/*html[lang="ar"] fa-chevron-right {
    direction: ltr
}
html[lang="ar"] fa-chevron-left {
    direction: ltr
}*/
    .fw-pagination a {
        display: grid;
        place-items: center;
        min-width: 42px;
        height: 42px;
        padding: 0 6px;
        border-radius: 999px;
        background: #fff;
        border: 1px solid var(--fw-line);
        color: #54617a;
        font-size: 13px;
        font-weight: 700;
        transition: .2s;
        cursor: pointer
    }

        .fw-pagination a:hover {
            border-color: var(--fw-blue2);
            color: var(--fw-navy)
        }

        .fw-pagination a.active {
            background: var(--fw-navy);
            border-color: var(--fw-navy);
            color: #fff;
            box-shadow: 0 10px 24px rgba(17,29,66,.18)
        }

        .fw-pagination a[aria-disabled="true"] {
            opacity: .4;
            pointer-events: none
        }

/* Article */
/* No overflow:hidden here (unlike .fw-news-shell, which needs it for its own decorative
   pseudo-elements): .fw-article-shell has none, and overflow:hidden on any ancestor of a
   position:sticky element forces the browser to treat it as non-sticky per spec - this was the
   confirmed cause of .fw-article-aside never actually sticking. */
.fw-article-shell {
    background: linear-gradient(180deg,#f7fbff 0,#fff 30%,#f6f8fc 100%);
    padding: 68px 0 100px;
    position: relative
}

.fw-article-head {
    max-width: 1030px;
    margin: 0 auto 30px;
    text-align: center
}

    .fw-article-head h2 {
        font-size: 44px;
        line-height: 1.35;
        color: var(--fw-navy);
        margin: 0 auto 16px;
        max-width: 980px;
        font-weight: 700;
        overflow-wrap: anywhere
    }

    .fw-article-head .fw-meta {
        justify-content: center;
        margin-bottom: 0
    }

.fw-article-visual {
    max-width: 1120px;
    margin: 36px auto 0;
    border-radius: 30px;
    min-height: 430px;
    background: linear-gradient(135deg,#10204a,#175b8e 56%,#62c2ec);
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(17,29,66,.16)
}

    .fw-article-visual img, .fw-article-visual video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        position: relative;
        z-index: 1;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    }

.fw-article-layout {
    max-width: 1120px;
    margin: -50px auto 0;
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: minmax(0,1fr) 280px;
    gap: 26px;
    align-items: start
}

.rtl .fw-article-layout {
    grid-template-columns: minmax(0,1fr) 280px
}

.fw-article-card {
    background: #fff;
    border-radius: 26px;
    padding: 42px 46px;
    box-shadow: 0 20px 60px rgba(17,29,66,.09);
    border: 1px solid #edf1f6;
    min-width: 0
}

    .fw-article-card .lead {
        font-size: 18px;
        line-height: 2;
        color: #33425f;
        font-weight: 500;
        margin: 0 0 25px;
        overflow-wrap: anywhere
    }

    .fw-article-card p {
        font-size: 15px;
        line-height: 2.05;
        color: #59677e;
        margin: 0 0 22px;
        overflow-wrap: anywhere
    }

    .fw-article-card h2, .fw-article-card h3 {
        color: var(--fw-navy)
    }

    .fw-article-card h2 {
        font-size: 27px;
        line-height: 1.45;
        margin: 34px 0 15px;
        font-weight: 700
    }

    .fw-article-card h3 {
        font-size: 21px;
        margin: 28px 0 12px;
        font-weight: 700
    }

    .fw-article-card ul {
        padding-inline-start: 20px;
        margin: 0 0 22px
    }

    .fw-article-card li {
        font-size: 15px;
        line-height: 1.9;
        color: #59677e;
        margin-bottom: 8px
    }

    .fw-article-card blockquote {
        margin: 32px 0;
        padding: 26px 28px;
        border-radius: 20px;
        background: linear-gradient(135deg,#edf8fe,#f7fbff);
        border-inline-start: 4px solid var(--fw-blue2);
        font-size: 19px;
        line-height: 1.8;
        color: var(--fw-navy);
        font-weight: 600
    }

.fw-article-actions {
    margin-top: 10px
}

.fw-article-aside {
    position: sticky;
    top: 105px;
    margin-top: 72px
}

.fw-aside-card {
    background: #fff;
    border: 1px solid #e7edf5;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 12px 35px rgba(17,29,66,.06);
    margin-bottom: 16px
}

    .fw-aside-card h4 {
        font-size: 15px;
        color: var(--fw-navy);
        font-weight: 700;
        margin: 0 0 15px
    }
/* Article-sharing icons (Facebook/LinkedIn/X/Instagram - see JsPages/BlogDetail.js). Rendered as
   <button type="button"> elements (these trigger a popup/native-share/clipboard action, they never
   navigate this tab), so the selector covers both tags - CSS/JS history: this card originally
   reused JsCommon/ClsSocialLinks.js's CMS-managed company-profile links (rendered as <a>), which is
   why the rule predates the <button> case. flex-wrap + a fixed 40x40 button per icon keeps exactly
   four buttons evenly spaced without overlap, and RTL mirrors for free since flexbox read order
   follows the ancestor's `direction` - no [dir]/.rtl override needed here. */
.fw-share {
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

    .fw-share a, .fw-share button {
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
        border-radius: 11px;
        border: 0;
        background: #f1f6fb;
        color: var(--fw-navy);
        display: flex;
        align-items: center;
        justify-content: center;
        font: inherit;
        cursor: pointer;
        transition: .2s
    }

        .fw-share a:hover, .fw-share button:hover {
            background: var(--fw-navy);
            color: #fff
        }

        .fw-share button:disabled {
            opacity: .6;
            cursor: default
        }

.fw-related {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 0;
    border-bottom: 1px solid #eef2f6;
    min-width: 0
}

    .fw-related:last-child {
        border-bottom: 0;
        padding-bottom: 0
    }

    .fw-related:first-of-type {
        padding-top: 0
    }

    .fw-related img {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
        object-fit: cover;
        border-radius: 10px;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    }

    .fw-related > div {
        width: 100%;
        min-width: 0
    }

    .fw-related a {
        display: block;
        font-size: 12px;
        line-height: 1.55;
        color: #364660;
        font-weight: 600;
        overflow-wrap: anywhere
    }

    .fw-related small {
        display: block;
        color: #97a0b2;
        margin-top: 4px;
        font-size: 10px
    }

@media(max-width:1199px) {
    .fw-news-intro h2 {
        font-size: 37px
    }

    .fw-featured {
        grid-template-columns: 1fr 1fr
    }

    .fw-featured-content {
        padding: 36px 32px
    }

        .fw-featured-content h3 {
            font-size: 27px
        }

    .fw-article-head h2 {
        font-size: 39px
    }

    .fw-article-layout {
        padding: 0 20px
    }
}

@media(max-width:991px) {
    .fw-news-shell {
        padding: 58px 0 78px
    }

    .fw-featured {
        grid-template-columns: 1fr;
        min-height: 0
    }

    .fw-featured-media {
        min-height: 340px
    }

    .fw-news-grid {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    .fw-article-visual {
        margin-left: 20px;
        margin-right: 20px;
        min-height: 350px
    }

    .fw-article-layout {
        grid-template-columns: 1fr;
        margin-top: -36px
    }

    .rtl .fw-article-layout {
        grid-template-columns: 1fr
    }

    .fw-article-aside {
        position: static;
        margin-top: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px
    }

    .fw-aside-card {
        margin-bottom: 0
    }

    .fw-article-head {
        padding: 0 20px
    }

        .fw-article-head h2 {
            font-size: 35px
        }
}

@media(max-width:767px) {
    .fw-news-shell {
        padding: 44px 0 62px
    }

    .fw-news-intro {
        margin-bottom: 28px
    }

        .fw-news-intro h2 {
            font-size: 30px
        }

        .fw-news-intro p {
            font-size: 14px
        }

    .fw-featured {
        border-radius: 21px;
        margin-bottom: 22px
    }

    .fw-featured-media {
        min-height: 250px
    }

    .fw-featured-content {
        padding: 27px 24px
    }

        .fw-featured-content h3 {
            font-size: 25px
        }

    .fw-news-card-body h3 {
        font-size: 20px
    }

        .fw-featured-content p {
            font-size: 15px
        }

    .fw-news-grid {
        grid-template-columns: 1fr;
        gap: 16px
    }

    .fw-news-card-media {
        height: 220px
    }

    .fw-article-shell {
        padding: 46px 0 70px
    }

    .fw-article-head h2 {
        font-size: 29px;
        line-height: 1.5
    }

    .fw-article-head .fw-meta {
        gap: 8px;
        font-size: 11px
    }

    .fw-article-visual {
        min-height: 250px;
        border-radius: 21px;
        margin-top: 25px
    }

    .fw-article-layout {
        padding: 0 14px;
        margin-top: -24px
    }

    .fw-article-card {
        padding: 29px 22px;
        border-radius: 21px
    }

        .fw-article-card .lead {
            font-size: 16px
        }

        .fw-article-card p, .fw-article-card li {
            font-size: 14px;
            line-height: 2
        }

        .fw-article-card h2 {
            font-size: 23px
        }

    .fw-article-aside {
        grid-template-columns: 1fr
    }

    .fw-article-card blockquote {
        font-size: 16px;
        padding: 20px
    }

    .fw-aside-card {
        padding: 19px
    }
}

@media(max-width:480px) {
    .fw-featured-media {
        min-height: 215px
    }

    .fw-featured-content h3 {
        font-size: 23px
    }

    .fw-news-card-media {
        height: 190px
    }

    .fw-article-head h2 {
        font-size: 25px
    }

    .fw-article-visual {
        min-height: 210px
    }

    .fw-article-card {
        padding: 25px 18px
    }

    .fw-featured-badge {
        top: 16px;
        left: 16px
    }

    .rtl .fw-featured-badge {
        right: 16px
    }
}

/* ===== Gallery / video extras =====
   .fw-gallery-section/.fw-video-section reuse .fw-extra-section/.fw-extra-head exactly like the
   comments section below - one shared card language for every .fw-article-extras child. Built by
   JsPages/BlogDetail.js's buildArticleGalleryHtml from MasterNewsInformation.MasterNewsGallery
   (LookupGalleryTypeId 1 = image, 2 = video); neither section is ever rendered with zero items - see
   that function's own "return early" comment. */
.fw-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(150px,1fr));
    gap: 12px
}

.fw-gallery-item {
    position: relative;
    display: block;
    aspect-ratio: 1/1;
    border-radius: 18px;
    overflow: hidden;
    background: #e9eef5;
    min-width: 0;
    cursor: zoom-in
}

    .fw-gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .35s ease,filter .35s ease
    }

    .fw-gallery-zoom {
        position: absolute;
        inset: auto 14px 14px auto;
        width: 38px;
        height: 38px;
        border-radius: 12px;
        background: rgba(17,29,66,.78);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transform: translateY(6px);
        transition: .25s;
        backdrop-filter: blur(8px)
    }

    .rtl .fw-gallery-zoom {
        right: auto;
        left: 14px
    }

    .fw-gallery-item:hover img {
        transform: scale(1.035);
        filter: brightness(.92)
    }

    .fw-gallery-item:hover .fw-gallery-zoom {
        opacity: 1;
        transform: none
    }

.fw-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(260px,1fr));
    gap: 16px
}

.fw-video-card {
    overflow: hidden;
    border: 1px solid #e5ebf3;
    border-radius: 20px;
    background: #f9fbfd
}

.fw-video-frame {
    position: relative;
    aspect-ratio: 16/9;
    background: #101b37;
    overflow: hidden
}

    .fw-video-frame video {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        background: #101b37
    }

@media(max-width:480px) {
    .fw-gallery-grid {
        grid-template-columns: repeat(auto-fill,minmax(120px,1fr))
    }
}

/* ===== Comments extension ===== */
.fw-article-extras {
    max-width: 1120px;
    margin: 38px auto 0;
    padding: 0 0 10px
}

.fw-extra-section {
    background: #fff;
    border: 1px solid #e7edf5;
    border-radius: 26px;
    padding: 30px;
    box-shadow: 0 18px 55px rgba(17,29,66,.065);
    margin-top: 22px
}

.fw-extra-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px
}

    .fw-extra-head h2 {
        margin: 0;
        color: var(--fw-navy);
        font-size: 25px;
        line-height: 1.35;
        font-weight: 700
    }

    .fw-extra-head p {
        margin: 7px 0 0;
        color: #7b8798;
        font-size: 13px;
        line-height: 1.7;
        max-width: 650px
    }

.fw-extra-count {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    padding: 8px 12px;
    border-radius: 999px;
    background: #edf8fe;
    color: #177fb6;
    font-weight: 700;
    font-size: 12px
}

.fw-comments-list {
    display: grid;
    gap: 14px
}

.fw-comment {
    display: grid;
    grid-template-columns: 54px minmax(0,1fr);
    gap: 14px;
    padding: 18px;
    border-radius: 18px;
    background: #f8fbfe;
    border: 1px solid #e7eef6
}

.fw-comment-avatar {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    overflow: hidden;
    background: #dfeaf3;
    box-shadow: 0 5px 14px rgba(17,29,66,.09)
}

    .fw-comment-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover
    }

.fw-comment-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 7px;
    flex-wrap: wrap
}

.fw-comment-name {
    font-size: 14px;
    color: var(--fw-navy);
    font-weight: 700
}

.fw-comment-time {
    font-size: 10px;
    color: #9aa4b4;
    white-space: nowrap
}

.fw-comment-text {
    font-size: 13px;
    line-height: 1.85;
    color: #5e6b7e;
    margin: 0
}

.fw-comment-form {
    margin-top: 20px;
    padding-top: 22px;
    border-top: 1px solid #edf1f5
}

    .fw-comment-form h3 {
        font-size: 19px;
        color: var(--fw-navy);
        margin: 0 0 15px;
        font-weight: 700
    }

.fw-comment-form-note {
    margin: 0 0 15px;
    font-size: 12px;
    color: #7b8798;
    line-height: 1.7
}

.fw-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

.fw-field {
    display: flex;
    flex-direction: column;
    gap: 7px
}

    .fw-field.fw-full {
        grid-column: 1/-1
    }

    .fw-field label {
        font-size: 11px;
        color: #68758a;
        font-weight: 700
    }

    .fw-field input, .fw-field textarea {
        width: 100%;
        border: 1px solid #dfe7f0;
        background: #fbfdff;
        border-radius: 13px;
        padding: 12px 14px;
        color: #263655;
        font-size: 13px;
        outline: none;
        transition: .2s
    }

    .fw-field textarea {
        min-height: 115px;
        resize: vertical;
        line-height: 1.7
    }

        .fw-field input:focus, .fw-field textarea:focus {
            border-color: #72bee5;
            box-shadow: 0 0 0 3px rgba(78,181,231,.12);
            background: #fff
        }

.fw-submit-comment {
    margin-top: 12px;
    border: 0;
    border-radius: 999px;
    padding: 12px 20px;
    background: var(--fw-navy);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(17,29,66,.15)
}

.fw-comment-status {
    margin-top: 10px;
    font-size: 12px;
    font-weight: 600
}

@media(max-width:1199px) {
    .fw-article-extras {
        padding: 0 20px
    }
}

@media(max-width:767px) {
    .fw-article-extras {
        padding: 0 14px;
        margin-top: 26px
    }

    .fw-extra-section {
        padding: 22px 18px;
        border-radius: 21px
    }

    .fw-extra-head {
        align-items: flex-start;
        margin-bottom: 17px
    }

        .fw-extra-head h2 {
            font-size: 21px
        }

    .fw-extra-count {
        font-size: 10px;
        padding: 7px 10px
    }

    .fw-comment {
        grid-template-columns: 44px minmax(0,1fr);
        padding: 15px;
        gap: 11px
    }

    .fw-comment-avatar {
        width: 44px;
        height: 44px;
        border-radius: 13px
    }

    .fw-form-grid {
        grid-template-columns: 1fr
    }

    .fw-field.fw-full {
        grid-column: auto
    }
}

@media(max-width:480px) {
    .fw-extra-head {
        display: block
    }

    .fw-extra-count {
        margin-top: 10px
    }

    .fw-comment-top {
        display: block
    }

    .fw-comment-time {
        display: block;
        margin-top: 3px
    }
}

/* The old .fw-comments-section legacy-classname override block (targeting .comments-area/
   .comment-box/.comment-form-outer/.author-thumb/.comment-info/.text) was removed here:
   JsCommon/ClsComments.js's fwMode (used only by this page, via initComments({fwMode:true, ...}) in
   JsPages/BlogDetail.js) now emits the native .fw-comment/.fw-comment-form markup directly, styled
   by the un-prefixed .fw-comment*/.fw-form-grid/.fw-field/.fw-submit-comment rules above - so
   nothing on this page renders those legacy class names any more. .fw-comments-section itself is
   kept only as the section wrapper class (see .fw-extra-section above); Album/Project detail pages
   never render it and were never affected by the block that stood here. */
