/* Mobile header CTA next to hamburger */
@media (max-width: 991.98px){
  /* wrapper: keep CTA + toggler on one row */
  .header.navbar-area .d-flex.align-items-center.gap-2.ms-auto.d-lg-none{
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-left: auto !important;
  }

  /* CTA button look (match theme button) */
  .header.navbar-area a.navbar-mobile-cta{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    background-color: #FF7A00 !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 4px !important;

      padding: 10px 14px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    border-radius: 4px !important;
    white-space: nowrap !important;
  }

    transition: 0.5s !important;
  }

  .header.navbar-area a.navbar-mobile-cta:hover{
    color: #fff !important;
  }
}

/* Extra-small screens */
@media (max-width: 420px){
  .header.navbar-area a.navbar-mobile-cta{
    padding: 5px 7px !important;
    font-size: 10px !important;
  }
}





.hero-area .hero-text h1 {
  color: #fff;
  font-size: 45px;
  line-height: 60px;
  font-weight: 600;
  margin-bottom: 25px;
  padding-bottom: 15px;
  position: relative;
}

.hero-area .hero-text h1::before {
  position: absolute;
  content: "";
  left: 50%;
  bottom: -2px;
  height: 4px;
  width: 60px;
  margin-left: -30px;
  background: #FF7A00;
  border-radius: 10px;
}





/* Dátum szöveg legyen sima, szürke, mint a location */
.category-page .single-item-grid .info .price .updated {
    display: inline-block;
    /* vagy block, ha külön sorban akarod */
    margin-top: 4px;
    font-size: 14px;
    font-weight: 400;
    color: #6b7280;
    /* hasonló szürke, mint a location szöveg */
}

/* Ikon mellé kis távolság */
.category-page .single-item-grid .info .price .updated i {
    margin-right: 4px;
}








/* --- Sidebar kereső mező (ugyanolyan kinézet, mint a demóban) --- */
.category-sidebar .single-widget.search .publio-search-wrap {
    position: relative;
    margin-top: 15px;
}

.category-sidebar .single-widget.search .publio-search-wrap input[type="text"] {
    width: 100%;
    height: 56px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    padding: 0 50px 0 18px;
    /* balra szöveg, jobbra ikon hely */
    font-size: 15px;
    outline: none;
}

.category-sidebar .single-widget.search .publio-search-wrap button {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.category-sidebar .single-widget.search .publio-search-wrap button i {
    font-size: 18px;
}

/* --- Ár mező: úgy nézzen ki, mint a "$ 100" felirat a demóban --- */
.category-sidebar .single-widget.range .range-inner {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
}

.category-sidebar .single-widget.range .range-inner label {
    margin: 0;
}

.category-sidebar .single-widget.range .range-inner input[type="text"] {
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    width: auto;
    font-weight: 600;
}


/* archive-hirdetesek egyforma kartyak */
/* Fixed height image box for ad cards */
.single-item-grid .image{
  height: 300px;          /* <- this makes it fixed */
  overflow: hidden;
  position: relative;
  border-radius: 6px;

  display: flex;          /* center the image if it's smaller */
  align-items: center;
  justify-content: center;
}

.single-item-grid .image .publio-ad-image-link{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.single-item-grid .image img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;    /* no crop, stays centered */
  object-position: center;
  background: #fff;       /* optional, looks cleaner with contain */
}

/* Mobile: smaller fixed height */
@media (max-width: 767px){
  .single-item-grid .image{ height: 170px; }
}


/* If you prefer full-bleed images (cropped but fills the box), use this instead:
.single-item-grid .publio-ad-card-media img{ object-fit: cover; }
*/




/* Equal height cards in "Legújabb termékek" section */
.items-grid .single-head .row>[class*="col-"] {
    display: flex;
    /* make each column a flex container */
}

.items-grid .single-grid {
    display: flex;
    flex-direction: column;
    /* image + content in a column */
    flex: 1 1 auto;
    /* card stretches to fill column height */
}

/* Make the white content area fill the remaining space */
.items-grid .single-grid .content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.items-grid .single-grid .content .top-content {
    flex: 1 1 auto;
    /* text area grows */
}

.items-grid .single-grid .content .bottom-content {
    margin-top: auto;
    /* price row sticks to the bottom */
}

/* Optional: force same image height for perfectly aligned cards */
.items-grid .single-grid .image img {
    width: 100%;
    height: 220px;
    /* adjust if you want taller/shorter cards */
    object-fit: cover;
    display: block;
}




/* cockie */
.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: #111827;
    color: #f9fafb;
    padding: 12px 0;
    font-size: 14px;
    box-shadow: 0 -5px 20px rgba(15, 23, 42, 0.35);
}

