/*
Theme Name: GeneratePress Child
Description: GeneratePress child theme – Törökszentmiklós Online
Author: Stelli József
Template: generatepress
Version: 1.0
*/

/* ============================================================
   TSM – LOGIN / REGISZTRÁCIÓ KÁRTYÁK (EGYSÉGES, STABIL)
   Csak a saját dobozokra hat – nem bántja a sidebar widgeteket.
   ============================================================ */

.tsm-login-box,
.tsm-register-box,
.tsm-logged-in-box {
    background: #f8f9fb;
    border: 2px solid #2563eb;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* Címek */
.tsm-login-box strong,
.tsm-register-box strong,
.tsm-logged-in-box strong {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
}








/* =======================================================
   TSM – PUZZLE háttér CSAK a sidebárokra (BIZTONSÁGOS)
   NEM nyúl width/max-width/padding/grid értékekhez!
   VÉGÉRE BESZÚRÁS – style.css végére
======================================================= */

#left-sidebar,
#right-sidebar{
  position: relative !important;
  overflow: hidden !important;
}

/* Puzzle réteg a zöld fölé */
#left-sidebar::before,
#right-sidebar::before{
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background-image: url("https://torokinfo.hu/wp-content/uploads/2026/01/lila-puzzle.png") !important;
  background-repeat: repeat !important;
  background-position: top left !important;
  opacity: 1 !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

/* A sidebar tartalom a puzzle fölött marad */
#left-sidebar > *,
#right-sidebar > *{
  position: relative !important;
  z-index: 1 !important;
}

/* Inputok */
.tsm-login-box input,
.tsm-register-box input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 12px;
    border: 2px solid #2563eb;
    background: #fff;
    font-size: 14px;
}

.tsm-login-box input:focus,
.tsm-register-box input:focus {
    outline: none;
    border-color: #1d4ed8;
    box-shadow: 0 0 0 2px rgba(37,99,235,0.25);
}

/* Gombok (login + reg) */
.tsm-login-box button,
.tsm-register-box button,
.tsm-logged-in-box a {
    display: block;
    width: 100%;
    padding: 11px;
    border-radius: 14px;
    background: #fde68a;
    border: 2px solid #2563eb;
    color: #000;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease;
}

.tsm-login-box button:hover,
.tsm-register-box button:hover,
.tsm-logged-in-box a:hover {
    background: #facc15;
}

/* Új fiók létrehozása – LINK → GOMB (csak a login dobozban) */
.tsm-login-box a[href*="tsm_register"] {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 11px;
    border-radius: 14px;
    background: #fde68a;
    border: 2px solid #2563eb;
    color: #000;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.tsm-login-box a[href*="tsm_register"]:hover {
    background: #facc15;
}



/* ============================================================
   BAL OLDALI SIDEBAR – STABIL JAVÍTÁS (NEM CSÚSZIK)
   ============================================================ */

/* A widget tartsa meg a helyét */
#left-sidebar .widget {
    margin-bottom: 14px;
}

/* A belső, saját kártyák maradnak érintetlenek */
#left-sidebar .widget > div {
    max-width: 100%;
}



/* ============================================================
   KATEGÓRIAOLDAL – TSM KÁRTYÁK (B UX, pergamen)
   ============================================================ */

.category-wrapper {
    max-width: 820px;
    margin: 0 auto;
    padding: 20px 10px 40px;
}

.category-header h1 {
    background: #fff;
    padding: 18px 22px;
    border-radius: 14px;
    font-size: 26px;
    margin-bottom: 30px;
}

.category-cards {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

/* KÁRTYA */
.tsm-card {
    background: url('/wp-content/uploads/pergamen-light.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 22px;
    padding: 26px 30px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tsm-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.22);
}

.tsm-card-title {
    font-size: 22px;
    margin-bottom: 8px;
    color: #000;
}

.tsm-card-meta {
    font-size: 13px;
    color: #444;
    margin-bottom: 14px;
}

.tsm-card-content {
    font-size: 15px;
    line-height: 1.55;
    color: #000;
}

.tsm-card-content strong {
    font-weight: 700;
}

.tsm-card-content a {
    color: #1e73be;
    font-weight: 600;
    text-decoration: none;
}

.tsm-card-content a:hover {
    text-decoration: underline;
}



/* ============================================================
   BAL OLDALI SIDEBAR – IDŐKÉP / IFRAME STABILIZÁLÁS
   (itt több verzió volt, összevonva egy stabilra)
   ============================================================ */

/* Widget keret */
#left-sidebar .widget {
    overflow: hidden;
    padding: 12px !important;
    box-sizing: border-box !important;
}

/* Iframe-ek ne lógjanak ki */
#left-sidebar iframe {
    width: 100% !important;
    max-width: 100% !important;
    border: none;
    display: block;
    min-height: 420px !important;
    height: 420px !important;
}

/* Időkép konkrét */
#left-sidebar iframe[src*="idokep"] {
    min-height: 420px !important;
    height: 420px !important;
}



/* ============================================================
   TSM – KIS HÁZIKÓ (floating home gomb)
   ============================================================ */

