/**
 * Acceleration Partners — Blog Gutenberg Block Pattern Styles
 *
 * Companion CSS for ap-blog-patterns.php (Native Blocks version)
 *
 * Targets native Gutenberg blocks (wp:group, wp:paragraph, wp:list,
 * wp:columns, wp:table, wp:details, wp:buttons) via custom class names
 * applied to each pattern.
 *
 * Prefixed with --ap- to avoid collisions with theme variables.
 */


/* ─── DESIGN TOKENS ─── */
:root {
  --ap-bg:          #141C25;
  --ap-bg-card:     rgb(255 255 255 / 5%);
  --ap-teal:        #54BBCB;
  --ap-lime:        #dee463;
  --ap-btn-text:    #141c25;
  --ap-white:       #ffffff;
  --ap-text-high:   #e7e7e7;
  --ap-text-mid:    #e7e7e7;
  --ap-text-low:    #e7e7e7;
  --ap-muted:       #9AAFC3;
  --ap-border:      rgba(255, 255, 255, 0.08);
  --ap-border-teal: rgba(84, 187, 203, 0.25);
  --ap-font:        'Mont', 'Poppins', sans-serif;
}

.single .blog-content-rgt .wp-block-button__link, .post-type-resource-details .wp-block-button__link {
    padding: calc(.667em + 2px) calc(1.333em + 2px);
    font-size: 0.72rem;
    font-weight: 800;
    color: #141c25;
}

body.post-type-resource-details .resource-visual-wrapper-rgt  :where(.editor-styles-wrapper) {
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    font-family: 'Mont', 'Poppins', sans-serif;
}
.post-type-resource-details .resource-visual-wrapper-rgt {
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    font-family: 'Mont', 'Poppins', sans-serif;
}

.post-type-resource-details .resource-visual-wrapper-rgt h2{
    margin: 40px 0 25px;
}

.post-type-resource-details .resource-visual-wrapper-rgt h3,
.post-type-resource-details .resource-visual-wrapper-rgt h4 {
    margin: 25px 0 25px;
}

.post-type-resource-details .resource-visual-wrapper-rgt h2::after,
.post-type-resource-details .resource-visual-wrapper-rgt h3::after,
.post-type-resource-details .resource-visual-wrapper-rgt h4::after {
    content: '';
    display: block;
    margin-top: 10px;
    width: 48px;
    height: 3px;
    background: #54BBCB;
    border-radius: 2px;
}
.post-type-resource-details .resource-visual-wrapper-rgt .h2,
.post-type-resource-details .resource-visual-wrapper-rgt h2{font-size:32px!important;line-height: 1.2 !important; font-weight: 600;}
.post-type-resource-details .resource-visual-wrapper-rgt .h3,
.post-type-resource-details .resource-visual-wrapper-rgt h3{font-size:28px!important;line-height: 1.2 !important; font-weight: 600;}
.post-type-resource-details .resource-visual-wrapper-rgt .h5,
.post-type-resource-details .resource-visual-wrapper-rgt h5{font-size:24px!important;line-height: 1.2 !important; font-weight: 600;}

.post-type-resource-details .resource-visual-wrapper-rgt p,
.post-type-resource-details .resource-visual-wrapper-rgt p:last-child {
    margin: 0 0 20px;
}

.post-type-resource-details .resource-visual-wrapper-rgt .editor-styles-wrapper :where(:not(.is-layout-flex,.is-layout-grid))>.wp-block {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 715px;
}
.post-type-resource-details .resource-visual-wrapper-rgt .editor-styles-wrapper {
    background: #141C25;
    color: #e7e7e7;
}

.post-type-resource-details .resource-visual-wrapper-rgt .base-section {
    padding:0 !important;
}
.post-type-resource-details .resource-visual-wrapper-rgt .base-section .container {
    padding: 0;
}

.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-table {
    margin: 0 0 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-table table {
    width: 100%;
    border-collapse: separate;
    font-size: 0.85rem;
    line-height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    overflow: hidden;
    border-spacing: 0;
}

.post-type-resource-details .base-section .container > div, 
.post-type-resource-details .base-section .container > .wp-block-separator {
    margin-bottom: 20px;
}

/* ── Header Row ── */
.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-table tbody tr:first-child {
    background: rgba(84, 187, 203, 0.08);
}
.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-table tbody tr:first-child td {
    border-bottom: 1px solid rgba(84, 187, 203, 0.25);
}
.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-table tbody tr:first-child td {
    padding: 12px 16px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #54bbcb;
    white-space: nowrap;
}

.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-table tbody tr:first-child strong {
    font-weight: 700;
    color: #54bbcb;
}

/* ── Body Rows ── */
.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.15s;
}
.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-table tbody tr td {
    border: 0;
}

.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-table tbody tr:last-child {
    border-bottom: none;
}

.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-table tbody tr:nth-child(odd) {
    background: rgba(255, 255, 255, 0.025);
}

