/*
Theme Name: Public Opinion Content Studio
Theme URI: https://publicopinion.com.sa/
Author: Public Opinion
Description: Clean, readable Arabic RTL Gutenberg page structure derived from the original Public Opinion source.
Version: 7.1.1
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: public-opinion-content-studio
*/
.wp-site-blocks,.wp-block-post-content,.entry-content{max-width:none!important;margin:0!important;padding:0!important}
.wp-block-public-opinion-source-document,.wp-block-public-opinion-source-section{margin:0!important}
.po-source-states-editor{padding:14px;background:#f4f7f7;border:1px dashed #4398a9;color:#135d6a;direction:rtl}
.po-section-frame{background:var(--po-editor-surface-color,transparent);color:var(--po-editor-text-color,inherit);padding:var(--po-editor-extra-space,0);max-width:var(--po-editor-max-width,none);margin-inline:auto;border-radius:var(--po-editor-radius,0);border:var(--po-editor-border,0);box-shadow:var(--po-editor-shadow,none);overflow:clip}
.po-section-frame.is-editor-media-hidden img{display:none!important}
.po-component-heading{font:700 clamp(28px,3.5vw,42px)/1.25 Somar,"IBM Plex Sans Arabic",sans-serif;color:var(--ink-900,#172426);margin:0 0 12px}.po-component-intro{color:var(--ink-400,#657174);margin:0 0 28px;line-height:1.8}
.po-report-grid,.po-card-grid,.po-metric-row,.po-free-section{max-width:1280px;margin:0 auto;padding:clamp(36px,5vw,72px) clamp(16px,4vw,40px);direction:rtl}.po-report-grid>.block-editor-inner-blocks>.block-editor-block-list__layout,.po-report-grid>.wp-block-public-opinion-report-card,.po-card-grid>.block-editor-inner-blocks>.block-editor-block-list__layout,.po-card-grid>.wp-block-public-opinion-content-card{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.po-report-grid>.block-editor-inner-blocks,.po-card-grid>.block-editor-inner-blocks{display:contents}
.po-report-card{--po-report-accent:#4398a9;background:#fff;border:1px solid rgba(19,93,106,.12);border-top:5px solid var(--po-report-accent);border-radius:18px;padding:24px;box-shadow:0 10px 26px rgba(20,40,44,.08);color:var(--ink-900,#172426);min-width:0}.po-report-card__meta{display:flex;justify-content:space-between;gap:12px;font-size:13px;margin-bottom:14px}.po-report-card__type{color:var(--po-report-accent);font-weight:700}.po-report-card__date{color:var(--ink-400,#657174)}.po-report-card__title{font:700 21px/1.55 Somar,"IBM Plex Sans Arabic",sans-serif;margin:0 0 18px}.po-report-card__metrics{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;padding:14px 0;border-block:1px solid rgba(19,93,106,.1)}.po-report-card__metrics div{display:grid;gap:3px}.po-report-card__metrics strong{font-size:24px;color:var(--po-report-accent)}.po-report-card__metrics span{font-size:12px;color:var(--ink-400,#657174)}.po-report-card__description{color:var(--ink-400,#657174);line-height:1.75;margin:18px 0}.po-report-card__link,.po-content-card__link{display:inline-flex;color:var(--color-primary,#4398a9);font-weight:700;text-decoration:none;cursor:pointer}
.po-report-archive-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:22px}.po-archive-report-card{--po-archive-accent:var(--chart-1);background:var(--surface-card,#fff);border:1px solid var(--border-subtle,rgba(19,93,106,.12));border-radius:18px;overflow:hidden;box-shadow:var(--shadow-sm,0 8px 22px rgba(20,40,44,.08));display:flex;flex-direction:column;min-width:0;color:var(--text-strong,#172426)}.po-archive-report-card__accent{height:7px;background:var(--po-archive-accent)}.po-archive-report-card__body{padding:24px 26px;display:flex;flex-direction:column;gap:14px;flex:1}.po-archive-report-card__meta{display:flex;justify-content:space-between;align-items:center;gap:12px}.po-archive-report-card__type{font-size:11.5px;font-weight:700;background:var(--color-primary-subtle,#e7f4f5);color:var(--color-primary-active,#135d6a);padding:4px 12px;border-radius:999px}.po-archive-report-card__date{font-size:12.5px;color:var(--text-faint,#8a9494)}.po-archive-report-card h3{font:700 17px/1.5 Somar,"IBM Plex Sans Arabic",sans-serif;margin:0}.po-archive-report-card__metrics{display:flex;gap:24px;padding:14px 18px;background:var(--surface-sunken,#f4f6f5);border-radius:12px}.po-archive-report-card__metrics>div{display:grid;gap:2px}.po-archive-report-card__metrics strong{font-size:20px;color:var(--color-primary,#4398a9);direction:ltr}.po-archive-report-card__metrics span{font-size:11.5px;color:var(--text-faint,#8a9494)}.po-archive-report-card p{font-size:13.5px;color:var(--text-muted,#657174);line-height:1.7;margin:0}.po-archive-report-card__link{margin-top:auto;padding-top:14px;border-top:1px solid var(--ink-100,#e7eceb);display:flex;justify-content:space-between;align-items:center;color:var(--color-primary,#4398a9);font-size:13px;font-weight:700;text-decoration:none}.po-archive-report-card__link span{color:var(--color-accent,#eb7f49);transform:scaleX(-1)}
.po-editable-metric{display:grid;gap:5px;text-align:center;padding:20px}.po-editable-metric strong{font-size:32px;color:var(--color-primary,#4398a9)}.po-editable-metric span{font-size:14px;color:var(--ink-400,#657174)}.po-metric-row>.block-editor-inner-blocks>.block-editor-block-list__layout,.po-metric-row>.wp-block-public-opinion-metric{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.po-metric-row>.block-editor-inner-blocks{display:contents}
.po-content-card{background:#fff;border:1px solid rgba(19,93,106,.12);border-radius:16px;padding:24px;box-shadow:0 8px 20px rgba(20,40,44,.06)}.po-content-card__eyebrow{display:block;color:var(--color-primary,#4398a9);font-weight:700;font-size:13px;margin-bottom:9px}.po-content-card h3{font-size:21px;margin:0 0 12px}.po-content-card p{color:var(--ink-400,#657174);line-height:1.75;margin:0 0 18px}
.po-callout{max-width:1280px;margin:0 auto;padding:clamp(36px,5vw,72px) clamp(16px,4vw,40px);background:var(--ink-900,#172426);color:#fff;text-align:center}.po-callout h2{font-size:clamp(28px,3.5vw,42px);margin:0 0 12px}.po-callout p{color:rgba(255,255,255,.8);margin:0 auto 24px;max-width:680px}.po-callout__button{display:inline-flex;padding:12px 22px;border-radius:999px;background:var(--color-primary,#4398a9);color:#fff;text-decoration:none;font-weight:700}.po-free-section{background:#fff;border-block:1px solid rgba(19,93,106,.1)}
.po-site-header{display:flex;align-items:center;gap:clamp(18px,3vw,42px);padding:18px clamp(16px,5vw,72px);border-bottom:1px solid rgba(19,93,106,.1);background:#fff;position:relative;z-index:5}.po-site-brand{display:grid;gap:1px;flex:0 0 auto}.po-site-brand strong{font:700 22px/1 Somar,"IBM Plex Sans Arabic",sans-serif;color:var(--ink-900,#172426)}.po-site-brand small{font-size:11px;color:var(--ink-400,#657174);letter-spacing:.04em}.po-site-nav{display:flex;align-items:center;gap:clamp(14px,2vw,30px);flex:1;justify-content:center}.po-site-nav>.block-editor-inner-blocks{display:contents}.po-nav-item{color:var(--ink-900,#172426);font-weight:700;text-decoration:none;white-space:nowrap}.po-site-header__cta{display:inline-flex;align-items:center;padding:10px 18px;border-radius:999px;background:var(--color-primary,#4398a9);color:#fff;font-weight:700;text-decoration:none;white-space:nowrap}
.po-hero-builder{display:grid;gap:20px;padding:clamp(68px,11vw,150px) clamp(16px,10vw,160px);background:linear-gradient(135deg,#f8f7f3 0%,#eef4f3 100%);color:var(--ink-900,#172426);position:relative;overflow:hidden}.po-hero-builder:after{content:"";position:absolute;inset:auto -10% -38% auto;width:520px;aspect-ratio:1;border:64px solid rgba(67,152,169,.11);border-radius:50%;pointer-events:none}.po-hero-builder>*{position:relative;z-index:1}.po-hero-builder__eyebrow,.po-builder-section__eyebrow{color:var(--color-primary,#4398a9);font-weight:700;font-size:15px}.po-hero-builder h1{max-width:850px;font:700 clamp(38px,6vw,78px)/1.18 Somar,"IBM Plex Sans Arabic",sans-serif;margin:0}.po-hero-builder p{max-width:760px;color:var(--ink-400,#657174);font-size:18px;line-height:1.9;margin:0}.po-hero-builder__actions{display:flex;flex-wrap:wrap;gap:12px}.po-button-primary,.po-button-secondary{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:13px 22px;font-weight:700;text-decoration:none;cursor:pointer}.po-button-primary{background:var(--color-primary,#4398a9);color:#fff}.po-button-secondary{border:1px solid rgba(19,93,106,.22);color:var(--ink-900,#172426);background:#fff}
.po-insight-chart{padding:clamp(28px,4vw,54px);background:#fff;border:1px solid rgba(19,93,106,.12);border-radius:18px;box-shadow:0 12px 34px rgba(20,40,44,.06)}.po-insight-chart__eyebrow{color:var(--color-primary,#4398a9);font-weight:700;font-size:14px}.po-insight-chart h2{font-size:clamp(24px,3vw,38px);margin:8px 0}.po-insight-chart>p{color:var(--ink-400,#657174);margin:0 0 28px;line-height:1.8}.po-insight-chart__points{display:grid;gap:18px}.po-chart-point__labels{display:flex;justify-content:space-between;gap:18px;margin-bottom:8px;color:var(--ink-900,#172426)}.po-chart-point__labels strong{color:var(--color-primary,#4398a9);font-size:20px}.po-chart-point__track{height:12px;border-radius:999px;background:#edf1f0;overflow:hidden}.po-chart-point__bar{display:block;height:100%;border-radius:inherit;min-width:3px;transition:width .2s ease}
.po-source-section-additions{padding:clamp(24px,4vw,56px) clamp(16px,6vw,96px);background:#f8faf9;border-top:1px dashed rgba(19,93,106,.22)}.po-source-section-additions>.wp-block{margin-block:0 22px}
.po-builder-section{padding:clamp(44px,6vw,88px) clamp(16px,6vw,96px)}.po-builder-section.is-soft{background:#f5f8f7}.po-builder-section.is-dark{background:var(--ink-900,#172426);color:#fff}.po-builder-section h2{font:700 clamp(30px,4vw,52px)/1.25 Somar,"IBM Plex Sans Arabic",sans-serif;margin:10px 0}.po-builder-section__intro{max-width:760px;color:var(--ink-400,#657174);line-height:1.85;margin:0 0 28px}.po-builder-section.is-dark .po-builder-section__eyebrow{color:#94d5de}.po-builder-section.is-dark .po-builder-section__intro{color:rgba(255,255,255,.74)}.po-builder-section>.block-editor-inner-blocks{max-width:1280px}.po-builder-section>.block-editor-inner-blocks>.block-editor-block-list__layout{display:grid;gap:20px}
.po-newsletter{padding:clamp(36px,5vw,68px) clamp(16px,6vw,96px);background:#eef7f7;text-align:center}.po-newsletter h2{font-size:clamp(25px,3vw,40px);margin:0 0 10px}.po-newsletter p{color:var(--ink-400,#657174);margin:0 auto 22px;max-width:680px}.po-newsletter__form{display:flex;gap:10px;max-width:590px;margin:auto}.po-newsletter__input,.po-newsletter input{flex:1;min-height:48px;padding:12px 16px;border-radius:999px;border:1px solid rgba(19,93,106,.18);background:#fff;color:var(--ink-400,#657174);text-align:right}
.po-site-footer{background:#1f2121;color:#fff;padding:clamp(38px,5vw,72px) clamp(16px,6vw,96px);display:grid;grid-template-columns:1.3fr 1fr;gap:34px}.po-site-footer__brand{display:grid;gap:12px}.po-site-footer__brand strong{font-size:28px}.po-site-footer__brand p{color:rgba(255,255,255,.7);line-height:1.8;margin:0;max-width:580px}.po-site-footer__links{display:flex;flex-wrap:wrap;align-content:start;gap:12px 22px}.po-site-footer__links>.block-editor-inner-blocks{display:contents}.po-footer-link{color:rgba(255,255,255,.82);text-decoration:none}.po-site-footer small{grid-column:1/-1;color:rgba(255,255,255,.52);padding-top:22px;border-top:1px solid rgba(255,255,255,.12)}
@media(max-width:760px){.po-report-grid>.block-editor-inner-blocks>.block-editor-block-list__layout,.po-report-grid>.wp-block-public-opinion-report-card,.po-card-grid>.block-editor-inner-blocks>.block-editor-block-list__layout,.po-card-grid>.wp-block-public-opinion-content-card{grid-template-columns:1fr}.po-metric-row>.block-editor-inner-blocks>.block-editor-block-list__layout,.po-metric-row>.wp-block-public-opinion-metric{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.po-site-header{flex-wrap:wrap}.po-site-nav{order:3;overflow:auto;justify-content:flex-start;width:100%;padding-bottom:3px}.po-site-header__cta{margin-inline-start:auto}.po-hero-builder{padding-block:72px}.po-newsletter__form{flex-direction:column}.po-site-footer{grid-template-columns:1fr}.po-site-footer__links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}