.tsm-home-float {
    position: fixed;
    right: 14px;
    bottom: 80px;              /* FELJEBB TOLJUK */
    width: 54px;
    height: 54px;
    background: #fde68a;
    border: 3px solid #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    text-decoration: none;
    color: #000;
    z-index: 9999;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

.tsm-home-float:hover {
    background: #facc15;
}



/* ============================================================
   TSM – Kártyák pergamen háttérképpel (egységes)
   ============================================================ */

.tsm-card{
  background-image: url("https://torokinfo.hu/wp-content/uploads/2026/01/pergamen-3.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;

  background-color: rgba(255,255,255,0.75);
  background-blend-mode: lighten;

  border: 1px solid rgba(170,140,80,0.6);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

.tsm-card-title{
  margin:0 0 10px 0;
  font-size:20px;
  font-weight:800;
}

.tsm-card-title a{
  text-decoration:none;
  color:#111;
}

.tsm-card-content{
  font-size:15px;
  line-height:1.6;
  color:#222;
}



/* ============================================================
   TSM – 75/25 belső oldalakra (kezdőlap kivételével)
   Cél: NINCS bal oldalsáv, nincs üres 25% sáv
============================================================ */

body:not(.home):not(.front-page) .site-content{
  display: flex !important;
  align-items: flex-start !important;
  flex-wrap: nowrap !important;
}

/* Tartalom 75% */
body:not(.home):not(.front-page) #primary,
body:not(.home):not(.front-page) .content-area{
  flex: 0 0 75% !important;
  max-width: 75% !important;
  width: 75% !important;
}

/* Jobb oldalsáv 25% */
body:not(.home):not(.front-page) #right-sidebar,
body:not(.home):not(.front-page) .widget-area{
  flex: 0 0 25% !important;
  max-width: 25% !important;
  width: 25% !important;
}

/* Bal oldalsáv TELJES lenullázása */
body:not(.home):not(.front-page) #left-sidebar{
  display: none !important;
  width: 0 !important;
  max-width: 0 !important;
  flex: 0 0 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Mobilon egymás alá */
@media (max-width: 900px){
  body:not(.home):not(.front-page) .site-content{
    display: block !important;
  }
  body:not(.home):not(.front-page) #primary,
  body:not(.home):not(.front-page) .content-area,
  body:not(.home):not(.front-page) #right-sidebar,
  body:not(.home):not(.front-page) .widget-area{
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
  }
}



/* ============================================================
   TSM – MOBIL MENÜ + LÖTYÖGÉS FIX (stabil blokk)
============================================================ */

@media (max-width: 900px){

  html, body{
    overflow-x: hidden !important;
    max-width: 100% !important;
  }

  *{
    box-sizing: border-box;
  }

  /* menü sorok közti távolság */
  .main-navigation .main-nav ul li{
    margin: 8px 0 !important;
  }

  /* menü linkek: jó tap area */
  .main-navigation .main-nav ul li a{
    padding: 12px 14px !important;
    line-height: 1.2 !important;
    border-radius: 18px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
  }

  /* dropdown toggle */
  .main-navigation .dropdown-menu-toggle{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 10px !important;
  }

  .main-navigation .dropdown-menu-toggle svg{
    width: 20px !important;
    height: 20px !important;
  }

  /* Almenü lefelé */
  .main-navigation .main-nav ul ul{
    position: static !important;
    float: none !important;
    width: 100% !important;
    margin-top: 8px !important;
    padding: 10px !important;
    border-radius: 18px !important;
    background: rgba(255,255,255,0.92) !important;
    border: 3px solid rgba(0,90,255,0.55) !important;
  }

  .main-navigation .main-nav ul ul li a{
    padding: 10px 14px !important;
    font-size: 18px !important;
    border-radius: 18px !important;
  }

  /* képek/iframe-ek ne lógjanak ki */
  img, iframe, video{
    max-width: 100% !important;
    height: auto !important;
  }

  /* Google térkép normális magasság */
  .widget-area iframe[src*="google.com/maps"],
  .widget-area iframe[src*="google.hu/maps"]{
    height: 320px !important;
    min-height: 320px !important;
  }
}



/* =========================================================
   TSM – WPForms KÁRTYÁS (pergamen) megjelenés
========================================================= */

.wpforms-container{
  margin: 0 !important;
}

.wpforms-container form.wpforms-form{
  background: #f3ead7 !important; /* pergamen */
  border: 2px solid rgba(0,0,0,0.15) !important;
  border-radius: 16px !important;
  padding: 18px !important;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
}

.wpforms-container .wpforms-title{
  font-weight: 900 !important;
  margin: 0 0 12px 0 !important;
}

.wpforms-container .wpforms-field{
  margin-top: 14px !important;
}

.wpforms-container .wpforms-field-label{
  font-weight: 800 !important;
  margin-bottom: 6px !important;
}

.wpforms-container input[type="text"],
.wpforms-container input[type="email"],
.wpforms-container input[type="url"],
.wpforms-container textarea{
  width: 100% !important;
  border: 2px solid rgba(0,0,0,0.15) !important;
  border-radius: 12px !important;
  padding: 10px 12px !important;
  background: rgba(255,255,255,0.65) !important;
  box-sizing: border-box !important;
}

.wpforms-container button[type="submit"],
.wpforms-container input[type="submit"]{
  width: auto !important;
  min-width: 160px !important;
  border-radius: 14px !important;
  border: 2px solid rgba(0,0,0,0.25) !important;
  padding: 10px 18px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
}

.wpforms-container button[type="submit"]:hover,
.wpforms-container input[type="submit"]:hover{
  filter: brightness(1.05);
}

.wpforms-container .wpforms-required-label{
  color: #b10000 !important;
  font-weight: 900 !important;
}

.wpforms-container label.wpforms-error{
  font-weight: 800 !important;
}



/* =========================================================
   TSM – WPForms oldalak: DUPLA OLDALCÍM FIX (MEGFORDÍTVA!)
   CÉL: FENT legyen cím, LENT ne legyen
   Oldalak:
   - Hibát találtál: page-id-1899 (űrlap 1890)
   - Új szolgáltatás beküldése: page-id-1904 (űrlap 1894)
========================================================= */

/* 1) ALAP: a page title (entry-header) maradjon fent */

/* 2) AZ ALSÓ cím elrejtése: ami az űrlap UTÁN jelenik meg */
body.page-id-1899 #wpforms-1890-container ~ .entry-header,
body.page-id-1899 #wpforms-1890-container ~ header.page-header,
body.page-id-1899 #wpforms-1890-container ~ .page-header,
body.page-id-1899 #wpforms-form-1890 ~ .entry-header,
body.page-id-1899 #wpforms-form-1890 ~ header.page-header,
body.page-id-1899 #wpforms-form-1890 ~ .page-header {
	display: none !important;
}

body.page-id-1904 #wpforms-1894-container ~ .entry-header,
body.page-id-1904 #wpforms-1894-container ~ header.page-header,
body.page-id-1904 #wpforms-1894-container ~ .page-header,
body.page-id-1904 #wpforms-form-1894 ~ .entry-header,
body.page-id-1904 #wpforms-form-1894 ~ header.page-header,
body.page-id-1904 #wpforms-form-1894 ~ .page-header {
	display: none !important;
}


/* =========================================================
   TSM – WPForms oldal cím DUPLA FIX (ÚJ LOGIKA)
   Cél:
   - A felső nagy (nem kártyás) címet elrejtjük
   - A kártyás címet megtartjuk FELÜL
   - LENT ne maradjon cím
   Oldal: Hibát találtál (page-id-1899)
========================================================= */

/* 1) FELSŐ NAGY OLDALCÍM ELREJTÉSE */
body.page-id-1899 .entry-header,
body.page-id-1899 header.page-header,
body.page-id-1899 .page-header{
  display: none !important;
}

/* 2) A KÁRTYÁS CÍM (AMI MOST LENT VAN) FELHOZÁSA */
body.page-id-1899 #wpforms-1890-container{
  margin-top: -40px !important; /* ha kell, állítjuk -30 / -50 */
}