.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-table tbody tr:not(:first-child):hover {
    background: rgba(84, 187, 203, 0.06);
}

.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-table tbody tr:not(:first-child) td {
    padding: 12px 16px;
    color: #9aafc3;
    vertical-align: middle;
}

.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-table tbody tr:not(:first-child) td:first-child {
    color: #ffffff;
    font-weight: 500;
}

.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-table tbody tr:not(:first-child) td strong {
    color: #e7e7e7;
    font-weight: 600;
}








/* ── Unordered List ── */
.post-type-resource-details .resource-visual-wrapper-rgt ul,
.post-type-resource-details .resource-visual-wrapper-rgt ul:not([class]):not([id]) {
    list-style: none;
    padding: 0 0 0 20px;
    margin: 0 0 20px;
    border-left: 2px solid #54bbcb;
}

.post-type-resource-details .resource-visual-wrapper-rgt ul li,
.post-type-resource-details .resource-visual-wrapper-rgt ul:not([class]):not([id]) li {
    position: relative;
    padding: 10px 0 10px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #e7e7e7;
    line-height: 1.5;
}

.post-type-resource-details .resource-visual-wrapper-rgt ul li:last-child,
.post-type-resource-details .resource-visual-wrapper-rgt ul:not([class]):not([id]) li:last-child {
    border-bottom: none;
}

.post-type-resource-details .resource-visual-wrapper-rgt ul li::before,
.post-type-resource-details .resource-visual-wrapper-rgt ul:not([class]):not([id]) li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 11px;
    color: #54bbcb;
    font-size: 0.7rem;
    background: transparent;
    height: auto;
    width: auto;
    display: inline-block;
}

.post-type-resource-details .resource-visual-wrapper-rgt ul li strong {
    color: #ffffff;
}

/* ── Ordered List ── */
.post-type-resource-details .resource-visual-wrapper-rgt ol {
    list-style: none;
    counter-reset: nlist;
    padding: 0;
    margin: 0 0 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    overflow: hidden;
}

.post-type-resource-details .resource-visual-wrapper-rgt ol li {
    counter-increment: nlist;
    gap: 0;
    padding: 18px 22px 18px 70px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    line-height: 1.55;
    transition: background 0.15s;
    position: relative;
}

.post-type-resource-details .resource-visual-wrapper-rgt ol li:last-child {
    border-bottom: none;
}

.post-type-resource-details .resource-visual-wrapper-rgt ol li:hover {
    background: rgba(84, 187, 203, 0.05);
}

.post-type-resource-details .resource-visual-wrapper-rgt ol li::before {
    content: counter(nlist, decimal-leading-zero);
    font-size: 1.4rem;
    font-weight: 600;
    color: #54bbcb;
    opacity: 0.35;
    line-height: 1;
    flex-shrink: 0;
    min-width: 32px;
    position: absolute;
    top: 20px;
    left: 18px;
}

.post-type-resource-details .resource-visual-wrapper-rgt ol li strong {
    display: inline-block;
    font-weight: 700;
    margin-bottom: 4px;
}














/* ── Blockquote ── */
.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-quote {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 36px 40px;
    margin: 0 0 20px;
    position: relative;
    overflow: hidden;
}

.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-quote::before {
    content: '“';
    position: absolute;
    top: -10px;
    left: 24px;
    font-size: 8rem;
    font-weight: 600;
    color: #54bbcb;
    opacity: 0.07;
    line-height: 1;
    font-family: Georgia, serif;
    pointer-events: none;
    user-select: none;
}

/* ── Quote Title ── */
.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-quote .wp-block-heading {
    font-size: 1.15rem !important;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2 !important;
    margin-bottom: 12px !important;
}
.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-quote .wp-block-heading:after {
    display: none;
}
.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-quote .wp-block-heading strong {
    font-weight: 800;
    color: #ffffff;
}

/* ── Quote Body ── */
.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-quote p {
    font-size: 0.92rem;
    font-weight: 400;
    color: #e7e7e7;
    line-height: 1.65;
    margin-bottom: 20px;
}

/* ── Citation ── */
.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-quote p.has-small-font-size {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.72rem !important;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin: 12px 0 0;
}

.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-quote p.has-small-font-size::before {
    content: '';
    display: block;
    width: 20px;
    height: 1px;
    background: #54bbcb;
    flex-shrink: 0;
}

/* ── Strip inner wrappers ── */
.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-quote .base-section,
.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-quote .container {
    all: unset;
    display: block;
}









/* ── Accordion Wrapper ── */
.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-accordion {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    overflow: hidden;
    margin: 0 0 20px;
}

/* ── Accordion Item ── */
.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    margin: 0;
}

.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-accordion-item:last-child {
    border-bottom: none;
}

/* ── Accordion Heading ── */
.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-accordion-heading {
    margin: 0 !important;
    padding: 0;
}
.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-accordion-heading:after {
    display: none !important;
}


