.eb07-elementor-shell,.eb07-dynamic,.eb07-hero,.eb07-content-card,.eb07-info-card,.eb07-team,.eb07-books,.eb07-related-depts{font-family:inherit;direction:rtl;color:#183126;box-sizing:border-box}.eb07-elementor-shell *,.eb07-dynamic *,.eb07-hero *,.eb07-content-card *,.eb07-info-card *,.eb07-team *,.eb07-books *,.eb07-related-depts *{box-sizing:border-box}.eb07-container{width:min(1280px,calc(100% - 48px));margin:auto}.eb07-container--article{width:min(980px,calc(100% - 48px))}.eb07-hero{position:relative;overflow:hidden;padding:62px 0;background:linear-gradient(135deg,#fbfdfb,#f1f8f3);border-bottom:1px solid #e7eee9}.eb07-hero:after{content:"";position:absolute;width:330px;height:330px;border-radius:50%;background:color-mix(in srgb,var(--eb07-accent,#148447) 7%,transparent);left:-90px;top:-150px}.eb07-heading{text-align:center;position:relative;z-index:1;margin-bottom:36px}.eb07-heading__eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:850;color:var(--eb07-accent,#148447)}.eb07-heading__eyebrow:before{content:"";width:28px;height:2px;background:var(--eb07-gold,#C99A3D)}.eb07-heading h1{font-size:clamp(32px,4vw,52px);line-height:1.45;margin:12px 0 10px;color:#15281e}.eb07-heading p{max-width:760px;margin:auto;color:#718078;font-size:16px;line-height:2}.eb07-content-card{width:100%;background:#fff;border:1px solid #e0e9e3;border-radius:28px;padding:34px;box-shadow:0 18px 48px rgba(22,54,35,.06)}.eb07-content-card h2{font-size:28px;margin:0 0 22px}.eb07-content-card.is-form form,.eb07-content-card.is-form .quform{background:#f8fbf9;border:1px solid #e0ebe4;border-radius:20px;padding:24px}.eb07-content-card.is-form input,.eb07-content-card.is-form select,.eb07-content-card.is-form textarea{min-height:48px;border:1px solid #d4e2d8!important;border-radius:12px!important;background:#fff!important}.eb07-content-card.is-form textarea{min-height:130px}.eb07-content-card.is-form button,.eb07-content-card.is-form input[type=submit]{background:var(--eb07-accent,#148447)!important;color:#fff!important;border:0!important;border-radius:12px!important;padding:12px 20px!important}.eb07-prose{font-size:16px;line-height:2.15;color:#46564d}.eb07-prose h2,.eb07-prose h3,.eb07-prose h4{color:#173226;line-height:1.7;margin-top:1.6em}.eb07-prose img{max-width:100%;height:auto;border-radius:18px}.eb07-prose iframe{width:100%;min-height:360px;border:0;border-radius:18px}.eb07-prose a{color:var(--eb07-accent,#148447);font-weight:750}.eb07-info-card{height:100%;background:linear-gradient(145deg,var(--eb07-accent,#145c37),#0f4d2d);color:#fff;border-radius:28px;padding:34px;box-shadow:0 18px 50px color-mix(in srgb,var(--eb07-accent,#145c37) 18%,transparent)}.eb07-info-card__badge{display:inline-flex;border:1px solid rgba(255,255,255,.42);border-radius:999px;padding:6px 11px;font-size:11px}.eb07-info-card h2{font-size:30px;line-height:1.6;margin:18px 0 10px}.eb07-info-card p{font-size:14px;line-height:2;color:rgba(255,255,255,.88)}.eb07-info-list{display:grid;gap:8px;margin:18px 0}.eb07-info-list div{background:rgba(255,255,255,.1);padding:10px 12px;border-radius:11px;font-size:12px}.eb07-btn{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:11px 18px;font-weight:850;text-decoration:none!important}.eb07-btn--light{background:#fff;color:var(--eb07-accent,#148447)!important}.eb07-btn--outline{border:1px solid #cfe0d5;color:var(--eb07-accent,#148447)!important;background:#fff}.eb07-related-depts{padding:28px 0}.eb07-related-depts h2,.eb07-block-heading h2,.eb07-related h2{font-size:30px;text-align:center;margin:0 0 22px}.eb07-dept-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.eb07-dept-grid a{display:flex;flex-direction:column;min-height:155px;padding:24px;border-radius:22px;border:1px solid #e0e8e3;background:#fff;color:#1c3428;text-decoration:none}.eb07-dept-grid a>span{color:var(--eb07-gold,#C99A3D);font-size:20px}.eb07-dept-grid strong{font-size:17px;margin:10px 0}.eb07-dept-grid em{font-style:normal;color:var(--eb07-accent,#148447);font-size:12px;margin-top:auto}.eb07-team,.eb07-books{width:min(1280px,100%);margin:auto;padding:10px 0}.eb07-block-heading{text-align:center;margin-bottom:26px}.eb07-block-heading p{color:#7b8880}.eb07-team-grid{display:grid;grid-template-columns:repeat(var(--eb07-cols,4),minmax(0,1fr));gap:18px}.eb07-team-card{background:#fff;border:1px solid #dfe8e2;border-radius:24px;overflow:hidden;box-shadow:0 12px 34px rgba(22,54,35,.05);display:flex;flex-direction:column}.eb07-team-photo{display:block;height:300px;background:#eef4f0;overflow:hidden}.eb07-team-photo img,.eb07-team-photo .ebip-media-img{width:100%;height:100%;object-fit:cover}.eb07-team-body{padding:18px;display:flex;flex-direction:column;flex:1}.eb07-team-body>span{font-size:11px;color:var(--eb07-accent,#148447);font-weight:850}.eb07-team-body h3{font-size:19px;margin:5px 0 8px}.eb07-team-body h3 a{color:#183126;text-decoration:none}.eb07-team-body p{font-size:13px;line-height:1.9;color:#6f7c74}.eb07-link{margin-top:auto;color:var(--eb07-accent,#148447)!important;font-size:12px;font-weight:850}.eb07-book-tabs,.eb07-chips{display:flex;gap:9px;flex-wrap:wrap;justify-content:center;margin:0 0 24px}.eb07-book-tabs button,.eb07-chips a{border:1px solid #d8e5dc;background:#fff;color:#314a3d;border-radius:999px;padding:9px 15px;font-size:12px;font-weight:800;text-decoration:none;cursor:pointer}.eb07-book-tabs button.is-active,.eb07-chips a.is-active{background:var(--eb07-accent,#148447);border-color:var(--eb07-accent,#148447);color:#fff}.eb07-book-panel{display:none;background:#fff;border:1px solid #e0e8e3;border-radius:26px;padding:28px}.eb07-book-panel.is-active{display:block}.eb07-book-panel h3{font-size:24px;margin:0 0 18px}.eb07-book-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.eb07-book-grid a{display:flex;align-items:center;gap:10px;min-height:78px;padding:15px;border:1px solid #e2ebe5;border-radius:16px;text-decoration:none;color:#1e362a;background:#fbfdfb}.eb07-book-grid a:hover{border-color:var(--eb07-accent,#148447);box-shadow:0 10px 24px rgba(22,54,35,.07)}.eb07-book-grid span{font-size:20px}.eb07-book-grid strong{font-size:14px}.eb07-book-grid em{font-style:normal;color:var(--eb07-accent,#148447);font-size:10px;margin-right:auto}.eb07-dynamic{padding:56px 0 72px;background:#fff}.eb07-dynamic>.eb07-container>.eb07-heading{margin-bottom:28px}.eb07-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.eb07-news-card,.eb07-report-card{background:#fff;border:1px solid #dfe8e2;border-radius:24px;overflow:hidden;box-shadow:0 12px 32px rgba(21,53,34,.05)}.eb07-news-card.is-featured{grid-column:1/-1;display:grid;grid-template-columns:1.25fr .75fr;min-height:410px}.eb07-news-media,.eb07-report-media{display:block;position:relative;height:230px;overflow:hidden;background:#eef3ef}.eb07-news-card.is-featured .eb07-news-media{height:100%;min-height:410px}.eb07-news-media img,.eb07-report-media img,.eb07-news-media .ebip-media-img,.eb07-report-media .ebip-media-img{width:100%;height:100%;object-fit:cover}.eb07-news-body,.eb07-report-body{padding:22px}.eb07-news-card.is-featured .eb07-news-body{display:flex;flex-direction:column;justify-content:center;padding:38px}.eb07-news-body h2,.eb07-report-body h2{font-size:21px;line-height:1.65;margin:7px 0 10px}.eb07-news-card.is-featured h2{font-size:32px}.eb07-news-body h2 a,.eb07-report-body h2 a{color:#183126;text-decoration:none}.eb07-news-body p,.eb07-report-body p{color:#6e7c73;line-height:1.95;font-size:14px}.eb07-meta{font-size:11px;color:#8b978f}.eb07-report-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.eb07-report-media span{position:absolute;right:14px;bottom:14px;background:var(--eb07-accent,#148447);color:#fff;border-radius:999px;padding:7px 11px;font-size:10px;font-weight:800}.eb07-pagination{text-align:center;margin-top:32px}.eb07-pagination .page-numbers{display:inline-flex;min-width:38px;height:38px;align-items:center;justify-content:center;border:1px solid #d9e5dd;border-radius:10px;margin:3px;color:#274333}.eb07-pagination .current{background:var(--eb07-accent,#148447);color:#fff;border-color:var(--eb07-accent,#148447)}.eb07-back{display:inline-flex;margin:0 0 18px;color:var(--eb07-accent,#148447)!important;font-weight:850}.eb07-article{background:#fff;border:1px solid #dfe8e2;border-radius:28px;overflow:hidden;box-shadow:0 16px 44px rgba(22,54,35,.05)}.eb07-article-media{max-height:680px;overflow:hidden;background:#f4f7f5}.eb07-article-media img,.eb07-article-media .ebip-media-img{width:100%;height:auto;max-height:680px;object-fit:contain;display:block;margin:auto}.eb07-article-meta{display:flex;gap:10px;padding:20px 34px 0}.eb07-article-meta span{background:#f2f7f4;color:#607067;border-radius:999px;padding:6px 10px;font-size:11px}.eb07-article>.eb07-prose{padding:28px 36px 40px}.eb07-related{margin-top:42px}.eb07-mini-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.eb07-mini{border:1px solid #dfe8e2;border-radius:18px;overflow:hidden;text-decoration:none;color:#1d3529;background:#fff}.eb07-mini img,.eb07-mini .ebip-media-img{width:100%;height:180px;object-fit:cover}.eb07-mini strong{display:block;padding:14px;font-size:14px;line-height:1.7}.eb07-gallery-single{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px;background:#f7faf8}.eb07-gallery-single a:first-child{grid-column:1/-1}.eb07-gallery-single img{width:100%;height:330px;object-fit:cover;border-radius:16px}.eb07-gallery-single a:first-child img{height:auto;max-height:680px;object-fit:contain}.eb07-profile{display:grid;grid-template-columns:380px 1fr;gap:38px;align-items:start}.eb07-profile-photo{border-radius:28px;overflow:hidden;background:#eef4f0;box-shadow:0 16px 44px rgba(22,54,35,.07)}.eb07-profile-photo img,.eb07-profile-photo .ebip-media-img{width:100%;height:auto;max-height:620px;object-fit:cover}.eb07-profile-copy{padding:22px 0}.eb07-profile-label{display:inline-flex;background:#eef8f1;color:var(--eb07-accent,#148447);padding:7px 11px;border-radius:999px;font-size:11px;font-weight:850}.eb07-profile-copy h1{font-size:42px;line-height:1.45;margin:10px 0 18px}.eb07-profile-info{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:24px}.eb07-profile-info>div{border:1px solid #dfe8e2;border-radius:14px;padding:13px;background:#fff}.eb07-profile-info span{display:block;font-size:10px;color:#89958d}.eb07-profile-info strong{font-size:13px}.eb07-elementor-shell .elementor-section,.eb07-elementor-shell .e-con{--padding-top:0;--padding-bottom:0}.eb07-elementor-shell .elementor-widget-eb07_page_hero>.elementor-widget-container{width:100%}
@media(max-width:1100px){.eb07-team-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.eb07-dept-grid,.eb07-book-grid,.eb07-report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.eb07-news-card.is-featured{grid-template-columns:1fr 1fr}.eb07-profile{grid-template-columns:320px 1fr}}
@media(max-width:767px){.eb07-container,.eb07-container--article{width:calc(100% - 24px)}.eb07-hero{padding:38px 0}.eb07-heading{margin-bottom:24px}.eb07-heading h1{font-size:29px}.eb07-heading p{font-size:13px}.eb07-content-card{padding:20px 16px;border-radius:20px}.eb07-prose{font-size:14px;line-height:2}.eb07-info-card{padding:26px;border-radius:22px}.eb07-info-card h2{font-size:25px}.eb07-dept-grid,.eb07-team-grid,.eb07-book-grid,.eb07-news-grid,.eb07-report-grid,.eb07-mini-grid{grid-template-columns:1fr}.eb07-team-photo{height:340px}.eb07-book-tabs,.eb07-chips{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;padding-bottom:5px;scrollbar-width:none}.eb07-book-tabs::-webkit-scrollbar,.eb07-chips::-webkit-scrollbar{display:none}.eb07-book-tabs button,.eb07-chips a{flex:0 0 auto}.eb07-book-panel{padding:18px 14px}.eb07-news-card.is-featured{grid-column:auto;display:block;min-height:0}.eb07-news-card.is-featured .eb07-news-media{height:240px;min-height:0}.eb07-news-card.is-featured .eb07-news-body{padding:20px}.eb07-news-card.is-featured h2{font-size:22px}.eb07-dynamic{padding:34px 0 48px}.eb07-article-meta{padding:14px 16px 0}.eb07-article>.eb07-prose{padding:20px 16px 26px}.eb07-gallery-single{grid-template-columns:1fr;padding:8px}.eb07-gallery-single a:first-child{grid-column:auto}.eb07-gallery-single img,.eb07-gallery-single a:first-child img{height:auto;max-height:none}.eb07-profile{grid-template-columns:1fr;gap:16px}.eb07-profile-copy{padding:4px}.eb07-profile-copy h1{font-size:31px}.eb07-profile-info{grid-template-columns:1fr}.eb07-prose iframe{min-height:280px}}
.eb07-content-card.is-contact{max-width:1180px;margin:auto}.eb07-contact-copy{margin-bottom:24px}.eb07-map-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:24px}.eb07-map-card{overflow:hidden;border:1px solid #dfe8e2;border-radius:22px;background:#f6f9f7;min-height:340px}.eb07-map-card iframe{display:block;width:100%!important;height:100%!important;min-height:340px!important;border:0!important}.eb07-content-card.is-about{max-width:1100px;margin:auto}.eb07-content-card.is-about .eb07-prose{font-size:16px;line-height:2.2}
@media(max-width:767px){.eb07-map-grid{grid-template-columns:1fr}.eb07-map-card,.eb07-map-card iframe{min-height:300px!important}}

/* ==========================================================
   v0.7.1 — Compact scale + Elementor control fixes
   The goal is a true layout recalibration (not CSS zoom/scale),
   so text stays sharp and responsive breakpoints remain reliable.
   ========================================================== */
.eb07-hero{padding:44px 0}
.eb07-hero .eb07-container{width:min(1180px,calc(100% - 48px))}
.eb07-hero .eb07-heading{margin-bottom:0}
.eb07-hero .eb07-heading h1{font-size:clamp(30px,3.1vw,42px);margin:9px 0 7px;line-height:1.45}
.eb07-hero .eb07-heading p{font-size:14px;line-height:1.9;max-width:700px}
.eb07-hero .eb07-heading__eyebrow{font-size:12px}

.eb07-content-card{max-width:920px;margin-inline:auto;padding:26px 28px;border-radius:22px;box-shadow:0 12px 34px rgba(22,54,35,.045)}
.eb07-content-card.is-wide{max-width:1180px}
.eb07-content-card h2{font-size:24px;margin:0 0 18px}
.eb07-prose{font-size:14.5px;line-height:2;color:#46564d}
.eb07-prose h1{font-size:28px!important;line-height:1.6!important}
.eb07-prose h2{font-size:23px!important;line-height:1.65!important}
.eb07-prose h3{font-size:19px!important;line-height:1.7!important}
.eb07-prose h4{font-size:17px!important;line-height:1.7!important}
.eb07-prose p,.eb07-prose li{line-height:2}
.eb07-prose img{max-height:440px;width:auto;max-width:100%;object-fit:contain;display:block;margin:18px auto;border-radius:16px}

/* Legacy content often contains large inline spacers. Neutralize them only
   inside our editable legacy wrappers, without touching Elementor sections. */
.eb07-content-card.is-about .eb07-prose>div,
.eb07-content-card.is-contact .eb07-contact-copy>div,
.eb07-content-card.is-form .eb07-prose>div{min-height:0!important;height:auto!important;max-height:none!important;margin-top:0!important;margin-bottom:16px!important;padding-top:0!important;padding-bottom:0!important}
.eb07-content-card.is-about .eb07-prose>p,
.eb07-content-card.is-contact .eb07-contact-copy>p,
.eb07-content-card.is-form .eb07-prose>p{margin-top:0!important;margin-bottom:14px!important}
.eb07-content-card.is-about{max-width:1040px}
.eb07-content-card.is-about .eb07-prose{font-size:14.5px;line-height:2.05}
.eb07-content-card.is-about .eb07-prose img{max-height:380px}
.eb07-content-card.is-about .eb07-prose figure{margin:20px auto!important;max-width:850px}

.eb07-content-card.is-contact{max-width:1100px}
.eb07-contact-copy{font-size:14.5px;margin-bottom:18px}
.eb07-contact-copy img{max-height:180px}
.eb07-map-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}
.eb07-map-card{min-height:260px;border-radius:18px}
.eb07-map-card iframe{min-height:260px!important}

.eb07-content-card.is-form{max-width:1080px}
.eb07-content-card.is-form form,.eb07-content-card.is-form .quform{padding:20px;border-radius:18px}
.eb07-content-card.is-form input,.eb07-content-card.is-form select{min-height:43px!important}
.eb07-content-card.is-form textarea{min-height:110px!important}
.eb07-content-card.is-form .eb07-prose>h1,
.eb07-content-card.is-form .eb07-prose>h2:first-child{display:none}

.eb07-info-card{border-radius:22px;padding:28px;box-shadow:0 12px 34px rgba(20,92,55,.12)}
.eb07-info-card h2{font-size:26px;line-height:1.55;margin:14px 0 8px}
.eb07-info-card p{font-size:13px;line-height:1.9}
.eb07-info-list{gap:7px;margin:15px 0}
.eb07-info-list div{padding:9px 11px;font-size:11.5px}
.eb07-info-card__badge{font-size:10px;padding:5px 10px}

.eb07-block-heading{margin-bottom:22px}
.eb07-block-heading h2,.eb07-related-depts h2{font-size:26px;margin-bottom:8px}
.eb07-block-heading p{font-size:13px;margin:0}

.eb07-team{width:min(1180px,100%)}
.eb07-team-grid{gap:16px}
.eb07-team-card{border-radius:20px;box-shadow:0 9px 25px rgba(22,54,35,.045)}
.eb07-team-photo{height:240px}
.eb07-team-photo img,.eb07-team-photo .ebip-media-img{object-position:center top}
.eb07-team-photo .ebip-media-fallback{height:100%;display:grid;place-items:center;background:linear-gradient(145deg,#edf5f0,#f9fbfa);color:#72907e;font-weight:800}
.eb07-team-body{padding:15px 16px 17px}
.eb07-team-body>span{font-size:10.5px}
.eb07-team-body h3{font-size:17px;margin:5px 0 7px}
.eb07-team-body p{font-size:12.5px;line-height:1.85;margin:0 0 13px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:69px}
.eb07-link{font-size:11.5px}

.eb07-books{width:min(1120px,100%)}
.eb07-book-tabs{margin-bottom:18px}
.eb07-book-tabs button{padding:8px 14px;font-size:11.5px}
.eb07-book-panel{padding:22px;border-radius:20px}
.eb07-book-panel h3{font-size:21px;margin-bottom:14px}
.eb07-book-grid{grid-template-columns:repeat(var(--eb07-book-cols,3),minmax(0,1fr));gap:12px}
.eb07-book-grid a{min-height:66px;padding:12px 14px;border-radius:14px}
.eb07-book-grid span{font-size:18px}
.eb07-book-grid strong{font-size:13px}
.eb07-book-grid em{font-size:9.5px}

/* Team single: compact, readable and card-based instead of oversized text. */
.eb07-team-single{padding:38px 0 58px}
.eb07-profile-wrap{max-width:1080px}
.eb07-profile{--eb07-profile-photo:310px;grid-template-columns:var(--eb07-profile-photo) minmax(0,1fr);gap:28px;max-width:1080px;margin:auto;padding:24px;border:1px solid #e0e8e3;border-radius:24px;background:linear-gradient(145deg,#fff,#fbfdfb);box-shadow:0 12px 34px rgba(22,54,35,.045)}
.eb07-profile-photo{border-radius:20px;box-shadow:none;position:sticky;top:110px}
.eb07-profile-photo img,.eb07-profile-photo .ebip-media-img{width:100%;height:auto;max-height:460px;object-fit:cover;object-position:center top}
.eb07-profile-copy{padding:4px 0}
.eb07-profile-label{padding:6px 10px;font-size:10px}
.eb07-profile-copy h1{font-size:34px;line-height:1.4;margin:8px 0 16px}
.eb07-profile-copy .eb07-prose{font-size:14px;line-height:1.95}
.eb07-profile-copy .eb07-prose h2,.eb07-profile-copy .eb07-prose h3{font-size:20px!important;margin:25px 0 11px!important;padding:0 0 8px;border-bottom:1px solid #e8eee9}
.eb07-profile-copy .eb07-prose ul,.eb07-profile-copy .eb07-prose ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 22px;margin:8px 0 16px;padding-right:20px}
.eb07-profile-copy .eb07-prose li{font-size:13.5px;line-height:1.9}
.eb07-profile-info{gap:9px;margin-top:18px}
.eb07-profile-info>div{padding:11px 12px;border-radius:12px}

/* In Elementor editor, keep the same calibrated scale instead of inheriting
   oversized legacy typography from the old theme. */
.elementor-editor-active .eb07-content-card .eb07-prose [style*="font-size"]{font-size:inherit!important}
.elementor-editor-active .eb07-content-card .eb07-prose [style*="min-height"]{min-height:0!important}

@media(max-width:1100px){
 .eb07-team-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .eb07-profile{--eb07-profile-photo:280px;gap:22px}
 .eb07-book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:767px){
 .eb07-hero{padding:30px 0}
 .eb07-hero .eb07-container{width:calc(100% - 24px)}
 .eb07-hero .eb07-heading h1{font-size:29px}
 .eb07-content-card,.eb07-content-card.is-wide,.eb07-content-card.is-about,.eb07-content-card.is-contact,.eb07-content-card.is-form{max-width:100%;padding:18px 16px}
 .eb07-prose{font-size:14px;line-height:1.95}
 .eb07-info-card{padding:22px 20px}
 .eb07-info-card h2{font-size:23px}
 .eb07-team-grid{grid-template-columns:1fr}
 .eb07-team-photo{height:300px}
 .eb07-team-body p{min-height:0}
 .eb07-book-panel{padding:16px 12px}
 .eb07-book-grid{grid-template-columns:1fr}
 .eb07-map-grid{grid-template-columns:1fr}
 .eb07-map-card,.eb07-map-card iframe{min-height:230px!important}
 .eb07-team-single{padding:24px 0 40px}
 .eb07-profile{grid-template-columns:1fr;gap:16px;padding:14px;border-radius:20px}
 .eb07-profile-photo{position:static;max-width:320px;margin:auto}
 .eb07-profile-copy h1{font-size:29px}
 .eb07-profile-copy .eb07-prose ul,.eb07-profile-copy .eb07-prose ol{grid-template-columns:1fr}
}

/* ==========================================================
   v0.7.3 — Dabestan News Archive / Elementor Studio
   Scoped only to the dynamic /اخبار/ template.
   Compact editorial scale, full-image mode by default and
   every visual choice is exposed through Elementor controls.
   ========================================================== */
.eb07-news-archive{direction:rtl;color:#183126;position:relative;overflow:hidden;background:#fff}
.eb07-news-archive:before{content:"";position:absolute;inset:0 0 auto 0;height:168px;background:linear-gradient(180deg,color-mix(in srgb,var(--eb07-accent,#148447) 3%,#fff),#fff);pointer-events:none}
.eb07-news-archive__inner{position:relative;z-index:1;width:calc(100% - 32px);max-width:1040px;margin-inline:auto}
.eb07-news-archive__heading{text-align:center;margin:0 0 18px}
.eb07-news-archive__eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--eb07-accent,#148447);font-size:11px;font-weight:850;letter-spacing:-.1px}
.eb07-news-archive__eyebrow:after{content:"";width:24px;height:2px;border-radius:9px;background:var(--eb07-gold,#C99A3D)}
.eb07-news-archive__heading h1{margin:8px 0 7px;font-size:34px;line-height:1.42;letter-spacing:-1px;color:#163126}
.eb07-news-archive__heading p{max-width:620px;margin:0 auto;color:#87938c;font-size:13px;line-height:1.8}
.eb07-news-archive__chips{display:flex;justify-content:center;gap:7px;flex-wrap:wrap;margin:0 0 22px}
.eb07-news-archive__chips a{display:inline-flex;align-items:center;justify-content:center;min-height:33px;padding:6px 12px;border:1px solid #dce7df;border-radius:999px;background:rgba(255,255,255,.96);color:#385044;text-decoration:none;font-size:10.5px;font-weight:800;transition:.18s ease}
.eb07-news-archive__chips a:hover{border-color:color-mix(in srgb,var(--eb07-accent,#148447) 45%,#dce7df);color:var(--eb07-accent,#148447);transform:translateY(-1px)}
.eb07-news-archive__chips a.is-active{background:var(--eb07-accent,#148447);border-color:var(--eb07-accent,#148447);color:#fff;box-shadow:0 7px 18px color-mix(in srgb,var(--eb07-accent,#148447) 16%,transparent)}
.eb07-news-archive__grid{display:grid;grid-template-columns:repeat(var(--eb07-news-cols,3),minmax(0,1fr));gap:16px;align-items:stretch}
.eb07-news-archive__card{position:relative;min-width:0;overflow:hidden;border:1px solid #e0e9e3;border-radius:20px;background:#fff;box-shadow:0 7px 24px rgba(22,54,35,.045);display:flex;flex-direction:column;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.eb07-news-archive__card:before{content:"";position:absolute;z-index:3;inset:0 0 auto 0;height:3px;background:linear-gradient(90deg,var(--eb07-accent,#148447),var(--eb07-gold,#C99A3D));opacity:.62}
.eb07-news-archive__card:hover{transform:translateY(-3px);border-color:color-mix(in srgb,var(--eb07-accent,#148447) 28%,#e0e9e3);box-shadow:0 13px 30px rgba(22,54,35,.075)}
.eb07-news-archive__media{display:flex;align-items:center;justify-content:center;width:100%;height:178px;overflow:hidden;background:linear-gradient(145deg,#f1f6f3,#fafcfb);text-decoration:none}
.eb07-news-archive__media img,.eb07-news-archive__media .ebip-media-img{display:block;width:100%;height:100%;object-fit:contain;object-position:var(--eb07-news-position,center center);transition:transform .28s ease}
.eb07-news-archive.is-image-contain .eb07-news-archive__media img,.eb07-news-archive.is-image-contain .eb07-news-archive__media .ebip-media-img{object-fit:contain}
.eb07-news-archive.is-image-cover .eb07-news-archive__media img,.eb07-news-archive.is-image-cover .eb07-news-archive__media .ebip-media-img{object-fit:cover}
.eb07-news-archive.is-image-smart .eb07-news-archive__media.is-landscape img,.eb07-news-archive.is-image-smart .eb07-news-archive__media.is-landscape .ebip-media-img{object-fit:cover}
.eb07-news-archive.is-image-smart .eb07-news-archive__media.is-portrait img,.eb07-news-archive.is-image-smart .eb07-news-archive__media.is-portrait .ebip-media-img,
.eb07-news-archive.is-image-smart .eb07-news-archive__media.is-square img,.eb07-news-archive.is-image-smart .eb07-news-archive__media.is-square .ebip-media-img{object-fit:contain}
.eb07-news-archive__card:hover .eb07-news-archive__media.is-landscape img{transform:scale(1.022)}
.eb07-news-archive__media .ebip-media-fallback{width:100%;height:100%;display:grid;place-items:center;background:linear-gradient(145deg,#eef5f0,#fafcfb);color:#6d8778;font-size:13px;font-weight:850}
.eb07-news-archive__body{display:flex;flex:1;flex-direction:column;padding:15px 16px 16px;min-width:0}
.eb07-news-archive__meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-bottom:6px;color:#87938c;font-size:10px;line-height:1.45}
.eb07-news-archive__meta span{color:var(--eb07-accent,#148447);font-weight:800}
.eb07-news-archive__meta span+time:before{content:"•";margin-left:6px;color:#b7c1bb}
.eb07-news-archive__body h2{margin:0 0 7px;font-size:17.5px;line-height:1.62;letter-spacing:-.3px}
.eb07-news-archive__body h2 a{color:#183126;text-decoration:none}
.eb07-news-archive__body p{margin:0 0 13px;color:#6e7c73;font-size:12.8px;line-height:1.82;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.eb07-news-archive__button{display:inline-flex;align-items:center;gap:7px;margin-top:auto;align-self:flex-start;min-height:32px;padding:6px 11px;border:1px solid #d7e5dc;border-radius:999px;color:var(--eb07-accent,#148447)!important;background:#fff;text-decoration:none!important;font-size:10.5px;font-weight:850;transition:.18s ease}
.eb07-news-archive__button:hover{background:var(--eb07-accent,#148447);border-color:var(--eb07-accent,#148447);color:#fff!important}

/* Professional featured story: full-row only on the page where it is enabled. */
.eb07-news-archive__card.is-featured{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(280px,.92fr);min-height:0;align-items:stretch}
.eb07-news-archive__card.is-featured .eb07-news-archive__media{height:270px;min-height:270px;border-radius:0;background:linear-gradient(145deg,#eef4f0,#f9fbfa)}
.eb07-news-archive__card.is-featured .eb07-news-archive__body{justify-content:center;padding:24px 26px}
.eb07-news-archive__card.is-featured .eb07-news-archive__meta{margin-bottom:8px}
.eb07-news-archive__card.is-featured .eb07-news-archive__body h2{font-size:24px;line-height:1.55;margin-bottom:9px}
.eb07-news-archive__card.is-featured .eb07-news-archive__body p{-webkit-line-clamp:3;font-size:13px;max-width:470px;margin-bottom:15px}
.eb07-news-archive.featured-image-left .eb07-news-archive__card.is-featured{direction:ltr}
.eb07-news-archive.featured-image-left .eb07-news-archive__card.is-featured .eb07-news-archive__body{direction:rtl}

/* With 10 regular stories in a 3-column desktop grid, keep the lone final card centered. */
.eb07-news-archive__grid.has-single-orphan-desktop>.eb07-news-archive__card:last-child{grid-column:2}

.eb07-news-archive__empty{grid-column:1/-1;padding:38px 18px;border:1px dashed #d7e4db;border-radius:18px;text-align:center;color:#708078;background:#fbfdfb}
.eb07-news-archive__pagination{display:flex;justify-content:center;align-items:center;gap:6px;flex-wrap:wrap;margin-top:28px}
.eb07-news-archive__pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;padding:0 10px;border:1px solid #dae6de;border-radius:999px;background:#fff;color:#345043;text-decoration:none;font-size:10.5px;font-weight:800;box-shadow:0 3px 10px rgba(22,54,35,.025);transition:.18s ease}
.eb07-news-archive__pagination a.page-numbers:hover{border-color:color-mix(in srgb,var(--eb07-accent,#148447) 45%,#dae6de);color:var(--eb07-accent,#148447);transform:translateY(-1px)}
.eb07-news-archive__pagination .page-numbers.current{background:var(--eb07-accent,#148447);border-color:var(--eb07-accent,#148447);color:#fff;box-shadow:0 7px 18px color-mix(in srgb,var(--eb07-accent,#148447) 15%,transparent)}
.eb07-news-archive__pagination .prev,.eb07-news-archive__pagination .next{padding-inline:13px}

/* Elementor editor: true CSS size, no synthetic zoom. */
.elementor-editor-active .eb07-news-archive{transform:none!important;zoom:1!important}
.elementor-editor-active .eb07-news-archive__inner{width:calc(100% - 32px)}

@media(max-width:1024px){
 .eb07-news-archive__grid{grid-template-columns:repeat(var(--eb07-news-cols-tablet,2),minmax(0,1fr))}
 .eb07-news-archive__grid.has-single-orphan-desktop>.eb07-news-archive__card:last-child{grid-column:auto}
 .eb07-news-archive__card.is-featured{grid-column:1/-1;grid-template-columns:1fr 1fr;min-height:0}
 .eb07-news-archive__card.is-featured .eb07-news-archive__media{height:245px;min-height:245px}
 .eb07-news-archive__heading h1{font-size:31px}
}
@media(max-width:767px){
 .eb07-news-archive__inner{width:calc(100% - 24px)!important}
 .eb07-news-archive__heading{margin-bottom:18px}
 .eb07-news-archive__heading h1{font-size:29px;letter-spacing:-.7px;margin-top:7px}
 .eb07-news-archive__heading p{font-size:12.5px}
 .eb07-news-archive__chips{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;padding:0 1px 7px;margin-bottom:18px;scrollbar-width:none}
 .eb07-news-archive__chips::-webkit-scrollbar{display:none}
 .eb07-news-archive__chips a{flex:0 0 auto;min-height:33px;padding:6px 12px;font-size:10.5px}
 .eb07-news-archive__grid{grid-template-columns:repeat(var(--eb07-news-cols-mobile,1),minmax(0,1fr))}
 .eb07-news-archive__card.is-featured{grid-column:auto;display:flex;min-height:0;direction:rtl!important}
 .eb07-news-archive__card.is-featured .eb07-news-archive__media{height:205px;min-height:0}
 .eb07-news-archive__card.is-featured .eb07-news-archive__body{padding:15px}
 .eb07-news-archive__card.is-featured .eb07-news-archive__body h2{font-size:18.5px}
 .eb07-news-archive__body{padding:14px}
 .eb07-news-archive__media{height:198px}
}


/* 0.7.8 — Refined single-news reading experience + stronger related-news heading hierarchy */
.eb07-news-single{background:linear-gradient(180deg,#fff 0,#fbfcfb 100%);padding:30px 0 54px}
.eb07-news-single__wrap{width:calc(100% - 48px);margin:auto}
.eb07-news-single__intro{text-align:center;max-width:850px;margin:0 auto 22px}
.eb07-news-single__kicker{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;color:#7b877f;font-size:11.5px;margin-bottom:9px}
.eb07-news-single__category{display:inline-flex;align-items:center;gap:8px;color:var(--eb07-accent,#148447);font-weight:850}
.eb07-news-single__category:after{content:"";display:inline-block;width:24px;height:2px;background:var(--eb07-gold,#C99A3D);border-radius:999px}
.eb07-news-single__category-link{color:inherit!important;text-decoration:none!important;font-weight:inherit}.eb07-news-single__category-link:hover{color:var(--eb07-accent,#148447)!important;text-decoration:underline!important;text-underline-offset:3px}
.eb07-news-single__title{margin:0 auto;color:#17291f;font-size:34px;line-height:1.58;font-weight:900;letter-spacing:-.012em;text-wrap:balance}
.eb07-news-single__back{display:inline-flex;align-items:center;margin-top:12px;color:var(--eb07-accent,#148447)!important;font-size:11.5px;font-weight:850;text-decoration:none!important;border-bottom:1px solid transparent}
.eb07-news-single__back:hover{border-bottom-color:currentColor}
.eb07-news-single__article{overflow:hidden;border:1px solid #dfe8e2;background:#fff;box-shadow:0 16px 42px rgba(22,54,35,.05);border-radius:22px}
.eb07-news-single__media{padding:24px 24px 20px;background:linear-gradient(180deg,#f6f9f7 0,#f2f6f3 100%);border-bottom:1px solid #e8eee9}
.eb07-news-single__media-inner{width:100%;margin:auto;display:flex;align-items:center;justify-content:center;min-height:0}
.eb07-news-single__media img,.eb07-news-single__media .ebip-media-img{display:block;width:100%;height:auto;max-height:430px;object-fit:var(--eb07-news-fit,contain);object-position:center;margin:auto;border-radius:12px;box-shadow:0 8px 24px rgba(18,39,25,.045)}
.eb07-news-single__media .ebip-media-fallback{width:100%;min-height:260px;border-radius:12px}
.eb07-news-single__content-inner{width:100%;margin:auto;padding:28px 34px 36px}
.eb07-news-single__meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0 0 20px}
.eb07-news-single__meta span{display:inline-flex;padding:6px 11px;border-radius:999px;background:#f3f7f4;color:#647269;font-size:10.5px;font-weight:800}
.eb07-news-single__prose{font-size:15.5px;line-height:2.12;color:#3a4a40;direction:rtl;text-align:right;text-wrap:pretty}
.eb07-news-single__prose p{margin:0 0 19px}
.eb07-news-single__prose>p:last-child{margin-bottom:0}
.eb07-news-single.has-lead .eb07-news-single__prose>p:first-child{font-size:1.06em;line-height:2.05;color:#263b2e;font-weight:650}
.eb07-news-single__prose h2,.eb07-news-single__prose h3,.eb07-news-single__prose h4{color:#193325;line-height:1.65;font-weight:900;margin:30px 0 13px}
.eb07-news-single__prose h2{font-size:1.42em}
.eb07-news-single__prose h3{font-size:1.22em}
.eb07-news-single__prose h4{font-size:1.08em}
.eb07-news-single__prose ul,.eb07-news-single__prose ol{margin:18px 0 22px;padding:15px 40px 15px 18px;background:#f7faf8;border-right:3px solid var(--eb07-accent,#148447);border-radius:12px}
.eb07-news-single__prose li{margin:6px 0}
.eb07-news-single__prose blockquote{margin:24px 0;padding:18px 22px;background:#f7faf8;border-right:4px solid var(--eb07-gold,#C99A3D);border-radius:12px;color:#34493c;font-weight:650}
.eb07-news-single__prose strong{color:#213c2b;font-weight:850}
.eb07-news-single__prose a{color:var(--eb07-accent,#148447);text-decoration:none;border-bottom:1px solid color-mix(in srgb,var(--eb07-accent,#148447) 35%,transparent)}
.eb07-news-single__prose img{height:auto!important;max-width:min(86%,760px);object-fit:contain!important;margin:22px auto;display:block;border-radius:12px}
.eb07-news-single__related{margin-top:36px}
.eb07-news-single__related-head{text-align:center;margin-bottom:17px}
.eb07-news-single__related-head>span{display:inline-flex;align-items:center;justify-content:center;gap:8px;color:var(--eb07-accent,#148447);font-size:13.5px;line-height:1.8;font-weight:850;margin-bottom:6px}
.eb07-news-single__related-head>span:before{content:"";width:20px;height:2px;border-radius:99px;background:var(--eb07-gold,#C99A3D)}
.eb07-news-single__related-head h2{margin:0;color:#192b21;font-size:28px;line-height:1.55;font-weight:900}
.eb07-news-single__related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.eb07-news-single__related-card{display:flex;flex-direction:column;overflow:hidden;border:1px solid #dfe8e2;border-radius:18px;background:#fff;text-decoration:none!important;color:#1d3529!important;box-shadow:0 8px 24px rgba(22,54,35,.04);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.eb07-news-single__related-card:hover{transform:translateY(-3px);border-color:#c7ddce;box-shadow:0 14px 32px rgba(22,54,35,.075)}
.eb07-news-single__related-media{height:170px;display:flex;align-items:center;justify-content:center;background:#f3f6f4;overflow:hidden}
.eb07-news-single__related-media img,.eb07-news-single__related-media .ebip-media-img{width:100%;height:100%;object-fit:var(--eb07-related-fit,contain);object-position:center;display:block}
.eb07-news-single__related-copy{display:flex;flex-direction:column;gap:8px;flex:1;padding:13px 14px 15px}
.eb07-news-single__related-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#8a958e;font-size:9.8px}
.eb07-news-single__related-meta span{color:var(--eb07-accent,#148447);font-weight:800}
.eb07-news-single__related-copy strong{display:block;color:#1f3429;font-size:13.5px;line-height:1.75}
.eb07-news-single__related-copy em{font-style:normal;color:var(--eb07-accent,#148447);font-size:10.5px;font-weight:850;margin-top:auto}
@media(max-width:900px){
 .eb07-news-single__related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .eb07-news-single__related-card:last-child:nth-child(odd){grid-column:1/-1;max-width:500px;width:100%;justify-self:center}
}
@media(max-width:767px){
 .eb07-news-single{padding:18px 0 32px}
 .eb07-news-single__wrap{width:calc(100% - 22px)}
 .eb07-news-single__intro{margin-bottom:17px}
 .eb07-news-single__title{font-size:25px;line-height:1.62}
 .eb07-news-single__media{padding:10px}
 .eb07-news-single__media img,.eb07-news-single__media .ebip-media-img{max-height:360px;border-radius:9px;box-shadow:none}
 .eb07-news-single__content-inner{padding:20px 18px 26px}
 .eb07-news-single__prose{font-size:14.5px;line-height:2}
 .eb07-news-single__prose p{margin-bottom:16px}
 .eb07-news-single.has-lead .eb07-news-single__prose>p:first-child{font-size:1.03em}
 .eb07-news-single__prose ul,.eb07-news-single__prose ol{padding:13px 31px 13px 13px}
 .eb07-news-single__prose img{max-width:100%}
 .eb07-news-single__related{margin-top:30px}
 .eb07-news-single__related-head>span{font-size:12.5px}
 .eb07-news-single__related-head h2{font-size:24px}
 .eb07-news-single__related-grid{grid-template-columns:1fr}
 .eb07-news-single__related-card:last-child:nth-child(odd){grid-column:auto;max-width:none}
 .eb07-news-single__related-media{height:auto;min-height:165px;max-height:260px}
 .eb07-news-single__related-media img,.eb07-news-single__related-media .ebip-media-img{height:auto;max-height:260px;object-fit:contain}
}

/* 0.7.9 — Editorial single-news redesign: compact media, real reading hierarchy, premium related section */
.eb07-news-single{background:linear-gradient(180deg,#ffffff 0%,#fbfcfb 100%);padding-top:26px;padding-bottom:58px}
.eb07-news-single__wrap{width:calc(100% - 48px);margin:auto}
.eb07-news-single__intro{max-width:820px;margin:0 auto 20px;text-align:center}
.eb07-news-single__kicker{margin-bottom:10px;font-size:11.5px;color:#7f8b83}
.eb07-news-single__category{font-weight:900;color:var(--eb07-accent,#148447)}
.eb07-news-single__title{font-size:32px;line-height:1.55;max-width:780px;color:#172a20;letter-spacing:-.015em}
.eb07-news-single__back{margin-top:11px;font-size:11.5px}
.eb07-news-single__article{border:1px solid #dfe9e2;border-radius:26px;background:#fff;box-shadow:0 18px 48px rgba(24,58,38,.055);overflow:hidden}
.eb07-news-single__media{padding:26px 26px 24px;background:#f5f8f6;border-bottom:1px solid #e8efea}
.eb07-news-single__media-inner{max-width:610px;margin:auto}
.eb07-news-single__media img,.eb07-news-single__media .ebip-media-img{width:100%;height:auto;max-height:360px;object-fit:var(--eb07-news-fit,contain);object-position:center;display:block;margin:auto;border-radius:15px;box-shadow:0 12px 30px rgba(20,45,30,.06)}
.eb07-news-single__content-inner{max-width:760px;margin:auto;padding:34px 36px 40px}
.eb07-news-single__meta{margin:0 0 22px}
.eb07-news-single__prose{font-size:16px;line-height:2.05;color:#33463a;text-align:right;direction:rtl;letter-spacing:-.004em}
.eb07-news-single__prose p{margin:0 0 18px}
.eb07-news-single__prose h2,.eb07-news-single__prose h3,.eb07-news-single__prose h4{margin:32px 0 14px;color:#183427;line-height:1.65;font-weight:900;letter-spacing:-.01em}
.eb07-news-single__prose h2{font-size:24px}.eb07-news-single__prose h3{font-size:20px}.eb07-news-single__prose h4{font-size:17px}
.eb07-news-single__lead{position:relative;margin:0 0 26px;padding:18px 22px 17px;background:#f3f8f4;border:1px solid #e1ece4;border-right:4px solid var(--eb07-accent,#148447);border-radius:14px;color:#294235}
.eb07-news-single__lead p{margin:0!important;font-size:1.02em;line-height:2;font-weight:720;color:inherit}
.eb07-news-single__subhead{margin:27px 0 16px;padding:0 14px 0 0;border-right:3px solid var(--eb07-gold,#C99A3D)}
.eb07-news-single__subhead p{margin:0!important;color:#1d3729;font-size:19px;line-height:1.9;font-weight:900}
.eb07-news-single__ornament{text-align:center;margin:18px 0}
.eb07-news-single__ornament p{margin:0!important;font-size:24px;line-height:1.2}
.eb07-news-single__signature{display:flex;justify-content:flex-start;margin:30px 0 0;padding-top:18px;border-top:1px solid #e5ece7}
.eb07-news-single__signature p{display:inline-flex;align-items:center;gap:8px;margin:0!important;padding:8px 13px;border-radius:999px;background:#f4f8f5;color:#264234;font-size:13px;font-weight:850}
.eb07-news-single__signature p:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--eb07-accent,#148447);box-shadow:0 0 0 4px color-mix(in srgb,var(--eb07-accent,#148447) 10%,transparent)}
.eb07-news-single__prose ul,.eb07-news-single__prose ol{margin:22px 0;padding:18px 42px 18px 20px;border:1px solid #e4ece6;border-right:4px solid var(--eb07-accent,#148447);background:#f8fbf9;border-radius:14px}
.eb07-news-single__prose blockquote{margin:26px 0;padding:20px 22px;border:1px solid #eadfc6;border-right:4px solid var(--eb07-gold,#C99A3D);background:#fffcf5;border-radius:14px;color:#344b3c}
.eb07-news-single__prose img{max-width:min(82%,700px);height:auto!important;margin:24px auto;display:block;object-fit:contain!important;border-radius:14px}

.eb07-news-single__related{margin-top:48px;padding-top:4px}
.eb07-news-single__related-head{text-align:center;margin-bottom:22px}
.eb07-news-single__related-head>span{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;margin:0 0 9px!important;padding:7px 13px;border:1px solid #dce9e0;border-radius:999px;background:#f4f9f5;color:var(--eb07-accent,#148447)!important;font-size:14.5px;line-height:1.4;font-weight:900}
.eb07-news-single__related-head>span:before{content:"";width:7px!important;height:7px!important;border-radius:50%!important;background:var(--eb07-gold,#C99A3D)!important}
.eb07-news-single__related-head h2{margin:0;color:#172d21;font-size:30px;line-height:1.45;font-weight:950;letter-spacing:-.015em}
.eb07-news-single__related-grid{gap:18px}
.eb07-news-single__related-card{border-radius:20px;border:1px solid #dde8e1;box-shadow:0 10px 28px rgba(21,53,34,.045);overflow:hidden;background:#fff}
.eb07-news-single__related-media{height:176px;background:#f4f7f5;display:flex;align-items:center;justify-content:center;overflow:hidden}
.eb07-news-single__related-media img,.eb07-news-single__related-media .ebip-media-img{width:100%;height:100%;object-fit:var(--eb07-related-fit,contain);object-position:center}
.eb07-news-single__related-copy{padding:15px 16px 17px;gap:9px}
.eb07-news-single__related-meta{font-size:10px}
.eb07-news-single__related-copy strong{font-size:14.5px;line-height:1.75;font-weight:900}
.eb07-news-single__related-copy em{font-size:11px}

@media(max-width:900px){
 .eb07-news-single__media-inner{max-width:80%}
 .eb07-news-single__content-inner{max-width:88%}
}
@media(max-width:767px){
 .eb07-news-single{padding-top:18px;padding-bottom:34px}
 .eb07-news-single__wrap{width:calc(100% - 22px)}
 .eb07-news-single__intro{margin-bottom:16px}
 .eb07-news-single__title{font-size:24px;line-height:1.6}
 .eb07-news-single__media{padding:12px}
 .eb07-news-single__media-inner{max-width:100%}
 .eb07-news-single__media img,.eb07-news-single__media .ebip-media-img{max-height:320px;border-radius:10px;box-shadow:none}
 .eb07-news-single__content-inner{max-width:100%;padding:22px 18px 28px}
 .eb07-news-single__prose{font-size:14.5px;line-height:1.95}
 .eb07-news-single__lead{margin-bottom:22px;padding:15px 16px 14px;border-radius:12px}
 .eb07-news-single__subhead{margin:23px 0 14px}
 .eb07-news-single__subhead p{font-size:17px}
 .eb07-news-single__signature{margin-top:24px}
 .eb07-news-single__related{margin-top:36px}
 .eb07-news-single__related-head{margin-bottom:18px}
 .eb07-news-single__related-head>span{font-size:13.5px;padding:6px 11px}
 .eb07-news-single__related-head h2{font-size:25px}
 .eb07-news-single__related-media{height:210px}
 .eb07-news-single__prose img{max-width:100%}
}


/* 0.8.0 — Persian editorial typography + calmer premium reading surface */
.eb07-news-single,
.eb07-news-single button,
.eb07-news-single input,
.eb07-news-single textarea,
.eb07-news-single select{
  font-family:"Vazirmatn","IRANSansX","IRANSans","Yekan Bakh","Dana","Segoe UI",Tahoma,Arial,sans-serif;
  font-kerning:normal;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}
.eb07-news-single__intro{max-width:800px}
.eb07-news-single__kicker{font-size:12px;letter-spacing:0;line-height:1.9}
.eb07-news-single__title{max-width:760px;font-weight:850;letter-spacing:-.012em;line-height:1.5}
.eb07-news-single__back{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:760;text-decoration:none!important}
.eb07-news-single__article{border-color:#e2eae5;box-shadow:0 16px 44px rgba(24,58,38,.045)}
.eb07-news-single__media{padding:24px;background:linear-gradient(180deg,#f7faf8 0%,#f3f7f4 100%)}
.eb07-news-single__media img,.eb07-news-single__media .ebip-media-img{border-radius:13px;box-shadow:0 10px 26px rgba(19,45,30,.05)}
.eb07-news-single__content-inner{position:relative}
.eb07-news-single__content-inner:before{content:"";display:block;width:54px;height:3px;margin:0 0 26px auto;border-radius:999px;background:linear-gradient(90deg,var(--eb07-gold,#C99A3D),var(--eb07-accent,#148447))}
.eb07-news-single__prose{color:#3b4c42;letter-spacing:0;word-spacing:.015em;font-weight:400}
.eb07-news-single__prose p{max-width:100%;font-weight:400}
.eb07-news-single__prose strong{font-weight:720;color:#20372b}
.eb07-news-single__prose h2,.eb07-news-single__prose h3,.eb07-news-single__prose h4{font-weight:800;letter-spacing:0;color:#173428}
.eb07-news-single__lead{margin-bottom:30px;padding:18px 21px 18px 22px;background:linear-gradient(135deg,#f7fbf8,#f2f8f4);border-color:#e2ede6;border-right-width:3px;border-radius:14px;box-shadow:0 5px 18px rgba(22,60,37,.025)}
.eb07-news-single__lead p{font-size:1.01em;line-height:2.05;font-weight:650;color:#294236}
.eb07-news-single__subhead{margin:30px 0 18px;padding:12px 16px 12px 18px;border:1px solid #eee8da;border-right:3px solid var(--eb07-gold,#C99A3D);border-radius:11px;background:#fffdfa}
.eb07-news-single__subhead p{font-size:17.5px;line-height:1.85;font-weight:760;color:#233a2e}
.eb07-news-single__signature{margin-top:34px;padding-top:20px}
.eb07-news-single__signature p{padding:9px 14px;background:#f6f9f7;border:1px solid #e5ece7;font-size:13px;font-weight:720;box-shadow:none}
.eb07-news-single__prose ul,.eb07-news-single__prose ol{background:#f8fbf9;border-color:#e3ece6;border-right-width:3px;box-shadow:none}
.eb07-news-single__prose blockquote{background:#fffdf8;border-color:#eee5d2;border-right-width:3px}
.eb07-news-single__prose img{box-shadow:0 8px 24px rgba(20,48,31,.04)}
.eb07-news-single__related{position:relative;margin-top:46px;padding-top:34px;border-top:1px solid #e7ede9}
.eb07-news-single__related-head{margin-bottom:24px}
.eb07-news-single__related-head>span{gap:10px;margin-bottom:8px!important;padding:0!important;border:0!important;background:transparent!important;font-size:15.5px;line-height:1.7;font-weight:760;letter-spacing:0}
.eb07-news-single__related-head>span:before,.eb07-news-single__related-head>span:after{content:"";width:23px!important;height:2px!important;border-radius:999px!important;background:var(--eb07-gold,#C99A3D)!important}
.eb07-news-single__related-head h2{font-weight:820;letter-spacing:0;color:#1b3025}
.eb07-news-single__related-card{border-radius:18px;box-shadow:0 9px 26px rgba(21,53,34,.035)}
.eb07-news-single__related-copy strong{font-weight:760;letter-spacing:0}
.eb07-news-single__related-copy em{font-weight:700}
@media(max-width:900px){
 .eb07-news-single__content-inner:before{margin-bottom:22px}
}
@media(max-width:767px){
 .eb07-news-single__title{font-weight:800;letter-spacing:0}
 .eb07-news-single__media{padding:10px}
 .eb07-news-single__content-inner:before{width:42px;height:2px;margin-bottom:20px}
 .eb07-news-single__prose{word-spacing:0}
 .eb07-news-single__lead{padding:15px 16px;margin-bottom:23px}
 .eb07-news-single__subhead{margin:24px 0 15px;padding:10px 13px}
 .eb07-news-single__subhead p{font-size:16.5px;line-height:1.85}
 .eb07-news-single__related{padding-top:28px;margin-top:36px}
 .eb07-news-single__related-head>span{font-size:14px}
 .eb07-news-single__related-head>span:before,.eb07-news-single__related-head>span:after{width:16px!important}
}


/* =========================================================
   0.8.1 — Dynamic single-news final integration
   Same widget slug: eb07_news_single
   ========================================================= */
.eb07-news-single,
.eb07-news-single *{
  font-family:var(--e-global-typography-text-font-family,inherit);
}
.eb07-news-single__title,
.eb07-news-single__related-head h2{
  font-family:var(--e-global-typography-primary-font-family,var(--e-global-typography-text-font-family,inherit));
}
.eb07-news-single__intro{max-width:920px}
.eb07-news-single__meta-line{
  display:flex;align-items:center;justify-content:center;flex-wrap:wrap;
  margin:0 auto 10px;color:#7b8780;font-size:12px;line-height:1.9;direction:rtl
}
.eb07-news-single__meta-line span{display:inline-flex;align-items:center;white-space:nowrap}
.eb07-news-single__meta-line span:not(:last-child)::after{
  content:"";width:1px;height:12px;background:#d5dfd8;margin:0 10px
}
.eb07-news-single__meta-line .is-category{color:var(--eb07-accent,#148447);font-weight:750}
.eb07-news-single__title{max-width:900px;font-weight:760;line-height:1.48;letter-spacing:0}
.eb07-news-single__article{min-height:0!important;height:auto!important;border-color:#e1e9e4;box-shadow:0 14px 38px rgba(24,58,38,.04)}
.eb07-news-single__media{padding:22px 22px 20px;background:#f6f9f7}
.eb07-news-single__media-inner{min-height:0!important;height:auto!important}
.eb07-news-single__media img,.eb07-news-single__media .ebip-media-img{
  width:auto;max-width:100%;height:auto;object-fit:var(--eb07-news-fit,contain);box-shadow:0 8px 22px rgba(20,48,31,.04)
}
.eb07-news-single__content-inner{min-height:0!important;height:auto!important}
.eb07-news-single__content-inner:before{width:48px;height:2px;margin-bottom:24px}
.eb07-news-single__prose{
  direction:rtl;text-align:justify;text-align-last:right;letter-spacing:0;word-spacing:0;color:#2f4339;font-weight:400
}
.eb07-news-single__prose p{font-weight:400}
.eb07-news-single__lead{
  margin:0 0 20px;padding:14px 18px;border:1px solid #e0e9e3;border-right:2px solid var(--eb07-accent,#148447);
  border-radius:12px;background:#f5f9f6;box-shadow:none
}
.eb07-news-single__lead p{font-size:1em;line-height:2;font-weight:550;color:#263c31}
.eb07-news-single__callout{
  margin:0 0 20px;padding:13px 18px;border:1px solid #eee2cd;border-right:2px solid var(--eb07-gold,#C99A3D);
  border-radius:12px;background:#fffaf3;color:#3b352a
}
.eb07-news-single__callout p{margin:0!important;font-size:1em;line-height:2;font-weight:500;color:inherit}
.eb07-news-single__prose img{max-width:100%;height:auto!important;object-fit:contain!important;margin:24px auto;border-radius:13px}
.eb07-news-single__publisher{
  display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:20px;
  margin-top:28px;padding-top:16px;border-top:1px solid #e1e9e4
}
.eb07-news-single__publisher-label{grid-column:1;justify-self:start;color:#7b8780;font-size:12px;font-weight:400;white-space:nowrap}
.eb07-news-single__publisher-name{grid-column:2;justify-self:end;display:inline-flex;align-items:center;gap:8px;color:#163226;font-size:13.5px;font-weight:650;white-space:nowrap}
.eb07-news-single__publisher-name i{width:7px;height:7px;min-width:7px;border-radius:50%;background:var(--eb07-accent,#148447);box-shadow:0 0 0 4px color-mix(in srgb,var(--eb07-accent,#148447) 9%,transparent)}
.eb07-news-single__related{margin-top:38px;padding-top:28px}
.eb07-news-single__editor-empty{padding:18px;border:1px solid #eadfc6;border-radius:12px;background:#fffaf3;color:#5f553e;text-align:right;direction:rtl}
@media(max-width:767px){
  .eb07-news-single__meta-line{font-size:11px}
  .eb07-news-single__meta-line span:not(:last-child)::after{margin:0 7px;height:11px}
  .eb07-news-single__prose{text-align:right;text-align-last:auto}
  .eb07-news-single__publisher{grid-template-columns:1fr;row-gap:4px}
  .eb07-news-single__publisher-label,.eb07-news-single__publisher-name{grid-column:1;justify-self:end;white-space:normal}
}

/* =========================================================
   0.8.2 — Plan C single-news baseline
   Dynamic breadcrumb + date/category/read-time + editorial body
   ========================================================= */
.eb07-news-single.is-plan-c,
.eb07-news-single.is-plan-c *{
  box-sizing:border-box;
  font-family:"Vazirmatn",Tahoma,Arial,sans-serif;
}
.eb07-news-single.is-plan-c{
  background:linear-gradient(180deg,#fff 0%,#fcfdfc 100%);
}
.eb07-news-single.is-plan-c .eb07-news-single__wrap{
  width:calc(100% - 44px);
  margin-inline:auto;
}
.eb07-news-single.is-plan-c .eb07-news-single__intro{
  max-width:980px;
  margin-inline:auto;
  text-align:center;
}
.eb07-news-single.is-plan-c .eb07-news-single__breadcrumb{
  direction:rtl;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-width:0;
  margin:0 auto 12px;
  color:#8a948e;
  font-size:11.5px;
  line-height:1.9;
  font-weight:500;
}
.eb07-news-single.is-plan-c .eb07-news-single__breadcrumb a{
  color:#6c7a72!important;
  text-decoration:none!important;
  transition:color .18s ease;
}
.eb07-news-single.is-plan-c .eb07-news-single__breadcrumb a:hover{color:var(--eb07-accent,#148447)!important}
.eb07-news-single.is-plan-c .eb07-news-single__breadcrumb>span[aria-hidden="true"]{color:#c4cdc7}
.eb07-news-single.is-plan-c .eb07-news-single__breadcrumb .is-current{
  max-width:430px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#627168;
}
.eb07-news-single.is-plan-c .eb07-news-single__title{
  max-width:900px;
  margin:0 auto;
  color:#162b20;
  font-weight:850;
  line-height:1.48;
  letter-spacing:0;
  text-wrap:balance;
}
.eb07-news-single.is-plan-c .eb07-news-single__meta-line{
  direction:rtl;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:0;
  margin:12px auto 9px;
  color:#79857e;
  font-size:12px;
  line-height:1.85;
}
.eb07-news-single.is-plan-c .eb07-news-single__meta-line span{
  display:inline-flex;
  align-items:center;
  gap:5px;
  white-space:nowrap;
  color:#748078;
}
.eb07-news-single.is-plan-c .eb07-news-single__meta-line b{
  font:inherit;
  font-weight:520;
  color:inherit;
}
.eb07-news-single.is-plan-c .eb07-news-single__meta-line svg{
  width:14px;
  height:14px;
  flex:0 0 14px;
  color:var(--eb07-accent,#148447);
}
.eb07-news-single.is-plan-c .eb07-news-single__meta-line .is-category,
.eb07-news-single.is-plan-c .eb07-news-single__meta-line .is-category b{
  color:#5f6d64;
  font-weight:560;
}
.eb07-news-single.is-plan-c .eb07-news-single__meta-line .is-category svg{color:var(--eb07-gold,#C99A3D)}
.eb07-news-single.is-plan-c .eb07-news-single__meta-line span:not(:last-child)::after{
  content:"";
  width:1px;
  height:13px;
  margin:0 10px;
  background:#d7dfda;
}
.eb07-news-single.is-plan-c .eb07-news-single__header-rule{
  display:flex;
  justify-content:center;
  align-items:center;
  width:68px;
  height:3px;
  margin:8px auto 0;
  overflow:hidden;
  border-radius:99px;
  background:linear-gradient(90deg,var(--eb07-gold,#C99A3D) 0 48%,var(--eb07-accent,#148447) 52% 100%);
}
.eb07-news-single.is-plan-c .eb07-news-single__header-rule i{display:none}
.eb07-news-single.is-plan-c .eb07-news-single__back{
  margin-top:10px;
  color:var(--eb07-accent,#148447)!important;
  font-size:11.5px;
  line-height:1.8;
  font-weight:700;
}
.eb07-news-single.is-plan-c .eb07-news-single__article{
  min-height:0!important;
  height:auto!important;
  overflow:hidden;
  border:1px solid #dde7e0;
  background:#fff;
  box-shadow:0 12px 36px rgba(21,52,34,.04);
}
.eb07-news-single.is-plan-c .eb07-news-single__media{
  padding:22px;
  background:#f6f9f7;
  border-bottom:1px solid #e7eee9;
}
.eb07-news-single.is-plan-c .eb07-news-single__media-inner{
  min-height:0!important;
  height:auto!important;
  margin-inline:auto;
  display:flex;
  align-items:center;
  justify-content:center;
}
.eb07-news-single.is-plan-c .eb07-news-single__media img,
.eb07-news-single.is-plan-c .eb07-news-single__media .ebip-media-img{
  display:block;
  width:auto;
  max-width:100%;
  height:auto!important;
  object-fit:var(--eb07-news-fit,contain)!important;
  object-position:center;
  margin:auto;
  border-radius:13px;
  box-shadow:0 8px 22px rgba(20,48,31,.035);
}
.eb07-news-single.is-plan-c .eb07-news-single__content-inner{
  min-height:0!important;
  height:auto!important;
  margin-inline:auto;
}
.eb07-news-single.is-plan-c .eb07-news-single__content-inner:before{display:none!important}
.eb07-news-single.is-plan-c .eb07-news-single__prose{
  direction:rtl;
  color:#2e4036;
  font-weight:400;
  letter-spacing:0;
  word-spacing:0;
  text-align:justify;
  text-align-last:right;
  text-wrap:pretty;
}
.eb07-news-single.is-plan-c .eb07-news-single__prose p{
  margin-top:0;
  font-weight:400;
}
.eb07-news-single.is-plan-c .eb07-news-single__prose h2,
.eb07-news-single.is-plan-c .eb07-news-single__prose h3,
.eb07-news-single.is-plan-c .eb07-news-single__prose h4{
  color:#173326;
  font-weight:780;
  letter-spacing:0;
  text-align:right;
}
.eb07-news-single.is-plan-c .eb07-news-single__prose h2{font-size:1.43em;margin:34px 0 14px;line-height:1.65}
.eb07-news-single.is-plan-c .eb07-news-single__prose h3{font-size:1.24em;margin:30px 0 13px;line-height:1.68}
.eb07-news-single.is-plan-c .eb07-news-single__prose h4{font-size:1.10em;margin:26px 0 12px;line-height:1.7}
.eb07-news-single.is-plan-c .eb07-news-single__prose strong{font-weight:720;color:#20372b}
.eb07-news-single.is-plan-c .eb07-news-single__prose a{
  color:var(--eb07-accent,#148447);
  text-decoration:none;
  border-bottom:1px solid color-mix(in srgb,var(--eb07-accent,#148447) 28%,transparent);
}
.eb07-news-single.is-plan-c .eb07-news-single__lead{
  margin:0 0 24px;
  padding:15px 19px;
  border:1px solid #dfe9e3;
  border-right:3px solid var(--eb07-accent,#148447);
  border-radius:12px;
  background:#f5f9f6;
  box-shadow:none;
}
.eb07-news-single.is-plan-c .eb07-news-single__lead p{
  margin:0!important;
  color:#263d31;
  font-size:1em;
  line-height:1.95;
  font-weight:610;
}
.eb07-news-single.is-plan-c .eb07-news-single__callout{
  margin:0 0 22px;
  padding:13px 18px;
  border:1px solid #eee1ca;
  border-right:3px solid var(--eb07-gold,#C99A3D);
  border-radius:11px;
  background:#fffaf3;
  box-shadow:none;
}
.eb07-news-single.is-plan-c .eb07-news-single__callout p{
  margin:0!important;
  color:#343a34;
  font-size:1em;
  line-height:1.95;
  font-weight:560;
}
.eb07-news-single.is-plan-c .eb07-news-single__ornament{margin:16px 0;text-align:center}
.eb07-news-single.is-plan-c .eb07-news-single__prose ul,
.eb07-news-single.is-plan-c .eb07-news-single__prose ol{
  margin:22px 0;
  padding:16px 38px 16px 18px;
  background:#f8fbf9;
  border:1px solid #e4ece7;
  border-right:3px solid var(--eb07-accent,#148447);
  border-radius:12px;
}
.eb07-news-single.is-plan-c .eb07-news-single__prose li{margin:6px 0}
.eb07-news-single.is-plan-c .eb07-news-single__prose blockquote{
  margin:24px 0;
  padding:17px 20px;
  background:#fffdf8;
  border:1px solid #eee5d2;
  border-right:3px solid var(--eb07-gold,#C99A3D);
  border-radius:12px;
  color:#34493c;
}
.eb07-news-single.is-plan-c .eb07-news-single__prose figure{
  max-width:100%;
  margin:26px auto;
  text-align:center;
}
.eb07-news-single.is-plan-c .eb07-news-single__prose img{
  display:block;
  width:auto;
  max-width:100%;
  height:auto!important;
  margin:26px auto;
  object-fit:contain!important;
  border-radius:13px;
  box-shadow:0 7px 22px rgba(20,48,31,.035);
}
.eb07-news-single.is-plan-c .eb07-news-single__prose figure img{margin:0 auto}
.eb07-news-single.is-plan-c .eb07-news-single__prose figcaption{
  margin-top:8px;
  color:#849087;
  font-size:.83em;
  line-height:1.8;
  text-align:center;
}
.eb07-news-single.is-plan-c .eb07-news-single__prose table{
  width:100%;
  margin:24px 0;
  border-collapse:collapse;
  font-size:.93em;
}
.eb07-news-single.is-plan-c .eb07-news-single__prose th,
.eb07-news-single.is-plan-c .eb07-news-single__prose td{padding:10px 12px;border:1px solid #e2e9e5;text-align:right}
.eb07-news-single.is-plan-c .eb07-news-single__prose th{background:#f5f8f6;font-weight:700}
.eb07-news-single.is-plan-c .eb07-news-single__publisher{
  direction:rtl;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-top:30px;
  padding-top:17px;
  border-top:1px solid #dfe7e2;
}
.eb07-news-single.is-plan-c .eb07-news-single__publisher-label{
  order:1;
  color:#7b8780;
  font-size:12px;
  line-height:1.7;
  font-weight:430;
  white-space:nowrap;
}
.eb07-news-single.is-plan-c .eb07-news-single__publisher-name{
  order:2;
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#173429;
  font-size:13.5px;
  line-height:1.7;
  font-weight:680;
  white-space:nowrap;
}
.eb07-news-single.is-plan-c .eb07-news-single__publisher-name i{
  width:7px;
  height:7px;
  min-width:7px;
  border-radius:50%;
  background:var(--eb07-accent,#148447);
  box-shadow:0 0 0 4px color-mix(in srgb,var(--eb07-accent,#148447) 9%,transparent);
}
.eb07-news-single.is-plan-c .eb07-news-single__related{
  margin-top:44px;
  padding-top:30px;
  border-top:1px solid #e4ebe6;
}
.eb07-news-single.is-plan-c .eb07-news-single__related-head>span{
  font-weight:760;
}

@media(max-width:767px){
  .eb07-news-single.is-plan-c .eb07-news-single__wrap{width:calc(100% - 20px)}
  .eb07-news-single.is-plan-c .eb07-news-single__breadcrumb{
    justify-content:flex-start;
    overflow:hidden;
    font-size:10.5px;
    white-space:nowrap;
  }
  .eb07-news-single.is-plan-c .eb07-news-single__breadcrumb .is-current{max-width:46vw}
  .eb07-news-single.is-plan-c .eb07-news-single__meta-line{font-size:10.8px;line-height:1.8}
  .eb07-news-single.is-plan-c .eb07-news-single__meta-line span:not(:last-child)::after{margin:0 7px;height:11px}
  .eb07-news-single.is-plan-c .eb07-news-single__media{padding:10px}
  .eb07-news-single.is-plan-c .eb07-news-single__prose{text-align:right;text-align-last:auto}
  .eb07-news-single.is-plan-c .eb07-news-single__publisher{
    flex-direction:column;
    align-items:flex-start;
    gap:5px;
  }
  .eb07-news-single.is-plan-c .eb07-news-single__publisher-label,
  .eb07-news-single.is-plan-c .eb07-news-single__publisher-name{white-space:normal}
}

/* =========================================================
   0.8.4 — Plan C Recovery
   Uses the proven 0.8.2 classes; only relocates meta below image.
   No global sizing/reset rules are introduced here.
   ========================================================= */
.eb07-news-single.is-plan-c .eb07-news-single__meta-line--after-media{
  width:100%;
  margin:16px auto 8px;
  padding:0 22px;
}
.eb07-news-single.is-plan-c .eb07-news-single__header-rule--after-media{
  margin:7px auto 0;
}
@media(max-width:767px){
  .eb07-news-single.is-plan-c .eb07-news-single__meta-line--after-media{
    margin-top:13px;
    padding-inline:12px;
  }
}

/* =========================================================
   0.8.6 — Plan C final polish
   Smaller media, compact empty posts, natural Persian rhythm.
   ========================================================= */
.eb07-news-single.is-plan-c,
.eb07-news-single.is-plan-c *{
  font-family:inherit;
}
.eb07-news-single.is-plan-c .eb07-news-single__media{
  padding:18px 18px 16px;
}
.eb07-news-single.is-plan-c .eb07-news-single__media img,
.eb07-news-single.is-plan-c .eb07-news-single__media .ebip-media-img{
  max-height:380px;
}
.eb07-news-single.is-plan-c .eb07-news-single__content-inner{
  min-height:0!important;
}
.eb07-news-single.is-plan-c .eb07-news-single__prose{
  text-align:right;
  text-align-last:auto;
  font-weight:400;
  word-spacing:normal;
  letter-spacing:0;
  line-height:2.05;
}
.eb07-news-single.is-plan-c .eb07-news-single__prose p{
  margin-bottom:18px;
  font-weight:400;
}
.eb07-news-single.is-plan-c .eb07-news-single__prose h2,
.eb07-news-single.is-plan-c .eb07-news-single__prose h3,
.eb07-news-single.is-plan-c .eb07-news-single__prose h4{
  font-weight:700;
  color:#183326;
}
.eb07-news-single.is-plan-c .eb07-news-single__prose h2{font-size:1.34em;margin:30px 0 13px;line-height:1.7}
.eb07-news-single.is-plan-c .eb07-news-single__prose h3{font-size:1.18em;margin:27px 0 12px;line-height:1.72}
.eb07-news-single.is-plan-c .eb07-news-single__prose h4{font-size:1.07em;margin:24px 0 11px;line-height:1.75}
.eb07-news-single.is-plan-c.has-empty-content .eb07-news-single__content-inner{
  padding-top:16px!important;
  padding-bottom:18px!important;
}
.eb07-news-single.is-plan-c.has-empty-content .eb07-news-single__publisher{
  margin-top:0;
}
.eb07-news-single.is-plan-c.has-empty-content .eb07-news-single__header-rule--after-media{
  margin-bottom:0;
}
.eb07-news-single.is-plan-c .eb07-news-single__publisher{
  margin-top:26px;
}
.eb07-news-single.is-plan-c .eb07-news-single__meta-line--after-media{
  margin-top:12px;
  margin-bottom:6px;
}
@media(max-width:900px){
  .eb07-news-single.is-plan-c .eb07-news-single__media img,
  .eb07-news-single.is-plan-c .eb07-news-single__media .ebip-media-img{max-height:350px}
}
@media(max-width:767px){
  .eb07-news-single.is-plan-c .eb07-news-single__media{padding:9px}
  .eb07-news-single.is-plan-c .eb07-news-single__media img,
  .eb07-news-single.is-plan-c .eb07-news-single__media .ebip-media-img{max-height:300px}
  .eb07-news-single.is-plan-c .eb07-news-single__content-inner{padding-top:20px!important}
  .eb07-news-single.is-plan-c.has-empty-content .eb07-news-single__content-inner{padding-top:12px!important;padding-bottom:15px!important}
}


/* =========================================================
   0.8.7 — Plan C Persian typography / tooltip polish
   Hardens RTL reading rhythm against later Elementor CSS.
   ========================================================= */
.eb07-news-single.is-plan-c .eb07-news-single__prose{
  direction:rtl!important;
  text-align:right!important;
  text-align-last:auto!important;
  word-spacing:normal!important;
  letter-spacing:normal!important;
  font-kerning:normal;
  text-justify:auto!important;
  line-height:1.95!important;
}
.eb07-news-single.is-plan-c .eb07-news-single__prose p{
  text-align:right!important;
  text-align-last:auto!important;
  word-spacing:normal!important;
  letter-spacing:normal!important;
  margin-bottom:16px;
}
.eb07-news-single.is-plan-c .eb07-news-single__prose h2,
.eb07-news-single.is-plan-c .eb07-news-single__prose h3,
.eb07-news-single.is-plan-c .eb07-news-single__prose h4{
  text-align:right!important;
  text-align-last:auto!important;
  word-spacing:normal!important;
  letter-spacing:normal!important;
  font-weight:700!important;
}
.eb07-news-single.is-plan-c .eb07-news-single__prose h2{font-size:1.28em;margin:28px 0 12px;line-height:1.72}
.eb07-news-single.is-plan-c .eb07-news-single__prose h3{font-size:1.15em;margin:25px 0 11px;line-height:1.74}
.eb07-news-single.is-plan-c .eb07-news-single__prose h4{font-size:1.06em;margin:22px 0 10px;line-height:1.76}


/* =========================================================
   0.8.8 — Plan C final micro-polish
   URL isolation + slightly tighter natural rhythm.
   ========================================================= */
.eb07-news-single.is-plan-c .eb07-news-single__prose a.eb07-ltr-link{
  direction:ltr;
  unicode-bidi:isolate;
  display:inline-block;
  letter-spacing:0!important;
  word-spacing:normal!important;
  white-space:nowrap;
}
.eb07-news-single.is-plan-c .eb07-news-single__meta-line--after-media{
  margin-bottom:4px;
}


/* =========================================================
   0.8.9 — Plan C lock polish
   Compact meta-to-body rhythm, short-post auto height,
   standardized Persian year ranges.
   ========================================================= */
.eb07-news-single.is-plan-c .eb07-news-single__meta-line--after-media{
  margin-bottom:2px;
}
.eb07-news-single.is-plan-c .eb07-news-single__header-rule--after-media{
  margin-top:5px;
}
.eb07-news-single.is-plan-c.has-short-content .eb07-news-single__publisher{
  margin-top:18px;
}
.eb07-news-single.is-plan-c.has-short-content .eb07-news-single__content-inner{
  padding-bottom:20px!important;
}
@media(max-width:767px){
  .eb07-news-single.is-plan-c.has-short-content .eb07-news-single__publisher{
    margin-top:14px;
  }
  .eb07-news-single.is-plan-c.has-short-content .eb07-news-single__content-inner{
    padding-bottom:16px!important;
  }
}


/* =========================================================
   0.8.10 — Plan C mobile responsive polish
   Scope: single-news widget only. Does not touch the locked
   site header/footer plugin.
   ========================================================= */
@media (max-width:767px){

  /* Intentional 2-row metadata layout:
     Row 1 = date + category
     Row 2 = reading time
  */
  .eb07-news-single.is-plan-c .eb07-news-single__meta-line--after-media{
    display:grid!important;
    grid-template-columns:max-content max-content;
    justify-content:center;
    align-items:center;
    column-gap:0;
    row-gap:3px;
    width:100%;
    margin:8px auto 4px!important;
    padding-inline:8px;
    font-size:11.5px!important;
    line-height:1.75!important;
  }

  .eb07-news-single.is-plan-c .eb07-news-single__meta-line--after-media > span{
    min-width:0;
    justify-content:center;
  }

  .eb07-news-single.is-plan-c .eb07-news-single__meta-line--after-media .is-read{
    grid-column:1 / -1;
    justify-self:center;
    margin-top:1px;
  }

  /* Keep only the separator between date and category.
     Do not leave a hanging separator before the second row. */
  .eb07-news-single.is-plan-c .eb07-news-single__meta-line--after-media .is-category::after,
  .eb07-news-single.is-plan-c .eb07-news-single__meta-line--after-media .is-read::after{
    display:none!important;
  }

  .eb07-news-single.is-plan-c .eb07-news-single__meta-line--after-media .is-date::after{
    margin-inline:8px!important;
    height:11px!important;
  }

  /* When one of date/category is disabled, keep the remaining
     first-row item centered instead of leaving an empty column. */
  .eb07-news-single.is-plan-c .eb07-news-single__meta-line--after-media > .is-date:first-child:not(:last-child),
  .eb07-news-single.is-plan-c .eb07-news-single__meta-line--after-media > .is-category:first-child:not(:last-child){
    grid-column:1 / -1;
    justify-self:center;
  }

  .eb07-news-single.is-plan-c .eb07-news-single__meta-line--after-media > span:only-child{
    grid-column:1 / -1;
    justify-self:center;
  }

  /* Mobile reading typography */
  .eb07-news-single.is-plan-c .eb07-news-single__content-inner{
    padding:16px 15px 22px!important;
  }

  .eb07-news-single.is-plan-c .eb07-news-single__prose{
    font-size:15.5px!important;
    line-height:1.95!important;
    text-align:right!important;
    text-align-last:auto!important;
    letter-spacing:0!important;
    word-spacing:normal!important;
  }

  .eb07-news-single.is-plan-c .eb07-news-single__prose p{
    margin-bottom:15px!important;
  }

  .eb07-news-single.is-plan-c .eb07-news-single__prose h2,
  .eb07-news-single.is-plan-c .eb07-news-single__prose h3,
  .eb07-news-single.is-plan-c .eb07-news-single__prose h4{
    margin-top:25px!important;
    margin-bottom:10px!important;
    line-height:1.7!important;
  }

  .eb07-news-single.is-plan-c .eb07-news-single__prose h2{
    font-size:1.28em!important;
  }

  .eb07-news-single.is-plan-c .eb07-news-single__prose h3{
    font-size:1.17em!important;
  }

  /* Related-news cards: true full-width single-column mobile cards */
  .eb07-news-single.is-plan-c .eb07-news-single__related-grid{
    grid-template-columns:minmax(0,1fr)!important;
    width:100%;
    gap:14px;
  }

  .eb07-news-single.is-plan-c .eb07-news-single__related-card,
  .eb07-news-single.is-plan-c .eb07-news-single__related-card:last-child:nth-child(odd){
    width:100%!important;
    max-width:none!important;
    grid-column:auto!important;
    justify-self:stretch!important;
  }

  .eb07-news-single.is-plan-c .eb07-news-single__related-media{
    width:100%;
    min-height:0!important;
    height:auto!important;
    max-height:230px!important;
  }

  .eb07-news-single.is-plan-c .eb07-news-single__related-media img,
  .eb07-news-single.is-plan-c .eb07-news-single__related-media .ebip-media-img{
    display:block;
    width:100%!important;
    height:auto!important;
    max-height:230px!important;
    object-fit:contain!important;
    object-position:center!important;
  }

  /* Slightly tighter mobile section rhythm */
  .eb07-news-single.is-plan-c .eb07-news-single__related{
    margin-top:25px!important;
    padding-top:21px!important;
  }
}

@media (max-width:420px){
  .eb07-news-single.is-plan-c .eb07-news-single__prose{
    font-size:15px!important;
    line-height:1.92!important;
  }

  .eb07-news-single.is-plan-c .eb07-news-single__meta-line--after-media{
    font-size:11px!important;
    padding-inline:4px;
  }
}


/* =========================================================
   0.8.11 — Mobile Persian typography / editorial alignment
   Goal: balanced left/right paragraph edges on narrow screens,
   correct RTL heading alignment, longer readable lines, no
   accidental mid-word breaks.
   ========================================================= */
@media (max-width:767px){

  .eb07-news-single.is-plan-c .eb07-news-single__content-inner{
    padding-left:10px!important;
    padding-right:10px!important;
  }

  .eb07-news-single.is-plan-c .eb07-news-single__prose{
    width:100%!important;
    max-width:none!important;
    direction:rtl!important;
    unicode-bidi:plaintext;
    text-align:right!important;
    text-align-last:auto!important;
    font-size:15.5px!important;
    line-height:1.95!important;
    letter-spacing:0!important;
    word-spacing:normal!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
    hyphens:none!important;
    text-wrap:wrap!important;
  }

  /* Paragraphs use Persian newspaper-style justification:
     both visual edges are balanced, final line remains RTL-right. */
  .eb07-news-single.is-plan-c .eb07-news-single__prose p,
  .eb07-news-single.is-plan-c .eb07-news-single__prose .eb07-news-single__lead p,
  .eb07-news-single.is-plan-c .eb07-news-single__prose .eb07-news-single__callout p{
    width:100%!important;
    max-width:none!important;
    direction:rtl!important;
    text-align:justify!important;
    text-align-last:right!important;
    text-justify:inter-word!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
    hyphens:none!important;
    letter-spacing:0!important;
    margin-left:0!important;
    margin-right:0!important;
  }

  /* Editorial headings must begin from the RTL/right edge,
     never appear visually centered because of theme styles. */
  .eb07-news-single.is-plan-c .eb07-news-single__prose h2,
  .eb07-news-single.is-plan-c .eb07-news-single__prose h3,
  .eb07-news-single.is-plan-c .eb07-news-single__prose h4,
  .eb07-news-single.is-plan-c .eb07-news-single__prose h5,
  .eb07-news-single.is-plan-c .eb07-news-single__prose h6{
    display:block!important;
    width:100%!important;
    max-width:none!important;
    direction:rtl!important;
    text-align:right!important;
    text-align-last:right!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:0!important;
    padding-right:0!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
    hyphens:none!important;
  }

  /* Links/Latin domains remain isolated and must not stretch
     with Persian justification. */
  .eb07-news-single.is-plan-c .eb07-news-single__prose a.eb07-ltr-link{
    direction:ltr!important;
    unicode-bidi:isolate!important;
    display:inline-block!important;
    text-align:left!important;
    text-align-last:left!important;
    word-spacing:normal!important;
    letter-spacing:0!important;
    white-space:nowrap!important;
  }

  /* Lists keep RTL alignment but do not inherit paragraph
     justification in a way that distorts bullets. */
  .eb07-news-single.is-plan-c .eb07-news-single__prose li{
    direction:rtl!important;
    text-align:right!important;
    text-align-last:auto!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
  }
}

@media (max-width:420px){
  .eb07-news-single.is-plan-c .eb07-news-single__content-inner{
    padding-left:8px!important;
    padding-right:8px!important;
  }

  .eb07-news-single.is-plan-c .eb07-news-single__prose{
    font-size:15px!important;
    line-height:1.92!important;
  }
}


/* ==========================================================
   v0.8.22 — Dabestan News Archive Final Polish
   Visual-only refinement on top of the locked 0.8.21 routing,
   category filtering and pagination behavior.
   ========================================================== */
.eb07-news-archive{
  isolation:isolate;
  background:linear-gradient(180deg,#fbfdfc 0,#fff 260px,#fff 100%);
}
.eb07-news-archive:before{
  height:240px;
  background:
    radial-gradient(circle at 78% 20%,color-mix(in srgb,var(--eb07-accent,#148447) 8%,transparent) 0,transparent 34%),
    radial-gradient(circle at 22% 6%,color-mix(in srgb,var(--eb07-gold,#C99A3D) 6%,transparent) 0,transparent 28%);
  opacity:.9;
}
.eb07-news-archive__inner{max-width:1100px;width:calc(100% - 40px)}
.eb07-news-archive__heading{
  position:relative;
  overflow:hidden;
  max-width:820px;
  margin:0 auto 18px;
  padding:24px 26px 22px;
  border:1px solid #e7eee9;
  border-radius:24px;
  background:#f8fbf9;
  box-shadow:0 12px 34px rgba(22,54,35,.035);
}
.eb07-news-archive__heading:before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:3px;
  background:linear-gradient(90deg,transparent,var(--eb07-accent,#148447),var(--eb07-gold,#C99A3D),transparent);
  opacity:.72;
}
.eb07-news-archive__eyebrow{position:relative;z-index:1;font-size:11.2px}
.eb07-news-archive__heading h1{position:relative;z-index:1;margin:9px 0 8px;line-height:1.46;text-wrap:balance}
.eb07-news-archive__heading p{position:relative;z-index:1;max-width:650px;line-height:1.9;text-wrap:pretty}
.eb07-news-archive__chips{gap:8px;margin:0 0 13px}
.eb07-news-archive__chips a{
  min-height:36px;
  padding:7px 14px;
  border-color:#dce7df;
  font-size:10.8px;
  box-shadow:0 4px 14px rgba(22,54,35,.025);
}
.eb07-news-archive__chips a:hover{box-shadow:0 7px 18px rgba(22,54,35,.05)}
.eb07-news-archive__chips a.is-active{box-shadow:0 9px 22px color-mix(in srgb,var(--eb07-accent,#148447) 18%,transparent)}
.eb07-news-archive__resultbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-height:34px;
  margin:0 2px 15px;
  padding:0 4px;
  color:#829087;
  font-size:10.8px;
  line-height:1.7;
}
.eb07-news-archive__resultbar strong{color:#294637;font-size:11.5px;font-weight:900}
.eb07-news-archive__pageinfo{white-space:nowrap;color:#96a198}
.eb07-news-archive__grid{gap:18px}
.eb07-news-archive__card{
  border-radius:22px;
  box-shadow:0 9px 28px rgba(22,54,35,.045);
  backface-visibility:hidden;
}
.eb07-news-archive__card:before{height:2px;opacity:.72}
.eb07-news-archive__card:hover{transform:translateY(-4px);box-shadow:0 16px 38px rgba(22,54,35,.085)}
.eb07-news-archive__media{height:188px;background:linear-gradient(145deg,#eef5f1,#fbfdfc)}
.eb07-news-archive__media img,.eb07-news-archive__media .ebip-media-img{transition:transform .34s ease,filter .34s ease}
.eb07-news-archive__card:hover .eb07-news-archive__media.is-landscape img,
.eb07-news-archive__card:hover .eb07-news-archive__media.is-landscape .ebip-media-img{transform:scale(1.035)}
.eb07-news-archive__media .ebip-media-fallback{
  position:relative;
  overflow:hidden;
  color:var(--eb07-accent,#148447);
  background:
    radial-gradient(circle at 30% 48%,color-mix(in srgb,var(--eb07-accent,#148447) 12%,#f5faf7) 0 19%,transparent 19.5%),
    linear-gradient(145deg,#edf6f0,#fbfdfc);
  font-size:12.5px;
  letter-spacing:-.15px;
}
.eb07-news-archive__media .ebip-media-fallback:after{
  content:"";
  width:34%;
  height:34%;
  position:absolute;
  left:13%;
  top:31%;
  border-radius:16px;
  border:1px solid color-mix(in srgb,var(--eb07-accent,#148447) 18%,#fff);
  background:rgba(255,255,255,.72);
}
.eb07-news-archive__body{padding:17px 18px 18px}
.eb07-news-archive__meta{gap:7px;margin-bottom:8px;font-size:10.2px}
.eb07-news-archive__category{
  color:var(--eb07-accent,#148447)!important;
  font-weight:850;
  text-decoration:none!important;
}
.eb07-news-archive__category:hover{text-decoration:underline!important;text-underline-offset:3px}
.eb07-news-archive__meta .eb07-news-archive__category+time:before{content:"•";margin-left:7px;color:#b7c1bb}
.eb07-news-archive__body h2{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  margin:0 0 8px;
  line-height:1.68;
  text-wrap:pretty;
}
.eb07-news-archive__body h2 a{transition:color .18s ease}
.eb07-news-archive__body h2 a:hover{color:var(--eb07-accent,#148447)!important}
.eb07-news-archive__body p{margin-bottom:16px;line-height:1.9;text-wrap:pretty}
.eb07-news-archive__button{
  min-height:35px;
  padding:7px 13px;
  border-color:#d5e4da;
  font-size:10.8px;
  box-shadow:0 3px 10px rgba(22,54,35,.02);
}
.eb07-news-archive__button span{transition:transform .18s ease}
.eb07-news-archive__button:hover span{transform:translateX(-2px)}
.eb07-news-archive__card.is-featured{
  grid-template-columns:minmax(0,1.05fr) minmax(310px,.95fr);
  border-color:#d9e7de;
  background:linear-gradient(110deg,#fff 0,#fff 52%,#f9fcfa 100%);
  box-shadow:0 14px 38px rgba(22,54,35,.055);
}
.eb07-news-archive__card.is-featured .eb07-news-archive__media{height:284px;min-height:284px;background:linear-gradient(145deg,#eaf4ee,#fbfdfc)}
.eb07-news-archive__card.is-featured .eb07-news-archive__body{padding:27px 29px}
.eb07-news-archive__card.is-featured .eb07-news-archive__meta{margin-bottom:10px}
.eb07-news-archive__card.is-featured .eb07-news-archive__body h2{
  -webkit-line-clamp:2;
  margin-bottom:10px;
  line-height:1.58;
}
.eb07-news-archive__card.is-featured .eb07-news-archive__body p{max-width:500px;margin-bottom:17px;line-height:1.95}
.eb07-news-archive__pagination{gap:7px;margin-top:32px;padding-top:4px}
.eb07-news-archive__pagination .page-numbers{
  min-width:37px;
  height:37px;
  padding:0 11px;
  border-color:#d8e5dc;
  font-size:10.8px;
  box-shadow:0 4px 13px rgba(22,54,35,.025);
}
.eb07-news-archive__pagination a.page-numbers:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(22,54,35,.05)}
.eb07-news-archive__pagination .page-numbers.current{box-shadow:0 9px 22px color-mix(in srgb,var(--eb07-accent,#148447) 18%,transparent)}
.eb07-news-archive__pagination .prev:before{content:"→";margin-left:6px}
.eb07-news-archive__pagination .next:after{content:"←";margin-right:6px}
.eb07-news-archive a:focus-visible{
  outline:3px solid color-mix(in srgb,var(--eb07-accent,#148447) 24%,transparent);
  outline-offset:3px;
}

@media(max-width:1024px){
 .eb07-news-archive__inner{width:calc(100% - 32px)}
 .eb07-news-archive__heading{max-width:760px;padding:22px 22px 20px}
 .eb07-news-archive__grid{gap:16px}
 .eb07-news-archive__card.is-featured{grid-template-columns:1fr 1fr}
 .eb07-news-archive__card.is-featured .eb07-news-archive__media{height:255px;min-height:255px}
 .eb07-news-archive__card.is-featured .eb07-news-archive__body{padding:22px 23px}
}
@media(max-width:767px){
 .eb07-news-archive:before{height:210px}
 .eb07-news-archive__inner{width:calc(100% - 24px)!important}
 .eb07-news-archive__heading{margin-bottom:15px;padding:19px 16px 17px;border-radius:19px}
 .eb07-news-archive__heading h1{margin-top:7px;line-height:1.55}
 .eb07-news-archive__heading p{line-height:1.85}
 .eb07-news-archive__chips{justify-content:flex-start;scroll-snap-type:x proximity;gap:7px;margin-bottom:9px}
 .eb07-news-archive__chips a{scroll-snap-align:start;min-height:35px;padding:7px 12px}
 .eb07-news-archive__resultbar{margin-bottom:12px;padding-inline:2px;font-size:10.4px}
 .eb07-news-archive__pageinfo{display:none}
 .eb07-news-archive__grid{gap:15px}
 .eb07-news-archive__card{border-radius:19px}
 .eb07-news-archive__media{height:210px}
 .eb07-news-archive__body{padding:15px 15px 16px}
 .eb07-news-archive__body h2{margin-bottom:7px;line-height:1.7}
 .eb07-news-archive__body p{margin-bottom:14px;line-height:1.88}
 .eb07-news-archive__card.is-featured{display:flex;background:#fff}
 .eb07-news-archive__card.is-featured .eb07-news-archive__media{height:215px;min-height:0}
 .eb07-news-archive__card.is-featured .eb07-news-archive__body{padding:16px 15px 17px}
 .eb07-news-archive__card.is-featured .eb07-news-archive__body p{max-width:none}
 .eb07-news-archive__pagination{gap:6px;margin-top:25px}
 .eb07-news-archive__pagination .page-numbers{min-width:35px;height:35px;padding:0 9px}
 .eb07-news-archive__pagination .prev,.eb07-news-archive__pagination .next{padding-inline:11px}
}
@media(max-width:420px){
 .eb07-news-archive__heading{padding-inline:13px}
 .eb07-news-archive__pagination .page-numbers:not(.current):not(.prev):not(.next):nth-of-type(n+5){display:none}
}
@media(prefers-reduced-motion:reduce){
 .eb07-news-archive__card,.eb07-news-archive__media img,.eb07-news-archive__media .ebip-media-img,
 .eb07-news-archive__button,.eb07-news-archive__button span,.eb07-news-archive__chips a,.eb07-news-archive__pagination .page-numbers{transition:none!important}
 .eb07-news-archive__card:hover,.eb07-news-archive__chips a:hover,.eb07-news-archive__pagination a.page-numbers:hover{transform:none!important}
}

/* v0.8.23 — archive Close tooltip cleanup handled in JS */

/* v0.8.24 — hide only tooltip nodes positively identified/cleaned by runtime */
[data-eb07-tooltip-cleaned="1"][role="tooltip"],
[class*="tooltip"][data-eb07-tooltip-cleaned="1"],
[class*="tippy"][data-eb07-tooltip-cleaned="1"],
[class*="qtip"][data-eb07-tooltip-cleaned="1"]{display:none!important;visibility:hidden!important;pointer-events:none!important;}

/* ==========================================================
   v0.8.25 — Mobile Archive Filter Wrap Polish
   Keep archive category filters fully visible on narrow screens.
   ========================================================== */
@media (max-width:767px){
  .eb07-news-archive__chips{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    justify-content:stretch!important;
    align-items:stretch!important;
    gap:7px!important;
    width:100%!important;
    max-width:100%!important;
    margin:0 0 11px!important;
    padding:0!important;
    overflow:visible!important;
    scroll-snap-type:none!important;
  }
  .eb07-news-archive__chips a{
    display:flex!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    min-height:38px!important;
    padding:7px 9px!important;
    white-space:normal!important;
    text-align:center!important;
    line-height:1.55!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
    scroll-snap-align:none!important;
  }
  .eb07-news-archive__resultbar{
    clear:both;
    width:100%;
  }
}
@media (max-width:350px){
  .eb07-news-archive__chips{
    grid-template-columns:1fr!important;
  }
}

/* ==========================================================
   v0.8.28 — Mobile Archive Category Filter Readability Polish
   Archive-only visual adjustment. Locked single-news routing/template untouched.
   ========================================================== */
@media (max-width:767px){
  .eb07-news-archive__chips a{
    min-height:42px!important;
    padding:8px 10px!important;
    font-size:12.5px!important;
    font-weight:850!important;
    line-height:1.62!important;
    letter-spacing:-.15px!important;
  }
}
@media (max-width:380px){
  .eb07-news-archive__chips a{
    font-size:12px!important;
    padding-inline:8px!important;
  }
}


/* ==========================================================
   v0.8.29 — Dabestan News Archive Image Standardization
   Archive-only visual normalization for card media.
   Locked single-news template/workflow remain untouched.
   ========================================================== */
.eb07-news-archive__card:not(.is-featured) .eb07-news-archive__media{
  height:auto!important;
  min-height:0!important;
  aspect-ratio:4 / 5;
  align-items:stretch;
  justify-content:stretch;
}
.eb07-news-archive__card:not(.is-featured) .eb07-news-archive__media img,
.eb07-news-archive__card:not(.is-featured) .eb07-news-archive__media .ebip-media-img{
  width:100%;
  height:100%;
  object-fit:cover!important;
  object-position:center top!important;
  display:block;
}
.eb07-news-archive__card.is-featured .eb07-news-archive__media img,
.eb07-news-archive__card.is-featured .eb07-news-archive__media .ebip-media-img{
  object-fit:cover!important;
  object-position:center top!important;
}
@media (max-width:767px){
  .eb07-news-archive__card:not(.is-featured) .eb07-news-archive__media{
    aspect-ratio:4 / 5;
  }
}


/* ==========================================================
   v0.8.30 — Archive Image Quality + No-Crop Standard Frame
   Corrects 0.8.29: equal media frames without destructive crop/upscale.
   Archive-only. Locked single-news template/workflow remain untouched.
   ========================================================== */
.eb07-news-archive__card:not(.is-featured) .eb07-news-archive__media{
  height:240px!important;
  min-height:240px!important;
  aspect-ratio:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  padding:10px!important;
  background:#f4f7f5!important;
}
.eb07-news-archive__card:not(.is-featured) .eb07-news-archive__media img,
.eb07-news-archive__card:not(.is-featured) .eb07-news-archive__media .ebip-media-img{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  transform:none!important;
  image-rendering:auto;
}
.eb07-news-archive__card.is-featured .eb07-news-archive__media{
  padding:12px!important;
  background:#f4f7f5!important;
}
.eb07-news-archive__card.is-featured .eb07-news-archive__media img,
.eb07-news-archive__card.is-featured .eb07-news-archive__media .ebip-media-img{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  transform:none!important;
  image-rendering:auto;
}
.eb07-news-archive__card:hover .eb07-news-archive__media img,
.eb07-news-archive__card:hover .eb07-news-archive__media .ebip-media-img{
  transform:none!important;
  filter:none!important;
}
@media (max-width:1024px){
  .eb07-news-archive__card:not(.is-featured) .eb07-news-archive__media{
    height:225px!important;
    min-height:225px!important;
  }
}
@media (max-width:767px){
  .eb07-news-archive__card:not(.is-featured) .eb07-news-archive__media{
    height:220px!important;
    min-height:220px!important;
    padding:8px!important;
  }
  .eb07-news-archive__card.is-featured .eb07-news-archive__media{
    padding:8px!important;
  }
}

/* ==========================================================
   v0.8.36 — Portfolio Archive + Single Professional Polish
   Scope: portfolio gallery routes only. News/Hero/Overview/Departments stay locked.
   ========================================================== */
.eb07-portfolio-archive{
  padding:38px 0 58px;
  background:linear-gradient(180deg,#fbfdfc 0,#fff 240px,#fff 100%);
}
.eb07-portfolio-archive>.eb07-container{max-width:1180px}
.eb07-portfolio-archive .eb07-heading{max-width:820px;margin:0 auto 22px;text-align:center}
.eb07-portfolio-archive .eb07-heading h1{font-size:38px;line-height:1.45;margin:8px 0 7px;text-wrap:balance}
.eb07-portfolio-archive .eb07-heading p{max-width:650px;margin-inline:auto;line-height:1.9;color:#7c8b82}
.eb07-portfolio-archive .eb07-chips{margin-bottom:22px}
.eb07-portfolio-archive .eb07-report-grid{gap:18px;align-items:stretch}
.eb07-portfolio-archive .eb07-report-card{
  display:flex;
  flex-direction:column;
  min-height:430px;
  border-radius:22px;
  box-shadow:0 10px 30px rgba(21,53,34,.05);
  content-visibility:auto;
  contain-intrinsic-size:430px 360px;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.eb07-portfolio-archive .eb07-report-card:hover{transform:translateY(-3px);box-shadow:0 15px 34px rgba(21,53,34,.085);border-color:#bfd5c6}
.eb07-portfolio-archive .eb07-report-media{height:230px;background:linear-gradient(145deg,#eef4f0,#fafcfb)}
.eb07-portfolio-archive .eb07-report-media img,.eb07-portfolio-archive .eb07-report-media .ebip-media-img{display:block;width:100%;height:100%}
.eb07-portfolio-archive .eb07-report-media.is-landscape img,.eb07-portfolio-archive .eb07-report-media.is-landscape .ebip-media-img{object-fit:cover;object-position:center}
.eb07-portfolio-archive .eb07-report-media.is-portrait img,.eb07-portfolio-archive .eb07-report-media.is-portrait .ebip-media-img,
.eb07-portfolio-archive .eb07-report-media.is-square img,.eb07-portfolio-archive .eb07-report-media.is-square .ebip-media-img{object-fit:contain;object-position:center;background:#f8faf9;padding:6px}
.eb07-portfolio-archive .eb07-report-body{display:flex;flex-direction:column;flex:1;padding:18px 19px 19px}
.eb07-portfolio-archive .eb07-report-body h2{font-size:19px;line-height:1.72;margin:6px 0 8px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-wrap:pretty}
.eb07-portfolio-archive .eb07-report-body p{font-size:13px;line-height:1.9;margin:0 0 14px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:#6d7b72}
.eb07-portfolio-archive .eb07-report-body .eb07-btn{margin-top:auto;align-self:flex-start;min-height:36px;padding:7px 13px}
.eb07-portfolio-archive .eb07-pagination{margin-top:30px}

.eb07-portfolio-single{
  padding:34px 0 58px;
  background:linear-gradient(180deg,#fbfdfc 0,#fff 210px,#fff 100%);
}
.eb07-portfolio-single>.eb07-container{max-width:1080px}
.eb07-portfolio-single .eb07-heading{max-width:900px;margin:0 auto 16px;text-align:center}
.eb07-portfolio-single .eb07-heading h1{font-size:38px;line-height:1.5;margin:8px 0 8px;text-wrap:balance}
.eb07-portfolio-single .eb07-heading p{margin:0 auto;max-width:650px;color:#7c8b82;line-height:1.9}
.eb07-portfolio-single .eb07-back{margin:0 0 14px}
.eb07-portfolio-single .eb07-article{border-radius:24px;box-shadow:0 13px 38px rgba(22,54,35,.05)}
.eb07-portfolio-single .eb07-gallery-single{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  padding:12px;
  background:#f7faf8;
}
.eb07-portfolio-single .eb07-gallery-single a{display:block;overflow:hidden;border-radius:16px;background:#eef4f0;min-width:0}
.eb07-portfolio-single .eb07-gallery-single a:first-child{grid-column:1/-1}
.eb07-portfolio-single .eb07-gallery-single img{display:block;width:100%;height:300px;object-fit:cover;object-position:center}
.eb07-portfolio-single .eb07-gallery-single a.is-portrait img,
.eb07-portfolio-single .eb07-gallery-single a.is-square img{object-fit:contain;background:#f8faf9}
.eb07-portfolio-single .eb07-gallery-single a:first-child img{height:auto;max-height:620px;object-fit:contain;background:#f8faf9}
.eb07-portfolio-single .eb07-article-meta{padding:17px 22px 0;flex-wrap:wrap}
.eb07-portfolio-single .eb07-article>.eb07-prose{padding:20px 24px 30px;font-size:14px;line-height:2}
.eb07-portfolio-single .eb07-related{margin-top:34px}
.eb07-portfolio-single .eb07-related h2{font-size:27px;margin-bottom:18px}
.eb07-portfolio-single .eb07-mini{border-radius:17px;box-shadow:0 7px 20px rgba(22,54,35,.035)}
.eb07-portfolio-single .eb07-mini img,.eb07-portfolio-single .eb07-mini .ebip-media-img{height:170px;object-fit:cover}
.eb07-portfolio-single .eb07-mini strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:3.4em}

@media(max-width:1100px){
  .eb07-portfolio-archive>.eb07-container,.eb07-portfolio-single>.eb07-container{width:calc(100% - 32px)}
  .eb07-portfolio-archive .eb07-report-card{min-height:410px}
}
@media(max-width:767px){
  .eb07-portfolio-archive{padding:28px 0 42px}
  .eb07-portfolio-single{padding:26px 0 42px}
  .eb07-portfolio-archive>.eb07-container,.eb07-portfolio-single>.eb07-container{width:calc(100% - 20px)}
  .eb07-portfolio-archive .eb07-heading h1,.eb07-portfolio-single .eb07-heading h1{font-size:28px;line-height:1.6}
  .eb07-portfolio-archive .eb07-heading p,.eb07-portfolio-single .eb07-heading p{font-size:12.5px}
  .eb07-portfolio-archive .eb07-report-card{min-height:0}
  .eb07-portfolio-archive .eb07-report-media{height:195px}
  .eb07-portfolio-archive .eb07-report-body{padding:15px}
  .eb07-portfolio-single .eb07-gallery-single{grid-template-columns:1fr;padding:8px;gap:8px}
  .eb07-portfolio-single .eb07-gallery-single a:first-child{grid-column:auto}
  .eb07-portfolio-single .eb07-gallery-single img,
  .eb07-portfolio-single .eb07-gallery-single a:first-child img{height:auto;max-height:none;object-fit:contain}
  .eb07-portfolio-single .eb07-article-meta{padding:14px 14px 0}
  .eb07-portfolio-single .eb07-article>.eb07-prose{padding:17px 15px 23px}
  .eb07-portfolio-single .eb07-related{margin-top:28px}
  .eb07-portfolio-single .eb07-related h2{font-size:23px}
}
@media(prefers-reduced-motion:reduce){
  .eb07-portfolio-archive .eb07-report-card{transition:none!important;transform:none!important}
}


/* ==========================================================
   v0.8.38 — Gallery Archive + Single Editorial Professional Polish
   Portfolio-only. Stabilizes image counts/layout, removes legacy duplicate media,
   improves density, hierarchy, responsive behavior and related-report cards.
   ========================================================== */
.eb07-portfolio-archive{
  padding:34px 0 54px;
  background:
    radial-gradient(circle at 82% 3%,color-mix(in srgb,var(--eb07-accent,#148447) 5%,transparent),transparent 28%),
    linear-gradient(180deg,#fbfdfc 0,#fff 230px,#fff 100%);
}
.eb07-portfolio-archive>.eb07-container{max-width:1160px}
.eb07-portfolio-archive .eb07-heading{
  max-width:820px;margin:0 auto 18px;padding:20px 24px 18px;
  border:1px solid #e7eee9;border-radius:22px;background:rgba(250,253,251,.9);
  box-shadow:0 10px 28px rgba(22,54,35,.035);
}
.eb07-portfolio-archive .eb07-heading h1{font-size:36px;margin:7px 0 6px}
.eb07-portfolio-archive .eb07-heading p{font-size:13.5px}
.eb07-portfolio-archive .eb07-chips{margin-bottom:12px}
.eb07-report-resultbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 2px 15px;padding:0 4px;color:#8a968f;font-size:11px}
.eb07-report-resultbar strong{font-size:12px;color:#294637;font-weight:900}
.eb07-portfolio-archive .eb07-report-grid{gap:16px}
.eb07-portfolio-archive .eb07-report-card{min-height:398px;border-radius:20px;box-shadow:0 8px 24px rgba(21,53,34,.045)}
.eb07-portfolio-archive .eb07-report-media{height:214px}
.eb07-portfolio-archive .eb07-report-media.is-portrait img,.eb07-portfolio-archive .eb07-report-media.is-square img,
.eb07-portfolio-archive .eb07-report-media.is-portrait .ebip-media-img,.eb07-portfolio-archive .eb07-report-media.is-square .ebip-media-img{
  object-fit:contain;background:linear-gradient(145deg,#f1f6f3,#fbfdfc);padding:9px;
}
.eb07-portfolio-archive .eb07-report-body{padding:16px 17px 17px}
.eb07-portfolio-archive .eb07-report-body h2{font-size:18px;line-height:1.68;margin:5px 0 7px}
.eb07-portfolio-archive .eb07-report-body p{font-size:12.5px;line-height:1.85;margin-bottom:12px}
.eb07-portfolio-archive .eb07-report-body .eb07-btn{min-height:34px;padding:6px 12px;font-size:11px}
.eb07-portfolio-archive .eb07-pagination{margin-top:26px}

.eb07-portfolio-single{
  padding:30px 0 56px;
  background:
    radial-gradient(circle at 82% 1%,color-mix(in srgb,var(--eb07-accent,#148447) 5%,transparent),transparent 25%),
    linear-gradient(180deg,#fbfdfc 0,#fff 210px,#fff 100%);
}
.eb07-portfolio-single>.eb07-container{max-width:1040px}
.eb07-portfolio-single .eb07-heading{
  max-width:850px;margin:0 auto 12px;padding:18px 22px 16px;text-align:center;
  border:1px solid #e7eee9;border-radius:22px;background:rgba(250,253,251,.92);
  box-shadow:0 10px 28px rgba(22,54,35,.03);
}
.eb07-portfolio-single .eb07-heading h1{font-size:36px;line-height:1.48;margin:7px 0 6px}
.eb07-portfolio-single .eb07-heading p{font-size:13px;line-height:1.85}
.eb07-single-nav{display:flex;justify-content:flex-start;max-width:920px;margin:0 auto 10px}
.eb07-portfolio-single .eb07-back{margin:0;padding:8px 13px;border:1px solid #dce8e0;border-radius:999px;background:#fff;font-size:11px;text-decoration:none!important}
.eb07-portfolio-single .eb07-back:hover{background:#f2f8f4;border-color:#cbded2}
.eb07-portfolio-single .eb07-article{max-width:920px;margin:0 auto;border-radius:24px;border:1px solid #dce7e0;background:#fff;box-shadow:0 16px 42px rgba(22,54,35,.055);overflow:hidden}
.eb07-portfolio-single .eb07-article-meta{
  display:flex!important;position:static!important;clear:both;justify-content:center;gap:8px;flex-wrap:wrap;
  padding:14px 16px 12px;border-bottom:1px solid #edf2ef;background:#fbfdfc;
}
.eb07-portfolio-single .eb07-article-meta span{padding:6px 10px;border:1px solid #e2ebe5;background:#fff;color:#607067;font-size:10.5px}
.eb07-portfolio-single .eb07-gallery-single{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:11px;background:#f6faf7;
}
.eb07-portfolio-single .eb07-gallery-single a{position:relative;display:block;overflow:hidden;border-radius:15px;background:#eef4f0;min-width:0;border:1px solid #e6eee9}
.eb07-portfolio-single .eb07-gallery-single a:first-child{grid-column:1/-1}
.eb07-portfolio-single .eb07-gallery-single img{display:block;width:100%;height:286px;object-fit:cover;object-position:center}
.eb07-portfolio-single .eb07-gallery-single a.is-portrait img,.eb07-portfolio-single .eb07-gallery-single a.is-square img{object-fit:contain;background:#f8faf9}
.eb07-portfolio-single .eb07-gallery-single a:first-child img{height:auto;max-height:560px;object-fit:contain;background:#f8faf9;margin:auto}
/* Two images look more intentional side-by-side; 4 images use a hero + 3-tile row. */
.eb07-portfolio-single .eb07-gallery-single.has-count-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.eb07-portfolio-single .eb07-gallery-single.has-count-2 a:first-child{grid-column:auto}
.eb07-portfolio-single .eb07-gallery-single.has-count-2 img,.eb07-portfolio-single .eb07-gallery-single.has-count-2 a:first-child img{height:330px;object-fit:cover}
.eb07-portfolio-single .eb07-gallery-single.has-count-4{grid-template-columns:repeat(3,minmax(0,1fr))}
.eb07-portfolio-single .eb07-gallery-single.has-count-4 a:first-child{grid-column:1/-1}
.eb07-portfolio-single .eb07-gallery-single.has-count-4 a:not(:first-child) img{height:230px}
.eb07-portfolio-single .eb07-gallery-single.has-count-6,
.eb07-portfolio-single .eb07-gallery-single.has-count-7,
.eb07-portfolio-single .eb07-gallery-single.has-count-8,
.eb07-portfolio-single .eb07-gallery-single.has-count-9,
.eb07-portfolio-single .eb07-gallery-single.has-count-10,
.eb07-portfolio-single .eb07-gallery-single.has-count-11,
.eb07-portfolio-single .eb07-gallery-single.has-count-12{grid-template-columns:repeat(3,minmax(0,1fr))}
.eb07-portfolio-single .eb07-gallery-single.has-count-6 a:first-child,
.eb07-portfolio-single .eb07-gallery-single.has-count-7 a:first-child,
.eb07-portfolio-single .eb07-gallery-single.has-count-8 a:first-child,
.eb07-portfolio-single .eb07-gallery-single.has-count-9 a:first-child,
.eb07-portfolio-single .eb07-gallery-single.has-count-10 a:first-child,
.eb07-portfolio-single .eb07-gallery-single.has-count-11 a:first-child,
.eb07-portfolio-single .eb07-gallery-single.has-count-12 a:first-child{grid-column:1/-1}
.eb07-portfolio-single .eb07-gallery-single.has-count-6 a:not(:first-child) img,
.eb07-portfolio-single .eb07-gallery-single.has-count-7 a:not(:first-child) img,
.eb07-portfolio-single .eb07-gallery-single.has-count-8 a:not(:first-child) img,
.eb07-portfolio-single .eb07-gallery-single.has-count-9 a:not(:first-child) img,
.eb07-portfolio-single .eb07-gallery-single.has-count-10 a:not(:first-child) img,
.eb07-portfolio-single .eb07-gallery-single.has-count-11 a:not(:first-child) img,
.eb07-portfolio-single .eb07-gallery-single.has-count-12 a:not(:first-child) img{height:220px}
.eb07-portfolio-caption{margin:0;padding:20px 24px 24px!important;border-top:1px solid #edf2ef;background:#fff;font-size:14px!important;line-height:2!important}
.eb07-portfolio-single .eb07-related{max-width:920px;margin:28px auto 0}
.eb07-portfolio-single .eb07-related h2{font-size:24px;margin-bottom:14px}
.eb07-portfolio-single .eb07-mini-grid{gap:12px}
.eb07-portfolio-single .eb07-mini{border-radius:16px;box-shadow:0 6px 18px rgba(22,54,35,.035);transition:transform .18s ease,box-shadow .18s ease}
.eb07-portfolio-single .eb07-mini:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(22,54,35,.07)}
.eb07-portfolio-single .eb07-mini img,.eb07-portfolio-single .eb07-mini .ebip-media-img{height:145px;object-fit:cover}
.eb07-portfolio-single .eb07-mini strong{padding:12px 13px;font-size:13px;line-height:1.65;min-height:3.3em}

@media(max-width:767px){
  .eb07-portfolio-archive{padding:24px 0 38px}
  .eb07-portfolio-archive .eb07-heading{padding:17px 14px 15px;border-radius:18px}
  .eb07-portfolio-archive .eb07-heading h1{font-size:27px}
  .eb07-report-resultbar{font-size:10px;margin-bottom:11px}.eb07-report-resultbar strong{font-size:11px}
  .eb07-portfolio-archive .eb07-report-media{height:190px}
  .eb07-portfolio-single{padding:22px 0 40px}
  .eb07-portfolio-single>.eb07-container{width:calc(100% - 18px)}
  .eb07-portfolio-single .eb07-heading{padding:16px 13px 14px;border-radius:18px}
  .eb07-portfolio-single .eb07-heading h1{font-size:26px;line-height:1.58}
  .eb07-single-nav{margin-bottom:8px}
  .eb07-portfolio-single .eb07-article{border-radius:18px}
  .eb07-portfolio-single .eb07-article-meta{justify-content:flex-start;padding:11px 10px 10px;gap:6px}
  .eb07-portfolio-single .eb07-gallery-single,
  .eb07-portfolio-single .eb07-gallery-single.has-count-2,
  .eb07-portfolio-single .eb07-gallery-single.has-count-4,
  .eb07-portfolio-single .eb07-gallery-single.has-count-6,
  .eb07-portfolio-single .eb07-gallery-single.has-count-7,
  .eb07-portfolio-single .eb07-gallery-single.has-count-8,
  .eb07-portfolio-single .eb07-gallery-single.has-count-9,
  .eb07-portfolio-single .eb07-gallery-single.has-count-10,
  .eb07-portfolio-single .eb07-gallery-single.has-count-11,
  .eb07-portfolio-single .eb07-gallery-single.has-count-12{grid-template-columns:1fr!important;padding:7px;gap:7px}
  .eb07-portfolio-single .eb07-gallery-single a:first-child,.eb07-portfolio-single .eb07-gallery-single.has-count-2 a:first-child{grid-column:auto}
  .eb07-portfolio-single .eb07-gallery-single img,
  .eb07-portfolio-single .eb07-gallery-single a:first-child img,
  .eb07-portfolio-single .eb07-gallery-single.has-count-2 img,
  .eb07-portfolio-single .eb07-gallery-single.has-count-2 a:first-child img,
  .eb07-portfolio-single .eb07-gallery-single.has-count-4 a:not(:first-child) img,
  .eb07-portfolio-single .eb07-gallery-single.has-count-6 a:not(:first-child) img,
  .eb07-portfolio-single .eb07-gallery-single.has-count-7 a:not(:first-child) img,
  .eb07-portfolio-single .eb07-gallery-single.has-count-8 a:not(:first-child) img,
  .eb07-portfolio-single .eb07-gallery-single.has-count-9 a:not(:first-child) img,
  .eb07-portfolio-single .eb07-gallery-single.has-count-10 a:not(:first-child) img,
  .eb07-portfolio-single .eb07-gallery-single.has-count-11 a:not(:first-child) img,
  .eb07-portfolio-single .eb07-gallery-single.has-count-12 a:not(:first-child) img{height:auto;max-height:none;object-fit:contain;background:#f8faf9}
  .eb07-portfolio-caption{padding:16px 13px 19px!important;font-size:13px!important}
  .eb07-portfolio-single .eb07-related{margin-top:24px}
  .eb07-portfolio-single .eb07-related h2{font-size:21px}
  .eb07-portfolio-single .eb07-mini-grid{grid-template-columns:1fr 1fr!important;gap:8px}
  .eb07-portfolio-single .eb07-mini img,.eb07-portfolio-single .eb07-mini .ebip-media-img{height:115px}
  .eb07-portfolio-single .eb07-mini strong{font-size:11.5px;padding:9px;min-height:3.2em}
}
@media(max-width:390px){
  .eb07-portfolio-single .eb07-mini-grid{grid-template-columns:1fr!important}
  .eb07-portfolio-single .eb07-mini img,.eb07-portfolio-single .eb07-mini .ebip-media-img{height:150px}
}


/* ==========================================================
   v0.8.39 — Portfolio Single Related Reports Professional Cards
   Fixes portrait/square thumbnail cropping and upgrades related-report hierarchy.
   Scoped only to portfolio single related section.
   ========================================================== */
.eb07-portfolio-single .eb07-related{
  max-width:920px;
  margin:30px auto 0;
  padding:22px;
  border:1px solid #e2ebe5;
  border-radius:22px;
  background:linear-gradient(180deg,#fbfdfc,#fff);
  box-shadow:0 10px 30px rgba(22,54,35,.035);
}
.eb07-portfolio-single .eb07-related__head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:16px;
  margin:0 0 15px;
  padding-bottom:13px;
  border-bottom:1px solid #edf2ee;
}
.eb07-portfolio-single .eb07-related__head span{
  color:var(--eb07-accent,#148447);
  font-size:11px;
  font-weight:850;
}
.eb07-portfolio-single .eb07-related__head h2{
  margin:0;
  color:#183126;
  font-size:23px;
  line-height:1.45;
}
.eb07-portfolio-single .eb07-mini-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.eb07-portfolio-single .eb07-mini{
  display:flex;
  min-width:0;
  overflow:hidden;
  flex-direction:column;
  border:1px solid #e1eae4;
  border-radius:17px;
  background:#fff;
  box-shadow:0 6px 18px rgba(22,54,35,.035);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.eb07-portfolio-single .eb07-mini:hover{
  transform:translateY(-3px);
  border-color:color-mix(in srgb,var(--eb07-accent,#148447) 25%,#e1eae4);
  box-shadow:0 12px 26px rgba(22,54,35,.075);
}
.eb07-portfolio-single .eb07-mini__media{
  position:relative;
  display:flex;
  width:100%;
  height:185px;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:linear-gradient(145deg,#eef4f0,#fafcfb);
  text-decoration:none!important;
}
.eb07-portfolio-single .eb07-mini__media img,
.eb07-portfolio-single .eb07-mini__media .ebip-media-img{
  display:block;
  width:100%;
  height:100%!important;
  margin:0!important;
  object-position:center center;
}
.eb07-portfolio-single .eb07-mini.is-landscape .eb07-mini__media img,
.eb07-portfolio-single .eb07-mini.is-landscape .eb07-mini__media .ebip-media-img{
  object-fit:cover!important;
}
.eb07-portfolio-single .eb07-mini.is-portrait .eb07-mini__media img,
.eb07-portfolio-single .eb07-mini.is-portrait .eb07-mini__media .ebip-media-img,
.eb07-portfolio-single .eb07-mini.is-square .eb07-mini__media img,
.eb07-portfolio-single .eb07-mini.is-square .eb07-mini__media .ebip-media-img{
  object-fit:contain!important;
  background:#f8faf9;
}
.eb07-portfolio-single .eb07-mini__media span{
  position:absolute;
  right:10px;
  bottom:10px;
  z-index:2;
  max-width:calc(100% - 20px);
  padding:5px 9px;
  border-radius:999px;
  background:var(--eb07-accent,#148447);
  color:#fff;
  font-size:9.5px;
  font-weight:800;
  line-height:1.3;
}
.eb07-portfolio-single .eb07-mini__body{
  display:flex;
  flex:1;
  flex-direction:column;
  padding:13px 14px 14px;
}
.eb07-portfolio-single .eb07-mini__meta{
  margin-bottom:6px;
  color:#98a39c;
  font-size:10px;
}
.eb07-portfolio-single .eb07-mini h3{
  margin:0 0 12px;
  font-size:14px;
  line-height:1.7;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
}
.eb07-portfolio-single .eb07-mini h3 a{
  color:#193126;
  text-decoration:none!important;
}
.eb07-portfolio-single .eb07-mini__link{
  display:inline-flex;
  align-items:center;
  align-self:flex-start;
  margin-top:auto;
  min-height:31px;
  padding:5px 10px;
  border:1px solid #d8e6dd;
  border-radius:999px;
  color:var(--eb07-accent,#148447)!important;
  background:#fff;
  text-decoration:none!important;
  font-size:10px;
  font-weight:850;
}
.eb07-portfolio-single .eb07-mini__link:hover{
  background:var(--eb07-accent,#148447);
  border-color:var(--eb07-accent,#148447);
  color:#fff!important;
}
@media(max-width:1024px){
  .eb07-portfolio-single .eb07-related{padding:18px}
  .eb07-portfolio-single .eb07-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .eb07-portfolio-single .eb07-mini__media{height:175px}
}
@media(max-width:767px){
  .eb07-portfolio-single .eb07-related{margin-top:22px;padding:14px;border-radius:18px}
  .eb07-portfolio-single .eb07-related__head{align-items:flex-start;flex-direction:column-reverse;gap:3px;margin-bottom:12px;padding-bottom:10px}
  .eb07-portfolio-single .eb07-related__head h2{font-size:20px}
  .eb07-portfolio-single .eb07-mini-grid{grid-template-columns:1fr;gap:10px}
  .eb07-portfolio-single .eb07-mini__media{height:210px}
  .eb07-portfolio-single .eb07-mini__body{padding:12px 13px 13px}
  .eb07-portfolio-single .eb07-mini h3{font-size:13.5px}
}


/* ==========================================================
   v0.8.40 — Portfolio Related Reports Smart Image Canvas
   Final visual polish for mixed portrait / square / landscape thumbnails.
   Scope: portfolio single related reports only. No JS, no extra queries.
   ========================================================== */
.eb07-portfolio-single .eb07-mini__media{
  isolation:isolate;
  height:196px;
  background:#f2f6f3;
}
.eb07-portfolio-single .eb07-mini__backdrop{
  position:absolute;
  z-index:0;
  inset:-18px;
  display:block;
  background-position:center;
  background-size:cover;
  filter:blur(18px) saturate(.82);
  opacity:.20;
  transform:scale(1.08);
  pointer-events:none;
}
.eb07-portfolio-single .eb07-mini__media:after{
  content:"";
  position:absolute;
  z-index:1;
  inset:0;
  background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(248,251,249,.22));
  pointer-events:none;
}
.eb07-portfolio-single .eb07-mini__image{
  position:relative;
  z-index:2;
  display:flex;
  width:100%;
  height:100%;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  font-weight:inherit;
}
.eb07-portfolio-single .eb07-mini__image img,
.eb07-portfolio-single .eb07-mini__image .ebip-media-img{
  display:block;
  margin:0!important;
}
.eb07-portfolio-single .eb07-mini.is-landscape .eb07-mini__image img,
.eb07-portfolio-single .eb07-mini.is-landscape .eb07-mini__image .ebip-media-img{
  width:100%;
  height:100%!important;
  object-fit:cover!important;
  object-position:center center!important;
}
.eb07-portfolio-single .eb07-mini.is-portrait .eb07-mini__image img,
.eb07-portfolio-single .eb07-mini.is-portrait .eb07-mini__image .ebip-media-img{
  width:auto!important;
  max-width:76%!important;
  height:calc(100% - 16px)!important;
  max-height:calc(100% - 16px)!important;
  object-fit:contain!important;
  object-position:center!important;
  border-radius:10px;
  box-shadow:0 7px 20px rgba(20,49,31,.12);
}
.eb07-portfolio-single .eb07-mini.is-square .eb07-mini__image img,
.eb07-portfolio-single .eb07-mini.is-square .eb07-mini__image .ebip-media-img{
  width:auto!important;
  max-width:88%!important;
  height:calc(100% - 16px)!important;
  max-height:calc(100% - 16px)!important;
  object-fit:contain!important;
  object-position:center!important;
  border-radius:10px;
  box-shadow:0 7px 20px rgba(20,49,31,.10);
}
.eb07-portfolio-single .eb07-mini__media>span{
  z-index:4;
}
.eb07-portfolio-single .eb07-mini__body{
  min-height:144px;
}
.eb07-portfolio-single .eb07-mini__meta{
  min-height:16px;
}
.eb07-portfolio-single .eb07-mini h3{
  min-height:48px;
}
@media(max-width:1024px){
  .eb07-portfolio-single .eb07-mini__media{height:184px}
}
@media(max-width:767px){
  .eb07-portfolio-single .eb07-mini__media{height:215px}
  .eb07-portfolio-single .eb07-mini__body{min-height:132px}
  .eb07-portfolio-single .eb07-mini.is-portrait .eb07-mini__image img,
  .eb07-portfolio-single .eb07-mini.is-portrait .eb07-mini__image .ebip-media-img{max-width:72%!important}
}
@media(prefers-reduced-motion:reduce){
  .eb07-portfolio-single .eb07-mini__backdrop{filter:blur(14px) saturate(.75)}
}


/* ==========================================================
   v0.8.42 — Dabestan Team Directory + Profile Professional Polish
   Scope: team grid and team single only. Locked news/gallery/home sections untouched.
   ========================================================== */
.eb07-team{width:min(1220px,100%);margin-inline:auto}
.eb07-team-grid{
  display:grid;
  grid-template-columns:repeat(var(--eb07-cols,4),minmax(0,1fr));
  align-items:stretch;
}
.eb07-team-card{
  position:relative;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  background:#fff;
  border:1px solid #dfe8e2;
  box-shadow:0 12px 34px rgba(20,71,43,.055);
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.eb07-team-card:hover{transform:translateY(-3px);box-shadow:0 18px 44px rgba(20,71,43,.09);border-color:#cfe0d5}
.eb07-team-photo{position:relative;display:block;overflow:hidden;background:linear-gradient(145deg,#edf5f0,#fafcfb)}
.eb07-team-photo img,.eb07-team-photo .ebip-media-img{display:block;width:100%;height:100%;object-fit:cover;object-position:center top;transition:transform .35s ease}
.eb07-team-card:hover .eb07-team-photo img{transform:scale(1.018)}
.eb07-team-photo::after{content:"";position:absolute;inset:auto 0 0;height:28%;background:linear-gradient(to top,rgba(14,58,34,.12),transparent);pointer-events:none}
.eb07-team-photo-fallback{height:100%;display:grid;place-items:center;align-content:center;gap:8px;text-align:center;background:radial-gradient(circle at 50% 30%,#fff 0,#f1f7f3 48%,#e6f1e9 100%);color:#25704a}
.eb07-team-photo-fallback i{font-style:normal;font-size:22px;color:#c99a3d}
.eb07-team-photo-fallback b{display:grid;place-items:center;width:74px;height:74px;border-radius:50%;background:#fff;border:1px solid #d9e7dd;font-size:34px;box-shadow:0 10px 30px rgba(20,71,43,.07)}
.eb07-team-photo-fallback em{font-style:normal;font-size:11px;color:#7c8d83}
.eb07-team-body{display:flex;flex-direction:column;flex:1;padding:17px 17px 18px}
.eb07-team-role,.eb07-team-body>span{align-self:flex-start;display:inline-flex;align-items:center;min-height:25px;padding:5px 9px;border-radius:999px;background:#eef7f1;color:var(--eb07-accent,#148447);font-size:10.5px;font-weight:800}
.eb07-team-body h3{line-height:1.55;margin:8px 0 7px}
.eb07-team-body h3 a{color:#16271e;text-decoration:none}
.eb07-team-body p{color:#6f7c74;line-height:1.9;margin:0 0 14px;min-height:69px}
.eb07-team-body .eb07-link{margin-top:auto;display:inline-flex;align-items:center;gap:5px;width:max-content;color:var(--eb07-accent,#148447);font-weight:800;text-decoration:none;padding-top:2px}
.eb07-team-grid.cols-2 .eb07-team-card.is-orphan{grid-column:1/-1;width:min(100%,330px);justify-self:center}
.eb07-team-grid.cols-3 .eb07-team-card.is-orphan{grid-column:2;width:100%}
.eb07-team-grid.cols-4 .eb07-team-card.is-orphan{grid-column:2/span 2;width:min(100%,320px);justify-self:center}
.eb07-team-grid.cols-5 .eb07-team-card.is-orphan{grid-column:3;width:100%}

.eb07-team-single{padding:34px 0 60px;background:linear-gradient(180deg,#fff 0,#fbfdfb 100%)}
.eb07-profile-wrap{margin-inline:auto}
.eb07-team-single .eb07-back{display:inline-flex;align-items:center;gap:7px;margin:0 0 16px;padding:8px 13px;border:1px solid #dce8e0;border-radius:999px;background:#fff;color:var(--eb07-accent,#148447);font-size:12px;font-weight:800;text-decoration:none;box-shadow:0 6px 18px rgba(20,71,43,.035)}
.eb07-profile{
  --eb07-profile-photo:330px;
  display:grid;
  grid-template-columns:var(--eb07-profile-photo) minmax(0,1fr);
  align-items:start;
  max-width:none;
  margin:0 auto;
  border:1px solid #dfe8e2;
  border-radius:28px;
  background:linear-gradient(145deg,#fff 0,#fbfdfb 100%);
  box-shadow:0 18px 48px rgba(20,71,43,.065);
}
.eb07-profile-photo{position:sticky;top:110px;overflow:hidden;border-radius:22px;background:linear-gradient(145deg,#edf5f0,#fafcfb);box-shadow:0 12px 30px rgba(20,71,43,.06)}
.eb07-profile-photo img,.eb07-profile-photo .ebip-media-img{display:block;width:100%;height:100%!important;max-height:none!important;object-fit:cover;object-position:center top}
.eb07-profile-photo-fallback{height:100%;display:grid;place-items:center;align-content:center;gap:10px;text-align:center;background:radial-gradient(circle at 50% 30%,#fff,#eef6f1 55%,#e5f0e8);color:#26734d}
.eb07-profile-photo-fallback i{font-style:normal;color:#c99a3d;font-size:25px}
.eb07-profile-photo-fallback b{display:grid;place-items:center;width:100px;height:100px;border-radius:50%;background:#fff;border:1px solid #d8e6dc;font-size:44px}
.eb07-profile-photo-fallback em{font-style:normal;color:#778a7e;font-size:12px}
.eb07-profile-copy{min-width:0;padding:2px 0 4px}
.eb07-profile-label{display:inline-flex;align-items:center;padding:7px 12px;border-radius:999px;background:#eef7f1;color:var(--eb07-accent,#148447);font-size:11px;font-weight:850;margin-bottom:6px}
.eb07-profile-copy h1{color:#13271c;line-height:1.35;margin:8px 0 18px!important;letter-spacing:-.01em}
.eb07-profile-intro{margin:0 0 18px;padding:14px 16px;border-right:3px solid var(--eb07-accent,#148447);border-radius:12px;background:#f5faf6;color:#53655b;font-size:14px;line-height:1.95}
.eb07-profile-copy .eb07-prose{color:#536159;font-size:14px;line-height:2.05}
.eb07-profile-copy .eb07-prose p,.eb07-profile-copy .eb07-prose li{unicode-bidi:plaintext}
.eb07-profile-copy .eb07-prose>p:first-child{font-size:15px;color:#43544a}
.eb07-profile-copy .eb07-prose h2,.eb07-profile-copy .eb07-prose h3{
  position:relative;
  color:#17271f!important;
  font-size:20px!important;
  line-height:1.6;
  margin:26px 0 12px!important;
  padding:10px 14px!important;
  border:0!important;
  border-radius:12px;
  background:#f6faf7;
}
.eb07-profile-copy .eb07-prose h2::before,.eb07-profile-copy .eb07-prose h3::before{content:"";display:inline-block;width:6px;height:6px;margin-left:8px;border-radius:50%;background:var(--eb07-accent,#148447);vertical-align:middle}
.eb07-profile-copy .eb07-prose ul,.eb07-profile-copy .eb07-prose ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 26px;margin:10px 0 18px;padding:0 20px 0 0}
.eb07-profile-copy .eb07-prose li{padding:3px 0;line-height:1.9}
.eb07-profile-info{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:20px}
.eb07-profile-info>div{padding:13px 14px;border:1px solid #e2eae4;border-radius:14px;background:#fff}
.eb07-profile-info span{display:block;color:#8b988f;font-size:10px;margin-bottom:4px}
.eb07-profile-info strong{display:block;color:#26372d;font-size:13px;line-height:1.7}

@media(max-width:1100px){
  .eb07-team-grid{grid-template-columns:repeat(var(--eb07-tablet-cols,2),minmax(0,1fr))}
  .eb07-team-grid .eb07-team-card.is-orphan{grid-column:auto;width:auto;justify-self:stretch}
  .eb07-team-grid .eb07-team-card:last-child:nth-child(odd){grid-column:1/-1;width:min(100%,380px);justify-self:center}
  .eb07-profile{--eb07-profile-photo:290px}
}
@media(max-width:767px){
  .eb07-team-grid{grid-template-columns:repeat(var(--eb07-mobile-cols,1),minmax(0,1fr))}
  .eb07-team-grid .eb07-team-card.is-orphan,.eb07-team-grid .eb07-team-card:last-child:nth-child(odd){grid-column:auto;width:auto;justify-self:stretch}
  .eb07-team-card{min-height:0!important}
  .eb07-team-body{padding:16px 16px 17px}
  .eb07-team-body p{min-height:0}
  .eb07-team-single{padding:22px 0 42px}
  .eb07-team-single .eb07-back{margin-right:4px}
  .eb07-profile{grid-template-columns:1fr;border-radius:22px}
  .eb07-profile-photo{position:static;top:auto;width:min(100%,360px);margin-inline:auto;border-radius:18px}
  .eb07-profile-copy h1{margin-top:7px!important}
  .eb07-profile-copy .eb07-prose h2,.eb07-profile-copy .eb07-prose h3{font-size:18px!important;padding:9px 11px!important}
  .eb07-profile-copy .eb07-prose ul,.eb07-profile-copy .eb07-prose ol{grid-template-columns:1fr;gap:5px}
  .eb07-profile-info{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
  .eb07-team-card,.eb07-team-photo img{transition:none!important}
  .eb07-team-card:hover{transform:none!important}
}

/* ==========================================================
   v0.8.43 — Dabestan Team Directory + Personal Profile Premium
   Elementor-first, CSS-only, performance-conscious.
   ========================================================== */
.eb07-team{border-radius:30px;position:relative}
.eb07-team-kicker{display:inline-flex;align-items:center;gap:8px;margin-bottom:8px;color:var(--eb07-accent,#148447);font-size:11px;font-weight:850}
.eb07-team-kicker:before{content:"";width:24px;height:2px;border-radius:999px;background:var(--eb07-gold,#c99a3d)}
.eb07-team-overview{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 22px;padding:18px 20px;border:1px solid #dfeae3;border-radius:20px;background:linear-gradient(115deg,#f5faf6 0,#fff 58%,#fbf6e8 130%);box-shadow:0 10px 26px rgba(20,71,43,.045)}
.eb07-team-overview__copy{display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:10px;row-gap:2px}
.eb07-team-overview__copy>span{grid-row:1/3;display:grid;place-items:center;width:38px;height:38px;border-radius:13px;background:#fff;color:var(--eb07-gold,#c99a3d);border:1px solid #e4ece6;box-shadow:0 8px 18px rgba(20,71,43,.04)}
.eb07-team-overview__copy strong{font-size:15px;color:#163126}
.eb07-team-overview__copy small{font-size:11.5px;color:#7b8b81}
.eb07-team-overview__stats{display:flex;align-items:stretch;gap:9px}
.eb07-team-overview__stats>div{min-width:88px;display:flex;align-items:center;justify-content:center;gap:7px;padding:10px 13px;border:1px solid #e0e9e3;border-radius:15px;background:#fff}
.eb07-team-overview__stats b{font-size:20px;color:var(--eb07-accent,#148447);font-variant-numeric:tabular-nums}
.eb07-team-overview__stats span{font-size:10.5px;color:#78887e;font-weight:750}
.eb07-team.is-premium .eb07-team-card{border-color:#dce7df;box-shadow:0 14px 36px rgba(18,62,38,.06);content-visibility:auto;contain-intrinsic-size:0 510px}
.eb07-team.is-premium .eb07-team-card:hover{transform:translateY(-5px);box-shadow:0 22px 50px rgba(18,62,38,.11);border-color:#c8dccc}
.eb07-team.is-premium .eb07-team-photo{isolation:isolate}
.eb07-team.is-premium .eb07-team-photo:before{content:"";position:absolute;z-index:2;inset:0;background:linear-gradient(to top,rgba(8,39,23,.34),transparent 42%);pointer-events:none}
.eb07-team.is-premium .eb07-team-photo:after{height:0;background:none}
.eb07-team-role-overlay{position:absolute;z-index:3;right:13px;bottom:13px;max-width:calc(100% - 72px);padding:6px 10px;border-radius:999px;background:rgba(17,125,68,.93);color:#fff;font-size:10.5px;line-height:1.4;font-weight:850;backdrop-filter:blur(7px);box-shadow:0 7px 18px rgba(9,64,34,.18);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.eb07-team-photo-arrow{position:absolute;z-index:3;left:13px;bottom:13px;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.94);border:1px solid rgba(255,255,255,.85);color:var(--eb07-accent,#148447);font-size:16px;font-weight:800;box-shadow:0 8px 20px rgba(17,54,34,.14);transition:transform .2s ease}
.eb07-team-card:hover .eb07-team-photo-arrow{transform:translate(-2px,-2px)}
.eb07-team.is-classic .eb07-team-role-overlay,.eb07-team.is-classic .eb07-team-photo-arrow{display:none}
.eb07-team.is-premium .eb07-team-body{padding:18px 18px 19px}
.eb07-team.is-premium .eb07-team-body h3{font-weight:900;margin-top:1px;margin-bottom:8px}
.eb07-team.is-premium .eb07-team-body p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.eb07-team.is-premium .eb07-team-body .eb07-link{margin-top:auto;display:flex;width:100%;align-items:center;justify-content:space-between;padding-top:12px;border-top:1px solid #edf2ee}
.eb07-team.is-premium .eb07-team-body .eb07-link b{font-size:15px;font-weight:500;transition:transform .2s ease}
.eb07-team.is-premium .eb07-team-card:hover .eb07-link b{transform:translateX(-3px)}

/* Personal profile */
.eb07-team-single{padding:38px 0 68px;background:radial-gradient(circle at 14% 12%,rgba(20,132,71,.045),transparent 31%),linear-gradient(180deg,#fff 0,#f9fcfa 100%)}
.eb07-team-single .eb07-back{margin-bottom:18px;padding:9px 15px;gap:8px;border-color:#d8e7dd;box-shadow:0 8px 22px rgba(17,62,37,.045);transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease}
.eb07-team-single .eb07-back:hover{transform:translateY(-1px);border-color:#bfd8c7;box-shadow:0 12px 28px rgba(17,62,37,.075)}
.eb07-profile{position:relative;isolation:isolate;grid-template-columns:var(--eb07-profile-photo,370px) minmax(0,1fr);align-items:start;border-color:#d9e7de;box-shadow:0 24px 64px rgba(16,61,36,.075);overflow:hidden}
.eb07-profile.image-left{grid-template-columns:minmax(0,1fr) var(--eb07-profile-photo,370px)}
.eb07-profile.image-left .eb07-profile-visual{grid-column:2}
.eb07-profile.image-left .eb07-profile-copy{grid-column:1;grid-row:1}
.eb07-profile.has-decor:before{content:attr(data-initial);position:absolute;z-index:-1;left:-28px;bottom:-76px;font-size:260px;font-weight:900;line-height:1;color:rgba(20,132,71,.025);pointer-events:none}
.eb07-profile.has-decor:after{content:"";position:absolute;z-index:-1;right:-80px;top:-90px;width:260px;height:260px;border-radius:50%;border:1px solid rgba(201,154,61,.12);box-shadow:0 0 0 35px rgba(20,132,71,.018),0 0 0 70px rgba(201,154,61,.015);pointer-events:none}
.eb07-profile-visual{min-width:0;position:relative}
.eb07-profile-photo{position:relative;top:auto;box-shadow:0 18px 42px rgba(15,55,33,.13);border:1px solid #dbe7df}
.eb07-profile-photo.is-sticky{position:sticky;top:110px}
.eb07-profile-photo:after{content:"";position:absolute;inset:auto 14% -1px;height:4px;border-radius:999px 999px 0 0;background:linear-gradient(90deg,var(--eb07-gold,#c99a3d),var(--eb07-accent,#148447));box-shadow:0 -2px 12px rgba(20,132,71,.12)}
.eb07-profile-visual-note{margin:13px 8px 0;padding:12px 14px;border:1px solid #e1eae4;border-radius:15px;background:rgba(255,255,255,.83);backdrop-filter:blur(8px)}
.eb07-profile-visual-note span{display:block;color:var(--eb07-gold,#c99a3d);font-size:9px;font-weight:900;letter-spacing:.12em;direction:ltr;text-align:right}
.eb07-profile-visual-note strong{display:block;margin-top:3px;color:#33473b;font-size:11px;line-height:1.7}
.eb07-profile-copy{min-width:0;padding:4px 0 0}
.eb07-profile-head{position:relative;padding:4px 0 20px;margin-bottom:20px;border-bottom:1px solid #e8eee9}
.eb07-profile-eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--eb07-accent,#148447);font-size:11px;font-weight:850}
.eb07-profile-eyebrow i{display:block;width:24px;height:2px;border-radius:999px;background:var(--eb07-gold,#c99a3d)}
.eb07-profile-copy h1{font-weight:950;margin:10px 0 9px!important;letter-spacing:-.025em}
.eb07-profile-label{margin:0;min-height:29px;padding:6px 11px;border:1px solid #d7eadf;background:#eff8f2;box-shadow:inset 0 1px rgba(255,255,255,.8)}
.eb07-profile-intro{margin:15px 0 0;padding:15px 17px;border:1px solid #e1ebe4;border-right:3px solid var(--eb07-accent,#148447);background:linear-gradient(110deg,#f4faf6,#fff);box-shadow:0 8px 20px rgba(20,71,43,.03)}
.eb07-profile-facts-wrap{margin:0 0 20px}
.eb07-profile-subhead,.eb07-profile-content-title{display:flex;align-items:center;gap:8px;margin:0 0 10px;color:#1b3125;font-weight:900}
.eb07-profile-subhead>span,.eb07-profile-content-title>span{color:var(--eb07-gold,#c99a3d);font-size:13px}
.eb07-profile-info{margin:0;gap:10px}
.eb07-profile-info.cols-1{grid-template-columns:1fr}
.eb07-profile-info.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.eb07-profile-info.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.eb07-profile-fact{position:relative;overflow:hidden;padding:14px 15px 13px!important;border-color:#dce7df!important;border-radius:15px!important;background:linear-gradient(145deg,#fff,#f9fcfa)!important}
.eb07-profile-fact:before{content:"";position:absolute;right:0;top:0;bottom:0;width:3px;background:linear-gradient(var(--eb07-accent,#148447),var(--eb07-gold,#c99a3d))}
.eb07-profile-fact span{font-size:9.5px!important;color:#8a988f!important}
.eb07-profile-fact strong{font-size:13px!important;color:#23362a!important}
.eb07-profile-content-panel{padding:21px 22px 24px;border:1px solid #e0e9e3;border-radius:20px;background:#fbfdfb;box-shadow:0 10px 28px rgba(20,71,43,.035)}
.eb07-profile-content-title{padding-bottom:10px;border-bottom:1px solid #e9efeb}
.eb07-profile-copy .eb07-prose{line-height:2.08}
.eb07-profile-copy .eb07-prose>p{margin:0 0 15px}
.eb07-profile-copy .eb07-prose>p:last-child{margin-bottom:0}
.eb07-profile-copy .eb07-prose h2,.eb07-profile-copy .eb07-prose h3{margin:20px 0 10px!important;padding:10px 13px!important;border:1px solid #e5ece7!important;background:#fff!important;box-shadow:0 6px 16px rgba(20,71,43,.025)}
.eb07-profile-copy .eb07-prose ul,.eb07-profile-copy .eb07-prose ol{margin-bottom:14px}
.eb07-profile-copy .eb07-prose li{padding:6px 8px;border-radius:10px;background:rgba(255,255,255,.7)}
.eb07-profile-copy .eb07-prose li::marker{color:var(--eb07-accent,#148447)}

@media(max-width:1100px){
  .eb07-team-overview{padding:15px 16px}
  .eb07-profile.image-right,.eb07-profile.image-left{grid-template-columns:var(--eb07-profile-photo,310px) minmax(0,1fr)}
  .eb07-profile.image-left{grid-template-columns:minmax(0,1fr) var(--eb07-profile-photo,310px)}
  .eb07-profile-info.cols-3{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:767px){
  .eb07-team-overview{align-items:stretch;flex-direction:column;gap:12px;margin-bottom:16px;padding:14px;border-radius:17px}
  .eb07-team-overview__stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .eb07-team-overview__stats>div{min-width:0}
  .eb07-team.is-premium .eb07-team-photo-arrow{width:38px;height:38px}
  .eb07-team-role-overlay{font-size:10px;max-width:calc(100% - 76px)}
  .eb07-profile.image-right,.eb07-profile.image-left{grid-template-columns:1fr}
  .eb07-profile.image-left .eb07-profile-visual,.eb07-profile.image-left .eb07-profile-copy{grid-column:auto;grid-row:auto}
  .eb07-profile-visual{display:flex;flex-direction:column}
  .eb07-profile-photo,.eb07-profile-photo.is-sticky{position:static;top:auto;width:min(100%,380px);margin-inline:auto}
  .eb07-profile-visual-note{width:min(100%,380px);margin:10px auto 4px}
  .eb07-profile-copy{padding-top:4px}
  .eb07-profile-head{text-align:center;padding-bottom:17px;margin-bottom:16px}
  .eb07-profile-eyebrow,.eb07-profile-label{margin-inline:auto}
  .eb07-profile-eyebrow{justify-content:center}
  .eb07-profile-copy h1{margin-top:8px!important}
  .eb07-profile-intro{text-align:right}
  .eb07-profile-info.cols-1,.eb07-profile-info.cols-2,.eb07-profile-info.cols-3{grid-template-columns:1fr}
  .eb07-profile-content-panel{padding:17px 14px 19px;border-radius:17px}
  .eb07-profile.has-decor:before{font-size:180px;bottom:-45px;left:-20px}
}
@media(prefers-reduced-motion:reduce){
  .eb07-team-photo-arrow,.eb07-team-single .eb07-back{transition:none!important}
  .eb07-team-card:hover .eb07-team-photo-arrow{transform:none!important}
}

/* v0.8.56: historical Team overrides intentionally removed.
   Canonical Team styling lives only in assets/eb-team-final.css. */

/* v0.8.66 — gallery archive isolation: never allow heading/subtitle to collapse vertically */
.eb07-portfolio-archive,
.eb07-portfolio-archive .eb07-container,
.eb07-portfolio-archive .eb07-heading,
.eb07-portfolio-archive .eb07-report-grid,
.eb07-portfolio-archive .eb07-report-card{
  min-width:0;
  max-width:100%;
  writing-mode:horizontal-tb !important;
  text-orientation:mixed !important;
}
.eb07-portfolio-archive .eb07-heading h1,
.eb07-portfolio-archive .eb07-heading p{
  width:auto !important;
  min-width:0 !important;
  white-space:normal !important;
  word-break:normal !important;
  overflow-wrap:break-word !important;
  writing-mode:horizontal-tb !important;
}

/* ==========================================================
   v0.8.67 — Gallery Final Closure
   Taxonomy title/filter polish + pagination RTL + responsive hardening.
   Scope: Dabestan portfolio archive/single only.
   ========================================================== */
.eb07-portfolio-archive .eb07-report-resultbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:0 0 14px;
  color:#738279;
  font-size:12px;
}
.eb07-portfolio-archive .eb07-report-resultbar strong{
  color:#284237;
  font-weight:850;
}
.eb07-portfolio-archive .eb07-chips{
  direction:rtl;
  align-items:center;
}
.eb07-portfolio-archive .eb07-chips a{
  white-space:normal;
  text-align:center;
  line-height:1.55;
}
.eb07-portfolio-archive .eb07-pagination{
  direction:rtl;
}
.eb07-portfolio-archive .eb07-pagination ul.page-numbers{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:7px;
  margin:0;
  padding:0;
  list-style:none;
}
.eb07-portfolio-archive .eb07-pagination ul.page-numbers>li{
  margin:0;
  padding:0;
  list-style:none;
}
.eb07-portfolio-archive .eb07-pagination .page-numbers{
  margin:0;
  text-decoration:none!important;
}
.eb07-portfolio-archive .eb07-pagination a.page-numbers:hover{
  border-color:var(--eb07-accent,#148447);
  color:var(--eb07-accent,#148447);
}
.eb07-portfolio-archive .eb07-report-media{
  isolation:isolate;
}
.eb07-portfolio-archive .eb07-report-media>span{
  z-index:3;
  max-width:calc(100% - 28px);
  white-space:normal;
  line-height:1.45;
}
.eb07-portfolio-single .eb07-related__head,
.eb07-portfolio-single .eb07-mini-grid,
.eb07-portfolio-single .eb07-single-nav{
  direction:rtl;
}
.eb07-portfolio-single .eb07-mini__body,
.eb07-portfolio-single .eb07-mini h3{
  min-width:0;
}

@media(max-width:767px){
  .eb07-portfolio-archive .eb07-heading{
    margin-bottom:18px;
  }
  .eb07-portfolio-archive .eb07-chips{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    margin-bottom:16px;
  }
  .eb07-portfolio-archive .eb07-chips a{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:40px;
    padding:7px 9px;
    font-size:11.5px;
  }
  .eb07-portfolio-archive .eb07-report-resultbar{
    align-items:flex-start;
    flex-direction:column;
    gap:3px;
    margin-bottom:12px;
  }
  .eb07-portfolio-archive .eb07-pagination ul.page-numbers{
    gap:5px;
  }
  .eb07-portfolio-archive .eb07-pagination .page-numbers{
    min-width:36px;
    height:36px;
    padding-inline:8px;
    font-size:11px;
  }
  .eb07-portfolio-archive .eb07-pagination .prev,
  .eb07-portfolio-archive .eb07-pagination .next{
    min-width:72px;
  }
  .eb07-portfolio-single .eb07-article-meta{
    gap:6px;
  }
  .eb07-portfolio-single .eb07-article-meta span{
    font-size:10px;
  }
}
@media(max-width:390px){
  .eb07-portfolio-archive .eb07-chips{
    grid-template-columns:1fr;
  }
}

/* ==========================================================
   v0.8.68 — Gallery Pagination Polish
   Match the site's rounded green/white control language.
   Removes the long boxed pagination strip and makes page links
   compact, centered, RTL-safe pills like the rest of Dabestan UI.
   ========================================================== */
.eb07-portfolio-archive .eb07-pagination{
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
  width:100% !important;
  margin:30px 0 4px !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  overflow:visible !important;
}
.eb07-portfolio-archive .eb07-pagination ul.page-numbers{
  display:inline-flex !important;
  flex:0 0 auto !important;
  width:auto !important;
  max-width:100% !important;
  min-width:0 !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  margin:0 auto !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  list-style:none !important;
  direction:rtl !important;
}
.eb07-portfolio-archive .eb07-pagination ul.page-numbers>li{
  display:block !important;
  flex:0 0 auto !important;
  width:auto !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  list-style:none !important;
}
.eb07-portfolio-archive .eb07-pagination .page-numbers{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:42px !important;
  height:42px !important;
  padding:0 12px !important;
  margin:0 !important;
  border:1px solid #cfe1d6 !important;
  border-radius:999px !important;
  background:#fff !important;
  color:#176b40 !important;
  box-shadow:0 5px 14px rgba(21,84,51,.035) !important;
  font-size:12px !important;
  font-weight:850 !important;
  line-height:1 !important;
  text-decoration:none !important;
  white-space:nowrap !important;
  transition:border-color .18s ease,background .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease !important;
}
.eb07-portfolio-archive .eb07-pagination a.page-numbers:hover{
  transform:translateY(-1px) !important;
  border-color:var(--eb07-accent,#148447) !important;
  background:#f1faf4 !important;
  color:var(--eb07-accent,#148447) !important;
  box-shadow:0 8px 18px rgba(20,132,71,.08) !important;
}
.eb07-portfolio-archive .eb07-pagination .page-numbers.current{
  min-width:42px !important;
  background:var(--eb07-accent,#148447) !important;
  border-color:var(--eb07-accent,#148447) !important;
  color:#fff !important;
  box-shadow:0 8px 18px rgba(20,132,71,.16) !important;
}
.eb07-portfolio-archive .eb07-pagination .page-numbers.dots{
  min-width:28px !important;
  padding:0 4px !important;
  border-color:transparent !important;
  background:transparent !important;
  color:#7f8c84 !important;
  box-shadow:none !important;
}
.eb07-portfolio-archive .eb07-pagination .prev,
.eb07-portfolio-archive .eb07-pagination .next{
  min-width:88px !important;
  padding-inline:16px !important;
}
@media(max-width:767px){
  .eb07-portfolio-archive .eb07-pagination{
    margin-top:22px !important;
    overflow-x:auto !important;
    justify-content:flex-start !important;
    padding:2px 0 5px !important;
    scrollbar-width:none;
  }
  .eb07-portfolio-archive .eb07-pagination::-webkit-scrollbar{display:none}
  .eb07-portfolio-archive .eb07-pagination ul.page-numbers{
    margin-inline:auto !important;
    gap:6px !important;
  }
  .eb07-portfolio-archive .eb07-pagination .page-numbers{
    min-width:38px !important;
    height:38px !important;
    padding-inline:10px !important;
    font-size:11px !important;
  }
  .eb07-portfolio-archive .eb07-pagination .page-numbers.current{min-width:38px !important}
  .eb07-portfolio-archive .eb07-pagination .prev,
  .eb07-portfolio-archive .eb07-pagination .next{
    min-width:74px !important;
    padding-inline:12px !important;
  }
}


/* ==========================================================
   v0.8.69 — Gallery Single Mobile Final Polish
   Final close-out for Dabestan single-report spacing and related cards.
   Scope: portfolio single only. No archive/news/team regressions.
   ========================================================== */
.eb07-portfolio-single .eb07-single-nav{
  width:min(920px,100%);
  margin:0 auto 8px;
}
.eb07-portfolio-single .eb07-back{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  line-height:1.35;
}
.eb07-portfolio-single .eb07-related .eb07-mini-grid{
  align-items:stretch;
}
.eb07-portfolio-single .eb07-related .eb07-mini{
  width:100%;
  min-width:0;
}

@media(max-width:767px){
  .eb07-portfolio-single{
    padding-top:16px;
    padding-bottom:34px;
  }
  .eb07-portfolio-single>.eb07-container{
    width:calc(100% - 16px);
  }
  .eb07-portfolio-single .eb07-heading{
    margin-bottom:9px;
    padding:14px 12px 13px;
  }
  .eb07-portfolio-single .eb07-heading h1{
    margin-top:5px;
    margin-bottom:4px;
    font-size:25px;
    line-height:1.55;
  }
  .eb07-portfolio-single .eb07-heading p{
    font-size:11.5px;
    line-height:1.8;
  }
  .eb07-portfolio-single .eb07-single-nav{
    margin-bottom:6px;
  }
  .eb07-portfolio-single .eb07-back{
    min-height:34px;
    padding:7px 12px;
    font-size:10.5px;
  }
  .eb07-portfolio-single .eb07-article-meta{
    padding:9px 9px 8px;
    gap:5px;
  }
  .eb07-portfolio-single .eb07-article-meta span{
    padding:5px 8px;
    font-size:9.8px;
  }
  .eb07-portfolio-single .eb07-gallery-single{
    padding:6px!important;
    gap:6px!important;
  }
  .eb07-portfolio-single .eb07-related{
    margin-top:18px;
    padding:12px;
    border-radius:17px;
  }
  .eb07-portfolio-single .eb07-related__head{
    margin-bottom:10px;
    padding-bottom:9px;
  }
  .eb07-portfolio-single .eb07-related__head h2{
    font-size:19px;
  }
  /* Elementor responsive controls can generate later CSS; keep the approved
     mobile contract one-column regardless of cascade order. */
  .eb07-portfolio-single .eb07-related .eb07-mini-grid{
    grid-template-columns:minmax(0,1fr)!important;
    gap:10px!important;
    width:100%;
  }
  .eb07-portfolio-single .eb07-related .eb07-mini{
    display:grid;
    grid-template-columns:minmax(112px,38%) minmax(0,1fr);
    min-height:132px;
  }
  .eb07-portfolio-single .eb07-related .eb07-mini__media{
    height:100%!important;
    min-height:132px;
    border-radius:0;
  }
  .eb07-portfolio-single .eb07-related .eb07-mini__body{
    min-height:132px;
    padding:11px 12px 12px;
  }
  .eb07-portfolio-single .eb07-related .eb07-mini h3{
    min-height:0;
    margin-bottom:9px;
    font-size:13px;
    -webkit-line-clamp:3;
  }
  .eb07-portfolio-single .eb07-related .eb07-mini__meta{
    margin-bottom:4px;
  }
  .eb07-portfolio-single .eb07-related .eb07-mini__link{
    min-height:30px;
  }
}

@media(max-width:430px){
  .eb07-portfolio-single .eb07-related .eb07-mini{
    grid-template-columns:1fr;
  }
  .eb07-portfolio-single .eb07-related .eb07-mini__media{
    height:190px!important;
    min-height:190px;
  }
  .eb07-portfolio-single .eb07-related .eb07-mini__body{
    min-height:0;
  }
}

/* ==========================================================
   v0.8.70 — Gallery Single Mobile Closure Lock
   Scope: Dabestan portfolio single on mobile only.
   Keeps desktop/archive/team/news untouched.
   ========================================================== */
@media(max-width:767px){
  /* Prevent any legacy/global Elementor geometry from creating horizontal
     overflow or squeezed columns on the single-report page. */
  .eb07-portfolio-single,
  .eb07-portfolio-single>.eb07-container,
  .eb07-portfolio-single .eb07-article,
  .eb07-portfolio-single .eb07-gallery-single,
  .eb07-portfolio-single .eb07-related,
  .eb07-portfolio-single .eb07-mini-grid,
  .eb07-portfolio-single .eb07-mini{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    writing-mode:horizontal-tb!important;
    text-orientation:mixed!important;
  }
  .eb07-portfolio-single{overflow-x:clip!important;padding-top:12px!important;padding-bottom:28px!important}
  .eb07-portfolio-single>.eb07-container{width:calc(100% - 16px)!important;margin-inline:auto!important}

  /* Compact first screen so the visitor reaches the photos sooner. */
  .eb07-portfolio-single .eb07-heading{
    margin-bottom:7px!important;
    padding:13px 11px 12px!important;
    border-radius:16px!important;
  }
  .eb07-portfolio-single .eb07-heading h1{
    margin:4px 0 3px!important;
    font-size:24px!important;
    line-height:1.52!important;
  }
  .eb07-portfolio-single .eb07-heading p{
    margin:0!important;
    font-size:11.5px!important;
    line-height:1.75!important;
  }
  .eb07-portfolio-single .eb07-single-nav{margin-bottom:5px!important}
  .eb07-portfolio-single .eb07-back{
    min-height:32px!important;
    padding:6px 11px!important;
    font-size:10.5px!important;
  }
  .eb07-portfolio-single .eb07-article{border-radius:16px!important;overflow:hidden!important}
  .eb07-portfolio-single .eb07-article-meta{
    justify-content:flex-start!important;
    padding:8px 8px 7px!important;
    gap:5px!important;
  }
  .eb07-portfolio-single .eb07-article-meta span{
    padding:5px 8px!important;
    font-size:10.2px!important;
    line-height:1.4!important;
  }

  /* Gallery image contract: never crop or stretch on mobile; one clean
     column with natural image height regardless of old Elementor rules. */
  .eb07-portfolio-single .eb07-gallery-single,
  .eb07-portfolio-single .eb07-gallery-single.has-count-2,
  .eb07-portfolio-single .eb07-gallery-single.has-count-4,
  .eb07-portfolio-single .eb07-gallery-single.has-count-6,
  .eb07-portfolio-single .eb07-gallery-single.has-count-7,
  .eb07-portfolio-single .eb07-gallery-single.has-count-8,
  .eb07-portfolio-single .eb07-gallery-single.has-count-9,
  .eb07-portfolio-single .eb07-gallery-single.has-count-10,
  .eb07-portfolio-single .eb07-gallery-single.has-count-11,
  .eb07-portfolio-single .eb07-gallery-single.has-count-12{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:6px!important;
    padding:6px!important;
    overflow:visible!important;
  }
  .eb07-portfolio-single .eb07-gallery-single a,
  .eb07-portfolio-single .eb07-gallery-single a:first-child{
    grid-column:auto!important;
    width:100%!important;
    min-width:0!important;
    border-radius:12px!important;
    overflow:hidden!important;
    transform:none!important;
  }
  .eb07-portfolio-single .eb07-gallery-single img,
  .eb07-portfolio-single .eb07-gallery-single a:first-child img,
  .eb07-portfolio-single .eb07-gallery-single.has-count-2 img,
  .eb07-portfolio-single .eb07-gallery-single.has-count-2 a:first-child img,
  .eb07-portfolio-single .eb07-gallery-single.has-count-4 a:not(:first-child) img,
  .eb07-portfolio-single .eb07-gallery-single.has-count-6 a:not(:first-child) img,
  .eb07-portfolio-single .eb07-gallery-single.has-count-7 a:not(:first-child) img,
  .eb07-portfolio-single .eb07-gallery-single.has-count-8 a:not(:first-child) img,
  .eb07-portfolio-single .eb07-gallery-single.has-count-9 a:not(:first-child) img,
  .eb07-portfolio-single .eb07-gallery-single.has-count-10 a:not(:first-child) img,
  .eb07-portfolio-single .eb07-gallery-single.has-count-11 a:not(:first-child) img,
  .eb07-portfolio-single .eb07-gallery-single.has-count-12 a:not(:first-child) img{
    position:static!important;
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
    object-fit:contain!important;
    object-position:center!important;
    transform:none!important;
    background:#f8faf9!important;
  }

  /* Related reports: one deterministic mobile layout. This comes last in
     the cascade so Elementor responsive CSS cannot re-open two columns. */
  .eb07-portfolio-single .eb07-related{
    margin-top:16px!important;
    padding:11px!important;
    border-radius:16px!important;
  }
  .eb07-portfolio-single .eb07-related__head{
    margin-bottom:9px!important;
    padding-bottom:8px!important;
    gap:2px!important;
  }
  .eb07-portfolio-single .eb07-related__head h2{font-size:18px!important;line-height:1.5!important}
  .eb07-portfolio-single .eb07-related__head span{font-size:10px!important}
  .eb07-portfolio-single .eb07-related .eb07-mini-grid{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:9px!important;
    width:100%!important;
  }
  .eb07-portfolio-single .eb07-related .eb07-mini{
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    border-radius:14px!important;
    overflow:hidden!important;
  }
  .eb07-portfolio-single .eb07-related .eb07-mini__meta{font-size:9.5px!important;margin-bottom:3px!important}
  .eb07-portfolio-single .eb07-related .eb07-mini h3{
    min-height:0!important;
    margin:0 0 7px!important;
    font-size:12.8px!important;
    line-height:1.65!important;
    -webkit-line-clamp:2!important;
  }
  .eb07-portfolio-single .eb07-related .eb07-mini__link{
    min-height:28px!important;
    padding:4px 9px!important;
    font-size:9.8px!important;
  }

  /* Safe scroll offsets for the sticky site/admin header without changing
     the global header behavior. */
  html:has(.eb07-portfolio-single){scroll-padding-top:96px!important}
  .eb07-portfolio-single .eb07-heading,
  .eb07-portfolio-single .eb07-article,
  .eb07-portfolio-single .eb07-related{scroll-margin-top:96px!important}
}

/* On ordinary phones/tablets keep related cards compact and horizontal. */
@media(min-width:431px) and (max-width:767px){
  .eb07-portfolio-single .eb07-related .eb07-mini{
    display:grid!important;
    grid-template-columns:minmax(118px,36%) minmax(0,1fr)!important;
    min-height:124px!important;
  }
  .eb07-portfolio-single .eb07-related .eb07-mini__media{
    width:100%!important;
    height:124px!important;
    min-height:124px!important;
    border-radius:0!important;
  }
  .eb07-portfolio-single .eb07-related .eb07-mini__body{
    min-height:124px!important;
    padding:10px 11px!important;
  }
  .eb07-portfolio-single .eb07-related .eb07-mini.is-portrait .eb07-mini__image img,
  .eb07-portfolio-single .eb07-related .eb07-mini.is-portrait .eb07-mini__image .ebip-media-img,
  .eb07-portfolio-single .eb07-related .eb07-mini.is-square .eb07-mini__image img,
  .eb07-portfolio-single .eb07-related .eb07-mini.is-square .eb07-mini__image .ebip-media-img{
    max-width:82%!important;
    height:calc(100% - 10px)!important;
    max-height:calc(100% - 10px)!important;
  }
}

/* Narrow phones: full-width card with a shorter, calmer image area. */
@media(max-width:430px){
  .eb07-portfolio-single .eb07-related .eb07-mini{display:flex!important;flex-direction:column!important}
  .eb07-portfolio-single .eb07-related .eb07-mini__media{
    width:100%!important;
    height:166px!important;
    min-height:166px!important;
  }
  .eb07-portfolio-single .eb07-related .eb07-mini__body{
    min-height:0!important;
    padding:10px 11px 11px!important;
  }
  .eb07-portfolio-single .eb07-related .eb07-mini.is-portrait .eb07-mini__image img,
  .eb07-portfolio-single .eb07-related .eb07-mini.is-portrait .eb07-mini__image .ebip-media-img{max-width:68%!important}
}

/* =========================================================
   0.8.71 — Department single pages: premium editorial layout
   Scoped only to v0.8.71 department sections.
   ========================================================= */
.eb071-department-main{padding:34px 0 14px!important;background:linear-gradient(180deg,#fff 0%,#fbfdfb 100%)}
.eb071-department-main>.elementor-container{max-width:1180px!important}
.eb071-department-main .eb07-content-card{margin:0 auto!important;border:1px solid #dce8e0!important;box-shadow:0 16px 42px rgba(21,54,34,.045)!important;background:#fff!important}
.eb071-department-main .eb07-prose{direction:rtl;text-align:right;color:#34493d;line-height:2.15!important;text-wrap:pretty}
.eb071-department-main .eb07-prose>p{max-width:940px;margin:0 auto 20px!important}
.eb071-department-main .eb07-prose h2,.eb071-department-main .eb07-prose h3,.eb071-department-main .eb07-prose h4{max-width:940px;margin:34px auto 14px!important;color:#163426!important;font-weight:900!important;line-height:1.7!important}
.eb071-department-main .eb07-prose h2{font-size:26px!important}.eb071-department-main .eb07-prose h3{font-size:22px!important}.eb071-department-main .eb07-prose h4{font-size:18px!important}
.eb071-department-main .eb07-prose ul,.eb071-department-main .eb07-prose ol{max-width:940px;margin:18px auto 26px!important;padding:16px 38px 16px 18px!important;background:#f7faf8;border:1px solid #e3ece6;border-right:3px solid var(--eb07-accent,#148447);border-radius:14px}
.eb071-department-main .eb07-prose li{margin:7px 0;line-height:2}
.eb071-department-main .eb07-prose img{display:block!important;width:auto!important;max-width:min(100%,920px)!important;height:auto!important;max-height:620px!important;object-fit:contain!important;object-position:center!important;margin:28px auto!important;border-radius:18px!important;box-shadow:0 12px 30px rgba(24,58,38,.065)}
.eb071-department-main .eb07-prose figure{max-width:920px!important;margin:28px auto!important;text-align:center!important}.eb071-department-main .eb07-prose figure img{margin:0 auto!important}.eb071-department-main .eb07-prose figcaption{margin-top:8px;color:#7c8a81;font-size:12px;line-height:1.8}
.eb071-department-main .eb07-prose a{color:var(--eb07-accent,#148447)!important;text-underline-offset:3px}.eb071-department-main .eb07-prose strong{color:#1d3829;font-weight:850}
.eb071-department-related{padding:24px 0 54px!important;background:#fbfdfb}.eb071-department-related>.elementor-container{max-width:1180px!important}.eb071-department-related .eb07-related-depts{padding:0!important}.eb071-department-related .eb07-related-depts h2{font-size:27px!important;margin-bottom:20px!important;color:#173126}.eb071-department-related .eb07-dept-grid{gap:14px!important}.eb071-department-related .eb07-dept-grid a{min-height:142px!important;border-radius:20px!important;box-shadow:0 9px 25px rgba(22,54,35,.035);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.eb071-department-related .eb07-dept-grid a:hover{transform:translateY(-3px);border-color:#c9ded0;box-shadow:0 14px 32px rgba(22,54,35,.065)}
@media(max-width:1024px){.eb071-department-main{padding-top:26px!important}.eb071-department-main .eb07-content-card{max-width:94%!important}.eb071-department-related .eb07-dept-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:767px){.eb071-department-main{padding:18px 0 8px!important}.eb071-department-main>.elementor-container,.eb071-department-related>.elementor-container{width:100%!important;max-width:none!important}.eb071-department-main .eb07-content-card{max-width:calc(100% - 22px)!important;padding:20px 16px 24px!important;border-radius:18px!important;box-shadow:none!important}.eb071-department-main .eb07-prose{font-size:14.5px!important;line-height:2.05!important}.eb071-department-main .eb07-prose>p{margin-bottom:16px!important}.eb071-department-main .eb07-prose h2,.eb071-department-main .eb07-prose h3,.eb071-department-main .eb07-prose h4{margin-top:26px!important;margin-bottom:10px!important}.eb071-department-main .eb07-prose h2{font-size:21px!important}.eb071-department-main .eb07-prose h3{font-size:19px!important}.eb071-department-main .eb07-prose ul,.eb071-department-main .eb07-prose ol{padding:13px 31px 13px 12px!important;margin:14px 0 20px!important;border-radius:12px}.eb071-department-main .eb07-prose img,.eb071-department-main .eb07-prose figure{width:100%!important;max-width:100%!important;max-height:none!important;margin:18px auto!important;border-radius:12px!important;box-shadow:none}.eb071-department-related{padding:18px 11px 34px!important}.eb071-department-related .eb07-related-depts h2{font-size:22px!important;text-align:right!important;margin:0 2px 14px!important}.eb071-department-related .eb07-dept-grid{grid-template-columns:1fr!important;gap:10px!important}.eb071-department-related .eb07-dept-grid a{min-height:112px!important;padding:18px!important;border-radius:16px!important}}


/* ==========================================================
   v0.8.72 — Department pages: Elementor-native + lightweight
   Scope only: pages carrying _eb099_department_native.
   All visible blocks are native Elementor widgets.
   ========================================================== */
.eb072-department-hero{padding:56px 18px 18px!important;background:linear-gradient(180deg,#fbfdfb 0%,#fff 100%)}
.eb072-department-hero>.elementor-container{max-width:1180px!important;background:linear-gradient(135deg,#f7fbf8 0%,#fffdf7 100%);border:1px solid #dce9e1;border-radius:26px;padding:42px 48px;box-shadow:0 18px 48px rgba(22,54,35,.045)}
.eb072-dept-eyebrow .elementor-heading-title{font-size:13px!important;font-weight:850!important;letter-spacing:0;line-height:1.8}
.eb072-dept-title .elementor-heading-title{font-size:40px!important;line-height:1.55!important;font-weight:900!important;margin-top:4px}
.eb072-dept-subtitle .elementor-widget-container,.eb072-dept-subtitle p{font-size:15px;line-height:2;margin:0!important}
.eb072-department-content{padding:22px 18px 20px!important;background:#fff}
.eb072-department-content>.elementor-container{max-width:1080px!important;background:#fff;border:1px solid #dce9e1;border-radius:24px;padding:38px 46px 42px;box-shadow:0 14px 38px rgba(22,54,35,.035)}
.eb072-department-content .elementor-widget:not(:last-child){margin-bottom:18px}
.eb072-content-heading .elementor-heading-title{font-weight:900!important;line-height:1.75!important;margin-top:8px}
.eb072-content-heading h2{font-size:26px!important}.eb072-content-heading h3{font-size:22px!important}.eb072-content-heading h4{font-size:19px!important}
.eb072-content-text .elementor-widget-container{font-size:16px;line-height:2.18;text-align:right;color:#34493d}
.eb072-content-text p{margin:0 0 18px}.eb072-content-text p:last-child{margin-bottom:0}
.eb072-content-text ul,.eb072-content-text ol{margin:12px 0 22px;padding:16px 38px 16px 18px;background:#f8fbf9;border:1px solid #e2ece6;border-right:3px solid #148447;border-radius:14px}
.eb072-content-text li{margin:7px 0;line-height:2}.eb072-content-text a{color:#148447;text-underline-offset:3px}.eb072-content-text strong{color:#173126;font-weight:850}
.eb072-content-text .eb072-caption{font-size:12px;color:#829087;text-align:center!important;margin-top:-8px!important}
.eb072-content-image img{display:block;width:auto!important;max-width:100%!important;height:auto!important;max-height:650px;object-fit:contain;margin:4px auto;border-radius:18px;box-shadow:0 10px 28px rgba(22,54,35,.055)}
.eb072-related-head{padding:18px 18px 8px!important}.eb072-related-head>.elementor-container,.eb072-related-row>.elementor-container{max-width:1180px!important}.eb072-related-title .elementor-heading-title{font-size:27px!important;font-weight:900!important;line-height:1.7}
.eb072-related-row{padding:0 18px 14px!important}.eb072-related-row .elementor-column>.elementor-widget-wrap{background:#fbfdfb;border:1px solid #dce9e1;border-radius:19px;padding:22px!important;margin:0 7px;min-height:180px;align-content:start}.eb072-related-row .elementor-heading-title{font-size:18px!important;line-height:1.8!important;font-weight:850!important}.eb072-related-row .elementor-widget-text-editor{font-size:13px;line-height:1.9}.eb072-related-row .elementor-button{border:1px solid #d8e8de!important;border-radius:999px!important;padding:9px 15px!important;box-shadow:none!important;font-weight:750!important}.eb072-related-row .elementor-button:hover{background:#148447!important;color:#fff!important}
@media(max-width:1024px){.eb072-department-hero>.elementor-container{padding:34px 32px}.eb072-dept-title .elementor-heading-title{font-size:34px!important}.eb072-department-content>.elementor-container{padding:32px 30px}.eb072-related-row .elementor-column>.elementor-widget-wrap{margin:0 5px}}
@media(max-width:767px){.eb072-department-hero{padding:22px 11px 10px!important}.eb072-department-hero>.elementor-container{width:100%!important;padding:24px 18px;border-radius:19px;box-shadow:none}.eb072-dept-title .elementor-heading-title{font-size:28px!important;line-height:1.65!important}.eb072-dept-subtitle .elementor-widget-container,.eb072-dept-subtitle p{font-size:13px}.eb072-department-content{padding:10px 11px 12px!important}.eb072-department-content>.elementor-container{width:100%!important;padding:22px 16px 26px;border-radius:18px;box-shadow:none}.eb072-content-text .elementor-widget-container{font-size:14.5px;line-height:2.08}.eb072-content-heading h2{font-size:21px!important}.eb072-content-heading h3{font-size:19px!important}.eb072-content-text ul,.eb072-content-text ol{padding:13px 30px 13px 12px;border-radius:12px}.eb072-content-image img{max-height:none;border-radius:13px;box-shadow:none}.eb072-related-head{padding:16px 11px 7px!important}.eb072-related-title .elementor-heading-title{font-size:22px!important}.eb072-related-row{padding:0 11px 10px!important}.eb072-related-row>.elementor-container{display:block!important;width:100%!important}.eb072-related-row .elementor-column{width:100%!important}.eb072-related-row .elementor-column>.elementor-widget-wrap{margin:0 0 10px;min-height:0;padding:18px!important;border-radius:16px}}

/* ==========================================================
   v0.8.73 — Department POSTS -> permanent Elementor-native layout
   Fixes the real production content type (legacy posts, not pages).
   No JavaScript. Scoped only to the migrated department document.
   ========================================================== */
.eb100-department-elementor-shell{display:block;width:100%;min-height:60vh;background:linear-gradient(180deg,#fbfdfb 0,#fff 420px);overflow:hidden}
.eb100-department-elementor-shell>.elementor{width:100%}
.eb073-department-hero{padding:54px 18px 14px!important;background:transparent!important}
.eb073-department-hero>.elementor-container{width:min(1180px,100%)!important;max-width:1180px!important;background:linear-gradient(135deg,#f7fbf8 0%,#fffdf8 100%);border:1px solid #d9e8df;border-radius:28px;padding:44px 52px;box-shadow:0 18px 48px rgba(22,54,35,.045);position:relative;overflow:hidden}
.eb073-department-hero>.elementor-container:after{content:"";position:absolute;width:180px;height:180px;border:1px solid rgba(201,154,61,.24);border-radius:50%;left:-88px;bottom:-106px;pointer-events:none}
.eb073-dept-eyebrow .elementor-heading-title{font-size:13px!important;font-weight:850!important;line-height:1.8!important;color:#148447!important}
.eb073-dept-title .elementor-heading-title{font-size:42px!important;line-height:1.55!important;font-weight:900!important;color:#173126!important;margin:4px 0 0!important}
.eb073-dept-subtitle .elementor-widget-container,.eb073-dept-subtitle p{font-size:15px!important;line-height:2!important;color:#6b7b72!important;margin:0!important}

.eb073-department-content{padding:18px 18px 22px!important;background:transparent!important}
.eb073-department-content>.elementor-container{width:min(1080px,100%)!important;max-width:1080px!important;background:#fff;border:1px solid #dce9e1;border-radius:24px;padding:40px 48px 46px;box-shadow:0 14px 38px rgba(22,54,35,.035)}
.eb073-department-content .elementor-widget:not(:last-child){margin-bottom:18px}
.eb073-content-heading .elementor-heading-title{font-weight:900!important;line-height:1.75!important;color:#173126!important;margin:10px 0 4px!important}
.eb073-content-heading h2{font-size:27px!important}.eb073-content-heading h3{font-size:22px!important}.eb073-content-heading h4{font-size:19px!important}
.eb073-content-text .elementor-widget-container{font-size:16px!important;line-height:2.18!important;text-align:right!important;color:#34493d!important}
.eb073-content-text p{margin:0 0 18px!important}.eb073-content-text p:last-child{margin-bottom:0!important}
.eb073-content-text ul,.eb073-content-text ol{margin:14px 0 22px!important;padding:16px 38px 16px 18px!important;background:#f8fbf9;border:1px solid #e2ece6;border-right:3px solid #148447;border-radius:14px}
.eb073-content-text li{margin:7px 0!important;line-height:2!important}.eb073-content-text strong{font-weight:850;color:#173126}.eb073-content-text a{color:#148447;text-underline-offset:3px}
.eb073-content-image .elementor-widget-container{text-align:center}
.eb073-content-image img{display:block!important;width:auto!important;max-width:100%!important;height:auto!important;max-height:680px!important;object-fit:contain!important;margin:4px auto!important;border-radius:18px!important;box-shadow:0 10px 28px rgba(22,54,35,.055)!important}

.eb073-related-head{padding:20px 18px 8px!important;background:transparent!important}
.eb073-related-head>.elementor-container,.eb073-related-row>.elementor-container{width:min(1180px,100%)!important;max-width:1180px!important}
.eb073-related-title .elementor-heading-title{font-size:27px!important;line-height:1.7!important;font-weight:900!important;color:#173126!important}
.eb073-related-row{padding:0 18px 14px!important;background:transparent!important}
.eb073-related-row .elementor-column>.elementor-widget-wrap{background:#fbfdfb;border:1px solid #dce9e1;border-radius:19px;padding:22px!important;margin:0 7px;min-height:185px;align-content:start}
.eb073-related-row .elementor-heading-title{font-size:18px!important;line-height:1.8!important;font-weight:850!important}
.eb073-related-row .elementor-widget-text-editor{font-size:13px!important;line-height:1.9!important;color:#6e7d74}
.eb073-related-row .elementor-button{border:1px solid #d8e8de!important;border-radius:999px!important;padding:9px 15px!important;box-shadow:none!important;font-weight:750!important;background:#fff!important;color:#148447!important}
.eb073-related-row .elementor-button:hover{background:#148447!important;color:#fff!important}
.eb100-department-fallback{max-width:980px;margin:60px auto;padding:30px}

@media(max-width:1024px){
  .eb073-department-hero>.elementor-container{padding:36px 34px}.eb073-dept-title .elementor-heading-title{font-size:35px!important}
  .eb073-department-content>.elementor-container{padding:34px 32px}.eb073-related-row .elementor-column>.elementor-widget-wrap{margin:0 5px}
}
@media(max-width:767px){
  .eb073-department-hero{padding:22px 11px 8px!important}.eb073-department-hero>.elementor-container{width:100%!important;padding:25px 18px;border-radius:19px;box-shadow:none}
  .eb073-dept-title .elementor-heading-title{font-size:28px!important;line-height:1.65!important}.eb073-dept-subtitle .elementor-widget-container,.eb073-dept-subtitle p{font-size:13px!important}
  .eb073-department-content{padding:10px 11px 12px!important}.eb073-department-content>.elementor-container{width:100%!important;padding:23px 16px 27px;border-radius:18px;box-shadow:none}
  .eb073-content-text .elementor-widget-container{font-size:14.5px!important;line-height:2.08!important}.eb073-content-heading h2{font-size:21px!important}.eb073-content-heading h3{font-size:19px!important}
  .eb073-content-text ul,.eb073-content-text ol{padding:13px 30px 13px 12px!important;border-radius:12px}.eb073-content-image img{max-height:none!important;border-radius:13px!important;box-shadow:none!important}
  .eb073-related-head{padding:16px 11px 7px!important}.eb073-related-title .elementor-heading-title{font-size:22px!important}
  .eb073-related-row{padding:0 11px 10px!important}.eb073-related-row>.elementor-container{display:block!important;width:100%!important}.eb073-related-row .elementor-column{width:100%!important}.eb073-related-row .elementor-column>.elementor-widget-wrap{margin:0 0 10px;min-height:0;padding:18px!important;border-radius:16px}
}


/* ==========================================================
   v0.8.74 — Department stable renderer + editor preview parity
   Same Elementor document on public and editor preview. No JS.
   ========================================================== */
.eb100-department-elementor-shell.eb074-department-stable{
  display:block!important;width:100%!important;min-height:60vh;
  background:linear-gradient(180deg,#fbfdfb 0,#fff 420px);overflow:hidden;
}
.eb100-department-elementor-shell.eb074-department-stable>.elementor,
.eb100-department-elementor-shell.eb074-department-stable>.elementor-page{width:100%!important;max-width:none!important}
.eb100-department-elementor-shell.eb074-department-stable .elementor-section-wrap{width:100%}
body.elementor-editor-active .eb100-department-elementor-shell.eb074-department-stable{min-height:100vh}