/* 3) AZ ALSÓ KÁRTYÁS CÍM ELTÜNTETÉSE (ami az űrlap után marad) */
body.page-id-1899 #wpforms-1890-container ~ h1,
body.page-id-1899 #wpforms-1890-container ~ h2,
body.page-id-1899 #wpforms-1890-container ~ .wp-block-heading{
  display: none !important;
}



/* =========================================================
   TSM – WPForms OLDALCÍM FIX (STABIL, 2 oldalra)
   Cél:
   - Hibát találtál (1899): csak a kártyás cím legyen FELÜL, lent semmi
   - Új szolgáltatás (1904): fent marad a normál cím, lent semmi
========================================================= */


/* ---------------------------------------------------------
   A) Hibát találtál? (page-id-1899) – csak kártyás cím felül
--------------------------------------------------------- */

/* 1) A nagy (WP) oldal címet elrejtjük */
body.page-id-1899 .entry-header,
body.page-id-1899 header.page-header,
body.page-id-1899 .page-header{
  display: none !important;
}

/* 2) Az űrlapot kicsit felhúzzuk, hogy a kártyás cím felülre kerüljön */
body.page-id-1899 #wpforms-1890-container{
  margin-top: -40px !important; /* ha kell: -30 / -50 */
}

/* 3) Az űrlap UTÁN megjelenő (dupla) címet eltüntetjük */
body.page-id-1899 #wpforms-1890-container ~ .tsm-card,
body.page-id-1899 #wpforms-1890-container ~ h1,
body.page-id-1899 #wpforms-1890-container ~ h2,
body.page-id-1899 #wpforms-1890-container ~ .wp-block-heading{
  display: none !important;
}


/* ---------------------------------------------------------
   B) Új szolgáltatás beküldése (page-id-1904) – fent marad a cím
--------------------------------------------------------- */

/* 1) A normál oldal címet itt meghagyjuk */
body.page-id-1904 .entry-header,
body.page-id-1904 header.page-header,
body.page-id-1904 .page-header{
  display: block !important;
}

/* 2) Az űrlap UTÁN megjelenő (dupla) címet eltüntetjük */
body.page-id-1904 #wpforms-1894-container ~ .tsm-card,
body.page-id-1904 #wpforms-1894-container ~ h1,
body.page-id-1904 #wpforms-1894-container ~ h2,
body.page-id-1904 #wpforms-1894-container ~ .wp-block-heading{
  display: none !important;
}




/* =========================================================
   TSM – WPForms DUPLA CÍM TESZT FIX
   Cél: a LEGALSÓ oldalcím eltüntetése biztosan
========================================================= */

body.page-id-1899 .site-main > article:last-of-type .entry-header,
body.page-id-1899 .site-main > article:last-of-type header.page-header,
body.page-id-1899 .site-main > article:last-of-type .page-header{
  display: none !important;
}

body.page-id-1904 .site-main > article:last-of-type .entry-header,
body.page-id-1904 .site-main > article:last-of-type header.page-header,
body.page-id-1904 .site-main > article:last-of-type .page-header{
  display: none !important;
}




/* =========================================================
   TSM – WPForms TITLE (űrlap cím) tiltás csak lent
========================================================= */

body.page-id-1899 .wpforms-container .wpforms-title,
body.page-id-1904 .wpforms-container .wpforms-title{
  display: none !important;
}


/* =========================================================
   TSM – WPForms DUPLA KÁRTYÁS CÍM FIX
   Cél: a LEGALSÓ "cím-kártya" eltüntetése
   Oldal: Hibát találtál (page-id-1899)
========================================================= */

/* A legutolsó "tsm-card" ezen az oldalon: ez a lent maradó címkártya */
body.page-id-1899 .site-main .tsm-card:last-of-type{
  display: none !important;
}

/* Ugyanez az Új szolgáltatás oldalon is (page-id-1904) */
body.page-id-1904 .site-main .tsm-card:last-of-type{
  display: none !important;
}





/* =========================================================
   TSM – KÁRTYÁK KÖZTI TÁVOLSÁG FIX (PC + MOBIL)
   TELJES CSERE – child theme: style.css
   ========================================================= */

/* Biztonsági alap: a kártyák mindig blokkosak legyenek */
.tsm-card {
  display: block;
}

/* Kártyák közötti távolság (ez a lényeg!) */
.tsm-card {
  margin: 0 0 18px 0 !important;  /* alul rés */
}

/* Az utolsó kártya alatt ne legyen extra nagy hézag */
.tsm-card:last-child {
  margin-bottom: 0 !important;
}

/* Ha a kártyák valamilyen listában/loopban vannak, legyen köztük "levegő" */
.tsm-card + .tsm-card {
  margin-top: 18px !important;
}

/* Mobilon kicsit kisebb rés, de legyen jól látható */
@media (max-width: 768px) {
  .tsm-card {
    margin-bottom: 14px !important;
  }

  .tsm-card + .tsm-card {
    margin-top: 14px !important;
  }
}





/* =========================================================
   TSM – Pergamen doboz (Bemutatkozás kiemelés)
   VÉGÉRE BESZÚRÁS – child theme: style.css
   ========================================================= */

.tsm-parchment-box{
  margin: 18px 0;
  padding: 16px 16px;
  border-radius: 18px;
  border: 2px solid rgba(0,0,0,0.18);
  background: rgba(255, 248, 220, 0.88);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.tsm-parchment-box h3{
  margin: 0 0 10px 0;
  font-weight: 900;
}

.tsm-parchment-box p{
  margin: 10px 0;
  line-height: 1.5;
}

@media (max-width: 768px){
  .tsm-parchment-box{
    padding: 14px 14px;
    border-radius: 16px;
  }
}
/* =========================================================
   TSM – Pergamen doboz (Bemutatkozás kiemelés)
   VÉGÉRE BESZÚRÁS – child theme: style.css
   ========================================================= */

.tsm-parchment-box{
  margin: 18px 0 !important;
  padding: 18px 18px !important;
  border-radius: 18px !important;
  border: 2px solid rgba(0,0,0,0.18) !important;
  background: rgba(255, 248, 220, 0.92) !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12) !important;
}

.tsm-parchment-box h3{
  margin: 0 0 10px 0 !important;
  font-weight: 900 !important;
}

.tsm-parchment-box p{
  margin: 10px 0 !important;
  line-height: 1.55 !important;
}


