/*
Theme Name: Vecto Pro
Theme URI: https://webvectorlabs.com/
Author: Web Vector Labs
Author URI: https://webvectorlabs.com/
Description: Vecto Pro is a standalone, Gutenberg-ready professional blogging WordPress theme by Web Vector Labs with a responsive 1366px layout, light and dark mode, floating action buttons, a structured sidebar system, related posts, and a modern #11BD8F brand-color design system.
Version: 1.2.7
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: revenuedocs-replica
Tags: blog, news, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, wide-blocks, block-styles, right-sidebar
*/

:root {
  --rd-primary: #11bd8f;
  --rd-primary-dark: #0e9f78;
  --rd-primary-soft: #eafbf6;
  --rd-heading: #183a31;
  --rd-text: #45645c;
  --rd-muted: #718a83;
  --rd-bg: #f7fffc;
  --rd-card: #ffffff;
  --rd-border: #d8eee8;
  --rd-shadow: 0 10px 32px rgba(15, 35, 65, .08);
  --rd-radius: 10px;
  --rd-container: 1366px;
  --rd-gutter: clamp(12px, 2.1vw, 28px);
  --rd-layout-gap: clamp(18px, 2.2vw, 30px);
  --rd-content: 70%;
  --rd-sidebar: 30%;
  --rd-transition: 180ms ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--rd-bg);
  color: var(--rd-text);
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: var(--rd-primary); text-decoration: none; transition: color var(--rd-transition), transform var(--rd-transition), background var(--rd-transition), box-shadow var(--rd-transition); }
a:hover, a:focus { color: var(--rd-primary-dark); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px;
  overflow: hidden; padding: 0; position: absolute!important; width: 1px; word-wrap: normal!important;
}
.screen-reader-text:focus {
  background: #fff; clip: auto!important; clip-path: none; color: #111; display: block; height: auto;
  left: 8px; padding: 12px 16px; top: 8px; width: auto; z-index: 999999;
}

