/* GEF Dynamic Blog 1.1.2 — legibility update.
 * Applied AFTER the original source CSS and the v1.1.1 readability stylesheet.
 * Rules are scoped to plugin sections; Astra, Elementor and the site header/footer
 * are intentionally unaffected. Original colors/structure are preserved.
 */

/* -------- WordPress Posts: blog listing -------- */
#gef-blog-main .gefbm-tab {
  font-size: 14.5px !important;
  line-height: 1.35 !important;
  font-weight: 700;
  min-height: 39px;
  padding: 9px 16px;
}
#gef-blog-main .gefbm-category {
  font-size: 12.5px !important;
  line-height: 1.3 !important;
  min-height: 27px;
  padding: 5px 11px;
}
#gef-blog-main .gefbm-card-title,
#gef-blog-main .gefbm-card-title a {
  font-size: 21px !important;
  line-height: 1.36 !important;
  font-weight: 700;
}
#gef-blog-main .gefbm-excerpt {
  font-size: 16px !important;
  line-height: 1.7 !important;
  color: #456b90;
}
#gef-blog-main .gefbm-meta,
#gef-blog-main .gefbm-meta-item,
#gef-blog-main .gefbm-recent-text small {
  font-size: 13px !important;
  line-height: 1.5 !important;
}
#gef-blog-main .gefbm-meta-item svg {width:15px;height:15px}
#gef-blog-main .gefbm-widget h2 {
  font-size: 22px !important;
  line-height: 1.3 !important;
  font-weight: 700;
}
#gef-blog-main .gefbm-categories a,
#gef-blog-main .gefbm-cat-label {
  font-size: 15.5px !important;
  line-height: 1.5 !important;
}
#gef-blog-main .gefbm-categories a {min-height:44px}
#gef-blog-main .gefbm-count {font-size:12.5px !important;min-width:27px;height:27px}
#gef-blog-main .gefbm-recent-text strong {
  font-size: 15px !important;
  line-height: 1.43 !important;
  font-weight: 700;
}
#gef-blog-main .gefbm-recent-text small {font-size:12.5px !important}
#gef-blog-main .gefbm-search input[type="search"] {
  font-size: 15px !important;
  line-height: 1.4 !important;
}
#gef-blog-main .gefbm-search {min-height:46px}
#gef-blog-main .gefbm-load-more {
  font-size: 15px !important;
  min-height: 46px;
}
#gef-blog-main .gefbm-status,
#gef-blog-main .gefbm-empty p {font-size:14px !important;line-height:1.6}

/* -------- WordPress Posts: single article -------- */
#gef-single-view .gef-blog-hero h1 {
  font-size: clamp(35px,3.6vw,49px) !important;
  line-height: 1.18 !important;
}
#gef-single-view .gef-blog-back {font-size:14.5px !important;line-height:1.4 !important}
#gef-single-view .gef-blog-tags .gef-blog-tag {
  font-size: 13px !important;
  line-height: 1.35 !important;
  min-height: 30px;
  padding: 6px 12px;
}
#gef-single-view .gef-blog-meta-item,
#gef-single-view .gef-blog-share {
  font-size: 13.5px !important;
  line-height: 1.45 !important;
}
#gef-single-view .gef-single-post-content p,
#gef-single-view .gef-detail-article .gef-single-post-content > p,
#gef-single-view .gef-detail-article .gef-single-post-content .gef-detail-block > p,
#gef-single-view .gef-detail-article .gef-single-post-content li,
#gef-single-view .gef-detail-article .gef-single-post-content ul li,
#gef-single-view .gef-detail-article .gef-single-post-content ol li,
#gef-single-view .gef-single-post-content .wp-block-paragraph {
  font-size: 18px !important;
  line-height: 1.78 !important;
  font-weight: 400;
  color: #355d83;
}
#gef-single-view .gef-detail-article .gef-single-post-content h2,
#gef-single-view .gef-detail-article .gef-single-post-content .gef-detail-block h2,
#gef-single-view .gef-detail-article .gef-single-post-content .wp-block-heading {
  font-size: 30px !important;
  line-height: 1.3 !important;
  font-weight: 700;
}
#gef-single-view .gef-detail-article .gef-single-post-content h3 {
  font-size: 22px !important;
  line-height: 1.4 !important;
}
#gef-single-view .gef-detail-article .gef-single-post-content h4 {
  font-size: 19px !important;
  line-height: 1.45 !important;
}
#gef-single-view .gef-detail-article .gef-single-post-content .gef-strategy-info h3 {
  font-size: 20px !important;
  line-height: 1.4 !important;
}
#gef-single-view .gef-detail-article .gef-single-post-content .gef-strategy-info p {
  font-size: 17px !important;
  line-height: 1.7 !important;
}
#gef-single-view .gef-detail-quote p,
#gef-single-view .gef-detail-article .gef-detail-quote p,
#gef-single-view .gef-detail-article .gef-single-post-content .gef-detail-quote p {
  font-size: 17px !important;
  line-height: 1.7 !important;
}
#gef-single-view .gef-detail-quote-icon {font-size:51px}