/* ── Toggle Button ── */
.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-accordion-heading__toggle {
    width: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: background 0.15s, color 0.15s;
}

.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-accordion-heading__toggle:hover {
    background: rgba(84, 187, 203, 0.04);
    text-decoration: none;
}

.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-accordion-heading__toggle:focus-visible {
    outline: 2px solid #54bbcb;
    outline-offset: -2px;
}

/* ── Toggle Title ── */
.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-accordion-heading__toggle-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
    text-align: left;
    text-decoration: none;
}

/* ── Toggle Icon ── */
.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-accordion-heading__toggle-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    min-width: 24px;
    color: #54bbcb;
    font-size: 0;
    font-weight: 300;
    line-height: 24px;
    flex-shrink: 0;
    padding: 0;
    position: relative;
}
.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-accordion-heading__toggle-icon:before {
    position: absolute;
    content: "+";
    min-width: 24px;
    border-radius: 50%;
    border: 1px solid rgba(84, 187, 203, 0.25);
    color: #54bbcb;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    width: 24px;
    height: 24px;
    left: 0px;
    transition: background 0.15s, border-color 0.15s;
    text-align: center;
    padding-left: 1px;
}

/* ── Open State ── */
.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-accordion-item.is-open .wp-block-accordion-heading__toggle {
    background: rgba(84, 187, 203, 0.06);
}

.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-accordion-item.is-open .wp-block-accordion-heading__toggle-title {
    color: #54bbcb;
    text-decoration: none;
}

.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-accordion-item.is-open .wp-block-accordion-heading__toggle-icon {
    transform: none;
}
.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-accordion-item.is-open .wp-block-accordion-heading__toggle-icon:before {
    content: "-";
    line-height: 22px;
    background: rgba(84, 187, 203, 0.15);
    border-color: #54bbcb;
}

/* ── Panel ── */
.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-accordion-panel {
    overflow: hidden;
}

.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-accordion-panel[inert] {
    display: none;
}

.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-accordion-panel .base-section,
.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-accordion-panel .container {
    all: unset;
    display: block;
}

.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-accordion-panel p {
    padding: 20px 22px 20px;
    font-size: 0.875rem;
    line-height: 1.7;
    margin: 0;
}






/* ═══════════════════════════════════════════
   02 — TABLES (Striped Rows)
═══════════════════════════════════════════ */

.post-type-resource-details .resource-visual-wrapper-rgt .table-a-wrap {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--ap-border);
  font-family: var(--ap-font);
}
.post-type-resource-details .resource-visual-wrapper-rgt .table-a-wrap .wp-block-table {
  margin: 0;
}
.post-type-resource-details .resource-visual-wrapper-rgt .table-a-wrap .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.post-type-resource-details .resource-visual-wrapper-rgt .table-a-wrap .wp-block-table table thead tr {
  background: rgba(84, 187, 203, 0.08);
  border-bottom: 1px solid var(--ap-border-teal);
}
.post-type-resource-details .resource-visual-wrapper-rgt .table-a-wrap .wp-block-table table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ap-teal);
  white-space: nowrap;
  border: none;
}
.post-type-resource-details .resource-visual-wrapper-rgt .table-a-wrap .wp-block-table table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.025);
}
.post-type-resource-details .resource-visual-wrapper-rgt .table-a-wrap .wp-block-table table tbody tr {
  border-bottom: 1px solid var(--ap-border);
  transition: background 0.15s;
}
.post-type-resource-details .resource-visual-wrapper-rgt .table-a-wrap .wp-block-table table tbody tr:last-child { border-bottom: none; }
.post-type-resource-details .resource-visual-wrapper-rgt .table-a-wrap .wp-block-table table tbody tr:hover { background: rgba(84, 187, 203, 0.06); }
.post-type-resource-details .resource-visual-wrapper-rgt .table-a-wrap .wp-block-table table td {
  padding: 12px 16px;
  color: var(--ap-text-mid);
  vertical-align: middle;
  border: none;
}
.post-type-resource-details .resource-visual-wrapper-rgt .table-a-wrap .wp-block-table table td:first-child {
  color: var(--ap-white);
  font-weight: 600;
}
/* Value state helpers — add via "Additional CSS class" on the table or manually */
.post-type-resource-details .resource-visual-wrapper-rgt .table-a-wrap .val-pos { color: #4ade80 !important; font-weight: 700; }
.post-type-resource-details .resource-visual-wrapper-rgt .table-a-wrap .val-neg { color: #f87171 !important; font-weight: 700; }


/* ═══════════════════════════════════════════
   03 — SECTION HEADING (Underline Accent)
═══════════════════════════════════════════ */

.post-type-resource-details .resource-visual-wrapper-rgt .heading-b {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ap-border);
  font-family: var(--ap-font);
}
.post-type-resource-details .resource-visual-wrapper-rgt .heading-b .heading-b__title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--ap-white);
  line-height: 1.1;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}