/* =========================================================
   TSM – Valódi pergamen háttér (kép)
   VÉGÉRE BESZÚRÁS – child theme: style.css
   ========================================================= */

.tsm-parchment-box{
  margin: 18px 0 !important;
  padding: 20px 20px !important;

  border-radius: 18px !important;
  border: 2px solid rgba(0,0,0,0.18) !important;

  /* IGAZI PERGAMEN KÉP */
  background-image: url("https://torokinfo.hu/wp-content/uploads/2026/01/pergamen-3-1.png") !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center center !important;

  /* olvashatóság + finom árnyék */
  box-shadow: 0 8px 22px rgba(0,0,0,0.16) !important;
}

.tsm-parchment-box h3{
  margin: 0 0 12px 0 !important;
  font-weight: 900 !important;
}

.tsm-parchment-box p{
  margin: 10px 0 !important;
  line-height: 1.55 !important;
}

/* Mobil finomhangolás */
@media (max-width: 768px){
  .tsm-parchment-box{
    padding: 16px 16px !important;
    border-radius: 16px !important;
    background-position: center top !important;
  }
}





/* =========================================================
   TSM – Oldalsáv fű textúra háttér
   VÉGÉRE BESZÚRÁS – child theme: style.css
   ========================================================= */

/* Jobb oldalsáv */
#right-sidebar,
.sidebar .widget-area,
.widget-area.sidebar{
  background-image: url("https://torokinfo.hu/wp-content/uploads/2026/01/fu-3.png") !important;
  background-repeat: repeat !important;
  background-size: 420px auto !important;
  background-position: top left !important;
}

/* Biztosan maradjon egy kis belső tér */
#right-sidebar{
  padding-top: 12px;
  padding-bottom: 12px;
}





/* =========================================================
   TSM – Oldalsáv fű textúra háttér (BIZTOS VERZIÓ)
   VÉGÉRE BESZÚRÁS – child theme: style.css
   ========================================================= */

/* Jobb oldalsáv összes lehetséges GP elem */
#right-sidebar,
#secondary,
.secondary-content,
.widget-area,
.inside-right-sidebar,
.inside-secondary-navigation,
.site-content .widget-area,
.site-content #right-sidebar,
.site-content #secondary{
  background-image: url("https://torokinfo.hu/wp-content/uploads/2026/01/fu-3.png") !important;
  background-repeat: repeat !important;
  background-size: 420px auto !important;
  background-position: top left !important;
}

/* Hogy a widgetek ne tapadjanak a széléhez */
.inside-right-sidebar,
.inside-secondary-navigation,
#right-sidebar,
#secondary{
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}






/* =========================================================
   TSM – Fű textúra: BAL zöld blokk + JOBB oldalsáv
   VÉGÉRE BESZÚRÁS – child theme: style.css
   ========================================================= */

/* JOBB oldalsáv (ez már működik nálad) */
#right-sidebar,
#secondary,
.inside-right-sidebar,
.widget-area,
.secondary-content{
  background-image: url("https://torokinfo.hu/wp-content/uploads/2026/01/fu-3.png") !important;
  background-repeat: repeat !important;
  background-size: 420px auto !important;
  background-position: top left !important;
}

/* BAL oldali zöld rész / bal blokk (több lehetséges GP konténer) */
#left-sidebar,
#primary-sidebar,
.sidebar-left,
.inside-left-sidebar,
.site-content .inside-left-sidebar,
.site-content .sidebar-left,
.site-content .left-sidebar,
.tsm-left,
.tsm-left-column{
  background-image: url("https://torokinfo.hu/wp-content/uploads/2026/01/fu-3.png") !important;
  background-repeat: repeat !important;
  background-size: 420px auto !important;
  background-position: top left !important;
}

/* Ha a bal zöld rész valójában egy "külső oszlop" (grid/flex) */
.tsm-home-left,
.tsm-front-left,
.home .tsm-left,
.home .tsm-left-column{
  background-image: url("https://torokinfo.hu/wp-content/uploads/2026/01/fu-3.png") !important;
  background-repeat: repeat !important;
  background-size: 420px auto !important;
  background-position: top left !important;
}







/* =========================================================
   TSM – Bal sáv fű textúra: teljes kitöltés, zöld keret eltüntetés
   VÉGÉRE BESZÚRÁS – child theme: style.css
   ========================================================= */

/* 1) A BAL OSZLOP / BAL SÁV kapja a textúrát */
.tsm-home-left,
.tsm-front-left,
.tsm-left,
.tsm-left-column,
.sidebar-left,
#left-sidebar,
#primary-sidebar{
  background-image: url("https://torokinfo.hu/wp-content/uploads/2026/01/fu-3.png") !important;
  background-repeat: repeat !important;
  background-size: 420px auto !important;
  background-position: top left !important;
}

/* 2) Ha van belső "inside" konténer, az ne kapjon külön zöld hátteret */
.tsm-home-left .inside,
.tsm-left-column .inside,
.sidebar-left .inside,
#left-sidebar .inside,
#primary-sidebar .inside,
.tsm-home-left .inside-left-sidebar,
.inside-left-sidebar{
  background: transparent !important;
}

/* 3) Extra: ha a bal sávban van egy belső fehér "lap" jellegű wrapper,
      annak a háttérszíne maradjon (mert az a kártyákhoz kell),
      de a külső zöld keret tűnjön el */
.tsm-home-left > *{
  background-color: transparent;
}




/* =========================================================
   TSM – Bal sáv: maradék zöld csík eltüntetés (padding/margin fix)
   VÉGÉRE BESZÚRÁS – child theme: style.css
   ========================================================= */

/* A bal oszlop külső "keretét" lenullázzuk */
.tsm-home-left,
.tsm-front-left,
.tsm-left,
.tsm-left-column,
.sidebar-left,
#left-sidebar,
#primary-sidebar{
  padding: 0 !important;
  margin: 0 !important;
}

/* Ha van belső wrapper, annak adunk normális belső térközt */
.tsm-home-left .inside,
.tsm-left-column .inside,
.sidebar-left .inside,
#left-sidebar .inside,
#primary-sidebar .inside,
.inside-left-sidebar{
  padding: 12px !important;
  margin: 0 !important;
  background: transparent !important;
}


/* =========================================================
   TSM – Bal oldali "keret" végleges eltüntetés
   VÉGÉRE BESZÚRÁS – child theme: style.css
   ========================================================= */