/* Sidebar cards: author, TOC, related and newsletter. */
#gef-single-view .gef-side-card h3,
#gef-single-view .gef-toc-card h3,
#gef-single-view .gef-related-heading h3,
#gef-single-view .gef-newsletter-heading h3 {
  font-size: 21px !important;
  line-height: 1.35 !important;
}
#gef-single-view .gef-toc-list a,
#gef-single-view .gef-toc-text {
  font-size: 15px !important;
  line-height: 1.6 !important;
}
#gef-single-view .gef-toc-number {font-size:13px !important}
#gef-single-view .gef-related-content h4 {
  font-size: 15.5px !important;
  line-height: 1.45 !important;
  font-weight: 600;
}
#gef-single-view .gef-related-meta,
#gef-single-view .gef-author-meta,
#gef-single-view .gef-blog-card-meta {
  font-size: 12.5px !important;
  line-height: 1.55 !important;
}
#gef-single-view .gef-author-text span,
#gef-single-view .gef-author-text p,
#gef-single-view .gef-newsletter-card > p {
  font-size: 14.5px !important;
  line-height: 1.7 !important;
}
#gef-single-view .gef-related-category,
#gef-single-view .gef-blog-card-category {
  font-size: 12px !important;
  line-height: 1.3 !important;
}
#gef-single-view .gef-newsletter-form input,
#gef-single-view .gef-newsletter-input input {font-size:14px !important}
#gef-single-view .gef-newsletter-form button {font-size:14px !important}

/* Below-article navigation and related blog cards. */
#gef-single-view .gef-blog-nav-content h3 {
  font-size: 18px !important;
  line-height: 1.42 !important;
}
#gef-single-view .gef-blog-nav-label {font-size:14px !important}
#gef-single-view .gef-blog-nav-meta {font-size:12.5px !important;line-height:1.55 !important}
#gef-single-view .gef-related-blogs-heading h2 {font-size:34px !important;line-height:1.25 !important}
#gef-single-view .gef-related-blogs-label {font-size:13px !important}
#gef-single-view .gef-blog-card-body h3,
#gef-single-view .gef-blog-card-body h3 a {
  font-size: 20px !important;
  line-height: 1.4 !important;
}
#gef-single-view .gef-blog-card-body > p {
  font-size: 16px !important;
  line-height: 1.65 !important;
}
#gef-single-view .gef-blog-card-meta,
#gef-single-view .gef-blog-card-link {font-size:13px !important;line-height:1.5 !important}

/* Tablet: retain a comfortable scale without crowding two columns. */
@media (max-width: 1100px) {
  #gef-blog-main .gefbm-card-title,
  #gef-blog-main .gefbm-card-title a {font-size:20px !important}
  #gef-blog-main .gefbm-excerpt {font-size:15.5px !important}
  #gef-blog-main .gefbm-recent-text strong {font-size:14.5px !important}
  #gef-single-view .gef-blog-nav-content h3 {font-size:16.5px !important}
  #gef-single-view .gef-blog-card-body h3,
  #gef-single-view .gef-blog-card-body h3 a {font-size:18.5px !important}
}