.post-type-resource-details .resource-visual-wrapper-rgt .heading-b .heading-b__title::after {
  content: '';
  display: block;
  margin-top: 10px;
  width: 48px;
  height: 3px;
  background: var(--ap-teal);
  border-radius: 2px;
}
.post-type-resource-details .resource-visual-wrapper-rgt .heading-b .heading-b__desc {
  color: var(--ap-text-mid);
  font-size: 0.92rem;
  max-width: 480px;
  line-height: 1.65;
  margin-top: 14px;
}




/* ═══════════════════════════════════════════
   06 — INLINE CTA (Horizontal Bar)
═══════════════════════════════════════════ */

.post-type-resource-details .resource-visual-wrapper-rgt .cta-b-full {
  background: var(--ap-bg-card);
  border: 1px solid var(--ap-border-teal);
  border-radius: 6px;
  padding: 28px 36px;
  font-family: var(--ap-font);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin: 0 0 20px;
}
.post-type-resource-details .resource-visual-wrapper-rgt .cta-b-full .cta-b-full__left { flex: 1; min-width: 260px; }
.post-type-resource-details .resource-visual-wrapper-rgt .cta-b-full .cta-b-full__eyebrow {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--ap-teal);
    margin-bottom: 5px;
    display: inline-block;
}
.post-type-resource-details .resource-visual-wrapper-rgt .cta-b-full .cta-b-full__heading,
.post-type-resource-details .resource-visual-wrapper-rgt .cta-b-full h2.cta-b-full__heading,
.post-type-resource-details .resource-visual-wrapper-rgt .cta-b-full h3.cta-b-full__heading,
.post-type-resource-details .resource-visual-wrapper-rgt .cta-b-full h4.cta-b-full__heading,
.post-type-resource-details .resource-visual-wrapper-rgt .cta-b-full h5.cta-b-full__heading {
    font-size: 1rem !important;
    font-weight: 800;
    color: var(--ap-white);
    line-height: 1.35 !important;
    margin: 0 0 6px !important;
}
.post-type-resource-details .resource-visual-wrapper-rgt .cta-b-full .cta-b-full__heading:after,
.post-type-resource-details .resource-visual-wrapper-rgt .cta-b-full h2.cta-b-full__heading:after,
.post-type-resource-details .resource-visual-wrapper-rgt .cta-b-full h3.cta-b-full__heading:after,
.post-type-resource-details .resource-visual-wrapper-rgt .cta-b-full h4.cta-b-full__heading:after,
.post-type-resource-details .resource-visual-wrapper-rgt .cta-b-full h5.cta-b-full__heading:after {
    display: none !important;
}
.post-type-resource-details .resource-visual-wrapper-rgt .cta-b-full .cta-b-full__sub {
  font-size: 0.82rem;
  color: var(--ap-text-mid);
  line-height: 1.55;
}
.post-type-resource-details .resource-visual-wrapper-rgt .cta-b-full .btn-lime .wp-block-button__link,
.post-type-resource-details .resource-visual-wrapper-rgt .cta-b-full .btn-lime a {
  background: var(--ap-lime) !important;
  color: var(--ap-btn-text) !important;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 4px;
  white-space: nowrap;
  transition: opacity 0.18s;
  font-family: var(--ap-font);
}
.post-type-resource-details .resource-visual-wrapper-rgt .cta-b-full .btn-lime .wp-block-button__link:hover,
.post-type-resource-details .resource-visual-wrapper-rgt .cta-b-full .btn-lime a:hover { opacity: 0.88; }

/* Standalone btn-lime (editor preview + PHP render) */
.post-type-resource-details .resource-visual-wrapper-rgt .cta-b-full > .btn-lime,
.post-type-resource-details .resource-visual-wrapper-rgt .cta-b-full > a.btn-lime {
  background: var(--ap-lime) !important;
  color: var(--ap-btn-text) !important;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 4px;
  white-space: nowrap;
  transition: opacity 0.18s;
  font-family: var(--ap-font);
  display: inline-block;
  cursor: pointer;
}
.post-type-resource-details .resource-visual-wrapper-rgt .cta-b-full > .btn-lime:hover,
.post-type-resource-details .resource-visual-wrapper-rgt .cta-b-full > a.btn-lime:hover { opacity: 0.88; }

/* ═══════════════════════════════════════════
   07 — QUOTE (Card with Citation)
═══════════════════════════════════════════ */

