/* ===== Blog + Videos page content styles (loaded inside Shopware Storefront layout) ===== */
/* Header / nav / footer are provided by Shopware, NOT by this stylesheet. */
:root {
  --gltc-navy-deep: #0a1e3a;
  --gltc-navy: #0f284b;
  --gltc-navy-light: #1a3866;
  --gltc-gold: #E1B52E;
  --gltc-gold-dark: #c9a127;
  --gltc-text: rgba(255,255,255,0.85);
  --gltc-text-dim: rgba(255,255,255,0.6);
}

/* Page wrapper applied to <main> override below the Shopware header */
.glt-page { background: var(--gltc-navy); color: var(--gltc-text); font-family: 'Poppins', sans-serif; }
.glt-page * { box-sizing: border-box; }
.glt-page a { color: inherit; text-decoration: none; }
.glt-page img { max-width: 100%; }

/* ===== Hero band ===== */
/* White card floating on the navy .glt-page background — same treatment as the
   Info hub hero (margin-top clears the 120px fixed header; the box itself is
   Info's white/rounded/shadow card, so the two page families now match). */
.glt-hero {
    max-width: 1100px;
    margin: 190px auto 40px;
    padding: 40px 36px 36px;
    background: #ffffff;
    border: 1px solid rgba(15,40,75,0.12);
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(15,40,75,0.12);
    text-align: center;
}
/* Dash-style eyebrow (matches GLT-Lasersysteme category hero): gold-dark text
   flanked by thin gradient lines, no pill fill -- reads better on the white card. */
.glt-hero-eyebrow { display: inline-flex; align-items: center; gap: 14px; color: var(--gltc-gold-dark); font-size: 13px; font-weight: 700; letter-spacing: 3.2px; text-transform: uppercase; margin: 0 0 24px; }
.glt-hero-eyebrow::before, .glt-hero-eyebrow::after { content: ""; width: 36px; height: 2px; background: linear-gradient(90deg, transparent 0%, var(--gltc-gold-dark) 100%); }
.glt-hero-eyebrow::after { background: linear-gradient(90deg, var(--gltc-gold-dark) 0%, transparent 100%); }
.glt-hero h1 { font-family: 'Poppins'; font-size: 56px; font-weight: 800; color: var(--gltc-navy); margin: 0 0 18px; line-height: 1.1; letter-spacing: -0.5px; overflow-wrap: break-word; word-break: break-word; }
.glt-hero h1 span { color: var(--gltc-gold-dark); }
.glt-hero p { max-width: 720px; margin: 0 auto; color: rgba(15,40,75,0.75); font-size: 18px; line-height: 1.6; }

.glt-grid-wrap { padding: 60px 24px 80px; max-width: 1300px; margin: 0 auto; }

/* ===== Blog cards ===== */
.glt-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 991px) { .glt-blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .glt-blog-grid { grid-template-columns: 1fr; } }
.glt-blog-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; color: #fff; }
.glt-blog-card:hover { transform: translateY(-6px); border-color: rgba(225,181,46,0.45); box-shadow: 0 24px 48px rgba(225,181,46,0.18); }
.glt-blog-card-img { aspect-ratio: 16/10; overflow: hidden; background: var(--gltc-navy-deep); }
.glt-blog-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.glt-blog-card:hover .glt-blog-card-img img { transform: scale(1.05); }
.glt-blog-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.glt-blog-card-date { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(225,181,46,0.7); margin-bottom: 10px; }
.glt-blog-card-title { font-family: 'Poppins'; font-size: 19px; font-weight: 700; color: #fff; line-height: 1.35; margin: 0 0 12px; }
.glt-blog-card-excerpt { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.78); flex: 1; margin: 0 0 18px; }
.glt-blog-card-cta { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gltc-gold); transition: gap .25s ease; }
.glt-blog-card:hover .glt-blog-card-cta { gap: 14px; }
.glt-blog-card-cta svg { width: 14px; height: 14px; }