/* A bal oszlopon belüli wrapper-ek ne rajzoljanak zöld hátteret */
.tsm-home-left,
.tsm-front-left,
.tsm-left,
.tsm-left-column{
  background-image: url("https://torokinfo.hu/wp-content/uploads/2026/01/fu-3.png") !important;
  background-repeat: repeat !important;
  background-size: 420px auto !important;
  background-position: top left !important;
}

/* Ezek gyakran adják a "keretet" */
.tsm-home-left .grid-container,
.tsm-home-left .inside-grid-container,
.tsm-home-left .inside-article,
.tsm-home-left .inside-left-sidebar,
.tsm-home-left .widget-area,
.tsm-home-left .inside,
.tsm-left-column .grid-container,
.tsm-left-column .inside-grid-container,
.tsm-left-column .inside-article,
.tsm-left-column .inside-left-sidebar,
.tsm-left-column .widget-area,
.tsm-left-column .inside{
  background: transparent !important;
  box-shadow: none !important;
}

/* Ha a keretet egy belső padding adja, ezt is lenullázzuk */
.tsm-home-left .grid-container,
.tsm-home-left .inside-grid-container,
.tsm-left-column .grid-container,
.tsm-left-column .inside-grid-container{
  padding: 0 !important;
  margin: 0 !important;
}

/* A tényleges belső tartalom kapjon levegőt */
.tsm-home-left .inside-left-sidebar,
.tsm-left-column .inside-left-sidebar,
.tsm-home-left .widget-area,
.tsm-left-column .widget-area{
  padding: 12px !important;
}






/* =========================================================
   TSM – Bal oldalsáv fű textúra: keret eltüntetése
   VÉGÉRE BESZÚRÁS – child theme: style.css
   ========================================================= */

/* 1) A teljes bal oldalsáv kapja a fű textúrát */
#left-sidebar{
  background-image: url("https://torokinfo.hu/wp-content/uploads/2026/01/fu-3.png") !important;
  background-repeat: repeat !important;
  background-size: 420px auto !important;
  background-position: top left !important;
}

/* 2) A belső wrapper legyen átlátszó (ne legyen zöld háttér "keret") */
#left-sidebar .inside-left-sidebar{
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* 3) A keretet okozó belső paddingot levesszük,
      és inkább a widgetek kapnak normális térközt */
#left-sidebar .inner-padding{
  background: transparent !important;
  padding: 0 !important;
}

/* 4) A widgetek kapjanak szép belső levegőt (hogy ne tapadjanak a szélhez) */
#left-sidebar .widget{
  margin: 0 0 14px 0 !important;
}




/* =========================================================
   TSM – BAL OLDAL fű textúra (biztos célzás a valódi konténerre)
   VÉGÉRE BESZÚRÁS – child theme: style.css
   ========================================================= */

/* A bal oldali sáv tényleges konténereid */
#left-sidebar,
#left-sidebar *{
  background-color: transparent !important;
}

/* A fű textúrát rákényszerítjük a bal oldali widget-area rétegre */
.widget-area.sidebar.is-left-sidebar#left-sidebar{
  background-image: url("https://torokinfo.hu/wp-content/uploads/2026/01/fu-3.png") !important;
  background-repeat: repeat !important;
  background-size: 420px auto !important;
  background-position: top left !important;
}

/* Belül se legyen "zöld keret" */
#left-sidebar .inside-left-sidebar,
#left-sidebar .inner-padding{
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* A widgetek kapjanak normális levegőt */
#left-sidebar .widget{
  margin: 0 0 14px 0 !important;
}




/* =========================================================
   TSM – Bal oldalsáv dobozok: ne legyenek átlátszóak
   VÉGÉRE BESZÚRÁS – child theme: style.css
   ========================================================= */

/* A fű maradjon a háttér, de a widget dobozok legyenek "kártyák" */
#left-sidebar .widget,
#left-sidebar .widget .inner-padding{
  background: rgba(255,255,255,0.92) !important;
  border: 2px solid rgba(0,0,0,0.15) !important;
  border-radius: 14px !important;
  box-shadow: 0 6px 16px rgba(0,0,0,0.14) !important;
}

/* Kis térköz a dobozok között */
#left-sidebar .widget{
  margin: 0 0 14px 0 !important;
}

/* A belső tartalom kapjon normális paddingot */
#left-sidebar .widget .inner-padding{
  padding: 12px 12px !important;
}


/* =========================================================
   TSM – BAL OLDALSÁV: fű textúra + dobozok vissza (nem átlátszó)
   VÉGÉRE BESZÚRÁS – child theme style.css
========================================================= */

/* 1) BAL OLDALSÁV teljes felület kapja a textúrát */
#left-sidebar,
#left-sidebar .inside-left-sidebar{
    background-image: url("https://torokinfo.hu/wp-content/uploads/2026/01/fu-3.png");
    background-repeat: repeat;
    background-size: 520px auto;
    background-position: top left;
}

/* 2) A bal oldali widget dobozok legyenek újra "dobozok" */
#left-sidebar .widget{
    background: rgba(255,255,255,0.92) !important;
    border: 2px solid rgba(0,0,0,0.12) !important;
    border-radius: 16px !important;
    padding: 12px !important;
    margin-bottom: 14px !important;
    box-shadow: 0 8px 18px rgba(0,0,0,0.10) !important;
}

/* 3) Widget belső részek is kapjanak stabil fehér alapot (hogy ne üssön át a fű) */
#left-sidebar .widget *{
    background-color: transparent;
}

/* 4) NAPTÁR: kapjon külön fehér panelt, hogy a színek visszajöjjenek */
#left-sidebar .tsm-naptar,
#left-sidebar .tsm-naptar *{
    background: transparent !important;
}

#left-sidebar .tsm-naptar{
    background: rgba(255,255,255,0.96) !important;
    border-radius: 14px !important;
    padding: 10px !important;
}

/* 5) Biztonsági: ha valami HTML blokk/egyedi doboz van, az is kapjon fehér alapot */
#left-sidebar .widget_text,
#left-sidebar .widget_custom_html{
    background: rgba(255,255,255,0.92) !important;
}




/* =========================================================
   TSM – Bal oldali dobozok: NE fakuljanak (opak fehér háttér)
   VÉGÉRE BESZÚRÁS – child theme: style.css
   ========================================================= */

/* 1) Biztosítsuk, hogy semmi se legyen áttetsző / fakító a bal sávban */
#left-sidebar,
#left-sidebar *{
  opacity: 1 !important;
  filter: none !important;
}

