/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

.sidebar .widget .crp_related img{
  object-fit:cover;
  display:block;
  border-radius:10px;
}

.crp_related a{font-size:16px}

.elementor-post__thumbnail{
  padding-bottom:0 !important;
  margin-bottom:0 !important;
}

.breadcrumbs{
  margin-bottom:1.3em;
  font-size:16px;
  color:#000;
}
.breadcrumbs a{color:#53565a}
.breadcrumbs span:not(:first-child){padding-left:2px}
.breadcrumbs span:not(:last-child){padding-right:2px}

.custom-author-box{
  display:flex;
  gap:18px;
  align-items:flex-start;
  padding:20px;
  margin-top:5px;
  background:#f7f8f9;
  border:1px solid #e7eaef;
  border-radius:12px;
}
.custom-author-box .author-avatar{flex:0 0 auto}
.custom-author-box .author-avatar-img{
  display:block;
  width:128px;
  height:128px;
  aspect-ratio:1/1;
  border-radius:50%;
  object-fit:cover;
  box-shadow:0 0 0 2px #fff;
}
.custom-author-box .author-title{
  margin:0;
  font-size:1.125rem;
  font-weight:700;
  line-height:1.2;
}
.custom-author-box .author-subtitle{
  margin:.1rem 0 1rem;
  color:#7a828a;
  font-size:.95rem;
}
.custom-author-box .author-description{
  margin:0 0 .4rem;
  font-size:16px;
}
.custom-author-box .author-readmore{margin:.15rem 0 0}
.custom-author-box .author-readmore a{
  text-decoration:none;
  font-weight:600;
  border-bottom:1px solid transparent;
  color:#222;
}
.custom-author-box .author-readmore a:hover{border-bottom-color:currentColor}
.custom-author-box .author-social{margin-top:10px}
.custom-author-box .author-social a{
  text-decoration:none;
  font-weight:600;
}

.byline-text .author-cred{
  display:block;
  font-size:13px;
  color:#6b7280;
  margin-top:2px;
}

@media (max-width:640px){
  .custom-author-box{flex-direction:column}
  .custom-author-box .author-avatar-img{width:104px;height:104px}
}

.relatedtitle{
  font-size:30px;
  font-weight:600;
  margin-bottom:20px;
  padding-top:20px;
}

.inside-article .crp_title{
  color:#000;
  font-size:17px;
  font-weight:600;
  margin-top:10px !important;
  margin-left:5px !important;
}

.updated-date-label{
  font-weight:600;
  color:#555;
}

.authortitle{
  margin-bottom:5px;
  font-size:30px;
  font-weight:600;
}

.subtitle{
  margin:10px 0 5px;
  font-size:20px;
  line-height:1.6;
  color:#0a0a0a;
}

.ask-hero-bg{
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
}
.ask-hero-inner-wrap{
  max-width:1200px;
  margin:0 auto;
  padding:60px 20px;
}
.ask-hero-inner{
  display:flex;
  gap:40px;
  align-items:flex-start;
}
.ask-col-1{flex:0 0 55%}
.ask-col-2{flex:0 0 45%;text-align:center}
.ask-home-title{
  color:#fff;
  font-size:38px;
  line-height:1.2;
  margin:0 0 20px;
}
.ask-text{
  color:#fff !important;
  text-align:left;
  max-width:520px;
  margin:0 0 30px;
}
.ask-widget{
  display:inline-block;
  text-align:center;
}
.ask-hero .wp-block-advgb-button a{
  background:#e00000;
  border-radius:30px;
  padding:14px 26px;
  font-weight:600;
  display:inline-block;
}

@media (max-width:900px){
  .ask-hero-inner{flex-direction:column}
  .ask-col-1,.ask-col-2{flex:0 0 100%}
  .ja-gadget-virtual-assistant-inline{
    width:100% !important;
    max-width:420px;
    height:auto !important;
  }
}

.ask-inline-cta{
  text-align:center;
  margin:30px 0;
}
.ask-inline-cta a{
  font-weight:600;
  color:#e00000;
  text-decoration:none;
}
.ask-inline-cta a:hover{text-decoration:underline}
.ask-inline-cta__text{font-weight:600}

.mb-comments-count{
  margin-top:6px;
  font-size:13px;
  font-weight:600;
}
.mb-comments-count a{
  color:inherit;
  text-decoration:none;
}
.mb-comments-count a:hover{
  text-decoration:underline;
  text-underline-offset:2px;
}

.single .entry-meta{
  position:static;
  padding-left:0;
  display:block;
  margin:20px 0;
  line-height:normal;
  gap:0;
  align-items:initial;
}
.single .entry-meta:before,
.single .entry-meta:after{
  content:none !important;
}

.single .entry-meta .mb-byline{
  width:100%;
  box-sizing:border-box;
  display:grid;
  grid-template-columns:1fr auto;
  column-gap:28px;
  align-items:center;
}

.single .entry-meta .mb-byline__row{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.single .entry-meta .mb-byline__avatar{
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
}
.single .entry-meta .mb-byline__avatar img{
  width:44px;
  height:44px;
  border-radius:999px;
  display:block;
}

.single .entry-meta .mb-byline__right{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:6px;
  white-space:nowrap;
}

.single .entry-meta .mb-byline__updated,
.single .entry-meta .mb-comments-count{
  font-size:13px;
  color:#6b7280;
  line-height:1.2;
}

.single .entry-meta .mb-byline__updated{
  font-size:13.5px;
  white-space:nowrap;
  margin:0;
  align-self:center;
}
.single .entry-meta .mb-byline__updated strong{
  font-weight:800;
  color:#222222;
}

.single .entry-meta .mb-comments-count a{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid #e5e7eb;
  background:#fff;
  color:#222222;
  font-weight:700;
  text-decoration:none;
}
.single .entry-meta .mb-comments-count a:hover{
  text-decoration:underline;
  text-underline-offset:2px;
}

.single .entry-meta .mb-byline__info{
  display:flex;
  flex-direction:column;
  gap:3px;
  line-height:1.15;
  min-width:0;
}
.single .entry-meta .mb-byline__label{
  font-size:12px;
  font-weight:600;
  color:#6b7280;
  margin:0;
}
.single .entry-meta .mb-byline__name{
  font-size:16px;
  font-weight:800;
  color:#222222;
  text-decoration:none;
  line-height:1.1;
  width:fit-content;
}
.single .entry-meta .mb-byline__name:hover{
  text-decoration:underline;
  text-underline-offset:2px;
}
.single .entry-meta .mb-byline__role{
  font-size:13px;
  font-weight:500;
  color:#6b7280;
  margin:0;
}

.comments-area{margin-top:50px}
.comments-title{
  font-size:22px;
  font-weight:800;
  margin-bottom:30px;
}

.comment-list{
  list-style:none;
  margin:0;
  padding:0;
}
.comment-list li.comment{margin-bottom:22px}

.comment-body{
  background:#f9fafb;
  border:1px solid #e5e7eb;
  border-radius:12px;
  padding:16px 18px;
}

.comment-meta{margin-bottom:6px}

.comment-author{
  font-size:15px;
  font-weight:700;
  color:#111;
}
.comment-author .says{display:none}

.comment-metadata{
  margin-top:2px;
  font-size:13px;
  color:#6b7280;
}
.comment-metadata a{
  color:inherit;
  text-decoration:none;
}
.comment-metadata a:hover{text-decoration:underline}

.comment-content{
  margin-top:10px;
  font-size:15.5px;
  line-height:1.6;
  color:#111;
}
.comment-content p:last-child{margin-bottom:0}

.reply{margin-top:8px}
.reply a{
  font-size:13px;
  font-weight:600;
  color:#2563eb;
  text-decoration:none;
}
.reply a:hover{text-decoration:underline}

.comment-list .children{
  list-style:none;
  margin:16px 0 0 18px;
  padding-left:14px;
  border-left:2px solid #e5e7eb;
}

.bypostauthor .comment-body{
  background:#f0f9ff;
  border-color:#bae6fd;
}

.comment-respond{margin-top:40px}
.comment-reply-title{
  font-size:22px;
  font-weight:800;
  margin-bottom:15px;
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"]{
  border-radius:8px;
  border:1px solid #d1d5db;
  padding:12px;
  font-size:15px;
}
.comment-form textarea:focus,
.comment-form input:focus{
  outline:none;
  border-color:#2563eb;
}

.comment-form input[type="submit"]{
  background:#111;
  color:#fff;
  border:none;
  padding:12px 20px;
  border-radius:8px;
  font-weight:700;
  cursor:pointer;
}
.comment-form input[type="submit"]:hover{background:#000}

.comment-edit-link{display:none}

.mb-comment{
  list-style:none;
  margin:0 0 18px;
  padding:0;
}
.mb-comment__body{
  background:#f9fafb;
  border:1px solid #e5e7eb;
  border-radius:12px;
  padding:16px 18px;
}
.mb-comment__meta{margin-bottom:10px}
.mb-comment__author{
  font-size:15px;
  font-weight:800;
  color:#111;
  line-height:1.2;
}
.mb-comment__date{
  display:block;
  margin-top:3px;
  font-size:13px;
  color:#6b7280;
}
.mb-comment__awaiting{
  margin-top:8px;
  font-size:13px;
  color:#6b7280;
}
.mb-comment__content{
  font-size:15.5px;
  line-height:1.6;
  color:#111;
}
.mb-comment__content p:last-child{margin-bottom:0}
.mb-comment__actions{margin-top:10px}
.mb-comment__actions a{
  font-size:13px;
  font-weight:700;
  text-decoration:none;
}
.mb-comment__actions a:hover{text-decoration:underline}

@media (max-width:768px){
  .single .entry-meta .mb-byline{
    grid-template-columns:1fr;
    row-gap:10px;
    align-items:start;
  }
  .single .entry-meta .mb-byline__right{
    width:100%;
    display:flex;
    flex-direction:row;
    justify-content:space-between;
    align-items:flex-start;
  }
  .single .entry-meta .mb-byline__updated{
    display:block;
    order:1;
    flex:1 1 auto;
    min-width:0;
    margin:0;
    white-space:normal;
    line-height:1.25;
  }
  .single .entry-meta .mb-byline__updated strong{display:block}
  .single .entry-meta .mb-comments-count{
    order:2;
    display:flex;
    justify-content:flex-end;
    width:auto;
    margin:0;
    white-space:nowrap;
    flex:0 0 auto;
  }
  .single .entry-meta .mb-comments-count a{white-space:nowrap}
}



@media (max-width:768px){

  .sidebar .widget{
    display:none;
  }

  .sidebar .widget:first-child{
    display:block;
  }

}

.sidebar .tnp-widget{
  padding:0;
  background:none;
  border:none;
}

.sidebar .widget h2,
.sidebar .tnp-widget .widget-title{
  font-size:20px;
  font-weight:800;
  margin-bottom:15px;
  color:#242c3a;
}

.sidebar .widget form{
  display:grid;
  gap:10px;
}

.sidebar .widget label{
  font-size:12px;
  color:#6b7280;
}


.sidebar .tnp-widget input[type="text"],
.sidebar .tnp-widget input[type="email"]{
  width:100%;
  padding:10px 12px;
  font-size:13px;
  border-radius:6px;
  border:1px solid #d1d5db;
  background:#ffffff;
}

.sidebar .tnp-widget input:focus{
  outline:none;
  border-color:#111;
}

.sidebar .tnp-widget .tnp-privacy{
  font-size:12px;
  color:#6b7280;
}

.sidebar .tnp-widget input[type="submit"]{
  margin-top:6px;
  padding:10px;
  font-size:13px;
  font-weight:700;
  border-radius:6px;
  background:#111;
  color:#fff;
  border:none;
  cursor:pointer;
}

.sidebar .tnp-widget input[type="submit"]:hover{
  background:#000;
}



/* Description / helper text */
.sidebar .widget p,
.sidebar .widget .tnp-text{
  font-size:13px;
  line-height:1.5;
  color:#000;
  margin:0 0 14px;
}

/* =========================
   Newsletter Section
   ========================= */

.newsletter-section{
  width:100%;
  padding:96px 20px;
  background:#f5f5f5;
  box-sizing:border-box;
}

/* Full-bleed ONLY on larger screens */
@media (min-width:768px){
  .newsletter-section{
    width:100vw;
    margin-left:calc(50% - 50vw);
    margin-right:calc(50% - 50vw);
  }
}

/* =========================
   Inner Wrapper
   ========================= */

.newsletter-inner{
  max-width:720px;
  margin:0 auto;
  text-align:center;
}

/* =========================
   Headings
   ========================= */

.newsletter-heading{
  margin:0 0 8px;
  font-size:28px;
  font-weight:900;
  color:#111;
}

.newsletter-sub{
  margin:0 0 36px;
  font-size:15px;
  color:#555;
}

/* =========================
   Card
   ========================= */

.newsletter-card{
  background:#ffffff;
  padding:36px 32px;
  border-radius:14px;
  border:1px solid #e5e7eb;
  box-shadow:0 18px 40px rgba(0,0,0,.06);
  text-align:left;
  box-sizing:border-box;
}

/* =========================
   Form
   ========================= */

.newsletter-card form{
  display:grid;
  gap:14px;
}

.newsletter-card label{
  font-size:13px;
  color:#444;
}

.newsletter-card input[type="text"],
.newsletter-card input[type="email"]{
  width:100%;
  padding:14px;
  font-size:14px;
  border-radius:8px;
  border:1px solid #d1d5db;
  box-sizing:border-box;
}

.newsletter-card input:focus{
  outline:none;
  border-color:#e00000;
}

.newsletter-card .tnp-privacy{
  font-size:12px;
  color:#666;
}

/* =========================
   Button
   ========================= */

.newsletter-card input[type="submit"]{
  margin-top:10px;
  padding:14px 28px;
  border-radius:999px;
  background:#e00000;
  color:#fff;
  font-weight:800;
  font-size:14px;
  border:none;
  cursor:pointer;
}

.newsletter-card input[type="submit"]:hover{
  background:#b80000;
}

/* =========================
   Mobile Tweaks
   ========================= */

@media (max-width:640px){
  .newsletter-section{
    padding:64px 16px;
  }

  .newsletter-heading{
    font-size:24px;
  }

  .newsletter-card{
    padding:28px 20px;
  }
}

/* =========================
   Safety Net (optional)
   ========================= */

html, body{
  overflow-x:hidden;
}


