/* WordPress / Elementor glue for the Gamma IPTV theme. Design tokens and components come from base.css,
   components.css and pages.css (generated from the static site); only WordPress-specific bits live here. */

/* Elementor: let Gamma widgets run edge to edge with no extra spacing. */
.gamma-elementor .elementor-element.e-con { --padding-top: 0; --padding-right: 0; --padding-bottom: 0; --padding-left: 0; --gap: 0; }
.gamma-elementor .elementor-widget:not(:last-child) { margin-block-end: 0; }
.elementor-widget-container > [class^='gs-'] { display: block; }
.elementor-editor-active [data-reveal] { opacity: 1 !important; transform: none !important; }

/* Section spacing options of the widgets. */
.g-space-compact { padding-block: calc(var(--section-y) * 0.55); }
.g-space-none { padding-block: 0; }
.g-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.ph--center .g-ctas { justify-content: center; }
.g-center { justify-content: center; margin-top: 28px; }
.g-figure { margin: 0; display: grid; gap: 12px; }
.g-figure figcaption { font-size: var(--fs-sm); text-align: center; }
.hero__grid--single { grid-template-columns: 1fr !important; max-width: 820px; }
.g-visual__img { display: block; width: 100%; height: auto; }
.g-hero__img { width: 100%; height: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); }

/* Floating support bubble (footer). */
.gamma-chat {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--grad);
  display: grid;
  place-items: center;
  box-shadow: 0 14px 40px -8px rgba(103, 232, 249, 0.6);
}
@media (max-width: 600px) {
  .gamma-chat { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}

/* Blog index (theme template). */
.gamma-cats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.gamma-cats .tag { text-decoration: none; }
.post__img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.nav-links .page-numbers { padding: 8px 14px; border: 1px solid var(--border); border-radius: var(--radius-pill); color: var(--text); text-decoration: none; }
.nav-links .page-numbers.current { background: var(--brand-soft); color: var(--brand); border-color: transparent; }
.search-form { display: flex; gap: 8px; margin-top: 16px; }
.search-form input[type='search'] { flex: 1; padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); color: var(--text); }

/* Plain WordPress pages (not built with Elementor). */
.gamma-page-content { padding-bottom: var(--section-y); }
.gamma-page-content .alignwide { max-width: none; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wp-block-image img, .prose img { max-width: 100%; height: auto; border-radius: var(--radius); }

/* WordPress admin bar keeps the sticky header visible. */
.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav { top: 46px; } }

/* Article featured image. */
.article__image { margin: 8px 0 28px; max-width: 760px; }
.article__image img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); }
