* {
     box-sizing: border-box;
     margin: 0;
     padding: 0;
}
 html {
     scroll-behavior: smooth;
}
 body {
     font-family: system-ui, -apple-system, sans-serif;
     background: var(--bg);
     color: var(--text);
     line-height: 1.6;
     font-size: 1.05rem;
}
 a:focus-visible {
     outline: 2px solid var(--link);
     outline-offset: 3px;
}

:root {
  --bg: #f5f7fa;              /* világos, enyhén kékes háttér */
  --text: #1a1d25;            /* sötét, de nem full fekete */
  --link: #2563eb;            /* modern, élénk kék */
  --card-bg: #ffffff;         
  --card-border: #e2e8f0;     /* kékes-szürke keret */
  --border: #d1d5db;          /* halvány szürke */
  --card-hover: #f0f4fa;      /* enyhén kékes hover */
  --text-body: #374151;       /* szürke 700 */
  --text-muted: #6b7280;      /* szürke 500 */
  --text-strong: #111827;     /* szürke 900 */
  --text-light: #9ca3af;      /* szürke 400 */
  --scroll-thumb: #3b82f6;    /* kék görgető */
  --scroll-thumb-border: #93c5fd;
  --scroll-thumb-hover: #2563eb;
}
 :root {
     color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115;              /* mély sötét háttér, enyhén kékes */
    --text: #eef1f6;            /* világos, de nem teljes fehér */
    --link: #3b82f6;            /* élénk, modern kék */
    --card-bg: #1a1d25;         /* sötétszürke-kékes kártya */
    --card-border: #2c3244;     /* sötét, kékes szürke keret */
    --border: #2c3244;
    --card-hover: #242a38;      /* kicsit világosabb hover árnyalat */
    --text-body: #cbd5e1;       /* világos szürke (szöveg test) */
    --text-muted: #94a3b8;      /* szürke 400-500 */
    --text-strong: #f8fafc;     /* majdnem fehér */
    --text-light: #64748b;      /* szürke-kékes halvány */
    --scroll-thumb: #3b82f6;    /* kék görgető */
    --scroll-thumb-border: #1e293b;
    --scroll-thumb-hover: #2563eb;
  }
}

 .site-header {
     display: flex;
     justify-content: space-between;
     align-items: center;
     border-bottom: 1px solid var(--border);
     padding: 0.75rem 1rem;
     background: var(--bg);
    /* automatikusan vált */
     position: sticky;
     top: 0;
     z-index: 1000;
}

 .logo {
     font-size: 1.3rem;
     font-weight: 700;
     text-decoration: none;
     color: var(--text);
}

 .primary-menu {
     display: flex;
     align-items: center;
     gap: 1rem;
}
 .primary-menu a {
     color: var(--text);
     font-weight: 600;
     text-decoration: none;
     padding: 0.2rem 0.4rem;
     transition: background-color 0.3s ease, color 0.3s ease;
}

 @media (max-width: 600px) {
     .primary-menu {
         gap: 0.5rem;
    }
     .primary-menu a {
         padding: 0.3rem 0.6rem;
         font-size: 0.9rem;
    }
}

 header, main, footer {
     max-width: 1024px;
     margin: auto;
     padding: 1rem;
}
 h1 {
     font-size: 1.7rem;
     font-weight: 700;
     margin-bottom: 1rem;
     color: var(--text);
}
 h2 {
     font-size: 1.4rem;
     font-weight: 700;
     margin-bottom: 0.5rem;
     color: var(--text);
}
 h3 {
     font-size: 1.2rem;
     font-weight: 700;
     margin-bottom: 0.5rem;
     color: var(--text);
}
 p {
     font-size: 1rem;
     margin-bottom: 1rem;
     color: var(--muted);
}
 a {
     color: var(--link);
     text-decoration: none;
}
 a:hover {
     text-decoration: none;
}
 .emoji {
     font-size: 1.25rem;
     margin-right: 0.2rem;
     vertical-align: middle;
}

 .slider_tabs {
     position: sticky;
     top: 0;
     z-index: 1000;
     padding: 0.9rem;
     max-width: 1024px;
     margin: auto;
     display: flex;
     overflow-x: auto;
     gap: 0.9rem;
     margin-bottom: 1rem;
     scroll-behavior: smooth;
     scrollbar-width: thin;
     scrollbar-color: var(--muted) transparent;
     -ms-overflow-style: auto;
     background-color: color-mix(in srgb, var(--bg) 70%, transparent);
     backdrop-filter: blur(8px);
     -webkit-backdrop-filter: blur(8px);
}
 .slider_tabs::-webkit-scrollbar {
     height: 8px;
     background: transparent;
     border-radius: 8px;
}
 .slider_tabs::-webkit-scrollbar-thumb {
     background-color: #000;
     border-radius: 8px;
     border: 2px solid #222;
}
 .slider_tabs::-webkit-scrollbar-thumb:hover {
     background-color: #555;
}
 .slider_tabs a {
     flex-shrink: 0;
     padding: 0.5rem 1rem;
     background: var(--card-bg);
     color: var(--text);
     border-radius: 2rem;
     font-size: 0.9rem;
     font-weight: 500;
     white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
     box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}


 .slider_tabs a:hover, .slider_tabs a:focus {
  background: var(--card-hover);
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
     color: var(--text);
     cursor: pointer;
     text-decoration: none;
}

 section {
     padding: 2rem 0;
     border-bottom: 1px solid var(--border);
}
 .tool-card {
  display: block;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  text-align: start;
  font-size: 1.1rem;
  color: inherit;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
 .tool-card:focus-visible {
     outline: 2px solid var(--link);
     outline-offset: 3px;
}
 .tool-card .emoji {
     font-size: 1.4rem;
     line-height: 1;
}
 .tool-card:hover, .tool-card:focus {
  background: var(--card-hover);
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}


.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
 .tools-grid h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

 @media (max-width: 768px) {
     .tools-grid h3 {
         font-size: 1rem;
    }
}
 @media (max-width: 480px) {
     .tools-grid h3 {
         font-size: 0.9rem;
    }
}

 .footer {
     border-top: 1px solid var(--border);
     margin-top: 3rem;
     padding: 2rem 1rem;
     background: var(--footer-bg);
}
 .brand-name {
     font-size: 1.1rem;
     font-weight: 700;
     color: #000;
     letter-spacing: 0.5px;
     user-select: none;
}
 .footer p {
     margin-bottom: 0;
}
 .footer-inner {
     max-width: 1024px;
     margin: 0 auto;
     display: grid;
     grid-template-columns: 1fr auto;
     align-items: center;
}
 .footer-brand {
     font-size: 0.95rem;
     color: var(--muted);
}
.footer-note {
  font-size: 13px;
  color: var(--gt-text-muted);
}
 .footer-links {
     display: flex;
     gap: 1.25rem;
     flex-wrap: wrap;
}
 .footer-links a {
     font-size: 0.95rem;
     font-weight: 500;
     color: var(--muted);
     text-decoration: none;
     transition: color 0.3s ease, transform 0.2s ease;
}

 .chatgpt-link {
     color: var(--link);
     font-weight: 600;
     text-decoration: none;
}
 .chatgpt-link:hover {
     text-decoration: underline;
}
 @media (max-width: 768px) {
     .footer-inner {
         grid-template-columns: 1fr;
         gap: 1.5rem;
    }
     .footer-links {
         order: 2;
    }
}


.post-content, .page-content {
     margin: 2rem auto;
     line-height: 1.75;
     color: var(--muted);
     font-size: 1.05rem;
}
/* Headings */
 .post-content h1, .page-content h1 {
     font-size: 2rem;
     font-weight: 700;
     margin: 1rem 0 1.25rem;
     color: var(--text);
     line-height: 1.3;
}
 .post-content h2, .page-content h2 {
     font-size: 1.5rem;
     font-weight: 600;
     margin: 2rem 0 1rem;
     color: var(--text);
     border-bottom: 2px solid var(--border);
     padding-bottom: 0.3rem;
}
 .post-content h3, .page-content h3 {
     font-size: 1.25rem;
     font-weight: 600;
     margin: 1.5rem 0 0.75rem;
     color: var(--text);
}

 .post-content p, .page-content p {
     margin-bottom: 1.25rem;
     color: var(--muted);
}

 .post-content a, .page-content a {
     color: var(--link);
     text-decoration: none;
     border-bottom: 1px dashed var(--link);
     transition: color 0.2s ease, border-color 0.2s ease;
}
 .post-content a:hover, .page-content a:hover {
     color: var(--text);
     border-bottom-color: var(--text);
}

 .post-content ul, .page-content ul {
     margin: 0 0 1.5rem 1.25rem;
     padding: 0;
     list-style: none;
}
 .post-content ul li, .page-content ul li {
     position: relative;
     margin-bottom: 0.6rem;
     padding-left: 1.5rem;
     color: var(--text);
     line-height: 1.6;
     font-size: 1rem;
}
 .post-content ul li::before, .page-content ul li::before {
     content: "";
     position: absolute;
     left: 0;
     top: 0.55rem;
     width: 0.5rem;
     height: 0.5rem;
     background: var(--link);
     border-radius: 50%;
}

 .post-content ol, .page-content ol {
     margin: 0 0 1.5rem 1.5rem;
     padding: 0;
}
 .post-content ol li, .page-content ol li {
     margin-bottom: 0.6rem;
     color: var(--text);
     line-height: 1.6;
     font-size: 1rem;
}

 .post-content blockquote, .page-content blockquote {
     margin: 1.5rem 0;
     padding: 1rem 1.25rem;
     border-left: 4px solid var(--link);
     background: var(--card-bg);
     color: var(--text);
     border-radius: 6px;
     font-style: italic;
     box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

 .post-content code, .page-content code {
     font-size: 0.95rem;
     background: var(--card-bg);
     padding: 0.2rem 0.4rem;
     border-radius: 4px;
     color: var(--link);
     border: 1px solid var(--border);
}

 .post-content pre, .page-content pre {
     background: var(--card-bg);
     border: 1px solid var(--border);
     border-radius: 8px;
     padding: 1rem;
     margin: 1.5rem 0;
     overflow-x: auto;
     font-size: 0.95rem;
     line-height: 1.6;
     color: var(--text);
     box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
 .post-content pre code, .page-content pre code {
     background: none;
     padding: 0;
     border-radius: 0;
     color: inherit;
}


 .post-content img, .page-content img {
     max-width: 100%;
     height: auto;
     border-radius: 8px;
     margin: 1rem 0;
     box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

 @media (max-width: 600px) {
     .post-content, .page-content {
         padding: 0.5rem;
         font-size: 0.95rem;
    }
     .post-content h1, .page-content h1 {
         font-size: 1.6rem;
    }
     .post-content h2, .page-content h2 {
         font-size: 1.3rem;
    }
     .post-content h3, .page-content h3 {
         font-size: 1.1rem;
    }
}

.tools-info {
    margin: 2rem auto;
    line-height: 1.75;
    color: var(--muted);
    font-size: 1.05rem;
}

.tools-info-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 1rem 0 1.25rem;
    color: var(--text);
    line-height: 1.3;
}

.tools-info-subtitle {
    font-size: 1.35rem;
    font-weight: 600;
    margin: 1.75rem 0 1rem;
    color: var(--text);
    border-bottom: 2px solid var(--border);
    padding-bottom: 0.3rem;
}

.tools-info-text {
    margin-bottom: 1.25rem;
    color: var(--muted);
}

.tools-info-list {
    margin: 0 0 1.5rem 1.25rem;
    padding: 0;
    list-style: none;
}

.tools-info-list li {
    position: relative;
    margin-bottom: 0.6rem;
    padding-left: 1.5rem;
    color: var(--text);
    line-height: 1.6;
    font-size: 1rem;
}

.tools-info-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.5rem;
    height: 0.5rem;
    background: var(--link);
    border-radius: 50%;
}

.tools-info code {
    font-size: 0.95rem;
    background: var(--card-bg);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    color: var(--link);
    border: 1px solid var(--border);
}

.tools-info pre {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
    margin: 1.5rem 0;
    overflow-x: auto;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.tools-info pre code {
    background: none;
    padding: 0;
    border-radius: 0;
    color: inherit;
}

.tools-info blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--link);
    background: var(--card-bg);
    color: var(--text);
    border-radius: 6px;
    font-style: italic;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

@media (max-width: 600px) {
    .tools-info {
        padding: 0.5rem;
        font-size: 0.95rem;
    }
    .tools-info-title {
        font-size: 1.5rem;
    }
    .tools-info-subtitle {
        font-size: 1.15rem;
    }
}


 .blog-posts-section {
     padding: 2rem 0rem;
     max-width: 1100px;
     margin: 0 auto;
}
 .blog-posts-heading {
     font-size: 2rem;
     margin-bottom: 1.5rem;
     text-align: center;
}
/* Grid layout */
 .blog-posts-grid {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
     gap: 1.5rem;
}

 .blog-posts-item {
     background: var(--card-bg, #fff);
     border-radius: 0.75rem;
     overflow: hidden;
     box-shadow: 0 4px 12px rgba(0,0,0,0.06);
     transition: transform 0.2s ease, box-shadow 0.2s ease;
}
 .blog-posts-item:hover {
     transform: translateY(-4px);
     box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}
 .blog-posts-link {
     color: inherit;
     text-decoration: none;
     display: flex;
     flex-direction: column;
     height: 100%;
}

 .blog-posts-thumb img {
     display: block;
     width: 100%;
     height: auto;
     object-fit: cover;
}

 .blog-posts-body {
     padding: 1rem;
     display: flex;
     flex-direction: column;
     flex-grow: 1;
}
 .blog-posts-title {
     font-size: 1.25rem;
     margin: 0 0 0.5rem;
}
 .blog-posts-excerpt {
     flex-grow: 1;
     font-size: 0.95rem;
     color: var(--text-muted, #555);
     margin-bottom: 0.75rem;
}
 .blog-posts-meta {
     font-size: 0.85rem;
     color: var(--text-light, #777);
}

 .tools-page {
     padding: 2rem 1rem;
     max-width: 900px;
     margin: 0 auto;
}

 .tools-header {
     margin-bottom: 2rem;
     text-align: center;
}
 .tools-title {
     font-size: 2rem;
     margin-bottom: 0.5rem;
}
 .tools-subtitle {
     font-size: 1.1rem;
     color: var(--text-muted, #555);
     max-width: 700px;
     margin: 0 auto;
}

.tools-actions {
  display: block;      
  margin-bottom: 2rem;
}
 .tools-button {
     padding: 0.75rem 1.25rem;
     background: #0073e6;
     color: #fff;
     border: none;
     border-radius: 0.5rem;
     font-size: 1rem;
     cursor: pointer;
     transition: background 0.2s ease, transform 0.2s ease;
}
 .tools-button:hover {
     background: #005bb5;
     transform: translateY(-2px);
}
 .tools-button:active {
     transform: translateY(0);
}

 .tools-info {
     margin-top: 2rem;
     line-height: 1.6;
}
 .tools-info-title {
     font-size: 1.5rem;
     margin-bottom: 0.5rem;
}
 .tools-info-subtitle {
     font-size: 1.2rem;
     margin: 1.5rem 0 0.5rem;
     color: var(--text-strong, #333);
}
 .tools-info-text {
     margin-bottom: 1rem;
     color: var(--text-body, #444);
     line-height: 1.6;
}

 @media (max-width: 600px) {
     .tools-title {
         font-size: 1.6rem;
    }
     .tools-subtitle {
         font-size: 1rem;
    }
     .tools-button {
         flex: 1 1 100%;
         text-align: center;
    }
}

 .tools-suggested {
     margin: 2rem 0;
}
 .tools-suggested-title {
     font-size: 1.5rem;
     margin-bottom: 1rem;
     text-align: start;
}
 .tools-suggested-grid {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
     gap: 1rem;
     list-style: none;
     padding: 0;
     margin: 0;
}
 .tools-suggested-card {
     display: block;
     background: var(--card-bg, #fff);
     border: 1px solid var(--card-border, #ddd);
     border-radius: 0.5rem;
     padding: 0.75rem 1rem;
     text-align: start;
     font-size: 1rem;
     color: inherit;
     text-decoration: none;
     transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
 .tools-suggested-card:hover {
     background: var(--card-hover, #f7f7f7);
     transform: translateY(-3px);
     box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
 .tools-suggested-card h3 {
     margin: 0;
     font-size: 1.1rem;
     font-weight: 500;
}


.hidden {
  display: none !important;
}

.tools-input {
  width: 100%;
  max-width: 600px;
  padding: 0.6rem 0.8rem;
  margin-top: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.tools-input:focus {
  border-color: #0077ff;
  outline: none;
}

.tools-button {
  padding: 0.6rem 1rem;
  margin: 0.25rem;
  border: none;
  border-radius: 8px;
  background: #0077ff;
  color: white;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s;
}

.tools-button:hover {
  background: #005fd1;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}

.thumbnail-preview {
  margin-top: 1rem;
  text-align: center;
}

.thumbnail-image {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.status-message {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: red;
}

.tools-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}


.tools-input-group {
  display: flex;
  flex-direction: column;
  align-items: center;    
  margin: 1rem 0;
}


.tools-label {
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  text-align: center;     
}


.tools-input {
  width: 100%;
  max-width: 600px;
  padding: 0.6rem 0.8rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.tools-input:focus {
  border-color: #0077ff;
  outline: none;
}

.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 500px;
  margin: 0 auto;
  background: var(--card-bg);
  color: var(--text);
  padding: 1rem 1.25rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.cookie-consent p {
  margin: 0;
  flex: 1;
}

.cookie-consent a {
  color: var(--link);
  text-decoration: underline;
}

.cookie-consent button {
  background: var(--link);
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s ease;
}

.cookie-consent button:hover {
  background: var(--text);
  color: var(--card-bg);
}

.cookie-consent.fade-out {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.ad-fallback {
  background: var(--card-bg);
  border: 1px dashed var(--border);
  border-radius: var(--gt-radius-sm, 8px);
  padding: 12px;
  font-size: 0.95rem;
  text-align: center;
  color: var(--text-muted, #555);
}

.footer-note a{
    color: var(--text);
    text-decoration: underline;
}