.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-ap-blog-quote {
    margin: 0 0 20px;
}
.post-type-resource-details .resource-visual-wrapper-rgt .quote-b {
  background: var(--ap-bg-card);
  border: 1px solid var(--ap-border);
  border-radius: 6px;
  padding: 36px 40px;
  position: relative;
  overflow: hidden;
  font-family: var(--ap-font);
  margin: 0;
}
.post-type-resource-details .resource-visual-wrapper-rgt .quote-b .quote-b__icon {
  position: absolute;
  top: -10px;
  left: 24px;
  font-size: 8rem;
  font-weight: 600;
  color: var(--ap-teal);
  opacity: 0.07;
  line-height: 1;
  font-family: Georgia, serif;
  pointer-events: none;
  user-select: none;
}
.post-type-resource-details .resource-visual-wrapper-rgt .quote-b .quote-b__title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ap-white);
  line-height: 1.2;
  margin-bottom: 12px;
}
.post-type-resource-details .resource-visual-wrapper-rgt .quote-b .quote-b__text {
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--ap-text-mid);
  line-height: 1.65;
  margin-bottom: 20px;
}
.post-type-resource-details .resource-visual-wrapper-rgt .quote-b .quote-b__author {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ap-text-low);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 10px;
  font-style: normal;
}
.post-type-resource-details .resource-visual-wrapper-rgt .quote-b .quote-b__author::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--ap-teal);
  flex-shrink: 0;
}


/* ═══════════════════════════════════════════
   08 — SUMMARY CARD (Key Takeaways)
═══════════════════════════════════════════ */

.post-type-resource-details .resource-visual-wrapper-rgt .summary-b {
  background: var(--ap-bg-card);
  border: 1px solid var(--ap-border-teal);
  border-radius: 6px;
  overflow: hidden;
  font-family: var(--ap-font);
  margin: 0 0 20px;
}
.post-type-resource-details .resource-visual-wrapper-rgt .summary-b .summary-b__top {
    background: rgba(84, 187, 203, 0.08);
    padding: 16px 24px;
    border-bottom: 1px solid var(--ap-border-teal);
    gap: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.post-type-resource-details .resource-visual-wrapper-rgt .summary-b .summary-b__top-icon {
  color: var(--ap-teal);
  font-size: 0.95rem;
}
.post-type-resource-details .resource-visual-wrapper-rgt .summary-b .summary-b__top-label,
.post-type-resource-details .resource-visual-wrapper-rgt .summary-b h2.summary-b__top-label,
.post-type-resource-details .resource-visual-wrapper-rgt .summary-b h3.summary-b__top-label,
.post-type-resource-details .resource-visual-wrapper-rgt .summary-b h4.summary-b__top-label,
.post-type-resource-details .resource-visual-wrapper-rgt .summary-b h5.summary-b__top-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ap-white);
  margin: 0;
}
.post-type-resource-details .resource-visual-wrapper-rgt .summary-b .summary-b__body {
  padding: 18px 24px;
}
.post-type-resource-details .resource-visual-wrapper-rgt .summary-b .summary-b__body p {
    margin: 0 0 10px;
}
.post-type-resource-details .resource-visual-wrapper-rgt .summary-b .summary-b__body ul,
.post-type-resource-details .resource-visual-wrapper-rgt .summary-b .summary-b__body ul.wp-block-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  border: 0px solid !important;
}
.post-type-resource-details .resource-visual-wrapper-rgt .summary-b .summary-b__body ul:last-child,
.post-type-resource-details .resource-visual-wrapper-rgt .summary-b .summary-b__body ul.wp-block-list:last-child {
    margin: 0;
}
.post-type-resource-details .resource-visual-wrapper-rgt .summary-b .summary-b__body ul > li,
.post-type-resource-details .resource-visual-wrapper-rgt .summary-b .summary-b__body ul.wp-block-list > li {
  position: relative;
  padding: 9px 0 9px 22px;
  border-bottom: 1px solid var(--ap-border);
  font-size: 0.88rem;
  color: var(--ap-text-mid);
  line-height: 1.55;
}
.post-type-resource-details .resource-visual-wrapper-rgt .summary-b .summary-b__body ul > li:last-child,
.post-type-resource-details .resource-visual-wrapper-rgt .summary-b .summary-b__body ul.wp-block-list > li:last-child { border-bottom: none; }
.post-type-resource-details .resource-visual-wrapper-rgt .summary-b .summary-b__body ul > li::before,
.post-type-resource-details .resource-visual-wrapper-rgt .summary-b .summary-b__body ul.wp-block-list > li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 12px;
  font-size: 0.45rem;
  color: var(--ap-teal);
}
.post-type-resource-details .resource-visual-wrapper-rgt .summary-b .summary-b__body strong { color: var(--ap-white); }