.cookie-consent .container {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cookie-consent p {
    margin: 0;
    flex: 1;
    line-height: 1.5;
}

.cookie-consent .cookie-more {
    color: #facc15;
    text-decoration: underline;
}

.cookie-consent .btn {
    white-space: nowrap;
    padding: 10px 22px;
    background-color: #da6c04ea;
    border-radius: 4px;
    border: none;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s ease;
}

.cookie-consent .btn:hover {
    background-color: #c55f02;
}

@media (max-width: 767px) {
    .cookie-consent .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-consent .btn {
        align-self: stretch;
        text-align: center;
    }
}
/* "felhasználási feltételeket" link – narancssárga, mint a gombok */
label[for="flexCheckDefault"] a {
    color: #da6c04ea;
    font-weight: 500;
    text-decoration: underline;
}

label[for="flexCheckDefault"] a:hover {
    color: #da6c04ea;
    text-decoration: none;
}



/* new style footer */
/* ===== Kompaktabb footer ===== */

body .footer-top {
    padding-top: 25px !important;
    padding-bottom: 15px !important;
}

body .footer .single-footer h3 {
    font-size: 18px !important;
    margin-bottom: 10px !important;
}

body .footer .single-footer ul li {
    margin-bottom: 4px !important;
}

body .footer .single-footer ul li,
body .footer .single-footer ul li a {
    font-size: 14px !important;
}

/* Footer bottom rész is legyen vékonyabb */
body .footer-bottom {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}


/* Megye select: saját nyíl és alap stílus */
#ad_user_state {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding-right: 2.5rem; /* hely a nyílnak */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23999' stroke-width='1.5' d='M1 1l5 5 5-5' /%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 12px 8px;
  cursor: pointer;
}
#ad_user_state:focus {
  outline: none;
  box-shadow: none;
  border-color: #e0e0e0; /* maradhat ugyanaz, mint alapból */
}

/* legujabb hirdetesek kep ki toltes */
/* ===== Latest items kártya képek javítása ===== */
.items-grid .single-grid .image {
  position: relative;
  overflow: hidden;           /* kilógó rész vágása */
}

/* A thumbnail link töltse ki a teljes dobozt */
.items-grid .single-grid .image .thumbnail {
  display: block;
  width: 100%;
  /* opcionális, hogy minden kártya egyforma magas legyen: */
  aspect-ratio: 16 / 16;       /* ha túl magas/alacsony, nyugodtan állítsd */
}

/* Maga a kép töltse ki a thumbnail-t */
.items-grid .single-grid .image .thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;          /* kitölti, a felesleget levágja */
}
.items-grid .single-grid .image::before {
  content: "";
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0 */
  /* csak az alsó rész legyen sötétebb */
  background: linear-gradient(to bottom,
    rgba(0,0,0,0) 40%,
    #000000e3 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* 2) Az author blokk marad a tetején */
.items-grid .single-grid .image .author {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
}

/* 3) Régi overlay kikapcsolása, hogy ne duplázódjon */
.items-grid .single-grid .image .author::before {
  content: none !important;
}






/* legujab hirdetesek doboz egyseges meret  */
.how-works .col-lg-4,
.how-works .col-md-4,
.how-works .col-12 {
  display: flex;
}

.how-works .single-work {
  flex: 1 1 auto;
  /* display: flex; */
  flex-direction: column;
}
/* rulex doboz egyseges meret */
.why-choose .single-list {
  height: 25rem; /* ha kell, állítsd: 240–320px között */
}



/* ===== Header language switcher ===== */
.header-lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: 12px; /* kis hely a gomb előtt */
}

.header-lang-switcher .lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid #FF7A00;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #FF7A00;
  background: transparent;
  text-decoration: none;
  transition: all 0.2s ease;
}

