/* ==========================================================================
   tooler-blog.css  —  Tooler blog közös stílusok
   Betöltés: <link rel="stylesheet" href="https://tooler.com/attachments/css/tooler-blog.css">
   ========================================================================== */

/* ---- Anchor offset (sticky header alá görgetés) ---- */
:root { --anchor-offset: 150px; }
.anchor-container { position: relative; height: 1px; }
.adjusted-anchor { position: absolute; top: calc(-1 * var(--anchor-offset)); height: 1px; pointer-events: none; }
html { scroll-behavior: smooth; }

/* ---- Alap szövegszínek / téma ---- */
.blog-text { color: #d6d6d6; }
body.light-mode .blog-text,
body.light-mode .blog-list,
body.light-mode .blog-list li,
body.light-mode .blog-list li strong,
body.light-mode .blog-col-desc,
body.light-mode .blog-s7-desc,
body.light-mode .blog-s8-desc,
body.light-mode .blog-s1-text,
body.light-mode .blog-s2-text,
body.light-mode .blog-s6-list,
body.light-mode .blog-s6-list li,
body.light-mode .blog-s6-list li strong,
body.light-mode .blog-tip-text,
body.light-mode .blog-cta-text,
body.light-mode .blog-guide-desc { color: #1f2937; }
body.light-mode .blog-list li::marker,
body.light-mode .blog-s6-list li::marker { color: #1f2937; }

/* ---- Kártyák ---- */
body:not(.light-mode) .blog-card { background: rgba(89,210,237,0.05); border: 1px solid rgba(89,210,237,0.2); }
body.light-mode .blog-card { background: rgba(2,132,199,0.04); border: 1px solid rgba(2,132,199,0.18); }
body:not(.light-mode) .blog-tip { background: rgba(89,210,237,0.08); border: 1px solid rgba(89,210,237,0.3); }
body.light-mode .blog-tip { background: rgba(2,132,199,0.06); border: 1px solid rgba(2,132,199,0.25); }
body:not(.light-mode) .blog-faq-card { background: rgba(89,210,237,0.06); border: 1px solid rgba(89,210,237,0.25); }
body.light-mode .blog-faq-card { background: rgba(2,132,199,0.04); border: 1px solid rgba(2,132,199,0.2); }
body:not(.light-mode) .blog-guide-card { background: rgba(89,210,237,0.06); border: 1px solid rgba(89,210,237,0.25); }
body.light-mode .blog-guide-card { background: rgba(2,132,199,0.04); border: 1px solid rgba(2,132,199,0.2); }

/* ---- Táblázat ---- */
body.light-mode .blog-tbl-td { color: #1f2937; border-color: #d0d0d0; }
body:not(.light-mode) .blog-tbl-td { color: #d6d6d6; border-color: #444; }
body:not(.light-mode) .blog-tbl-odd { background: rgba(255,255,255,0.03); }
body.light-mode .blog-tbl-odd { background: rgba(15,23,42,0.04); }
.blog-tbl-th { color: #59d2ed !important; text-align: center !important; font-weight: 700; }
body:not(.light-mode) .blog-tbl-th { background: #1e1e1e; border: 1px solid #444; }
body.light-mode .blog-tbl-th { background: #f0f4f8; border: 1px solid #d0d0d0; }

/* ---- Igazítások ---- */
ul.blog-list, ol.blog-list, .blog-list li, .blog-s6-list, .blog-s6-list li { text-align: left !important; }
p.blog-col-desc, p.blog-s1-text, p.blog-s2-text { text-align: left !important; }
div.blog-faq-card, div.blog-s7-desc, div.blog-guide-card, div.blog-s8-desc, .blog-step-lbl { text-align: left !important; }
div.blog-cta-text, .blog-card p, .blog-card ul, .blog-card li, .blog-tip, .blog-tip-text { text-align: left !important; }
body.light-mode .blog-step-lbl { color: #6b7280; }
body:not(.light-mode) .blog-step-lbl { color: #9f9f9f; }

/* ---- Akkordeon ---- */
.blog-acc-item { border-radius: 10px; overflow: hidden; border: 1px solid rgba(89,210,237,0.25); }
body.light-mode .blog-acc-item { border-color: rgba(2,132,199,0.2); }
.blog-acc-btn { width: 100%; text-align: left; background: transparent; border: none; cursor: pointer; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: #59d2ed; font-size: 15px; font-family: inherit; transition: background 0.2s; }
.blog-acc-btn:hover, .blog-acc-btn.blog-acc-open { background: rgba(89,210,237,0.07); }
body.light-mode .blog-acc-btn:hover, body.light-mode .blog-acc-btn.blog-acc-open { background: rgba(2,132,199,0.05); }
.blog-acc-icon { font-size: 22px; font-weight: 300; flex-shrink: 0; margin-left: 12px; transition: transform 0.25s; }
.blog-acc-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.blog-acc-content { padding: 4px 16px 14px; font-size: 14px; line-height: 1.7; }
body:not(.light-mode) .blog-acc-content { color: #d6d6d6; }
body.light-mode .blog-acc-content { color: #1f2937; }

/* ---- "Lásd" gomb ---- */
.blog-see-btn { display: inline-block; padding: 7px 18px; border-radius: 8px; background: #59d2ed; color: #0b1b1f; font-weight: 700; font-size: 13px; text-decoration: none; transition: color 0.2s; margin-top: 14px; }
.blog-see-btn:hover { color: #ffffff; }
body.light-mode .blog-see-btn { background: #59d2ed; color: #0b1b1f; }

/* ==========================================================================
   Tartalmi (statikus) segéd-osztályok – korábbi inline stílusok kiemelve
   ========================================================================== */

/* Elválasztó vonal */
.blog-hr { border: none; border-top: 1px solid #9f9f9f; margin: 40px 0; }

/* Képek */
.blog-img-hero { width: 60%; max-width: 560px; height: auto; display: block; margin: 0 auto; border-radius: 8px; }
.blog-img-full { width: 100%; max-width: 680px; height: auto; border-radius: 8px; display: inline-block; }
.blog-img-half { width: 100%; max-width: 480px; height: auto; border-radius: 8px; display: inline-block; }
.blog-video { width: 100%; max-width: 900px; height: auto; border-radius: 8px; display: inline-block; }

/* Konténerek / igazítás */
.blog-center { text-align: center; }
.blog-media-wrap { text-align: center; margin: 22px 0; }
.blog-block-20 { margin: 20px 0; }
.blog-block-24 { margin: 24px 0; }
.blog-mt8 { margin: 8px 0 0; }

/* Alcím (hero alatti) */
.blog-subwrap { text-align: left; margin-top: 6px; }
.blog-subwrap span { display: block; font-size: clamp(16px,4vw,20px); line-height: 1.35; }

/* Szekciócímkék (kis cián fejléc) */
.blog-label { font-size: 14px; font-weight: 700; color: #59d2ed; margin-bottom: 8px; }
.blog-label-15 { font-size: 15px; font-weight: 700; color: #59d2ed; margin-bottom: 6px; }
.blog-label-15-mb8 { font-size: 15px; font-weight: 700; color: #59d2ed; margin-bottom: 8px; }
.blog-label-15-mb10 { font-size: 15px; font-weight: 700; color: #59d2ed; margin-bottom: 10px; }
.blog-accent { color: #59d2ed; }

/* Kártya leírás-szöveg */
.blog-card { border-radius: 12px; padding: 18px; }
.blog-card.blog-card-sm { border-radius: 10px; padding: 14px; text-align: center; }
.blog-card-link { text-decoration: none; display: block; transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease; }
.blog-card-link:hover { transform: translateY(-2px); }
body:not(.light-mode) .blog-card-link:hover { background: rgba(89,210,237,0.12); border-color: rgba(89,210,237,0.45); }
body.light-mode .blog-card-link:hover { background: rgba(2,132,199,0.08); border-color: rgba(2,132,199,0.4); }
.blog-card-title { font-size: 14px; font-weight: 700; color: #59d2ed; margin-bottom: 8px; }
.blog-card-title-c { font-size: 14px; font-weight: 700; color: #59d2ed; }
.blog-col-desc { font-size: 13px; line-height: 1.7; margin: 0; }
.blog-s7-desc { font-size: 14px; line-height: 1.7; margin: 0; }

/* Rácsok */
.blog-grid-200 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.blog-grid-220 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 20px 0; }
.blog-grid-240 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 20px 0; }
.blog-grid-vcenter { align-items: center; }
/* Világos háttér csak sötét nézetben (átlátszó hátterű ábrákhoz) */
body:not(.light-mode) .blog-img-darkbg { background: #ffffff; }
.blog-grid-160 { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }

/* Cím + színes csík fejléc (szekció 2 kártyacsoport) */
.blog-head-row { display: flex; align-items: center; gap: 10px; margin: 0 0 16px 0; }
.blog-head-bar { width: 4px; height: 22px; border-radius: 2px; background: #59d2ed; flex-shrink: 0; }
.blog-head-txt { font-size: 15px; font-weight: 700; color: #59d2ed; }

/* Tip-doboz */
.blog-tip { border-radius: 12px; padding: 16px 18px; margin: 20px 0; }
.blog-tip-title { font-size: 14px; font-weight: 700; color: #59d2ed; margin-bottom: 6px; }
.blog-tip-text { font-size: 14px; line-height: 1.7; margin: 0; }

/* Listák */
.blog-list-wrap { max-width: 680px; margin: 8px auto 0; }
ol.blog-list { padding-left: 22px; line-height: 1.9; font-size: 14px; margin: 0; }
ul.blog-list { padding-left: 22px; line-height: 1.8; font-size: 14px; margin: 0; }

/* Táblázat-wrapper */
.blog-tbl-scroll { overflow-x: auto; margin: 22px 0; }
.blog-tbl { width: 100%; max-width: 620px; margin: 0 auto; border-collapse: collapse; font-size: clamp(13px,1.8vw,16px); line-height: 1.5; }
.blog-tbl-th { padding: 12px 16px; text-align: left; font-size: clamp(13px,1.8vw,16px); }
.blog-tbl-td { padding: 10px 16px; text-align: left; border-width: 1px; border-style: solid; }

/* Videó-felirat (jelenleg nem használt, de elérhető) */
.blog-video-cap { font-size: 13px; color: #9f9f9f; margin-top: 8px; }

/* ==========================================================================
   CTA reszponzív (a JS-vezérelt CTA mellé) – breakpointok
   ========================================================================== */
@media (max-width: 768px) {
  #final-left, #final-right { flex: 1 1 100% !important; min-width: 0 !important; }
  #blog-cta-inner { padding: 16px !important; }
  #kapcsolat { padding: 14px !important; }
  .blog-cta-col { flex: 1 1 100% !important; min-width: 0 !important; }
}
@media (max-width: 560px) {
  .blog-card { padding: 12px !important; }
  .blog-faq-card, .blog-guide-card, .blog-tip { padding: 10px 12px !important; }
  .blog-acc-btn { padding: 11px 12px !important; font-size: 14px !important; }
  .blog-acc-content { padding: 2px 12px 12px !important; font-size: 13px !important; }
  #s8-stepper > div { gap: 10px !important; padding-bottom: 14px !important; }
  #s8-stepper .s8-badge { width: 30px !important; height: 30px !important; font-size: 14px !important; }
  #s8-stepper .s8-line { left: 14px !important; }
  #s1-yes, #s1-no { flex: 1 1 100% !important; }
  .blog-cta-tile-grid { grid-template-columns: repeat(3,1fr) !important; gap: 6px !important; }
  .blog-cta-tile img, .blog-cta-tile-static img { border-radius: 6px 6px 0 0 !important; }
  .blog-cta-tile div, .blog-cta-tile-static div { font-size: 10px !important; padding: 5px 4px !important; }
  #final-form-card { padding: 14px !important; }
}
@media (max-width: 400px) {
  .blog-card p, .blog-col-desc, .blog-s7-desc, .blog-s8-desc, .blog-list li { font-size: 13px !important; }
  .blog-cta-tile-grid { grid-template-columns: repeat(2,1fr) !important; }
  .blog-cta-tile div, .blog-cta-tile-static div { font-size: 9px !important; }
}