/* Mobile: the previous 10–14px overrides are replaced with readable defaults. */
@media (max-width: 700px) {
  #gef-blog-main .gefbm-tab {font-size:13.5px !important;min-height:36px;padding:8px 13px}
  #gef-blog-main .gefbm-category {font-size:12px !important}
  #gef-blog-main .gefbm-card-title,
  #gef-blog-main .gefbm-card-title a {font-size:20px !important}
  #gef-blog-main .gefbm-excerpt {font-size:15.5px !important;line-height:1.7 !important}
  #gef-blog-main .gefbm-meta,
  #gef-blog-main .gefbm-meta-item {font-size:12.5px !important}
  #gef-blog-main .gefbm-categories a,
  #gef-blog-main .gefbm-cat-label {font-size:15px !important}
  #gef-blog-main .gefbm-recent-text strong {font-size:14.5px !important}
  #gef-single-view .gef-blog-hero h1 {font-size:clamp(30px,7vw,38px) !important}
  #gef-single-view .gef-blog-tags .gef-blog-tag {font-size:12px !important;min-height:28px}
  #gef-single-view .gef-blog-meta-item,
  #gef-single-view .gef-blog-share {font-size:12.5px !important}
  #gef-single-view .gef-single-post-content p,
  #gef-single-view .gef-detail-article .gef-single-post-content > p,
  #gef-single-view .gef-detail-article .gef-single-post-content .gef-detail-block > p,
  #gef-single-view .gef-detail-article .gef-single-post-content li,
  #gef-single-view .gef-detail-article .gef-single-post-content ul li,
  #gef-single-view .gef-detail-article .gef-single-post-content ol li {font-size:16.5px !important;line-height:1.76 !important}
  #gef-single-view .gef-detail-article .gef-single-post-content h2,
  #gef-single-view .gef-detail-article .gef-single-post-content .gef-detail-block h2,
  #gef-single-view .gef-detail-article .gef-single-post-content .wp-block-heading {font-size:25px !important}
  #gef-single-view .gef-detail-article .gef-single-post-content h3 {font-size:20px !important}
  #gef-single-view .gef-detail-article .gef-single-post-content .gef-strategy-info p {font-size:16px !important}
  #gef-single-view .gef-detail-quote p,
  #gef-single-view .gef-detail-article .gef-detail-quote p,
  #gef-single-view .gef-detail-article .gef-single-post-content .gef-detail-quote p {font-size:15.5px !important}
  #gef-single-view .gef-toc-list a,
  #gef-single-view .gef-toc-text {font-size:14.5px !important}
  #gef-single-view .gef-related-content h4 {font-size:15px !important}
  #gef-single-view .gef-related-meta {font-size:12px !important}
  #gef-single-view .gef-blog-nav-content h3 {font-size:16px !important}
  #gef-single-view .gef-blog-nav-meta {font-size:12px !important}
  #gef-single-view .gef-related-blogs-heading h2 {font-size:28px !important}
  #gef-single-view .gef-blog-card-body h3,
  #gef-single-view .gef-blog-card-body h3 a {font-size:18px !important}
  #gef-single-view .gef-blog-card-body > p {font-size:15.5px !important}
}
@media (max-width: 480px) {
  #gef-blog-main .gefbm-tab {font-size:13px !important}
  #gef-blog-main .gefbm-card-title,
  #gef-blog-main .gefbm-card-title a {font-size:19px !important}
  #gef-single-view .gef-blog-hero h1 {font-size:30px !important}
  #gef-single-view .gef-blog-tags .gef-blog-tag {font-size:12px !important}
  #gef-single-view .gef-blog-nav-content h3 {font-size:15.5px !important}
}