.header-lang-switcher .lang-link:hover {
  background: rgba(255, 122, 0, 0.08);
}

.header-lang-switcher .lang-link.is-active {
  background: #FF7A00;
  color: #ffffff;
}

/* Opcionális: mobilon kicsit kisebb és ne lógjon szét */
@media (max-width: 991.98px) {
  #navbarSupportedContent .header-lang-switcher--mobile {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,0.12);
    gap: 10px;
    flex-wrap: wrap;
  }

  .header-lang-switcher {
    margin-right: 0;
    margin-left: auto;
  }

  .header-lang-switcher .lang-link {
    padding: 2px 6px;
    font-size: 12px;
  }
    #navbarSupportedContent .navbar-nav .nav-item > a.dd-menu::after,
  #navbarSupportedContent .navbar-nav .nav-item > a.dropdown-toggle::after {
    display: none !important;
    content: none !important;
  }
}

/* footer mail style */
.footer .f-contact a {
  color: #fff !important;
  text-decoration: none !important;
}

.footer .f-contact a:hover,
.footer .f-contact a:focus {
  color: #fff !important;
  text-decoration: none !important;
}

/* kisebb dobozok a hirdeteseknel  */
@media (max-width: 575.98px){

  /* keep image + content on one row (no stacking) */
  .publio-ad-card-row{
    --bs-gutter-x: .75rem;
    flex-wrap: nowrap !important;
    align-items: center !important;
  }

  .publio-ad-card-row > .publio-ad-card-media{
    width: 42% !important;
    flex: 0 0 42% !important;
  }

  .publio-ad-card-row > .publio-ad-card-body{
    width: 58% !important;
    flex: 1 1 auto !important;
  }

  /* smaller image */
  .publio-ad-card-row .image img{
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    display: block;
  }

  /* tighter typography */
  .publio-ad-card-row .content .tag{
    font-size: 12px;
    padding: 3px 8px;
    margin-bottom: 6px;
  }

  .publio-ad-card-row .content .title{
    font-size: 14px;
    line-height: 1.25;
    margin: 0 0 6px;
  }

  .publio-ad-card-row .content .location{
    font-size: 12px;
    margin: 0 0 6px;
  }

  /* price block: remove the extra line-break */
  .publio-ad-card-row .info .price br{
    display: none;
  }

  .publio-ad-card-row .info .price{
    font-size: 16px;
    line-height: 1.1;
  }

  /* make "updated" not take multiple lines */
  .publio-ad-card-row .info .updated{
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 11px;
  }
}

/* reklam */

/* === Publio AdSense (Sidebar) - clean fix === */

/* Widget container: don't force huge empty space */
.single-widget.banner{
  height: auto !important;
  min-height: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 30px !important;
}

/* AdSense element: override injected inline height (e.g. 600px) */
.single-widget.banner ins.adsbygoogle[data-ad-slot="7123290045"]{
  display: block !important;
  width: 100% !important;
  height: auto !important;      /* beats inline height with !important */
  min-height: 0 !important;     /* no reserved space by default */
  line-height: 0 !important;
  overflow: hidden !important;
}

/* If AdSense marks as unfilled, hide completely (no "white hole") */
.single-widget.banner ins.adsbygoogle[data-ad-slot="7123290045"][data-ad-status="unfilled"],
.single-widget.banner ins.adsbygoogle[data-ad-slot="7123290045"][data-adsbygoogle-status="unfilled"]{
  display: none !important;
}

/* Optional: when filled, keep a nice sidebar height */
.single-widget.banner ins.adsbygoogle[data-ad-slot="7123290045"][data-ad-status="filled"]{
  min-height: 250px !important;
}
/* single pagen a hirdetes style */
.publio-ad-wrap{
  margin: 18px 0;
}