/* 2) A bal oldali widget dobozok kapjanak TÖMÖR fehér hátteret */
#left-sidebar .widget,
#left-sidebar .widget .inner-padding{
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 2px solid rgba(0,0,0,0.12) !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 18px rgba(0,0,0,0.10) !important;
}

/* 3) A widget belső padding legyen rendben (ne “üveges” hatás) */
#left-sidebar .widget .inner-padding{
  padding: 12px !important;
}

/* 4) NAPTÁR: a belső elemek is kapjanak fehér alapot, hogy a színek éljenek */
#left-sidebar table,
#left-sidebar thead,
#left-sidebar tbody,
#left-sidebar th,
#left-sidebar td{
  background-color: #ffffff !important;
}

/* 5) Naptár fejléc / navigáció gombok: maradjanak erősek */
#left-sidebar .tsm-naptar,
#left-sidebar .tsm-naptar *{
  opacity: 1 !important;
  filter: none !important;
}








/* =========================================================
   TSM – BAL OLDAL: csak ÓRA + NÉVNAP + NAPTÁR legyen "doboz"
   Minden más widget (időjárás, időkép) maradjon eredeti
   VÉGÉRE BESZÚRÁS
========================================================= */

/* A) FŰ TEXTÚRA marad a bal oldalsávon */
#left-sidebar,
#left-sidebar .inside-left-sidebar{
    background-image: url("https://torokinfo.hu/wp-content/uploads/2026/01/fu-3.png");
    background-repeat: repeat;
    background-size: 520px auto;
    background-position: top left;
}

/* B) TILTÁS: NE kapjon automatikusan fehér dobozt minden widget */
#left-sidebar .widget,
#left-sidebar .widget .inner-padding{
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* C) CSAK a 3 fontos doboz (óra, névnap, naptár) kapjon fehér kártyát
   ⚠️ Itt több lehetséges osztályt is célzunk, hogy biztos eltaláljuk */
#left-sidebar .tsm-ora,
#left-sidebar .tsm-nevnap,
#left-sidebar .tsm-naptar,
#left-sidebar .widget.tsm-ora,
#left-sidebar .widget.tsm-nevnap,
#left-sidebar .widget.tsm-naptar{
    background: #ffffff !important;
    border: 2px solid rgba(0,0,0,0.12) !important;
    border-radius: 16px !important;
    padding: 12px !important;
    margin-bottom: 14px !important;
    box-shadow: 0 8px 18px rgba(0,0,0,0.10) !important;
}

/* D) Naptár belseje maradjon fehér, a színek ne fakuljanak */
#left-sidebar .tsm-naptar table,
#left-sidebar .tsm-naptar th,
#left-sidebar .tsm-naptar td{
    background: #ffffff !important;
}





/* =========================================================
   TSM – BAL OLDAL: csak az első 3 widget legyen fehér doboz
   (óra + névnap + naptár)
   Minden más widget (időjárás, időkép) marad eredeti
   VÉGÉRE BESZÚRÁS
========================================================= */

/* FŰ TEXTÚRA a bal oldalsávra */
#left-sidebar,
#left-sidebar .inside-left-sidebar{
    background-image: url("https://torokinfo.hu/wp-content/uploads/2026/01/fu-3.png");
    background-repeat: repeat;
    background-size: 520px auto;
    background-position: top left;
}

/* Alapból NE legyen fehér doboz minden widget */
#left-sidebar .widget{
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* CSAK az első 3 widget kapjon fehér kártyát */
#left-sidebar .widget:nth-of-type(1),
#left-sidebar .widget:nth-of-type(2),
#left-sidebar .widget:nth-of-type(3){
    background: #ffffff !important;
    border: 2px solid rgba(0,0,0,0.12) !important;
    border-radius: 16px !important;
    padding: 12px !important;
    margin-bottom: 14px !important;
    box-shadow: 0 8px 18px rgba(0,0,0,0.10) !important;
}

/* A naptár belseje legyen tiszta fehér, hogy a színek éljenek */
#left-sidebar .widget:nth-of-type(3) table,
#left-sidebar .widget:nth-of-type(3) th,
#left-sidebar .widget:nth-of-type(3) td{
    background: #ffffff !important;
}




/* =========================================================
   TSM – Bal oldali 3 doboz: színek vissza + kék csík normál
   + Naptár: ma / szombat / vasárnap / ünnepnap színezés
   VÉGÉRE BESZÚRÁS
========================================================= */

/* 1) ÓRA + NÉVNAP doboz: legyen szép fehér, de NE fakítsa a belsőt */
#left-sidebar .widget:nth-of-type(1),
#left-sidebar .widget:nth-of-type(2){
    background: #ffffff !important;
    padding: 12px !important;
    border-radius: 16px !important;
    border: 2px solid rgba(0,0,0,0.12) !important;
    box-shadow: 0 8px 18px rgba(0,0,0,0.10) !important;
    position: relative;
    overflow: hidden;
}

/* 2) Kék “bal csík” – keskeny, mint a mintán */
#left-sidebar .widget:nth-of-type(1)::before,
#left-sidebar .widget:nth-of-type(2)::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;              /* EZ volt túl széles -> most keskeny */
    height: 100%;
    background: #1e73ff;
    border-radius: 16px 0 0 16px;
}

/* 3) ÓRA + NÉVNAP belső tartalom ne csússzon rá a csíkra */
#left-sidebar .widget:nth-of-type(1) .widget-title,
#left-sidebar .widget:nth-of-type(1) .textwidget,
#left-sidebar .widget:nth-of-type(2) .widget-title,
#left-sidebar .widget:nth-of-type(2) .textwidget{
    padding-left: 10px !important;
}

/* 4) NAPTÁR doboz: fehér kártya, de a naptár rács maradjon tiszta */
#left-sidebar .widget:nth-of-type(3){
    background: #ffffff !important;
    padding: 12px !important;
    border-radius: 16px !important;
    border: 2px solid rgba(0,0,0,0.12) !important;
    box-shadow: 0 8px 18px rgba(0,0,0,0.10) !important;
}

/* 5) NAPTÁR rács alap */
#left-sidebar .widget:nth-of-type(3) table{
    width: 100%;
    border-collapse: collapse;
}

#left-sidebar .widget:nth-of-type(3) th,
#left-sidebar .widget:nth-of-type(3) td{
    background: #ffffff !important;
    border: 1px solid rgba(0,0,0,0.10) !important;
    padding: 6px 0 !important;
    text-align: center;
    border-radius: 6px;
}

