/* Extra content sections built from the theme's own components (two-column text, plan tables, dark tabs, feature band) */
.kd-extra .inner-txt-p h3{font-size:22px;font-weight:700;color:#000;margin:22px 0 8px}
.kd-extra .inner-txt-p a,.kd-tabs .kd-panel a,.kd-feature .creative-left-p a{color:#ef6420;text-decoration:underline}
.kd-extra .inner-txt-p ul{padding-left:20px}
.kd-extra .inner-txt-p .cta-btn{margin-top:18px}
.kd-extra .inner-img-lp img,.kd-extra .inner-img-rp img{max-width:100%;height:auto}

/* plan / price tables */
.kd-plan{overflow-x:auto;margin:18px 0 26px;border-radius:12px;box-shadow:0 6px 24px rgba(0,0,0,.08)}
.kd-plan table{width:100%;border-collapse:collapse;background:#fff;color:#2e310a;font-size:15px;line-height:1.55}
.kd-plan thead th{background:#ef6420;color:#fff;font-weight:600;text-align:left;padding:14px 16px;white-space:nowrap}
.kd-plan td{padding:13px 16px;border-bottom:1px solid #eee;vertical-align:top}
.kd-plan tbody tr:nth-child(even) td{background:#fafbff}
.kd-plan tbody td:first-child{font-weight:600;color:#000}
.kd-plan td a{color:#ef6420;font-weight:600;text-decoration:none}
.kd-plan td a:hover{text-decoration:underline}
.kd-plan-sec .inner-txt-p>p{max-width:900px}

/* dark tabs (same component as the home page "Premium Author Services") */
.kd-tabs .write-txt p{color:#fff;max-width:820px;margin:12px auto 0}
.kd-tabs .tab-pane .service-heading{margin-top:0;font-size:26px}
.kd-tabs .kd-panel p,.kd-tabs .kd-panel li{color:#fff;line-height:1.7}
.kd-tabs .kd-panel ul{padding-left:20px}
.kd-tabs .kd-panel .kd-plan{box-shadow:none}
.kd-tabs .kd-tail{margin-top:30px;color:#fff;text-align:center}
.kd-tabs .kd-tail p{color:#fff}
.kd-tabs .service-description{width:100%}
.kd-tabs .col-md-8{padding-left:60px}
.kd-tabs .tab-pane{min-height:260px}

/* dark feature band (same component as the home page "Get Your Book in Front of Millions") */
.kd-feature .creativ-hed h3{font-size:40px;line-height:1.2;margin-bottom:30px}
.kd-feature .creative-left{background:rgba(0,0,0,.35);padding:28px 30px;border-radius:14px}
.kd-feature .creative-left h4{color:#fff;font-size:24px;font-weight:600;margin-bottom:12px}
.kd-feature .creative-left-p p,.kd-feature .creative-left-p li{color:#fff;line-height:1.7}
.kd-feature .creative-left-p ul{padding-left:20px}
.kd-feature .creative-left-p h3{color:#fff;font-size:20px;margin:16px 0 6px}
.kd-feature .c-btn-area{margin-top:18px}
.kd-feature .c-btn-area a{display:inline-block;margin:0 10px 8px 0;padding:10px 22px;border-radius:30px;background:#ef6420;color:#fff;text-decoration:none;font-weight:600}
.kd-feature .c-btn-area a:last-child{background:transparent;border:1px solid #fff}
@media (max-width:768px){
 .kd-feature .creativ-hed h3{font-size:28px}
 .kd-tabs .col-md-8{padding-left:12px;margin-top:20px}
 .kd-tabs .tab-pane{min-height:0}
 .kd-plan thead th{white-space:normal}
}

/* Side promo tab stays open while the visitor is using the form */
.contact-right-form.open,
.contact-right-form:focus-within { right: 0 !important; }
.contact-right-form .right-pop-form { display: block !important; }

/* Header nested submenu: arrow glyph needs the icon font, and it flips to the left when there is no room on the right */
.inerr-dropdown:before{font-family:"Font Awesome 6 Free","FontAwesome"!important;font-weight:900!important}
.dropdown-submenu.open-left .inerr-dropdown{left:auto!important;right:calc(100% + 6px)!important}
.dropdown-submenu.open-left .inerr-dropdown:before{content:"\f0da"!important;left:calc(100% - 12px)!important;right:auto!important}
.inerr-dropdown:before{position:absolute!important;top:12px!important;color:#7a2e08;font-size:14px;line-height:1}
.dropdown-submenu.open-left .inerr-dropdown:before{left:auto!important;right:6px!important}

/* Brand social icons (footer + blog sidebar). Source: Theme Options > Social Profiles */
.kd-social{list-style:none;display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0}
.kd-social li{margin:0;padding:0}
.kd-social a{width:38px;height:38px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#ffffff1f;color:#fff;font-size:15px;text-decoration:none;transition:background .2s,transform .2s}
.kd-social a:hover{background:#ef6420;color:#fff;transform:translateY(-2px)}
.kd-social a.kd-soc-trustpilot:hover{background:#00b67a}
.kd-social-light a{background:#111;color:#fff}
.kd-footer-social{display:flex;align-items:center;justify-content:flex-end;gap:14px;flex-wrap:wrap}
.kd-footer-social>span{color:#fff;font-weight:600}
.kd-footer-social .kd-social{justify-content:flex-end}
@media(max-width:991px){.kd-footer-social,.kd-footer-social .kd-social{justify-content:flex-start}}
.kd-footer-social{flex-direction:column;align-items:flex-end;gap:10px}
.kd-footer-social .kd-social{max-width:250px}
@media(max-width:991px){.kd-footer-social{align-items:flex-start}}

/* Images get width/height attributes automatically (KdImageAttrs middleware) so the browser can reserve their space.
   Keep them responsive: height follows width unless a class sets a height. Zero specificity so any theme rule wins. */
:where(img[width][height]){height:auto}
/* image with a CSS height but no CSS width: let width follow the height (the width attribute would stretch it) */
.payment_methods img[width]{width:auto}

/* Top contact bar (phone + email): fills the 33px strip above #header; z-index below the header so the sticky header covers it */
.kd-topbar{position:absolute;top:0;left:0;width:100%;height:33px;z-index:998;background:#000;border-bottom:1px solid rgba(255,255,255,.08);font-size:13px}
.kd-topbar .container{display:flex;justify-content:flex-end;align-items:center;gap:24px;height:32px}
.kd-topbar a{color:#fff;white-space:nowrap;line-height:1}
.kd-topbar a:hover,.kd-topbar a:focus{color:#ff6600;text-decoration:none}
.kd-topbar i{color:#ff6600;margin-right:7px;font-size:12px}
@media(max-width:575px){.kd-topbar{font-size:12px}.kd-topbar .container{justify-content:space-between;gap:8px;padding:0 14px}.kd-topbar i{margin-right:5px}}
@media(max-width:359px){.kd-topbar a:last-child span{display:none}}