.publio-ad-wrap ins.adsbygoogle{
  display:block !important;
  width:100% !important;
  height:auto !important;     /* override injected inline height */
  min-height:0 !important;    /* no reserved white hole */
  line-height:0 !important;
  overflow:hidden !important;
}

.publio-ad-wrap ins.adsbygoogle[data-ad-status="unfilled"],
.publio-ad-wrap ins.adsbygoogle[data-adsbygoogle-status="unfilled"]{
  display:none !important;
}

/* social icon tik tok contact */
.social-tiktok{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;        /* ez szokta eltolni bal-felülre */
  line-height: 1 !important;
}

.social-tiktok .social-svg{
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}


/* Footer social icons next to each other */
.footer.social ul{
  display:flex;
  align-items:center;
  gap:6px;
  list-style:none;
  margin:10px 0 0;
  padding:0;
}

.footer.social ul > li{
  margin:0;
}

.footer.social ul > li > a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  border-radius:50%;
  line-height:1;
}

.footer.social .social-svg{
  width:16px;
  height:16px;
  display:block;
  fill:currentColor;
}
@media (max-width: 575.98px){
  .footer.social{
    display: flex;
    justify-content: center;
  }

  .footer.social ul{
    justify-content: center;
  }
}

/* SINGLE: main image fixed size (keeps sold badge stable) */
.product-images #gallery .main-img{
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;          /* <-- ezt állítsd: pl. 3/4 ha inkább álló képek */
  overflow: hidden;
  background: #f6f6f6;
  border-radius: 8px;           /* ha a képeknek is kerekített sarkot akarsz */
}

/* Make the link + image fill the box */
.product-images #gallery .main-img > a{
  position: absolute;
  inset: 0;
  display: block;
  line-height: 0;
}

.product-images #gallery .main-img > a > img#current{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;            /* cover = egységes, de vághat | ha nem akarsz vágást: contain */
  object-position: center;
}

/* Ensure badge is positioned to THIS box */
.product-images #gallery .main-img .publio-sold-badge{
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-18deg);
  z-index: 10;
  pointer-events: none;
}



/* akcio */
:root{
  --publio-banner-h: 0px;
}

/* CÉLOZD A VALÓDI HEADER/NAV WRAPPERT:
   ezek a leggyakoribbak a sablonokban */
body.publio-banner-on .navbar-area,
body.publio-banner-on header.site-header,
body.publio-banner-on header.header,
body.publio-banner-on .site-header{
  margin-top: var(--publio-banner-h);
  transition: margin-top .28s ease;
}
.publio-banner{
  position: fixed;
  left: 0;
  right: 0;
  top: var(--wp-admin--admin-bar--height, 0px);
  z-index: 999999;
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform .28s ease, opacity .28s ease;
}

