/* Broker Blog CSS — centralized from style.css + archive.php */

/* Broker Blog — Boutique Editorial */
.brk-blog-head{max-width:1180px;margin:36px auto 22px;padding:30px 34px 20px;background:#0e4140;border-radius:22px;color:#fff;text-align:right;box-shadow:0 16px 35px rgba(8,50,49,.12)}
.brk-blog-head h1{margin:0 0 8px;color:#fff;font-size:clamp(28px,3vw,42px);line-height:1.2}.brk-blog-head p{max-width:700px;margin:0 0 19px;color:#e6efed;font-size:16px;line-height:1.8}.brk-blog-tags{display:flex;gap:8px;flex-wrap:wrap;border-top:1px solid rgba(208,166,92,.42);padding-top:16px}.brk-blog-tags a{display:inline-flex;align-items:center;padding:7px 13px;border:1px solid rgba(218,183,112,.68);border-radius:999px;color:#fff!important;font-size:13px;line-height:1.2;text-decoration:none}.brk-blog-tags a:hover{background:#d6ad65;color:#113f3d!important}
.blog-wrap .bt-sidebar-wrap{display:none}.blog-wrap .bt-content-wrap{max-width:1180px!important;flex:0 0 100%!important;width:100%!important;margin:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;padding:0 16px 54px}.blog-wrap .article-wrap{width:auto!important;margin:0!important}.blog-wrap .article-wrap:first-child{grid-column:1/-1}.blog-wrap .article-wrap:first-child .post-wrap{display:grid;grid-template-columns:1.35fr 1fr;min-height:340px}.blog-wrap .article-wrap:first-child .post-thumbnail-wrap{height:100%;min-height:340px}.blog-wrap .article-wrap:first-child .post-inner-wrap{padding:42px 36px;display:flex;flex-direction:column;justify-content:center}.blog-wrap .article-wrap:first-child .post-title-wrap h2{font-size:clamp(25px,2.6vw,38px);line-height:1.35}.blog-wrap .post-wrap{height:100%;overflow:hidden;border:1px solid #eadfce;border-radius:18px;background:#fff;box-shadow:none;transition:transform .2s ease,box-shadow .2s ease}.blog-wrap .post-wrap:hover{transform:translateY(-4px);box-shadow:0 12px 28px rgba(11,54,52,.1)}.blog-wrap .post-thumbnail-wrap{height:250px;overflow:hidden}.blog-wrap .post-thumbnail-wrap img{width:100%;height:100%;object-fit:cover}.blog-wrap .post-inner-wrap{padding:22px 24px 16px}.blog-wrap .post-title-wrap h2{margin:0;color:#103f3d;font-size:21px;line-height:1.5}.blog-wrap .post-title-wrap h2 a{color:inherit!important}.blog-wrap .post-excerpt-wrap{margin-top:8px}.blog-wrap .post-excerpt-wrap p{font-size:14px;line-height:1.75;color:#66716f;margin:0}.blog-wrap .post-footer-wrap{display:none}
@media(max-width:767px){.brk-blog-head{margin:18px 14px 16px;padding:22px 18px 17px;border-radius:16px;text-align:center}.brk-blog-head h1{font-size:27px}.brk-blog-head p{font-size:14px;line-height:1.7}.brk-blog-tags{justify-content:center;gap:7px}.brk-blog-tags a{font-size:12px;padding:6px 10px}.blog-wrap .bt-content-wrap{display:block;padding:0 14px 34px}.blog-wrap .article-wrap{margin-bottom:16px!important}.blog-wrap .article-wrap:first-child .post-wrap{display:block;min-height:0}.blog-wrap .article-wrap:first-child .post-thumbnail-wrap{min-height:0;height:auto}.blog-wrap .post-thumbnail-wrap{height:auto}.blog-wrap .post-thumbnail-wrap img{height:auto;aspect-ratio:16/9;object-fit:cover}.blog-wrap .article-wrap:first-child .post-inner-wrap,.blog-wrap .post-inner-wrap{padding:17px 18px}.blog-wrap .article-wrap:first-child .post-title-wrap h2,.blog-wrap .post-title-wrap h2{font-size:19px}.blog-wrap .post-excerpt-wrap{display:none}}

/* Editorial layout final overrides */
.blog-wrap .bt-content-wrap{grid-template-columns:repeat(2,minmax(0,1fr))!important}.blog-wrap .article-wrap:first-child{grid-column:1/-1!important}.blog-wrap .article-wrap:first-child .post-wrap{display:grid!important;grid-template-columns:1.35fr 1fr!important}.blog-wrap .article-wrap:first-child .post-thumbnail-wrap{height:100%!important;min-height:340px!important}.blog-wrap .article-wrap:first-child .post-inner-wrap{padding:42px 36px!important;display:flex!important;flex-direction:column!important;justify-content:center!important}@media(max-width:767px){.blog-wrap .bt-content-wrap{display:block!important}.blog-wrap .article-wrap:first-child .post-wrap{display:block!important}.blog-wrap .article-wrap:first-child .post-thumbnail-wrap{height:auto!important;min-height:0!important}}

.blog-wrap .bt-content-wrap .article-wrap:first-child > article.post-wrap{display:grid!important;grid-template-columns:1.35fr 1fr!important}
@media(max-width:767px){.blog-wrap .bt-content-wrap .article-wrap:first-child > article.post-wrap{display:block!important}}

/* Blog header simplified */
.brk-blog-head{max-width:1180px!important;margin:22px auto 14px!important;padding:0 16px!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;color:inherit!important}.brk-blog-head h1,.brk-blog-head p{display:none!important}.brk-blog-tags{border-top:0!important;padding-top:0!important;justify-content:center}.brk-blog-tags a{color:#0e4140!important;border-color:#d8c29d!important;background:#fff!important}.brk-blog-tags a:hover{background:#0e4140!important;color:#fff!important}@media(max-width:767px){.brk-blog-head{margin:14px auto 10px!important;padding:0 14px!important}.brk-blog-tags{justify-content:flex-start!important;overflow-x:auto!important;flex-wrap:nowrap!important;padding-bottom:3px!important}.brk-blog-tags a{white-space:nowrap!important}}

/* Former inline archive styles */
body.blog .blog-wrap > .container:before {
                        display: none !important;
                    }

                    .brk-blog-head {
                        margin: 0 0 30px;
                        padding: 34px 42px;
                        border: 1px solid #275a57;
                        border-radius: 24px;
                        background: linear-gradient(120deg, #123a3a, #2f5f5b);
                        box-shadow: 0 18px 42px rgba(18, 58, 58, .16);
                        color: #fff;
                        font-family: Cairo, Tajawal, sans-serif;
                    }

                    .brk-blog-head h1 {
                        margin: 0 0 8px;
                        color: #fff;
                        font-size: 32px;
                        font-weight: 900;
                    }

                    .brk-blog-head p {
                        margin: 0;
                        color: #f2ede4;
                        font-size: 16px;
                        line-height: 1.9;
                    }

                    .brk-blog-tags {
                        display: flex;
                        flex-wrap: wrap;
                        gap: 10px;
                        margin-top: 20px;
                    }

                    .brk-blog-tags a {
                        padding: 8px 14px;
                        border: 1px solid rgba(255, 255, 255, .34);
                        border-radius: 999px;
                        color: #fff !important;
                        background: rgba(255, 255, 255, .08);
                        font-size: 13px;
                        font-weight: 700;
                        text-decoration: none;
                        transition: .2s;
                    }

                    .brk-blog-tags a:hover {
                        background: #b58a55;
                        border-color: #b58a55;
                        color: #fff !important;
                    }

                    @media (max-width: 640px) {
                        .brk-blog-head {
                            padding: 25px 20px;
                            border-radius: 18px;
                        }

                        .brk-blog-head h1 {
                            font-size: 24px;
                        }

                        .brk-blog-head p {
                            font-size: 14px;
                        }

                        .brk-blog-tags {
                            gap: 8px;
                        }

                        .brk-blog-tags a {
                            padding: 7px 11px;
                            font-size: 12px;
                        }
                    }