/* 6) NAPTÁR – MA (aktuális nap) */
#left-sidebar .widget:nth-of-type(3) td.tsm-today{
    background: #ffe066 !important;
    border: 2px solid #1e73ff !important;
    font-weight: 800 !important;
}

/* 7) NAPTÁR – Szombat */
#left-sidebar .widget:nth-of-type(3) td.tsm-sat{
    background: #e7f1ff !important;
    color: #0b3d91 !important;
    font-weight: 700 !important;
}

/* 8) NAPTÁR – Vasárnap */
#left-sidebar .widget:nth-of-type(3) td.tsm-sun{
    background: #ffe8e8 !important;
    color: #9b1111 !important;
    font-weight: 700 !important;
}

/* 9) NAPTÁR – Ünnepnap */
#left-sidebar .widget:nth-of-type(3) td.tsm-holiday{
    background: #ffb3b3 !important;
    color: #7a0000 !important;
    font-weight: 800 !important;
}





/* =========================================================
   TSM – Bal oldali 3 doboz végleges stílus
   - Óra + Névnap: halvány sárga háttér + keret + bal kék csík
   - Naptár: halvány sárga kártya + szombat/vasárnap színezés CSS-ből
   VÉGÉRE BESZÚRÁS
========================================================= */

/* 0) BAL OLDAL textúra marad */
#left-sidebar,
#left-sidebar .inside-left-sidebar{
    background-image: url("https://torokinfo.hu/wp-content/uploads/2026/01/fu-3.png");
    background-repeat: repeat;
    background-size: 520px auto;
    background-position: top left;
}

/* 1) Ne legyen globális fehérítés minden widgetre */
#left-sidebar .widget{
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* =========================================================
   ÓRA + NÉVNAP (1. és 2. widget)
========================================================= */
#left-sidebar .widget:nth-of-type(1),
#left-sidebar .widget:nth-of-type(2){
    background: #fff7cc !important; /* halvány sárga */
    border: 2px solid rgba(0,0,0,0.18) !important; /* keret */
    border-radius: 16px !important;
    padding: 12px !important;
    margin-bottom: 14px !important;
    box-shadow: 0 8px 18px rgba(0,0,0,0.10) !important;
    position: relative;
    overflow: hidden;
}

/* Bal kék csík (keskeny) */
#left-sidebar .widget:nth-of-type(1)::before,
#left-sidebar .widget:nth-of-type(2)::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background: #1e73ff;
}

/* Belső szöveg ne menjen rá a csíkra */
#left-sidebar .widget:nth-of-type(1) .widget-title,
#left-sidebar .widget:nth-of-type(1) .textwidget,
#left-sidebar .widget:nth-of-type(2) .widget-title,
#left-sidebar .widget:nth-of-type(2) .textwidget{
    padding-left: 10px !important;
}

/* =========================================================
   NAPTÁR (3. widget)
========================================================= */
#left-sidebar .widget:nth-of-type(3){
    background: #fff7cc !important; /* halvány sárga */
    border: 2px solid rgba(0,0,0,0.18) !important;
    border-radius: 16px !important;
    padding: 12px !important;
    margin-bottom: 14px !important;
    box-shadow: 0 8px 18px rgba(0,0,0,0.10) !important;
}

/* Naptár táblázat */
#left-sidebar .widget:nth-of-type(3) table{
    width: 100%;
    border-collapse: separate;
    border-spacing: 4px; /* kis levegő a napok között */
}

/* Nap cellák */
#left-sidebar .widget:nth-of-type(3) th,
#left-sidebar .widget:nth-of-type(3) td{
    background: #ffffff !important;
    border: 1px solid rgba(0,0,0,0.12) !important;
    border-radius: 8px;
    padding: 6px 0 !important;
    text-align: center;
}

/* Szombat oszlop (6.) */
#left-sidebar .widget:nth-of-type(3) td:nth-child(6){
    background: #e7f1ff !important;
    color: #0b3d91 !important;
    font-weight: 700 !important;
}

/* Vasárnap oszlop (7.) */
#left-sidebar .widget:nth-of-type(3) td:nth-child(7){
    background: #ffe8e8 !important;
    color: #9b1111 !important;
    font-weight: 700 !important;
}
/* =========================================================
   TSM – NAPTÁR: hétvége színezés javítás (Szombat + Vasárnap)
   VÉGÉRE BESZÚRÁS
========================================================= */

/* A naptárban a hétvége oszlopokat mindig a 6-7. oszlopként kezeljük,
   de csak a naptár táblázat "nap celláira" célozva. */

/* Szombat oszlop (6.) – KÉK */
#left-sidebar .widget:nth-of-type(3) table tr td:nth-child(6){
    background: #e7f1ff !important;
    color: #0b3d91 !important;
    font-weight: 700 !important;
}

/* Vasárnap oszlop (7.) – PIROS */
#left-sidebar .widget:nth-of-type(3) table tr td:nth-child(7){
    background: #ffe8e8 !important;
    color: #9b1111 !important;
    font-weight: 700 !important;
}









/* =========================================================
   TSM – NAPTÁR: globális táblázat-oszlop színezés letiltása
   (P+Sz elszíneződés FIX)
   VÉGÉRE BESZÚRÁS – child theme style.css
   ========================================================= */

/* A naptár táblázatában NE érvényesüljön semmilyen nth-child oszlop színezés */
.tsm-cal-card table td,
.tsm-cal-card table th,
.tsm-cal2-card table td,
.tsm-cal2-card table th{
  background: transparent !important;
  color: inherit !important;
}

/* A naptár cellák saját alap színe */
.tsm-cal-card td.tsm-day,
.tsm-cal2-card td.tsm-cal2-day{
  background: #fff !important;
  color: #222 !important;
}

/* Hétvége színek (ha class alapján van) */
.tsm-cal-card td.tsm-day.sat,
.tsm-cal2-card td.tsm-cal2-sat{
  background: #eaf3ff !important;
  color: #003366 !important;
  font-weight: 900 !important;
}

.tsm-cal-card td.tsm-day.sun,
.tsm-cal2-card td.tsm-cal2-sun{
  background: #ffecec !important;
  color: #7a0000 !important;
  font-weight: 900 !important;
}

/* Ünnepnap */
.tsm-cal-card td.tsm-day.holiday,
.tsm-cal2-card td.tsm-cal2-holiday{
  background: #ffcccc !important;
  color: #8b0000 !important;
  font-weight: 900 !important;
}

/* Mai nap */
.tsm-cal-card td.tsm-day.today,
.tsm-cal2-card td.tsm-cal2-today{
  background: #ffe066 !important;
  color: #111 !important;
  font-weight: 900 !important;
}