.post-type-resource-details .resource-visual-wrapper-rgt .summary-b .summary-b__body ol,
.post-type-resource-details .resource-visual-wrapper-rgt .summary-b .summary-b__body ol.wp-block-list {
    margin: 0;
    border: 0px solid rgba(255, 255, 255, 0.08);
}
.post-type-resource-details .resource-visual-wrapper-rgt .summary-b .summary-b__body ol li,
.post-type-resource-details .resource-visual-wrapper-rgt .summary-b .summary-b__body ol.wp-block-list li {
    padding: 18px 22px 18px 50px;
}
.post-type-resource-details .resource-visual-wrapper-rgt .summary-b .summary-b__body ol li:before,
.post-type-resource-details .resource-visual-wrapper-rgt .summary-b .summary-b__body ol.wp-block-list li:before {
    left: 0;
}
.post-type-resource-details .resource-visual-wrapper-rgt .summary-b .summary-b__body ol li:hover,
.post-type-resource-details .resource-visual-wrapper-rgt .summary-b .summary-b__body ol.wp-block-list li:hover {
    background: transparent;
}
.post-type-resource-details .resource-visual-wrapper-rgt .summary-b .summary-b__body ol li:last-child,
.post-type-resource-details .resource-visual-wrapper-rgt .summary-b .summary-b__body ol.wp-block-list li:last-child {
    padding-bottom: 5px;
}
/* ═══════════════════════════════════════════
   09 — DATA HIGHLIGHTS (4-Column Stats)
═══════════════════════════════════════════ */
.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-ap-blog-data-highlights {
    margin: 0 0 20px;
}
.post-type-resource-details .resource-visual-wrapper-rgt .data-c {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--ap-border);
  border: 1px solid var(--ap-border);
  border-radius: 6px;
  overflow: hidden;
  font-family: var(--ap-font);
}
.post-type-resource-details .resource-visual-wrapper-rgt .data-c .data-c__item {
  background: var(--ap-bg-card);
  padding: 28px 24px;
  transition: background 0.15s;
  text-align: center;
}
.post-type-resource-details .resource-visual-wrapper-rgt .data-c .data-c__item:hover { background: rgba(84, 187, 203, 0.06); }
.post-type-resource-details .resource-visual-wrapper-rgt .data-c .data-c__num {
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--ap-teal);
  line-height: 1;
  margin-bottom: 8px;
}
.post-type-resource-details .resource-visual-wrapper-rgt .data-c .data-c__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ap-white);
  line-height: 1.35;
}




/* ═══════════════════════════════════════════
   10 — TIP / IMPORTANT FACT
═══════════════════════════════════════════ */

.post-type-resource-details .resource-visual-wrapper-rgt .tip-b {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 3px solid #dee463;
    border-radius: 0 0 6px 6px;
    padding: 18px 20px;
    margin: 0 0 20px;
}

.post-type-resource-details .resource-visual-wrapper-rgt .tip-b__header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.post-type-resource-details .resource-visual-wrapper-rgt .tip-b__icon {
    font-size: 1rem;
    line-height: 1;
}

.post-type-resource-details .resource-visual-wrapper-rgt .tip-b__label {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #dee463;
}

.post-type-resource-details .resource-visual-wrapper-rgt .tip-b__text {
    font-size: 0.875rem;
    color: #e7e7e7;
    line-height: 1.65;
    margin: 0 !important;
}

.post-type-resource-details .resource-visual-wrapper-rgt .tip-b__text strong {
    color: #ffffff;
}

/* ═══════════════════════════════════════════
   11a — AUTHOR PROFILE (Compact Inline)
═══════════════════════════════════════════ */
.post-type-resource-details .resource-visual-wrapper-rgt .wp-block-ap-blog-author-profile {
    margin: 0 0 20px;
}
.post-type-resource-details .resource-visual-wrapper-rgt .author-a {
  background: rgb(255 255 255 / 5%);
  border: 1px solid var(--ap-border);
  border-radius: 6px;
  padding: 18px 22px;
  font-family: var(--ap-font);
  display: flex;
  align-items: center;
  gap: 16px;
}
.post-type-resource-details .resource-visual-wrapper-rgt .author-a .author-a__avatar {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: rgba(84, 187, 203, 0.15);
  border: 2px solid var(--ap-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ap-teal);
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.post-type-resource-details .resource-visual-wrapper-rgt .author-a .author-a__name {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--ap-white);
  margin-bottom: 2px;
}
.post-type-resource-details .resource-visual-wrapper-rgt .author-a .author-a__role {
  font-size: 0.78rem;
  color: var(--ap-text-mid);
  line-height: 1.5;
}
.post-type-resource-details .resource-visual-wrapper-rgt .author-a .author-a__bio {
  font-size: 0.78rem;
  color: var(--ap-text-mid);
  line-height: 1.5;
}
.post-type-resource-details .resource-visual-wrapper-rgt .author-a .author-a__avatar-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}
.post-type-resource-details .resource-visual-wrapper-rgt .author-a .author-a__avatar-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.post-type-resource-details .resource-visual-wrapper-rgt .author-a .author-a__avatar:has(img) {
  background: none;
  border: none;
  padding: 0;
  overflow: hidden;
}


/* ═══════════════════════════════════════════
   11b — AUTHOR PROFILE (Card with Bio)
═══════════════════════════════════════════ */

