/* ==========================================================================
   PR Distribution — brand additions on top of the base theme
   ========================================================================== */

/* ── Header fixes ──────────────────────────────────────────────────────── */

/* Menu items must never wrap onto two lines ("Free Tools") — desktop menu only */
@media (min-width: 1200px) {
  .main-menu__list > li > a { white-space: nowrap; }
}

/* Header social strip: crowds the menu and wraps — socials live in the footer instead */
.header-one-social-links { display: none; }

/* Auth links: single inline row, no stacked icon */
.main-header-one__right .contact-box.prdist-auth-links .icon { display: none; }
.main-header-one__right .contact-box.prdist-auth-links .text {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 0;
  white-space: nowrap;
}
.prdist-auth-links .text a {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  transition: color 0.3s ease;
}
.prdist-auth-links .text a:hover { color: var(--thm-primary); }
.prdist-auth-links .text a.prdist-auth-cta {
  background-color: var(--thm-primary);
  color: #fff;
  padding: 10px 22px;
  border-radius: 30px;
  display: inline-block;
  line-height: 1.4;
}
.prdist-auth-links .text a.prdist-auth-cta:hover { background-color: #ffffff; color: var(--thm-base); }
.prdist-auth-hello { font-weight: 600; color: #ffffff; }

/* ── Hero slider photo: fill the circle mask + readability tint ─────────── */
.main-slider-one__img img {
  width: 100% !important;
  height: 100%;
  object-fit: cover;
}
.main-slider-one__img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(105deg, rgba(7, 95, 51, 0.92) 0%, rgba(7, 95, 51, 0.55) 45%, rgba(7, 95, 51, 0.35) 100%);
  z-index: 1;
}

/* ── Inner-page header circle photo: proper fill ────────────────────────── */
.page-header__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-header__img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 95, 51, 0.45);
  z-index: 7;
}