/* =========================================================
   TSM – NAPTÁR: P+Sz elszíneződés végleges javítása
   OK: globális table td:nth-child(6/7) színezés
   VÉGÉRE BESZÚRÁS – child theme style.css
   ========================================================= */

/* 1) A naptár táblázatban MINDEN oszlop-színezést nullázunk */
.tsm-cal-card .tsm-cal-table td,
.tsm-cal-card .tsm-cal-table th,
.tsm-cal2-card .tsm-cal2-table td,
.tsm-cal2-card .tsm-cal2-table th{
  background: transparent !important;
  color: inherit !important;
}

/* 2) Visszaadjuk az alap nap cella kinézetet */
.tsm-cal-card td.tsm-day,
.tsm-cal2-card td.tsm-cal2-day{
  background: #ffffff !important;
  color: #222 !important;
  font-weight: 700 !important;
}

/* 3) Hétvége színek – CSAK a megfelelő class esetén */
.tsm-cal-card td.tsm-day.sat,
.tsm-cal2-card td.tsm-cal2-sat{
  background: #eaf3ff !important;
  color: #003366 !important;
  font-weight: 900 !important;
}

.tsm-cal-card td.tsm-day.sun,
.tsm-cal2-card td.tsm-cal2-sun{
  background: #ffecec !important;
  color: #7a0000 !important;
  font-weight: 900 !important;
}

/* 4) Ünnepnap */
.tsm-cal-card td.tsm-day.holiday,
.tsm-cal2-card td.tsm-cal2-holiday{
  background: #ffcccc !important;
  color: #8b0000 !important;
  font-weight: 900 !important;
}

/* 5) Mai nap */
.tsm-cal-card td.tsm-day.today,
.tsm-cal2-card td.tsm-cal2-today{
  background: #ffe066 !important;
  color: #111 !important;
  font-weight: 900 !important;
}







/* TSM – Mobilon az oldalcím ne törjön betűnként (Bemutatkozá / s) */
@media (max-width: 600px){
  .entry-title{
    font-size: 24px !important;
    line-height: 1.15 !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
  }
}





/* =======================================================
   TSM – Lebegő HOME (házikó) gomb KÉPPEL
   TELJES CSERE
======================================================= */

.tsm-home-float{
  position: fixed !important;
  right: 22px !important;
  bottom: 90px !important; /* <-- FELJEBB, hogy ne takarja a nyilat */
  z-index: 999999 !important;
  width: 80px !important;
  height: 80px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}

.tsm-home-float img{
  width: 80px !important;
  height: 80px !important;
  display: block !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 18px rgba(0,0,0,0.25) !important;
  transition: transform 0.15s ease-in-out;
}

.tsm-home-float:hover img{
  transform: translateY(-2px);
}





/* =======================================================
   TSM – Privát hirdetési doboz (jobb oldalsáv)
   VÉGÉRE BESZÚRÁS
======================================================= */

.tsm-private-adbox{
  background: #fff7d6;
  border: 2px solid #2f6cff;
  border-radius: 14px;
  padding: 14px;
  margin: 14px 0;
  box-shadow: 0 10px 18px rgba(0,0,0,0.12);
}

.tsm-private-adbox-title{
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 8px;
}

.tsm-private-adbox-text{
  font-size: 14px;
  line-height: 1.35;
  margin-bottom: 12px;
}

.tsm-private-adbox-btn{
  display: block;
  text-align: center;
  background: #1e73be;
  color: #fff !important;
  text-decoration: none !important;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 700;
}

.tsm-private-adbox-btn:hover{
  filter: brightness(0.95);
}










/* TSM – Számlázási mezők alapból rejtve (WPForms FREE workaround) */
.wpforms-form .tsm-invoice-field{
  display: none;
}






/* =========================================================
   TSM – WPForms FREE: számlázási mezők alapból rejtve
========================================================= */
.wpforms-form .tsm-invoice-field{
	display: none !important;
}




/* ============================
   TSM – Oldalsávos hirdetés
   Normál csomag (szöveges)
============================ */

.tsm-sidebar-ad {
  position: relative;
  margin: 16px 0;
  padding: 14px 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.55);
  border: 2px solid rgba(0,0,0,0.15);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  font-size: 14px;
}

.tsm-ad-badge {
  position: absolute;
  top: -10px;
  right: 12px;
  background: #f0c040;
  color: #000;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.25);
}

.tsm-ad-title {
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 8px;
}

.tsm-ad-line {
  margin: 4px 0;
  font-weight: 600;
}

.tsm-ad-text {
  margin: 8px 0 12px;
  line-height: 1.35;
}

.tsm-ad-link {
  display: inline-block;
  margin-top: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.25);
  font-weight: 800;
  text-decoration: none;
}

.tsm-ad-link:hover {
  background: rgba(255,255,255,1);
}











/* Hirdetés – jobb oldalsáv */
.tsm-hirdetes-doboz {
    background: #e6f4d7;           /* halvány zöld */
    border: 2px solid #9ccc65;     /* természetes zöld keret */
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* "HIRDETÉS" címke (ha van) */
.tsm-hirdetes-doboz .tsm-hirdetes-cimke {
    display: inline-block;
    background: #7cb342;
    color: #ffffff;
    font-weight: 800;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 999px;
    margin-bottom: 6px;
}










/* =========================================================
   TSM – Jobb oldalsáv hirdetés (normál csomag)
========================================================= */

.tsm-sidebar-ad {
    background: #e7f3d9;              /* halvány zöld */
    border: 2px solid #9ccc65;
    border-radius: 16px;
    padding: 14px;
    margin: 14px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    font-size: 14px;
}

/* HIRDETÉS badge */
.tsm-ad-badge {
    display: inline-block;
    background: #7cb342;
    color: #ffffff;
    font-weight: 900;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

/* Cég neve */
.tsm-ad-title {
    font-weight: 900;
    font-size: 16px;
    margin-bottom: 6px;
}

/* Cím / telefon sorok */
.tsm-ad-line {
    margin: 4px 0;
    line-height: 1.35;
}

/* Leírás */
.tsm-ad-text {
    margin: 8px 0 10px 0;
    line-height: 1.4;
}

/* Web / FB link */
.tsm-ad-link {
    display: inline-block;
    margin-top: 6px;
    padding: 6px 12px;
    background: #ffffff;
    border: 2px solid #9ccc65;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    color: #33691e;
}

.tsm-ad-link:hover {
    background: #f1f8e9;
}