.post-type-resource-details .resource-visual-wrapper-rgt .author-b {
  background: rgb(255 255 255 / 5%);
  border: 1px solid var(--ap-border);
  border-radius: 6px;
  padding: 28px 26px;
  font-family: var(--ap-font);
}
.post-type-resource-details .resource-visual-wrapper-rgt .author-b .author-b__top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ap-border);
}
.post-type-resource-details .resource-visual-wrapper-rgt .author-b .author-b__avatar {
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 50%;
  background: rgba(84, 187, 203, 0.12);
  border: 2px solid rgba(84, 187, 203, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ap-teal);
  flex-shrink: 0;
}
.post-type-resource-details .resource-visual-wrapper-rgt .author-b .author-b__name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--ap-white);
  margin-bottom: 2px;
}
.post-type-resource-details .resource-visual-wrapper-rgt .author-b .author-b__role {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ap-teal);
}
.post-type-resource-details .resource-visual-wrapper-rgt .author-b .author-b__bio {
  font-size: 0.85rem;
  color: var(--ap-text-mid);
  line-height: 1.7;
  margin-bottom: 0;
}
.post-type-resource-details .resource-visual-wrapper-rgt .author-b .author-b__avatar-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}
.post-type-resource-details .resource-visual-wrapper-rgt .author-b .author-b__avatar-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.post-type-resource-details .resource-visual-wrapper-rgt .author-b .author-b__avatar:has(img) {
  background: none;
  border: none;
  padding: 0;
  overflow: hidden;
}



/* ═══════════════════════════════════════════
   EDITOR OVERRIDES
   Reset some Gutenberg editor defaults so
   patterns look correct inside the editor.
═══════════════════════════════════════════ */

/*.editor-styles-wrapper .toc-b,
.editor-styles-wrapper .table-a-wrap,
.editor-styles-wrapper .heading-b,
.editor-styles-wrapper .blist-b-wrap,
.editor-styles-wrapper .nlist-a-wrap,
.editor-styles-wrapper .cta-b-full,
.editor-styles-wrapper .quote-b,
.editor-styles-wrapper .summary-b,
.editor-styles-wrapper .data-c,
.editor-styles-wrapper .tip-b,
.editor-styles-wrapper .author-a,
.editor-styles-wrapper .author-b,
.editor-styles-wrapper .faq-a,
.editor-styles-wrapper .faq-b {
  font-family: var(--ap-font);
}*/

/* Remove default Gutenberg Group padding that fights our layout */
.editor-styles-wrapper .toc-b > .block-editor-inner-blocks,
.editor-styles-wrapper .summary-b > .block-editor-inner-blocks,
.editor-styles-wrapper .tip-b > .block-editor-inner-blocks,
.editor-styles-wrapper .quote-b > .block-editor-inner-blocks,
.editor-styles-wrapper .author-a > .block-editor-inner-blocks,
.editor-styles-wrapper .author-b > .block-editor-inner-blocks,
.editor-styles-wrapper .faq-a > .block-editor-inner-blocks,
.editor-styles-wrapper .faq-b > .block-editor-inner-blocks,
.editor-styles-wrapper .cta-b-full > .block-editor-inner-blocks,
.editor-styles-wrapper .data-c > .block-editor-inner-blocks,
.editor-styles-wrapper .data-c__item > .block-editor-inner-blocks {
  padding: 0;
}

/* ═══════════════════════════════════════════
   EDITOR — Dark background for AP blocks
═══════════════════════════════════════════ */

.wp-block[data-type^="ap-blog/"] {
  background: var(--ap-bg) !important;
  border-radius: 6px;
}

/* Summary Card inner blocks — text visible on dark bg */
.wp-block[data-type="ap-blog/summary-card"] .summary-b__body p,
.wp-block[data-type="ap-blog/summary-card"] .summary-b__body li,
.wp-block[data-type="ap-blog/summary-card"] .summary-b__body ul,
.wp-block[data-type="ap-blog/summary-card"] .summary-b__body ol,
.wp-block[data-type="ap-blog/summary-card"] .summary-b__body h1,
.wp-block[data-type="ap-blog/summary-card"] .summary-b__body h2,
.wp-block[data-type="ap-blog/summary-card"] .summary-b__body h3,
.wp-block[data-type="ap-blog/summary-card"] .summary-b__body h4 {
  color: var(--ap-text-high) !important;
}
.wp-block[data-type="ap-blog/summary-card"] .summary-b__body .block-editor-rich-text__editable {
  color: var(--ap-text-high) !important;
  caret-color: var(--ap-white) !important;
}
.wp-block[data-type="ap-blog/summary-card"] .summary-b__body .block-list-appender {
  color: var(--ap-muted);
}
.wp-block[data-type="ap-blog/summary-card"] .summary-b__body li::marker {
  color: transparent;
}
/* Editor — list styling matches frontend */
.wp-block[data-type="ap-blog/summary-card"] .summary-b__body .wp-block-list,
.wp-block[data-type="ap-blog/summary-card"] .summary-b__body ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.wp-block[data-type="ap-blog/summary-card"] .summary-b__body .wp-block-list > li,
.wp-block[data-type="ap-blog/summary-card"] .summary-b__body ul > li {
  position: relative;
  padding: 9px 0 9px 22px !important;
  border-bottom: 1px solid var(--ap-border);
  font-size: 0.88rem;
  color: var(--ap-text-mid) !important;
  line-height: 1.55;
}
.wp-block[data-type="ap-blog/summary-card"] .summary-b__body .wp-block-list > li:last-child,
.wp-block[data-type="ap-blog/summary-card"] .summary-b__body ul > li:last-child {
  border-bottom: none;
}
.wp-block[data-type="ap-blog/summary-card"] .summary-b__body .wp-block-list > li::before,
.wp-block[data-type="ap-blog/summary-card"] .summary-b__body ul > li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 12px;
  font-size: 0.45rem;
  color: var(--ap-teal);
}
.wp-block[data-type="ap-blog/summary-card"] .summary-b__body strong {
  color: var(--ap-white) !important;
}