/* ===== Article ===== */
/* Same white card treatment as .glt-hero, for visual consistency with blog/videos. */
.glt-article-hero {
    max-width: 1100px;
    margin: 190px auto 40px;
    padding: 40px 36px 36px;
    background: #ffffff;
    border: 1px solid rgba(15,40,75,0.12);
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(15,40,75,0.12);
    text-align: center;
}
.glt-back-link { display: flex; justify-content: center; align-items: center; gap: 8px; color: var(--gltc-navy); font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 24px; transition: gap .2s ease; }
.glt-back-link:hover { gap: 12px; color: var(--gltc-gold-dark); }
.glt-back-link svg { width: 14px; height: 14px; }
.glt-article-hero h1 { font-family: 'Poppins'; font-size: 44px; font-weight: 800; color: var(--gltc-navy); margin: 0 auto; max-width: 860px; line-height: 1.15; letter-spacing: -0.5px; overflow-wrap: break-word; word-break: break-word; }
.glt-article-meta { margin-top: 22px; color: var(--gltc-gold-dark); font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }
.glt-article { max-width: 820px; margin: 0 auto; padding: 60px 24px 60px; }
.glt-article-feature { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 16px; margin-bottom: 48px; box-shadow: 0 24px 56px rgba(0,0,0,0.35), 0 0 0 1px rgba(225,181,46,0.18); }
.glt-article-body h2 { font-family: 'Poppins'; font-size: 30px; font-weight: 700; color: #fff; margin: 56px 0 18px; line-height: 1.25; }
.glt-article-body h2:first-child { margin-top: 0; }
.glt-article-body h3 { font-family: 'Poppins'; font-size: 22px; font-weight: 700; color: var(--gltc-gold); margin: 40px 0 14px; line-height: 1.3; }
.glt-article-body h4 { font-family: 'Poppins'; font-size: 18px; font-weight: 700; color: #fff; margin: 32px 0 12px; }
.glt-article-body p { font-size: 17px; line-height: 1.75; margin: 0 0 22px; color: rgba(255,255,255,0.85); }
.glt-article-body strong { color: #fff; font-weight: 700; }
.glt-article-body a { color: var(--gltc-gold); text-decoration: underline; text-decoration-color: rgba(225,181,46,0.5); text-underline-offset: 3px; }
.glt-article-body a:hover { color: #fff; }
.glt-article-body img { max-width: 100%; height: auto; display: block; margin: 32px auto; border-radius: 12px; box-shadow: 0 14px 36px rgba(0,0,0,0.3); }
.glt-article-body figure { margin: 32px 0; }
.glt-article-body figcaption { text-align: center; font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 10px; font-style: italic; }
.glt-article-body ul, .glt-article-body ol { margin: 0 0 24px; padding-left: 24px; color: rgba(255,255,255,0.85); }
.glt-article-body li { font-size: 16px; line-height: 1.7; margin-bottom: 6px; }
.glt-article-body blockquote { margin: 32px 0; padding: 22px 28px; border-left: 3px solid var(--gltc-gold); background: rgba(225,181,46,0.06); border-radius: 0 12px 12px 0; font-style: italic; font-size: 18px; color: rgba(255,255,255,0.92); }

.glt-article-cta { max-width: 820px; margin: 0 auto 80px; padding: 36px 32px; background: linear-gradient(135deg, rgba(225,181,46,0.12) 0%, rgba(225,181,46,0.04) 100%); border: 1px solid rgba(225,181,46,0.35); border-radius: 16px; text-align: center; }
.glt-article-cta h3 { margin: 0 0 12px; color: #fff; font-size: 22px; font-weight: 700; }
.glt-article-cta p { margin: 0 0 22px; color: rgba(255,255,255,0.82); font-size: 15px; }
.glt-cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.glt-cta-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 10px; font-family: 'Poppins'; font-weight: 700; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; transition: all .2s ease; }
.glt-cta-btn--gold { background: linear-gradient(135deg, var(--gltc-gold) 0%, var(--gltc-gold-dark) 100%); color: var(--gltc-navy-deep); box-shadow: 0 6px 18px rgba(225,181,46,0.35); }
.glt-cta-btn--gold:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(225,181,46,0.45); color: var(--gltc-navy-deep); }
.glt-cta-btn--ghost { border: 2px solid rgba(225,181,46,0.55); color: var(--gltc-gold); }
.glt-cta-btn--ghost:hover { background: rgba(225,181,46,0.1); border-color: var(--gltc-gold); color: var(--gltc-gold); }

/* ===== Video grid ===== */
.glt-video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; }
@media (max-width: 800px) { .glt-video-grid { grid-template-columns: 1fr; } }
.glt-video-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; overflow: hidden; transition: all .25s ease; }
.glt-video-card:hover { border-color: rgba(225,181,46,0.45); box-shadow: 0 24px 48px rgba(225,181,46,0.18); transform: translateY(-4px); }
.glt-video-player { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; overflow: hidden; cursor: pointer; }
.glt-video-player video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.glt-video-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; cursor: pointer; transition: opacity .3s ease; }
.glt-video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, var(--gltc-gold) 0%, var(--gltc-gold-dark) 100%); display: flex; align-items: center; justify-content: center; color: var(--gltc-navy-deep); box-shadow: 0 10px 30px rgba(225,181,46,0.45); transition: transform .25s ease; pointer-events: none; }
.glt-video-card:hover .glt-video-play { transform: translate(-50%, -50%) scale(1.1); }
.glt-video-play svg { width: 28px; height: 28px; fill: currentColor; margin-left: 4px; }
.glt-video-player.is-playing .glt-video-thumb, .glt-video-player.is-playing .glt-video-play { display: none !important; }
.glt-video-controls { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 100%); opacity: 0; transition: opacity .25s ease; pointer-events: none; z-index: 5; }
.glt-video-player.is-playing:hover .glt-video-controls, .glt-video-player.is-playing.is-paused .glt-video-controls { opacity: 1; pointer-events: auto; }
.glt-video-btn { background: transparent; border: 0; color: #fff; cursor: pointer; padding: 4px; display: inline-flex; align-items: center; transition: color .18s ease; }
.glt-video-btn:hover { color: var(--gltc-gold); }
.glt-video-btn svg { width: 16px; height: 16px; }
.glt-video-progress { flex: 1; height: 5px; background: rgba(255,255,255,0.2); border-radius: 2.5px; cursor: pointer; position: relative; overflow: hidden; }
.glt-video-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0%; background: linear-gradient(90deg, var(--gltc-gold) 0%, var(--gltc-gold-dark) 100%); }
.glt-video-time { color: rgba(255,255,255,0.85); font-family: 'Poppins'; font-size: 11px; font-weight: 500; min-width: 78px; text-align: center; }
.glt-vol { appearance: none; -webkit-appearance: none; width: 60px; height: 3px; background: rgba(255,255,255,0.25); border-radius: 2px; outline: none; cursor: pointer; }
.glt-vol::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 11px; height: 11px; border-radius: 50%; background: var(--gltc-gold); cursor: pointer; }
.glt-video-info { padding: 24px 26px 28px; }
.glt-video-info h3 { font-family: 'Poppins'; font-size: 18px; font-weight: 700; color: #fff; margin: 0 0 10px; line-height: 1.35; }
.glt-video-info p { font-size: 13px; line-height: 1.55; color: var(--gltc-text-dim); margin: 0; }

@media (max-width: 640px) {
  .glt-hero h1 { font-size: 38px; }
  /* Header is fixed + ~64px tall on mobile; 60px padding-top let content sit
     UNDER it (measured -4px overlap). Give real breathing room below it.
     Card gets 16px side margins on mobile too (matches the Info hub card). */
  .glt-hero { margin: 130px 16px 24px; padding: 28px 20px 24px; }
  .glt-article-hero h1 { font-size: 28px; }
  .glt-article-hero { margin: 130px 16px 24px; padding: 28px 20px 24px; }
}