.publio-banner.is-visible{
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.publio-banner.is-hidden{
  display: block;
}

.publio-banner__inner{
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(8, 24, 40, .95);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  backdrop-filter: blur(8px);
}

.publio-banner__text{
  font-size: 14px;
  line-height: 1.25;
  opacity: .95;
}

.publio-banner__actions{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.publio-banner__cta{
  background: #ff7a00;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.publio-banner__cta:hover{
  filter: brightness(1.03);
}

.publio-banner__close{
  background: transparent;
  color: #fff;
  border: 0;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  opacity: .85;
  padding: 6px 8px;
}

.publio-banner__close:hover{
  opacity: 1;
}

@media (max-width: 767px){
  .publio-banner__inner{
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .publio-banner__actions{
    justify-content: space-between;
  }
  .publio-banner__cta{
    width: 100%;
    justify-content: center;
  }
}









/* elkelt gomb */
.publio-sold-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:5px;
  border:3px solid #FF7A00;
  background:#fff;
  color:#081828;
  font-weight:700;
  font-size:16px;
  line-height:1;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
  box-shadow:0 10px 22px rgba(8,24,40,.08);
}

.publio-sold-btn i{
  font-size:16px;
  line-height:1;
}

.publio-sold-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 30px rgba(8,24,40,.12);
  border-color:rgba(0,0,0,.18);
}

.publio-sold-btn:active{
  transform:translateY(0);
  box-shadow:0 8px 18px rgba(8,24,40,.10);
}
.publio-sold-btn{
  text-decoration: none;
  user-select: none;
}

.publio-sold-btn:focus{
  outline: none;
}

.publio-sold-btn.is-available{
  border-color:rgba(255,125,0,.25);
}

.publio-sold-btn.is-available i{
  color:#ff7d00;
}

.publio-sold-btn.is-sold{
  background:#fff5f5;
  border-color:rgba(239,68,68,.25);
}

.publio-sold-btn.is-sold i{
  color:#ef4444;
}





/* elkelt style a kepre */
/* Ensure the badge can be positioned on top of images */
.product-images .main-img,
.single-item-grid .image,
.single-grid .image,
.single-grid .image .thumbnail,
.single-item-grid .image .publio-ad-image-link{
  position: relative;
}

/* Sold stamp overlay (diagonal) */
.publio-sold-badge{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-18deg);
  z-index: 10;

  background: rgba(255,255,255,0.92);
  color: #ef4444;              /* change to #ff7a00 if you want brand orange */
  border: 6px solid #ef4444;   /* change to #ff7a00 if you want brand orange */

  font-weight: 900;
  font-size: 34px;
  letter-spacing: .12em;
  text-transform: uppercase;

  padding: 14px 28px;
  border-radius: 8px;          /* square-ish corners (not pill) */
  box-shadow: 0 14px 28px rgba(0,0,0,.25);
  pointer-events: none;
}

/* Inner “stamp” detail */
.publio-sold-badge::before{
  content: "";
  position: absolute;
  inset: 7px;
  border: 2px dashed currentColor;
  border-radius: 4px;
  opacity: .45;
}

/* Optional: dim sold images where you already add .is-sold */
.publio-ad-thumb.is-sold{
  opacity: .85;
  filter: grayscale(.15) contrast(.95);
}

/* Responsive sizing */
@media (max-width: 767px){
  .publio-sold-badge{
    font-size: 24px;
    padding: 10px 18px;
    border-width: 5px;
  }
}



.publio-info-link{
  color: #FF7A00;
  text-decoration: none !important;
}
.publio-info-link:hover{
  text-decoration: underline;
}






.hero-cta-below{
  margin-top: 14px;
  text-align: center;
  position: relative;
  z-index: 5;
}

.hero-cta-below .hero-cta-below__btn{
  background: #ff7a00 !important;
  color: #fff !important;
  border-radius: 4px;
  padding: 14px 28px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
}

.hero-cta-below__meta{
  margin-top: 8px;
  color: rgba(255,255,255,.9);
  font-size: 13px;
}

@media (max-width: 767px){
  .hero-cta-below .hero-cta-below__btn{ width: 100%; justify-content: center; }
}


/* egyforma kepek az hirdeteseknel
 * Ad gallery thumbnails */
.single-hirdetes .images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 12px;
}

.single-hirdetes .images a.publio-lightbox {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 5px;
  line-height: 0;
}