.single .blog-content-rgt a {
    border: none;
    text-decoration: none;
    cursor: pointer;
}

.single .blog-content-rgt .wp-block-button a.wp-block-button__link:hover {
    text-decoration: none;
}

@media (min-width: 768px) {
    .post-type-resource-details .resource-visual-wrapper-rgt .tip-b {
        padding: 20px 24px;
    }
}

@media (max-width: 991px) {
    .post-type-resource-details .resource-visual-wrapper-rgt .data-c {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 767px) {

    .post-type-resource-details .resource-visual-wrapper-rgt .h2,
    .post-type-resource-details .resource-visual-wrapper-rgt h2{font-size:23px!important;line-height: 1.2 !important;}
    .post-type-resource-details .resource-visual-wrapper-rgt .h3,
    .post-type-resource-details .resource-visual-wrapper-rgt h3{font-size:20px!important;line-height: 1.2 !important;}
    .post-type-resource-details .resource-visual-wrapper-rgt .h4,
    .post-type-resource-details .resource-visual-wrapper-rgt h4{font-size:19px!important;line-height: 1.2 !important;}
    .post-type-resource-details .resource-visual-wrapper-rgt .h5,
    .post-type-resource-details .resource-visual-wrapper-rgt h5{font-size:18px!important;line-height: 1.2 !important;}

    .post-type-resource-details .resource-visual-wrapper-rgt .wp-block-table table {
        font-size: 0.78rem;
    }

    .post-type-resource-details .resource-visual-wrapper-rgt .wp-block-table tbody tr:first-child td {
        font-size: 9px;
        padding: 10px 12px;
    }

    .post-type-resource-details .resource-visual-wrapper-rgt .wp-block-table tbody tr:not(:first-child) td {
        padding: 10px 12px;
    }


    .post-type-resource-details .resource-visual-wrapper-rgt ul.wp-block-list li {
        font-size: 0.85rem;
    }

    .post-type-resource-details .resource-visual-wrapper-rgt ol.wp-block-list li {
        gap: 14px;
        padding: 14px 16px 14px 50px;
    }
    .post-type-resource-details .resource-visual-wrapper-rgt .summary-b .summary-b__body ol li, .post-type-resource-details .resource-visual-wrapper-rgt .summary-b .summary-b__body ol.wp-block-list li {
        padding: 16px 16px 16px 40px;
    }


    .post-type-resource-details .resource-visual-wrapper-rgt .quote-b {
        padding: 25px 24px;
    }

    .post-type-resource-details .resource-visual-wrapper-rgt ol.wp-block-list li::before {
        font-size: 1.1rem;
        min-width: 26px;
    }

    .post-type-resource-details .resource-visual-wrapper-rgt .wp-block-quote {
        padding: 24px 22px;
    }

    .post-type-resource-details .resource-visual-wrapper-rgt .wp-block-quote .wp-block-heading {
        font-size: 1rem;
    }

    .post-type-resource-details .resource-visual-wrapper-rgt .wp-block-quote p {
        font-size: 0.875rem;
    }




    .post-type-resource-details .resource-visual-wrapper-rgt .wp-block-accordion-heading__toggle {
        padding: 14px 16px;
    }

    .post-type-resource-details .resource-visual-wrapper-rgt .wp-block-accordion-heading__toggle-title {
        font-size: 0.85rem;
    }

    .post-type-resource-details .resource-visual-wrapper-rgt .wp-block-accordion-panel p {
        padding: 16px 16px;
        font-size: 0.84rem;
    }

    .post-type-resource-details .resource-visual-wrapper-rgt .cta-b-full {
        flex-direction: column;
        align-items: flex-start;
        padding: 22px 20px;
    }
    
}




@media (max-width: 480px) {
  .post-type-resource-details .resource-visual-wrapper-rgt .data-c {
    grid-template-columns: 1fr !important;
  }
  .post-type-resource-details .resource-visual-wrapper-rgt .data-c .data-c__num {
    font-size: 2rem;
  }
}