/* Honeypot */
.prdist-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* Form feedback */
.prdist-form-feedback { margin-top: 12px; font-size: 14px; font-weight: 600; min-height: 20px; }
.prdist-form-feedback.is-success { color: #2e9e5b; }
.prdist-form-feedback.is-error { color: #d54040; }
.footer-one__top .prdist-form-feedback.is-success { color: #ffffff; }

/* Footer contact line */
.prdist-footer-contact { margin-top: 14px; line-height: 1.9; }
.prdist-footer-contact a { color: inherit; }
.prdist-footer-contact .fa { color: var(--thm-primary); margin-right: 7px; }

/* ==========================================================================
   Auth pages (login / register)
   ========================================================================== */
.prdist-auth-section { padding: 110px 0; }
.prdist-auth-card {
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e6e9e8;
  border-radius: 12px;
  padding: 45px 40px;
  box-shadow: 0 10px 60px rgba(0, 0, 0, 0.07);
}
.prdist-auth-card h3 { font-size: 28px; margin-bottom: 8px; }
.prdist-auth-card .prdist-auth-sub { color: var(--thm-gray); margin-bottom: 28px; }
.prdist-auth-card .input-group { margin-bottom: 18px; display: block; }
.prdist-auth-card label { font-weight: 600; color: var(--thm-black); margin-bottom: 6px; display: block; font-size: 14px; }
.prdist-auth-card input[type="text"],
.prdist-auth-card input[type="email"],
.prdist-auth-card input[type="password"],
.prdist-auth-card input[type="number"] {
  width: 100%;
  height: 52px;
  background: #f5f7f6;
  border: 1px solid #e6e9e8;
  border-radius: 8px;
  padding: 0 18px;
  font-size: 15px;
  outline: none;
}
.prdist-auth-card input:focus { border-color: var(--thm-base); }
.prdist-auth-card button[type="submit"] { width: 100%; margin-top: 6px; }
.prdist-auth-alt { text-align: center; margin-top: 22px; font-size: 14px; }
.prdist-auth-alt a { color: var(--thm-primary); font-weight: 600; }
.prdist-auth-perks { margin: 0 0 26px; padding: 0; list-style: none; }
.prdist-auth-perks li { padding-left: 28px; position: relative; margin-bottom: 9px; color: var(--thm-gray); font-size: 14px; }
.prdist-auth-perks li:before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--thm-base);
}

/* Alerts */
.prdist-alert { border-radius: 8px; padding: 14px 18px; margin-bottom: 22px; font-size: 14px; font-weight: 600; }
.prdist-alert.is-success { background: #e7f6ed; color: #1e7a43; border: 1px solid #bfe6cf; }
.prdist-alert.is-error { background: #fdecec; color: #b33232; border: 1px solid #f3c6c6; }

/* ==========================================================================
   AI tools
   ========================================================================== */
.prdist-tool-section { padding: 100px 0; }
.prdist-tool-card {
  background: #fff;
  border: 1px solid #e6e9e8;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 10px 60px rgba(0, 0, 0, 0.06);
}
.prdist-tool-card label { font-weight: 600; color: var(--thm-black); margin: 16px 0 6px; display: block; font-size: 14px; }
.prdist-tool-card input[type="text"],
.prdist-tool-card input[type="number"],
.prdist-tool-card select,
.prdist-tool-card textarea {
  width: 100%;
  background: #f5f7f6;
  border: 1px solid #e6e9e8;
  border-radius: 8px;
  padding: 13px 18px;
  font-size: 15px;
  outline: none;
}
.prdist-tool-card textarea { min-height: 170px; resize: vertical; }
.prdist-tool-card input:focus, .prdist-tool-card textarea:focus, .prdist-tool-card select:focus { border-color: var(--thm-base); }
.prdist-tool-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.prdist-captcha-row { display: flex; align-items: center; gap: 12px; }
.prdist-captcha-row .prdist-captcha-q { font-weight: 700; color: var(--thm-black); font-size: 15px; }
.prdist-captcha-row input { max-width: 110px; }
.prdist-uses-left { font-size: 13px; font-weight: 700; color: var(--thm-gray); background: #f1f3f2; border-radius: 30px; padding: 7px 16px; }
.prdist-uses-left strong { color: var(--thm-primary); }
.prdist-tool-submit { margin-top: 24px; }
.prdist-tool-result {
  margin-top: 34px;
  background: #f8faf9;
  border: 1px solid #e2eae5;
  border-left: 4px solid var(--thm-base);
  border-radius: 10px;
  padding: 30px;
  display: none;
  white-space: pre-wrap;
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}
.prdist-tool-result.is-visible { display: block; }
.prdist-tool-result h1, .prdist-tool-result h2, .prdist-tool-result h3 { font-size: 19px; margin: 18px 0 8px; }
.prdist-tool-loading { display: none; margin-top: 24px; font-weight: 600; color: var(--thm-base); }
.prdist-tool-loading.is-visible { display: block; }
.prdist-tool-loading .spinner-border { width: 18px; height: 18px; border-width: 2px; margin-right: 10px; vertical-align: -3px; }
.prdist-tool-actions { margin-top: 14px; display: none; }
.prdist-tool-actions.is-visible { display: block; }
.prdist-tool-actions button {
  background: none; border: 1px solid #dfe4e2; border-radius: 6px; padding: 7px 14px;
  font-size: 13px; font-weight: 600; color: var(--thm-black); cursor: pointer; margin-right: 8px;
}
.prdist-tool-actions button:hover { border-color: var(--thm-base); color: var(--thm-base); }

/* Tool info blocks under the form */
.prdist-tool-info { margin-top: 60px; }
.prdist-tool-info h2 { font-size: 30px; margin-bottom: 16px; }
.prdist-tool-info h3 { font-size: 22px; margin: 28px 0 12px; }
.prdist-tool-info p { margin-bottom: 14px; }

/* ==========================================================================
   Pricing extras
   ========================================================================== */
.prdist-outlets-section { padding: 0 0 110px; }
.prdist-table-wrap { overflow-x: auto; }
.prdist-outlets-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 60px rgba(0,0,0,0.06); }
.prdist-outlets-table th {
  background: var(--thm-base); color: #fff; text-align: left; padding: 16px 22px; font-size: 14px;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.prdist-outlets-table td { padding: 15px 22px; border-bottom: 1px solid #eef1f0; font-size: 15px; color: #444; }
.prdist-outlets-table tr:last-child td { border-bottom: none; }
.prdist-outlets-table .price { color: var(--thm-primary); font-weight: 800; font-size: 17px; }
.prdist-outlets-table .dr-badge {
  display: inline-block; background: #eef7f2; color: var(--thm-base);
  border-radius: 30px; font-weight: 700; font-size: 13px; padding: 4px 12px;
}
.prdist-outlets-table a.thm-btn, .prdist-outlets-table .outlet-cta {
  background: var(--thm-primary); color: #fff; border-radius: 30px; padding: 8px 18px; font-size: 13px; font-weight: 700; display: inline-block;
}
.prdist-outlets-table .outlet-cta:hover { background: var(--thm-base); color: #fff; }

/* ==========================================================================
   Content helpers (blog posts, legal pages, states grid)
   ========================================================================== */
.prdist-content-table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.prdist-content-table th { background: var(--thm-base); color: #fff; padding: 12px 16px; text-align: left; font-size: 14px; }
.prdist-content-table td { padding: 12px 16px; border: 1px solid #e8ecea; font-size: 14.5px; color: #444; }
.prdist-content-table tr:nth-child(even) td { background: #f8faf9; }

.prdist-legal-section { padding: 100px 0; }
.prdist-legal-section h2 { font-size: 26px; margin: 34px 0 14px; }
.prdist-legal-section h3 { font-size: 20px; margin: 26px 0 10px; }
.prdist-legal-section p, .prdist-legal-section li { color: var(--thm-gray); line-height: 1.9; }
.prdist-legal-section ul { padding-left: 22px; margin-bottom: 16px; }
.prdist-legal-section ul li { list-style: disc; margin-bottom: 8px; }
.prdist-legal-updated { font-size: 14px; color: var(--thm-gray); font-style: italic; margin-bottom: 30px; }

.prdist-states-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin: 26px 0; }
.prdist-states-grid span {
  background: #f5f7f6; border: 1px solid #e6e9e8; border-radius: 8px; padding: 10px 14px;
  font-size: 14px; font-weight: 600; color: var(--thm-black);
}
.prdist-states-grid span:before { content: "\2713"; color: var(--thm-primary); font-weight: 800; margin-right: 8px; }

/* Blog listing search note */
.prdist-search-note { margin-bottom: 34px; font-size: 15px; color: var(--thm-gray); }
.prdist-search-note strong { color: var(--thm-black); }

/* Inline CTA box used inside blog posts */
.prdist-post-cta {
  background: linear-gradient(135deg, var(--thm-base), #0a7a42);
  border-radius: 12px; padding: 30px 34px; margin: 34px 0; color: #fff;
}
.prdist-post-cta h4 { color: #fff; font-size: 21px; margin-bottom: 8px; }
.prdist-post-cta p { color: rgba(255,255,255,0.85); margin-bottom: 16px; }
.prdist-post-cta a.thm-btn { background: var(--thm-primary); }

/* Blog post typography */
.blog-one__single__content h3 { font-size: 24px; margin: 34px 0 14px; }
.blog-one__single__content h4 { font-size: 19px; margin: 26px 0 10px; }
.blog-one__single__content p { margin-bottom: 16px; }
.prdist-post-list { padding-left: 22px; margin: 0 0 20px; }
.prdist-post-list li { list-style: disc; color: var(--thm-gray); margin-bottom: 9px; line-height: 1.8; }
.prdist-post-list li strong { color: var(--thm-black); }

/* Pricing page extras */
.prdist-popular-badge {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  background: var(--thm-primary); color: #fff; font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em; border-radius: 30px; padding: 7px 14px;
}
.pricing-plan-one__single-img { position: relative; }
.prdist-pkg-tagline { font-size: 13px; color: var(--thm-gray); margin-top: 6px; }

/* Small utility */
.prdist-mt-40 { margin-top: 40px; }
.prdist-text-center { text-align: center; }

/* ==========================================================================
   Pricing cards — compact and readable (replaces the theme's floating-image card:
   the image becomes a banner, side padding drops from 65px to 20px, list rows tighten)
   ========================================================================== */
.pricing-plan-one .row { align-items: stretch; }
.pricing-plan-one .pricing-plan-one__single {
  height: calc(100% - 30px);
  display: flex;
  flex-direction: column;
  padding-top: 0;
}
.pricing-plan-one .pricing-plan-one__single-img {
  position: relative;
  width: auto;
  height: 150px;
  margin: 0;
  align-self: stretch; /* auto margins would shrink-wrap flex children */
  border-radius: 12px 12px 0 0;
}
.pricing-plan-one .pricing-plan-one__single-img img { height: 100%; object-fit: cover; transform: none; }
.pricing-plan-one .pricing-plan-one__single:hover .pricing-plan-one__single-img img { transform: none; }
.pricing-plan-one .pricing-plan-one__single-img:before { display: none; }
.pricing-plan-one .pricing-plan-one__single-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px 20px 22px;
  border-color: #e6e9e8;
  border-radius: 0 0 12px 12px;
}
.pricing-plan-one .pricing-plan-one__single-inner .shape1 { display: none; }
.pricing-plan-one .pricing-plan-one__single-inner .table-header {
  padding: 14px 16px 12px;
  margin: 0;
  align-self: stretch;
  border-radius: 8px;
  text-align: left;
}
.pricing-plan-one .pricing-plan-one__single-inner .table-header h2 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  font-size: 30px;
  line-height: 1.1;
}
.pricing-plan-one .pricing-plan-one__single-inner .table-header h2 .dollar {
  position: static;
  order: -1;
  font-size: 18px;
  font-weight: 600;
  margin-right: 2px;
}
.pricing-plan-one .pricing-plan-one__single-inner .table-header h2 .text {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  margin-left: 8px;
  text-transform: none;
}
.pricing-plan-one .pricing-plan-one__single-inner .table-header .prdist-pkg-tagline {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  line-height: 1.45;
  margin: 8px 0 0;
}
.pricing-plan-one .pricing-plan-one__single-inner .table-content { margin-top: 16px; }
.pricing-plan-one .pricing-plan-one__single-inner .table-content ul li { align-items: flex-start; margin-bottom: 9px; }
.pricing-plan-one .pricing-plan-one__single-inner .table-content ul li .icon-box {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-top: 1px;
  border: none;
  background: #eaf5ee;
}
.pricing-plan-one .pricing-plan-one__single-inner .table-content ul li .icon-box span:before { font-size: 9px; color: var(--thm-base); }
.pricing-plan-one .pricing-plan-one__single-inner .table-content ul li .text-box { margin-left: 10px; }
.pricing-plan-one .pricing-plan-one__single-inner .table-content ul li .text-box p { font-size: 14px; line-height: 1.45; color: #4d5350; }
.pricing-plan-one .pricing-plan-one__single-inner .table-footer { margin-top: auto; padding-top: 18px; }
.pricing-plan-one .pricing-plan-one__single-inner .table-footer a {
  display: block;
  text-align: center;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}
.pricing-plan-one .prdist-popular-badge { top: 12px; right: 12px; }
@media (max-width: 767px) {
  .pricing-plan-one .pricing-plan-one__single { max-width: 420px; height: auto; }
}

/* ==========================================================================
   About page — story column and "Four Rules" boxes
   ========================================================================== */
/* The theme pulled the story column 185px past the grid on wide screens; keep it inside a readable measure. */
.about-one .about-one__content { margin-right: 0; margin-left: 40px; max-width: 620px; }
@media (max-width: 1199px) {
  .about-one .about-one__content { margin-left: 0; max-width: none; }
}
.about-one .about-one__content .text p { margin: 0 0 14px; }
.about-one .about-one__content .text p:last-child { margin-bottom: 0; }
.about-one .about-one__content-list li { margin-bottom: 10px; }
/* Headings on the green boxes were green-on-green (the theme only styled linked headings) */
.features-two__list li.style3 .inner h2 { color: #ffffff; }

/* Numbered lists share the post-list styling */
ol.prdist-post-list li { list-style: decimal; }

/* Source credit at the end of a post */
.prdist-source-note {
  margin-top: 30px;
  padding-top: 16px;
  border-top: 1px solid #e8ecea;
  font-size: 14px;
  line-height: 1.7;
  color: var(--thm-gray);
}
.prdist-source-note a { color: var(--thm-base); font-weight: 600; }

/* One-sentence paragraphs (house style) need breathing room where the theme zeroes p margins */
.services-details__content p + p { margin-top: 12px; }
.services-details__content .text-box p + p { margin-top: 6px; }
.prdist-legal-section p { margin-bottom: 14px; }
div.prdist-text-center > p + p { margin-top: 10px; }
.about-one__content .text ul.prdist-post-list { margin: 12px 0 0; }
/* A bullet list under centered intro copy: shrink-to-fit and centered as a block, text left-aligned */
.prdist-centered-list { display: table; margin: 0 auto 14px; text-align: left; }

/* ==========================================================================
   About page — "Four Rules" as a photo banner + 2x2 card grid
   (the theme floated the boxes diagonally around the photo: big gaps on desktop, a broken stack on phones)
   ========================================================================== */
.features-two .features-two__inner { display: flex; flex-direction: column; gap: 30px; }
.features-two .features-two__img {
  display: block;
  position: relative;
  max-width: none;
  height: 280px;
  border-radius: 16px;
  overflow: hidden;
}
.features-two .features-two__img img { width: 100%; height: 100%; object-fit: cover; }
.features-two .features-two__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.features-two .features-two__list li,
.features-two .features-two__list li.style2 {
  float: none;
  max-width: none;
  width: auto;
  margin: 0;
  padding: 30px 32px 32px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 30px rgba(9, 24, 84, 0.08);
}
.features-two .features-two__list li.style3 { background: var(--thm-base); }
.features-two .features-two__list li .count-box {
  position: static;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 10px;
}
.features-two .features-two__list li .count-box span { font-size: 22px; line-height: 1; }
.features-two .features-two__list li .inner { background: none; box-shadow: none; padding: 0; border-radius: 0; }
.features-two .features-two__list li .inner h2 { font-size: 22px; line-height: 1.3; margin-bottom: 10px; }
.features-two .features-two__list li .inner p { font-size: 15px; line-height: 1.7; }
.features-two .features-two__list li.style3 .inner h2,
.features-two .features-two__list li.style3 .inner p { color: #ffffff; }
.features-two .features-two__list li.style3 .inner p a { color: #ffffff; text-decoration: underline; }
.features-two .features-two__list li.style3 .count-box { background: #ffffff; box-shadow: none; }
@media (max-width: 767px) {
  .features-two .features-two__inner { gap: 18px; }
  .features-two .features-two__img { height: 200px; }
  .features-two .features-two__list { grid-template-columns: 1fr; gap: 18px; }
}

/* ==========================================================================
   Pricing cards — image overlaps the box by half (owner request), not a banner
   ========================================================================== */
.pricing-plan-one .pricing-plan-one__single { padding-top: 75px; }
.pricing-plan-one .pricing-plan-one__single-img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 72%;
  height: 150px;
  margin: 0;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(9, 24, 84, 0.12);
  z-index: 5;
}
.pricing-plan-one .pricing-plan-one__single-inner { padding-top: 95px; border-radius: 12px; }

/* ==========================================================================
   Blog images — one frame everywhere (3:2 cards, square thumbnails), no overlapping date badge
   ========================================================================== */
.blog-one__single-img .inner a { display: block; }
.blog-one__single-img .inner img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.sidebar__news-list li .img-box { width: 80px; height: 80px; flex: 0 0 80px; border-radius: 8px; overflow: hidden; }
.sidebar__news-list li .img-box img { width: 100%; height: 100%; object-fit: cover; }
.sidebar__news-list li .text-box { margin-top: 0; }
.footer-widget__single-blog-list li { align-items: center; margin-bottom: 14px; }
.footer-widget__single-blog-list li .img-box { width: 64px; height: 64px; flex: 0 0 64px; border-radius: 8px; }
.footer-widget__single-blog-list li .img-box img { width: 100%; height: 100%; object-fit: cover; }
.footer-widget__single-blog-list li .text-box { margin-left: 16px; }
.footer-widget__single-blog-list li .text-box span { font-size: 13px; line-height: 20px; }
.footer-widget__single-blog-list li .text-box p { font-size: 15px; line-height: 1.45; }

/* Page header title must stay readable over the circle photo */
.page-header__img::after { background: rgba(7, 95, 51, 0.62); }
.page-header__inner h2,
.page-header__inner .thm-breadcrumb { text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35); }