.single-hirdetes .images a.publio-lightbox img.img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (min-width: 768px) {
  .single-hirdetes .images {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
}

@media (min-width: 1200px) {
  .single-hirdetes .images {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}



/* El tuntetni a kategoria szamokat Hide category counts (the <span> numbers) */
.publio-cat-link > span {
  display: none !important;
}



/* single hirdetesnel a telefonszam gomb elrejtese */


/* Single ad translation controls */
.publio-description-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.publio-description-header h3 {
  margin-bottom: 0;
}

.publio-description-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.publio-translation-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff3e8;
  color: #ff6b00;
  font-size: 13px;
  font-weight: 600;
}

.publio-original-toggle {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border: 1px solid #ff6b00;
  border-radius: 999px;
  background: #fff;
  color: #ff6b00;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.publio-original-toggle:hover {
  background: #ff6b00;
  color: #fff;
}

@media (max-width: 767px) {
  .publio-description-header {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* Blog comments styling */
body.single-post #comments,
body.single-post .comments-area {
  max-width: 1050px;
  margin: 50px auto 0;
  padding: 0 15px;
}

body.single-post .comments-title,
body.single-post #reply-title {
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
  color: #031b35;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eef0f4;
}

body.single-post .comment-list {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
}

body.single-post .comment-list .comment {
  margin-bottom: 22px;
}

body.single-post .comment-body {
  position: relative;
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 14px;
  padding: 24px 24px 24px 92px;
  box-shadow: 0 8px 28px rgba(3, 27, 53, 0.06);
}

body.single-post .comment-author .avatar {
  position: absolute;
  left: 24px;
  top: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

body.single-post .comment-author,
body.single-post .comment-meta {
  font-size: 14px;
  line-height: 1.5;
}

body.single-post .comment-author b,
body.single-post .comment-author .fn {
  color: #031b35;
  font-weight: 700;
}

body.single-post .comment-meta,
body.single-post .comment-meta a {
  color: #7a8494;
  text-decoration: none;
}

body.single-post .comment-meta a:hover {
  color: #ff7a00;
}

body.single-post .comment-body p {
  margin: 16px 0 0;
  color: #29384a;
  font-size: 16px;
  line-height: 1.7;
}

body.single-post .reply {
  margin-top: 14px;
}

body.single-post .comment-reply-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff4e8;
  color: #ff7a00;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

body.single-post .comment-reply-link:hover {
  background: #ff7a00;
  color: #fff;
}

body.single-post .comment-respond {
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 16px;
  padding: 32px;
  margin-top: 35px;
  box-shadow: 0 8px 28px rgba(3, 27, 53, 0.06);
}

body.single-post .comment-form {
  display: grid;
  gap: 18px;
}

body.single-post .comment-form p {
  margin: 0;
}

body.single-post .comment-form label {
  display: block;
  margin-bottom: 8px;
  color: #031b35;
  font-weight: 600;
}

body.single-post .comment-form textarea,
body.single-post .comment-form input[type="text"],
body.single-post .comment-form input[type="email"],
body.single-post .comment-form input[type="url"] {
  width: 100%;
  border: 1px solid #dde3ea;
  border-radius: 12px;
  padding: 14px 16px;
  color: #031b35;
  font-size: 15px;
  outline: none;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.single-post .comment-form textarea {
  min-height: 170px;
  resize: vertical;
}

body.single-post .comment-form textarea:focus,
body.single-post .comment-form input[type="text"]:focus,
body.single-post .comment-form input[type="email"]:focus,
body.single-post .comment-form input[type="url"]:focus {
  border-color: #ff7a00;
  box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.12);
}

body.single-post .comment-form .form-submit {
  margin-top: 6px;
}

body.single-post .comment-form input[type="submit"],
body.single-post .comment-form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 13px 24px;
  background: #ff7a00;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

body.single-post .comment-form input[type="submit"]:hover,
body.single-post .comment-form button[type="submit"]:hover {
  background: #e96f00;
  transform: translateY(-1px);
}

body.single-post .logged-in-as,
body.single-post .logged-in-as a {
  color: #7a8494;
  font-size: 15px;
}

body.single-post .logged-in-as a {
  color: #ff7a00;
  text-decoration: none;
}

@media (max-width: 767px) {
  body.single-post .comments-title,
  body.single-post #reply-title {
    font-size: 21px;
  }

  body.single-post .comment-body {
    padding: 22px;
  }

  body.single-post .comment-author .avatar {
    position: static;
    display: block;
    margin-bottom: 12px;
  }

  body.single-post .comment-respond {
    padding: 24px 18px;
  }
}

/* Blog featured image mobile fix */
@media (max-width: 767px) {
  body.single-post .post-thumbnils {
    height: auto !important;
    max-height: none !important;
  }

  body.single-post .post-thumbnils img,
  body.single-post img.publio-blog-featured-image {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    display: block;
  }
}