.rd-container { width: min(calc(100% - var(--rd-gutter) - var(--rd-gutter)), var(--rd-container)); max-width: var(--rd-container); margin-inline: auto; }
.site { min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1; }

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--rd-border);
  position: relative;
  z-index: 100;
}
.site-header.is-sticky {
  position: sticky;
  top: 0;
  box-shadow: 0 8px 24px rgba(19, 34, 62, .08);
}
.admin-bar .site-header.is-sticky { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header.is-sticky { top: 46px; } }
.rd-header-row { display: flex; align-items: center; min-height: 84px; gap: 26px; }
.site-branding { flex: 0 0 auto; display: flex; align-items: center; }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { max-height: 58px; width: auto; }
.rd-logo-fallback { display: inline-flex; align-items: center; gap: 10px; color: var(--rd-heading); font-weight: 800; font-size: 26px; line-height: 1; }
.rd-logo-mark { width: 42px; height: 42px; border-radius: 9px; display: grid; place-items: center; background: var(--rd-primary); color: #fff; font-size: 21px; font-weight: 800; box-shadow: 0 8px 18px rgba(17, 189, 143, .24); }
.rd-logo-text small { display: block; color: var(--rd-muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; margin-top: 5px; text-transform: uppercase; }
.rd-primary-nav { margin-left: auto; }
.rd-primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.rd-primary-nav li { position: relative; }
.rd-primary-nav a { display: flex; align-items: center; gap: 6px; padding: 29px 13px; color: #27433b; font-weight: 700; font-size: 15px; }
.rd-primary-nav .current-menu-item > a,
.rd-primary-nav .current-menu-ancestor > a,
.rd-primary-nav a:hover { color: var(--rd-primary); }
.rd-primary-nav .menu-item-has-children > a::after { content: "▾"; font-size: 11px; opacity: .75; }
.rd-primary-nav .sub-menu {
  position: absolute; left: 0; top: calc(100% - 6px); min-width: 220px; display: block; padding: 10px;
  background: #fff; border: 1px solid var(--rd-border); border-radius: 8px; box-shadow: var(--rd-shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all var(--rd-transition);
}
.rd-primary-nav li:hover > .sub-menu,
.rd-primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.rd-primary-nav .sub-menu a { padding: 10px 12px; border-radius: 6px; font-weight: 600; }
.rd-primary-nav .sub-menu a:hover { background: var(--rd-primary-soft); }
.rd-header-actions { display: flex; align-items: center; gap: 8px; }
.rd-icon-button {
  width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--rd-border);
  background: #fff; color: var(--rd-heading); border-radius: 8px;
}
.rd-icon-button:hover { color: var(--rd-primary); border-color: #77dcc0; background: var(--rd-primary-soft); transform: translateY(-1px); }
.rd-menu-toggle { display: none; }
.rd-search-panel { display: none; border-top: 1px solid var(--rd-border); background: #fff; }
.rd-search-panel.is-open { display: block; }
.rd-search-panel .rd-container { padding-block: 18px; }
.search-form { display: flex; gap: 9px; width: 100%; }
.search-form label { flex: 1; }
.search-field {
  width: 100%; min-height: 48px; border: 1px solid var(--rd-border); border-radius: 7px; padding: 0 15px;
  color: var(--rd-heading); background: #fff;
}
.search-field:focus { outline: 3px solid rgba(17,189,143,.12); border-color: var(--rd-primary); }
.search-submit, .rd-button, input[type="submit"] {
  min-height: 48px; border: 0; border-radius: 7px; background: var(--rd-primary); color: #fff; padding: 0 22px;
  font-weight: 700; box-shadow: 0 7px 16px rgba(17,189,143,.18);
}
.search-submit:hover, .rd-button:hover, input[type="submit"]:hover { background: var(--rd-primary-dark); color: #fff; transform: translateY(-1px); }

/* Main layout */
.rd-main-wrap { padding-block: 42px 70px; }
.rd-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(270px, 3fr); gap: var(--rd-layout-gap); align-items: start; }
.rd-content-area, .rd-sidebar { min-width: 0; }
.rd-card-shell { background: #fff; border: 1px solid var(--rd-border); border-radius: var(--rd-radius); box-shadow: 0 7px 24px rgba(19, 35, 64, .045); }

/* Home */
.rd-home { padding-block: 34px 70px; }
.rd-home-section { margin-bottom: 52px; }
.rd-section-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.rd-section-title { margin: 0; color: var(--rd-heading); font-size: clamp(26px, 2.1vw, 38px); line-height: 1.25; letter-spacing: -.025em; }
.rd-section-title::after { content: ""; display: block; width: 64px; height: 4px; margin-top: 10px; border-radius: 4px; background: var(--rd-primary); }
.rd-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; align-items: stretch; }
.rd-post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  overflow: hidden; background: #fff; border: 1px solid var(--rd-border); border-radius: var(--rd-radius);
  box-shadow: 0 6px 22px rgba(20, 38, 68, .045); transition: transform var(--rd-transition), box-shadow var(--rd-transition), border-color var(--rd-transition);
}
.rd-post-card:hover { transform: translateY(-4px); border-color: #a7ead7; box-shadow: var(--rd-shadow); }
.rd-card-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #e7f5f1; }
.rd-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 450ms ease; }
.rd-post-card:hover .rd-card-thumb img { transform: scale(1.045); }
.rd-thumb-placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg,#eafbf6,#f7fffc); color: var(--rd-primary); }
.rd-card-body { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; padding: 20px 20px 22px; }
.rd-card-title { margin: 0 0 10px; font-size: 20px; line-height: 1.38; letter-spacing: -.015em; }
.rd-card-title a { color: var(--rd-heading); }
.rd-card-title a:hover { color: var(--rd-primary); }
.rd-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 8px; color: var(--rd-muted); font-size: 13px; margin-bottom: 12px; }
.rd-post-meta a { color: var(--rd-muted); }
.rd-post-meta a:hover { color: var(--rd-primary); }
.rd-meta-separator { color: var(--rd-primary); font-weight: 700; opacity: .7; user-select: none; }
.rd-card-excerpt { margin: 0 0 16px; font-size: 15px; line-height: 1.7; color: var(--rd-text); }
.rd-read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid var(--rd-primary);
  border-radius: 7px;
  background: var(--rd-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  min-width: 118px;
  margin-top: auto;
  align-self: flex-start;
  text-align: center;
  box-shadow: 0 7px 18px rgba(17, 189, 143, .22);
  transition: transform var(--rd-transition), background-color var(--rd-transition), border-color var(--rd-transition), box-shadow var(--rd-transition);
}
.rd-read-more:hover,
.rd-read-more:focus-visible {
  background: var(--rd-primary-dark);
  border-color: var(--rd-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(14, 159, 120, .28);
}
.rd-read-more:active { transform: translateY(0); }

/* Archive */
.rd-page-header { margin-bottom: 24px; padding: 25px 28px; }
.rd-page-title { margin: 0; color: var(--rd-heading); font-size: clamp(29px,3vw,44px); line-height: 1.22; }
.archive-description { margin-top: 12px; }
.rd-archive-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }

/* Pagination */
.navigation.pagination { margin-top: 28px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.page-numbers { min-width: 42px; min-height: 42px; display: inline-grid; place-items: center; padding: 0 12px; border: 1px solid var(--rd-border); border-radius: 6px; background: #fff; color: var(--rd-heading); font-weight: 700; font-size: 14px; }
.page-numbers.current, .page-numbers:hover { background: var(--rd-primary); border-color: var(--rd-primary); color: #fff; }

/* Single/page */
.rd-entry { padding: clamp(24px, 4vw, 46px); }
.entry-header { margin-bottom: 22px; }
.entry-title { margin: 0 0 14px; color: var(--rd-heading); font-size: clamp(32px, 4vw, 52px); line-height: 1.17; letter-spacing: -.028em; }
.entry-featured-image { margin: 0 0 28px; overflow: hidden; border-radius: 8px; aspect-ratio: 16/9; background: #e7f5f1; }
.entry-featured-image img { width: 100%; height: 100%; object-fit: cover; }
.entry-content { color: #405f57; }
.entry-content > * { max-width: 100%; }
.entry-content p { margin: 0 0 1.45em; }
.entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 { color: var(--rd-heading); line-height: 1.28; letter-spacing: -.02em; scroll-margin-top: 120px; }
.entry-content h2 { margin: 1.65em 0 .55em; font-size: clamp(26px, 2.7vw, 37px); }
.entry-content h3 { margin: 1.45em 0 .5em; font-size: clamp(22px, 2.2vw, 30px); }
.entry-content h4 { font-size: 22px; }
.entry-content ul, .entry-content ol { margin: 0 0 1.5em 1.3em; padding: 0; }
.entry-content li { margin-bottom: .55em; }
.entry-content blockquote { margin: 1.7em 0; padding: 20px 24px; border-left: 4px solid var(--rd-primary); background: var(--rd-primary-soft); color: var(--rd-heading); border-radius: 0 7px 7px 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 15px; }
.entry-content th, .entry-content td { border: 1px solid var(--rd-border); padding: 12px 14px; text-align: left; }
.entry-content th { background: #eafbf6; color: var(--rd-heading); }
.entry-content .wp-block-image img { border-radius: 7px; }
.entry-content .alignwide { margin-left: min(-5vw,-35px); margin-right: min(-5vw,-35px); max-width: calc(100% + 70px); }
.entry-content .alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.rd-breadcrumbs { margin-bottom: 17px; color: var(--rd-muted); font-size: 13px; }
.rd-breadcrumbs a { color: var(--rd-muted); }
.rd-breadcrumbs a:hover { color: var(--rd-primary); }
.rd-entry-footer { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--rd-border); }
.rd-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.rd-tags a { padding: 6px 10px; border-radius: 999px; background: var(--rd-primary-soft); font-size: 13px; font-weight: 700; }
.post-navigation { margin-top: 24px; }
.post-navigation .nav-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.post-navigation a { display: block; height: 100%; padding: 18px; background: #fff; border: 1px solid var(--rd-border); border-radius: 8px; color: var(--rd-heading); font-weight: 700; }
.post-navigation a:hover { border-color: #77dcc0; background: var(--rd-primary-soft); }
.rd-related { margin-top: 30px; }
.rd-related-title { margin: 0 0 18px; color: var(--rd-heading); font-size: 27px; }
.rd-related .rd-post-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 19px; }
.rd-related .rd-card-body { padding: 16px; }
.rd-related .rd-card-title { font-size: 16px; }

/* Comments */
.comments-area { margin-top: 30px; padding: 28px; background: #fff; border: 1px solid var(--rd-border); border-radius: var(--rd-radius); }
.comments-title, .comment-reply-title { color: var(--rd-heading); }
.comment-list { list-style: none; padding: 0; margin: 0; }
.comment-list .comment { padding: 20px 0; border-bottom: 1px solid var(--rd-border); }
.comment-meta { font-size: 14px; }
.comment-content { margin-top: 12px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea,
.rd-form input[type="text"], .rd-form input[type="email"], .rd-form textarea, .rd-form select {
  width: 100%; border: 1px solid var(--rd-border); border-radius: 7px; padding: 12px 14px; background: #fff; color: var(--rd-heading);
}
.comment-form textarea, .rd-form textarea { min-height: 150px; resize: vertical; }
.comment-form input:focus, .comment-form textarea:focus, .rd-form input:focus, .rd-form textarea:focus, .rd-form select:focus { outline: 3px solid rgba(17,189,143,.12); border-color: var(--rd-primary); }

/* Sidebar */
.rd-sidebar { display: grid; gap: 22px; }
.widget, .rd-widget { background: #fff; border: 1px solid var(--rd-border); border-radius: var(--rd-radius); padding: 22px; box-shadow: 0 6px 22px rgba(20,38,68,.035); }
.widget-title, .rd-widget-title { margin: 0 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--rd-primary); color: var(--rd-heading); font-size: 21px; line-height: 1.3; }
.rd-profile { text-align: center; }

/* Premium grow interaction for the complete sidebar profile widget. */
.rd-sidebar .rd-profile {
  transform-origin: center center;
  will-change: transform;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 220ms ease, color 220ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .rd-sidebar .rd-profile:hover {
    transform: translateY(-3px) scale(1.03);
    border-color: rgba(17, 189, 143, .48);
    box-shadow: 0 14px 34px rgba(14, 66, 53, .14);
  }
}
.rd-sidebar .rd-profile:focus-within {
  transform: translateY(-3px) scale(1.03);
  border-color: rgba(17, 189, 143, .48);
  box-shadow: 0 14px 34px rgba(14, 66, 53, .14);
}
.rd-profile-image { width: 112px; height: 112px; margin: 0 auto 14px; border-radius: 50%; overflow: hidden; border: 5px solid #d7f5ec; box-shadow: 0 8px 20px rgba(17,189,143,.14); }
.rd-profile-image img { width: 100%; height: 100%; object-fit: cover; }
.rd-profile h3 { margin: 0 0 7px; color: var(--rd-heading); }
.rd-profile p { margin: 0; font-size: 14px; line-height: 1.65; }
.rd-social-mini { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 15px; }
.rd-social-mini a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--rd-primary-soft); color: var(--rd-primary); font-size: 13px; font-weight: 800; }
.rd-social-mini a:hover { background: var(--rd-primary); color: #fff; transform: translateY(-2px); }
.rd-latest-list { display: grid; gap: 13px; }
.rd-latest-item { display: grid; grid-template-columns: 88px minmax(0,1fr); gap: 12px; align-items: center; }
.rd-latest-thumb { aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: #e9f6f2; }
.rd-latest-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rd-latest-title { margin: 0; font-size: 14px; line-height: 1.42; font-weight: 700; }
.rd-latest-title a { color: var(--rd-heading); }
.rd-latest-title a:hover { color: var(--rd-primary); }
.rd-latest-date { margin-top: 4px; color: var(--rd-muted); font-size: 11px; }
.widget ul, .rd-widget ul { list-style: none; padding: 0; margin: 0; }
.widget li, .rd-widget li { padding: 8px 0; border-bottom: 1px solid #e6f2ee; }
.widget li:last-child, .rd-widget li:last-child { border-bottom: 0; }
.widget li a, .rd-widget li a { display: inline-block; color: #4a3931; }
.widget li a:hover, .rd-widget li a:hover { color: var(--rd-primary); transform: translateX(3px); }
#wp-calendar {
  --rd-calendar-circle-size: clamp(23px, 2.25vw, 32px);
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  text-align: center;
  font-size: 13px;
}
#wp-calendar caption { color: var(--rd-heading); font-weight: 800; margin-bottom: 10px; }
#wp-calendar th, #wp-calendar td { padding: 6px 1px; text-align: center; vertical-align: middle; }
#wp-calendar td a {
  display: inline-grid;
  place-items: center;
  width: var(--rd-calendar-circle-size);
  height: var(--rd-calendar-circle-size);
  min-width: var(--rd-calendar-circle-size);
  min-height: var(--rd-calendar-circle-size);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  padding: 0;
  border-radius: 50%;
  background: var(--rd-primary);
  color: #fff;
  line-height: 1;
  text-align: center;
}
#wp-calendar td a:hover,
#wp-calendar td a:focus-visible {
  background: var(--rd-primary-dark);
  color: #fff;
  transform: scale(1.08);
}
.wp-calendar-nav { display: flex; justify-content: space-between; margin-top: 8px; font-size: 13px; }
.rd-newsletter-form { display: grid; gap: 10px; }
.rd-newsletter-form input { min-height: 44px; border: 1px solid var(--rd-border); border-radius: 7px; padding: 0 12px; }
.rd-notice { margin: 0 0 16px; padding: 12px 14px; border-radius: 7px; font-size: 14px; }
.rd-notice-success { background: #e7f8ee; color: #1d6e3d; border: 1px solid #bfe9cf; }
.rd-notice-error { background: #fff0f0; color: #9f2f2f; border: 1px solid #f1c7c7; }

/* Footer */
.rd-follow-section { background: #11bd8f; color: #eafbf6; padding: 42px 0; }
.rd-follow-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.rd-follow-title { margin: 0; color: #fff; font-size: clamp(27px,3vw,42px); }
.rd-social-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.rd-social-links a { width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; color: #fff; font-size: 12px; font-weight: 800; }
.rd-social-links a:hover { background: var(--rd-primary); border-color: var(--rd-primary); transform: translateY(-3px); }
.site-footer { margin-top: auto; background: #0b3b30; color: #d8f4ec; }
.rd-footer-menu { border-bottom: 1px solid rgba(255,255,255,.08); }
.rd-footer-menu ul { list-style: none; margin: 0; padding: 18px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; }
.rd-footer-menu a { color: #eafbf6; font-size: 14px; }
.rd-footer-menu a:hover { color: #fff; }
.rd-footer-bottom { min-height: 70px; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 13px; }
.rd-footer-bottom a { color: #fff; }
.rd-scroll-top { position: fixed; left: max(22px, env(safe-area-inset-left)); bottom: max(22px, env(safe-area-inset-bottom)); width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 8px; background: var(--rd-primary); color: #fff; box-shadow: 0 9px 22px rgba(17,189,143,.25); opacity: 0; visibility: hidden; transform: translateY(10px); z-index: 99; }
.rd-scroll-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.rd-scroll-top:hover { background: var(--rd-primary-dark); }

/* Forms and utility */
.rd-form { display: grid; gap: 14px; }
.rd-form-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.rd-field label { display: block; margin-bottom: 6px; color: var(--rd-heading); font-weight: 700; font-size: 14px; }
.rd-honeypot { position: absolute; left: -9999px; }
.error-404 { text-align: center; padding: 60px 30px; }
.error-404 .page-title { color: var(--rd-heading); font-size: clamp(38px,7vw,80px); margin: 0; }

/* Gutenberg */
.wp-block-button__link { border-radius: 7px; background: var(--rd-primary); font-weight: 700; }
.wp-block-button__link:hover { background: var(--rd-primary-dark); }
.wp-block-separator { border-color: var(--rd-border); }
.has-primary-color { color: var(--rd-primary)!important; }
.has-primary-background-color { background: var(--rd-primary)!important; }
.has-heading-color { color: var(--rd-heading)!important; }
.has-light-background-color { background: var(--rd-bg)!important; }

/* Universal responsive system: 240px phones through 8K displays */
html,
body { width: 100%; max-width: 100%; }
body { overflow-x: clip; }
.site,
.site-main,
.rd-main-wrap,
.rd-home,
.rd-layout,
.rd-content-area,
.rd-sidebar,
.rd-card-shell,
.rd-entry,
.entry-content { min-width: 0; max-width: 100%; }
img,
picture,
video,
canvas,
svg,
iframe,
embed,
object { max-width: 100%; }
video,
canvas { height: auto; }
input,
textarea,
select,
button { max-width: 100%; }
.entry-content,
.widget,
.rd-widget,
.rd-card-title,
.entry-title { overflow-wrap: anywhere; word-break: normal; }
.entry-content pre,
.entry-content code { max-width: 100%; }
.entry-content pre { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.entry-content table { display: block; max-width: 100%; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; }
.entry-content .wp-block-table { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.entry-content .wp-block-table table { display: table; width: 100%; min-width: 560px; }
.wp-block-embed,
.wp-block-embed__wrapper { max-width: 100%; }
.wp-block-embed__wrapper iframe { width: 100%; }

/* Large desktop, 2K, 4K and 8K: retain the exact 1366px maximum container. */
@media (min-width: 1441px) {
  :root { --rd-container: 1366px; }
}

/* Standard desktop and smaller laptops. */
@media (max-width: 1440px) {
  .rd-primary-nav a { padding-inline: 10px; }
  .rd-header-row { gap: 20px; }
}
@media (max-width: 1280px) {
  .rd-primary-nav a { padding-inline: 8px; font-size: 14px; }
  .rd-post-grid { gap: 20px; }
  .rd-card-body { padding: 18px; }
}

/* Collapsible navigation before the header can become crowded. */
@media (max-width: 1180px) {
  .rd-primary-nav {
    display: none;
    position: absolute;
    left: var(--rd-gutter);
    right: var(--rd-gutter);
    top: calc(100% + 1px);
    max-height: min(72vh, 620px);
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff;
    border: 1px solid var(--rd-border);
    border-radius: 8px;
    box-shadow: var(--rd-shadow);
    padding: 10px;
  }
  .rd-primary-nav.is-open { display: block; }
  .rd-primary-nav ul { display: block; }
  .rd-primary-nav a { min-height: 44px; padding: 11px 12px; border-radius: 6px; }
  .rd-primary-nav .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 18px;
    display: block;
    min-width: 0;
  }
  .rd-menu-toggle { display: grid; }
  .rd-header-actions { margin-left: auto; }
}

/* Tablets and compact laptops. */
@media (max-width: 1050px) {
  .rd-layout { grid-template-columns: minmax(0, 1fr); }
  .rd-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rd-sidebar > * { min-width: 0; }
  .rd-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rd-related .rd-post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .rd-header-row { min-height: 76px; }
  .custom-logo { max-height: 52px; max-width: min(280px, 45vw); }
  .rd-logo-fallback { font-size: 23px; min-width: 0; }
  .rd-logo-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .rd-main-wrap { padding-top: 30px; }
  .rd-related .rd-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Portrait tablets and large phones. */
@media (max-width: 780px) {
  body { font-size: 16px; line-height: 1.72; }
  :root { --rd-gutter: 15px; --rd-layout-gap: 20px; }
  .rd-home { padding-top: 25px; }
  .rd-home-section { margin-bottom: 42px; }
  .rd-section-header { align-items: flex-start; }
  .rd-archive-grid { grid-template-columns: 1fr; }
  .rd-sidebar { grid-template-columns: 1fr; }
  .rd-follow-inner { display: block; text-align: center; }
  .rd-social-links { justify-content: center; margin-top: 20px; }
  .rd-form-row { grid-template-columns: 1fr; }
  .entry-content .alignwide,
  .entry-content .alignfull { margin-left: 0; margin-right: 0; max-width: 100%; width: 100%; }
  .entry-content table { font-size: 14px; }
  .rd-main-wrap { padding-bottom: 52px; }
}

/* Phones. */
@media (max-width: 640px) {
  .rd-post-grid,
  .rd-related .rd-post-grid { grid-template-columns: 1fr; }
  .rd-header-row { min-height: 70px; gap: 10px; }
  .site-branding { min-width: 0; }
  .custom-logo-link { min-width: 0; }
  .custom-logo { max-height: 46px; max-width: min(230px, 48vw); object-fit: contain; }
  .rd-logo-mark { width: 38px; height: 38px; flex: 0 0 38px; }
  .rd-logo-text small { display: none; }
  .rd-icon-button { width: 40px; height: 40px; flex: 0 0 40px; }
  .rd-entry { padding: clamp(20px, 5vw, 28px); }
  .post-navigation .nav-links { grid-template-columns: 1fr; }
  .search-form { display: grid; grid-template-columns: 1fr; }
  .search-submit { width: 100%; }
  .rd-page-header { padding: 22px 20px; }
  .comments-area { padding: 22px 20px; }
}
@media (max-width: 480px) {
  .rd-read-more { width: 100%; min-width: 0; align-self: stretch; }
  :root { --rd-gutter: 11px; --rd-layout-gap: 16px; }
  .rd-logo-fallback { font-size: 19px; gap: 8px; }
  .rd-logo-mark { width: 34px; height: 34px; flex-basis: 34px; border-radius: 7px; font-size: 17px; }
  .custom-logo { max-width: min(195px, 46vw); }
  .rd-header-actions { gap: 5px; }
  .rd-icon-button { width: 38px; height: 38px; flex-basis: 38px; }
  .rd-section-title { font-size: clamp(24px, 7vw, 27px); }
  .rd-card-title { font-size: 19px; }
  .entry-title { font-size: clamp(28px, 8vw, 34px); }
  .widget, .rd-widget { padding: 19px; }
  .rd-card-body { padding: 17px; }
  .rd-main-wrap { padding-top: 22px; }
  .rd-home { padding-bottom: 48px; }
  .rd-footer-menu ul { gap: 8px 16px; }
}
@media (max-width: 390px) {
  .rd-logo-text { max-width: 118px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .rd-icon-button { width: 36px; height: 36px; flex-basis: 36px; }
  .rd-header-row { gap: 7px; }
  .rd-card-body { padding: 16px; }
  .rd-entry { padding-inline: 17px; }
  .widget, .rd-widget { padding: 17px; }
  .rd-latest-item { grid-template-columns: 76px minmax(0, 1fr); gap: 10px; }
}

/* Extra-small and legacy 240–320px devices. */
@media (max-width: 320px) {
  :root { --rd-gutter: 8px; --rd-layout-gap: 13px; }
  #wp-calendar { --rd-calendar-circle-size: 23px; }
  body { font-size: 15px; }
  .rd-header-row { min-height: 64px; }
  .rd-logo-text { max-width: 84px; font-size: 16px; }
  .rd-logo-mark { width: 31px; height: 31px; flex-basis: 31px; font-size: 15px; }
  .custom-logo { max-height: 38px; max-width: 125px; }
  .rd-icon-button { width: 34px; height: 34px; flex-basis: 34px; }
  .rd-entry { padding: 16px 13px; }
  .widget, .rd-widget { padding: 15px 13px; }
  .rd-latest-item { grid-template-columns: 66px minmax(0, 1fr); gap: 8px; }
  .rd-latest-title { font-size: 13px; }
  .rd-section-title { font-size: 23px; }
  .entry-title { font-size: 27px; }
  .rd-social-links a { width: 39px; height: 39px; }
}
@media (max-width: 260px) {
  #wp-calendar { --rd-calendar-circle-size: 21px; font-size: 12px; }
  #wp-calendar th, #wp-calendar td { padding-inline: 0; }
  .rd-logo-text { display: none; }
  .custom-logo { max-width: 96px; }
  .rd-header-actions { margin-left: auto; }
  .rd-entry { padding-inline: 10px; }
  .rd-latest-item { grid-template-columns: 1fr; }
  .rd-latest-thumb { width: 100%; }
}

/* Short landscape screens: keep navigation and controls usable. */
@media (max-height: 520px) and (orientation: landscape) {
  .rd-primary-nav { max-height: calc(100dvh - 78px); }
  .rd-scroll-top,
  .rd-theme-toggle { bottom: max(10px, env(safe-area-inset-bottom)); }
}

/* Touch devices should not depend on hover movement. */
@media (hover: none) and (pointer: coarse) {
  .rd-post-card:hover,
  .rd-social-links a:hover,
  .rd-theme-toggle:hover,
  .rd-scroll-top:hover { transform: none; }
  .rd-icon-button,
  .page-numbers,
  .rd-social-mini a { min-width: 44px; min-height: 44px; }
}

/* Forced-colors/high-contrast support. */
@media (forced-colors: active) {
  .rd-card-shell,
  .rd-post-card,
  .widget,
  .rd-widget,
  .rd-icon-button,
  .page-numbers { border: 1px solid CanvasText; }
  .rd-section-title::after { background: Highlight; }
}

@supports not (overflow: clip) {
  body { overflow-x: hidden; }
}

@media print {
  .site-header, .rd-sidebar, .rd-follow-section, .site-footer, .rd-scroll-top, .post-navigation, .comments-area { display: none!important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .rd-layout { display: block; }
  .rd-card-shell { border: 0; box-shadow: none; }
  .rd-entry { padding: 0; }
  a { color: #000; text-decoration: underline; }
}


/* Light/dark color mode and floating controls */
html {
  color-scheme: light;
  background: var(--rd-bg);
}
html[data-theme="dark"] {
  color-scheme: dark;
  --rd-primary: #11bd8f;
  --rd-primary-dark: #77dcc0;
  --rd-primary-soft: #123c32;
  --rd-heading: #eafbf6;
  --rd-text: #d2eae3;
  --rd-muted: #a1beb6;
  --rd-bg: #081713;
  --rd-card: #10231e;
  --rd-border: #25483f;
  --rd-shadow: 0 14px 38px rgba(0, 0, 0, .34);
}

body,
.site-header,
.rd-search-panel,
.rd-primary-nav,
.rd-primary-nav .sub-menu,
.rd-icon-button,
.search-field,
.rd-card-shell,
.rd-post-card,
.page-numbers,
.post-navigation a,
.comments-area,
.widget,
.rd-widget,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
.rd-form input[type="text"],
.rd-form input[type="email"],
.rd-form textarea,
.rd-form select,
.rd-newsletter-form input {
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.rd-theme-toggle {
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 50%;
  background: var(--rd-primary);
  color: #fff;
  box-shadow: 0 10px 28px rgba(17, 189, 143, .28);
  z-index: 999;
  transition: transform var(--rd-transition), background var(--rd-transition), box-shadow var(--rd-transition), border-color var(--rd-transition);
}
.rd-theme-toggle:hover,
.rd-theme-toggle:focus-visible {
  background: var(--rd-primary-dark);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 32px rgba(17, 189, 143, .34);
}
.rd-theme-toggle:focus-visible,
.rd-scroll-top:focus-visible {
  outline: 3px solid rgba(67, 217, 178, .42);
  outline-offset: 3px;
}
.rd-theme-icon { grid-area: 1 / 1; }
.rd-icon-sun { display: none; }
html[data-theme="dark"] .rd-icon-moon { display: none; }
html[data-theme="dark"] .rd-icon-sun { display: block; }

.rd-scroll-top {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
  z-index: 999;
}
.rd-scroll-top:hover,
.rd-scroll-top:focus-visible {
  transform: translateY(-3px) scale(1.05);
}
.rd-scroll-top.is-visible { transform: translateY(0); }
.rd-scroll-top.is-visible:hover,
.rd-scroll-top.is-visible:focus-visible { transform: translateY(-3px) scale(1.05); }

html[data-theme="dark"] body { background: var(--rd-bg); color: var(--rd-text); }
html[data-theme="dark"] .site-header,
html[data-theme="dark"] .rd-search-panel,
html[data-theme="dark"] .rd-primary-nav .sub-menu,
html[data-theme="dark"] .rd-icon-button,
html[data-theme="dark"] .search-field,
html[data-theme="dark"] .rd-card-shell,
html[data-theme="dark"] .rd-post-card,
html[data-theme="dark"] .page-numbers,
html[data-theme="dark"] .post-navigation a,
html[data-theme="dark"] .comments-area,
html[data-theme="dark"] .widget,
html[data-theme="dark"] .rd-widget,
html[data-theme="dark"] .comment-form input[type="text"],
html[data-theme="dark"] .comment-form input[type="email"],
html[data-theme="dark"] .comment-form input[type="url"],
html[data-theme="dark"] .comment-form textarea,
html[data-theme="dark"] .rd-form input[type="text"],
html[data-theme="dark"] .rd-form input[type="email"],
html[data-theme="dark"] .rd-form textarea,
html[data-theme="dark"] .rd-form select,
html[data-theme="dark"] .rd-newsletter-form input {
  background: var(--rd-card);
  color: var(--rd-text);
  border-color: var(--rd-border);
}
html[data-theme="dark"] .site-header.is-sticky { box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
html[data-theme="dark"] .rd-primary-nav a,
html[data-theme="dark"] .rd-logo-fallback,
html[data-theme="dark"] .rd-icon-button,
html[data-theme="dark"] .rd-card-title a,
html[data-theme="dark"] .entry-content,
html[data-theme="dark"] .widget li a,
html[data-theme="dark"] .rd-widget li a,
html[data-theme="dark"] .rd-latest-title a,
html[data-theme="dark"] .post-navigation a,
html[data-theme="dark"] .page-numbers,
html[data-theme="dark"] input,
html[data-theme="dark"] textarea,
html[data-theme="dark"] select {
  color: var(--rd-text);
}
html[data-theme="dark"] .rd-primary-nav .current-menu-item > a,
html[data-theme="dark"] .rd-primary-nav .current-menu-ancestor > a,
html[data-theme="dark"] .rd-primary-nav a:hover,
html[data-theme="dark"] .rd-card-title a:hover,
html[data-theme="dark"] .rd-latest-title a:hover,
html[data-theme="dark"] .widget li a:hover,
html[data-theme="dark"] .rd-widget li a:hover { color: var(--rd-primary); }
html[data-theme="dark"] .rd-primary-nav .sub-menu a:hover,
html[data-theme="dark"] .rd-icon-button:hover,
html[data-theme="dark"] .post-navigation a:hover { background: var(--rd-primary-soft); }
html[data-theme="dark"] .rd-card-thumb,
html[data-theme="dark"] .entry-featured-image,
html[data-theme="dark"] .rd-latest-thumb { background: #162d27; }
html[data-theme="dark"] .rd-thumb-placeholder { background: linear-gradient(135deg, #153b31, #0c211b); }
html[data-theme="dark"] .entry-content th { background: #17342d; color: var(--rd-heading); }
html[data-theme="dark"] .entry-content blockquote { background: var(--rd-primary-soft); color: var(--rd-heading); }
html[data-theme="dark"] .widget li,
html[data-theme="dark"] .rd-widget li { border-bottom-color: var(--rd-border); }
html[data-theme="dark"] .rd-profile-image { border-color: #1f4c40; box-shadow: 0 8px 22px rgba(0, 0, 0, .35); }
html[data-theme="dark"] .rd-social-mini a { background: var(--rd-primary-soft); color: var(--rd-primary); }
html[data-theme="dark"] .rd-social-mini a:hover { background: var(--rd-primary); color: #071611; }
html[data-theme="dark"] .search-field::placeholder,
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder { color: #91afa7; opacity: 1; }
html[data-theme="dark"] .rd-notice-success { background: #123222; color: #9de2b8; border-color: #24563b; }
html[data-theme="dark"] .rd-notice-error { background: #351b22; color: #f0adb9; border-color: #65303c; }
html[data-theme="dark"] .screen-reader-text:focus { background: var(--rd-card); color: var(--rd-heading); }
html[data-theme="dark"] code,
html[data-theme="dark"] pre { background: #06100d; color: #e5f7f2; border-color: var(--rd-border); }
html[data-theme="dark"] hr,
html[data-theme="dark"] .wp-block-separator { border-color: var(--rd-border); }
html[data-theme="dark"] ::selection { background: #0e9f78; color: #fff; }

@media (max-width: 1180px) {
  html[data-theme="dark"] .rd-primary-nav { background: var(--rd-card); border-color: var(--rd-border); }
}
@media (max-width: 480px) {
  .rd-scroll-top { left: max(14px, env(safe-area-inset-left)); bottom: max(14px, env(safe-area-inset-bottom)); width: 44px; height: 44px; }
  .rd-theme-toggle { right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .rd-theme-toggle,
  .rd-scroll-top,
  body,
  .site-header,
  .rd-search-panel,
  .rd-primary-nav,
  .rd-primary-nav .sub-menu,
  .rd-icon-button,
  .search-field,
  .rd-card-shell,
  .rd-post-card,
  .page-numbers,
  .post-navigation a,
  .comments-area,
  .widget,
  .rd-widget { transition: none !important; }
}
@media print {
  .rd-theme-toggle { display: none !important; }
}


/* Single-post circular brand sharing buttons */
.rd-post-share {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--rd-border);
  border-radius: 16px;
  background: linear-gradient(135deg, var(--rd-primary-soft), var(--rd-card));
}
.rd-post-share--top { margin: 16px 0 4px; }
.rd-post-share--bottom { margin: 26px 0 4px; }
.rd-share-icons {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 9px;
}
.rd-share-button {
  width: 33px;
  height: 33px;
  min-width: 33px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 7px 18px rgba(14, 36, 30, .16);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}
.rd-share-button svg {
  width: 15px;
  height: 15px;
  display: block;
  fill: currentColor;
}
.rd-share-button:hover,
.rd-share-button:focus-visible {
  color: #fff !important;
  transform: translateY(-3px) scale(1.08);
  filter: brightness(1.06);
  box-shadow: 0 11px 24px rgba(14, 36, 30, .24);
}
.rd-share-button:focus-visible {
  outline: 3px solid rgba(17, 189, 143, .32);
  outline-offset: 3px;
}
.rd-share-facebook { background: #1877f2; }
.rd-share-x { background: #000000; }
.rd-share-linkedin { background: #0a66c2; }
.rd-share-quora { background: #b92b27; }
.rd-share-pinterest { background: #e60023; }
.rd-share-reddit { background: #ff4500; }
.rd-share-telegram { background: #26a5e4; }
.rd-share-whatsapp { background: #25d366; }
html[data-theme="dark"] .rd-post-share {
  background: linear-gradient(135deg, var(--rd-primary-soft), var(--rd-card));
  border-color: var(--rd-border);
}
html[data-theme="dark"] .rd-share-x { border-color: rgba(255,255,255,.5); }
@media (max-width: 480px) {
  .rd-post-share { padding: 13px; }
  .rd-share-icons { gap: 8px; }
  .rd-share-button { width: 30px; height: 30px; min-width: 30px; }
  .rd-share-button svg { width: 13.5px; height: 13.5px; }
}
@media (max-width: 340px) {
  .rd-share-button { width: 28.5px; height: 28.5px; min-width: 28.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .rd-share-button { transition: none !important; }
}
@media print {
  .rd-post-share { display: none !important; }
}


/* Sidebar social icons: match the single-post brand icon system. */
.rd-sidebar .rd-sidebar-social-icons {
  justify-content: center;
  gap: 9px;
  margin-top: 15px;
}
.rd-sidebar .rd-sidebar-social-icons .rd-share-button {
  flex: 0 0 auto;
}
.rd-sidebar .rd-social-placeholder {
  cursor: default;
}
.rd-sidebar .rd-social-placeholder:hover,
.rd-sidebar .rd-social-placeholder:focus-visible {
  transform: none;
  filter: none;
}


/* Footer uses the same circular real-brand icons as single-post sharing. */
.rd-footer-social-icons {
  align-items: center;
}
.rd-footer-social-icons .rd-share-button {
  flex: 0 0 auto;
}
.rd-footer-social-placeholder {
  cursor: default;
}
html[data-theme="dark"] .rd-sidebar .rd-profile:hover,
html[data-theme="dark"] .rd-sidebar .rd-profile:focus-within {
  border-color: rgba(67, 217, 178, .5);
  box-shadow: 0 15px 36px rgba(0, 0, 0, .38);
}
@media (prefers-reduced-motion: reduce) {
  .rd-sidebar .rd-profile,
  .rd-sidebar .rd-profile:hover,
  .rd-sidebar .rd-profile:focus-within {
    transform: none !important;
    transition: none !important;
  }
}

/* Profile-widget social icons: matching grow interaction, including placeholders. */
.rd-sidebar .rd-profile .rd-sidebar-social-icons .rd-share-button {
  transform-origin: center center;
  will-change: transform;
}
@media (hover: hover) and (pointer: fine) {
  .rd-sidebar .rd-profile .rd-sidebar-social-icons .rd-share-button:hover {
    transform: translateY(-3px) scale(1.15);
    filter: brightness(1.08);
    box-shadow: 0 12px 25px rgba(14, 36, 30, .27);
  }
}
.rd-sidebar .rd-profile .rd-sidebar-social-icons .rd-share-button:focus-visible {
  transform: translateY(-3px) scale(1.15);
  filter: brightness(1.08);
  box-shadow: 0 12px 25px rgba(14, 36, 30, .27);
}
@media (prefers-reduced-motion: reduce) {
  .rd-sidebar .rd-profile .rd-sidebar-social-icons .rd-share-button,
  .rd-sidebar .rd-profile .rd-sidebar-social-icons .rd-share-button:hover,
  .rd-sidebar .rd-profile .rd-sidebar-social-icons .rd-share-button:focus-visible {
    transform: none !important;
    transition: none !important;
  }
}



/* Vecto Pro 1.1.7: single-post heading refinements. */
.single-post .entry-title {
  font-size: clamp(24px, calc(4vw - 8px), 44px);
}
.single-post .entry-content h2 {
  font-size: 24px;
  line-height: 1.32;
}
@media (max-width: 480px) {
  .single-post .entry-title { font-size: clamp(20px, calc(8vw - 8px), 26px); }
}
@media (max-width: 320px) {
  .single-post .entry-title { font-size: 19px; }
}


/* Single-post requested content sequence */
.single-post .rd-single-post-header { margin-bottom: 0; }
.single-post .rd-single-post-header .rd-post-share { margin-bottom: 30px; }
.single-post .rd-single-post-sequence .entry-featured-image { margin-top: 0; margin-bottom: 34px; }
.single-post .rd-single-post-content { margin-top: 0; }
.single-post .rd-single-post-content > :first-child { margin-top: 0; }
.single-post .rd-single-post-sequence > .rd-post-share:last-child { margin-top: 32px; margin-bottom: 0; }

/* Vecto Pro 1.2.1: reduce horizontal article padding by 10px total on single posts and pages. */
.single-post .rd-entry,
.page .rd-entry {
  padding-left: max(0px, calc(clamp(24px, 4vw, 46px) - 10px));
  padding-right: max(0px, calc(clamp(24px, 4vw, 46px) - 10px));
}

@media (max-width: 640px) {
  .single-post .rd-entry,
  .page .rd-entry {
    padding-left: max(0px, calc(clamp(20px, 5vw, 28px) - 10px));
    padding-right: max(0px, calc(clamp(20px, 5vw, 28px) - 10px));
  }
}

/* =========================================================
   Advertising and monetization compatibility — Vecto Pro 1.2.2
   ========================================================= */
.rd-ad-slot {
  clear: both;
  width: 100%;
  max-width: 100%;
  margin-block: clamp(22px, 3vw, 38px);
  padding-block: 10px;
  text-align: center;
  isolation: isolate;
  contain: layout paint style;
  content-visibility: auto;
  contain-intrinsic-size: auto 280px;
}
.rd-ad-slot.rd-container { margin-inline: auto; }
.rd-ad-label {
  margin: 0 0 7px;
  color: var(--rd-muted);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.rd-ad-slot-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  overflow-x: clip;
}
.rd-ad-widget,
.rd-ad-widget.widget {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.rd-ad-widget-title { margin: 0 0 8px; font-size: 13px; }
.rd-ad-slot iframe,
.rd-ad-slot ins,
.rd-ad-slot img,
.rd-ad-slot video,
.rd-ad-slot object,
.rd-ad-slot embed {
  max-width: 100% !important;
}
.rd-ad-slot iframe { border: 0; }
.rd-ad-slot ins.adsbygoogle { width: 100%; }
.rd-ad-slot script { max-width: 100%; }
.rd-ad-slot--leaderboard.rd-ad-slot--reserved .rd-ad-slot-inner { min-height: 100px; }
.rd-ad-slot--content.rd-ad-slot--reserved .rd-ad-slot-inner,
.rd-ad-slot--in-content.rd-ad-slot--reserved .rd-ad-slot-inner,
.rd-ad-slot--archive-inline.rd-ad-slot--reserved .rd-ad-slot-inner { min-height: 280px; }
.rd-ad-slot--footer { margin-top: clamp(26px, 4vw, 50px); margin-bottom: clamp(18px, 3vw, 34px); }
.rd-archive-grid > .rd-ad-slot { grid-column: 1 / -1; }
.rd-single-post-content > .rd-ad-slot,
.entry-content > .rd-ad-slot { margin-inline: 0; }

/* Keep ads visually separated from navigation, sharing controls and buttons. */
.rd-post-share + .rd-ad-slot,
.rd-ad-slot + .rd-post-share,
.entry-featured-image + .rd-ad-slot { margin-top: clamp(24px, 3vw, 36px); }

@media (max-width: 1024px) {
  .rd-ad-slot { margin-block: 22px; }
  .rd-ad-slot--leaderboard.rd-ad-slot--reserved .rd-ad-slot-inner { min-height: 100px; }
}
@media (max-width: 640px) {
  .rd-ad-slot { margin-block: 18px; padding-block: 8px; }
  .rd-ad-slot--leaderboard.rd-ad-slot--reserved .rd-ad-slot-inner { min-height: 100px; }
  .rd-ad-slot--content.rd-ad-slot--reserved .rd-ad-slot-inner,
  .rd-ad-slot--in-content.rd-ad-slot--reserved .rd-ad-slot-inner,
  .rd-ad-slot--archive-inline.rd-ad-slot--reserved .rd-ad-slot-inner,
  .rd-ad-label { font-size: 9px; }
}
@media (max-width: 360px) {
  .rd-ad-slot--leaderboard.rd-ad-slot--reserved .rd-ad-slot-inner { min-height: 100px; }
}
@media (prefers-reduced-data: reduce) {
  .rd-ad-slot { content-visibility: auto; }
}
