@charset "UTF-8";

/*!
 * front.css
 * ---------
 * The redesigned visual language for every "inner" page (home, category,
 * search, watch, forms, footer). Built on Bootstrap 5 utilities wherever
 * possible; custom rules only for what Bootstrap doesn't cover. Brand hues
 * are unchanged from before - only the shapes/shadows/spacing are new.
 */

@font-face{font-family:'Rubik';font-style:normal;font-weight:400;font-display:swap;unicode-range:U+0590-05FF,U+FB1D-FB4F;src:url('../fonts/rubik/rubik-hebrew-400.woff2') format('woff2');}
@font-face{font-family:'Rubik';font-style:normal;font-weight:500;font-display:swap;unicode-range:U+0590-05FF,U+FB1D-FB4F;src:url('../fonts/rubik/rubik-hebrew-500.woff2') format('woff2');}
@font-face{font-family:'Rubik';font-style:normal;font-weight:700;font-display:swap;unicode-range:U+0590-05FF,U+FB1D-FB4F;src:url('../fonts/rubik/rubik-hebrew-700.woff2') format('woff2');}
@font-face{font-family:'Rubik';font-style:normal;font-weight:800;font-display:swap;unicode-range:U+0590-05FF,U+FB1D-FB4F;src:url('../fonts/rubik/rubik-hebrew-800.woff2') format('woff2');}
@font-face{font-family:'Rubik';font-style:normal;font-weight:900;font-display:swap;unicode-range:U+0590-05FF,U+FB1D-FB4F;src:url('../fonts/rubik/rubik-hebrew-900.woff2') format('woff2');}
@font-face{font-family:'Rubik';font-style:normal;font-weight:400;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+2000-206F;src:url('../fonts/rubik/rubik-latin-400.woff2') format('woff2');}
@font-face{font-family:'Rubik';font-style:normal;font-weight:500;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+2000-206F;src:url('../fonts/rubik/rubik-latin-500.woff2') format('woff2');}
@font-face{font-family:'Rubik';font-style:normal;font-weight:700;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+2000-206F;src:url('../fonts/rubik/rubik-latin-700.woff2') format('woff2');}
@font-face{font-family:'Rubik';font-style:normal;font-weight:800;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+2000-206F;src:url('../fonts/rubik/rubik-latin-800.woff2') format('woff2');}
@font-face{font-family:'Rubik';font-style:normal;font-weight:900;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+2000-206F;src:url('../fonts/rubik/rubik-latin-900.woff2') format('woff2');}

:root {
	--gt-ink: #20242E;
	--gt-ink-soft: #656D7C;
	--gt-ink-faint: #98A0AC;
	--gt-bg: #F3F5F9;
	--gt-surface: #FFFFFF;
	--gt-surface-2: #F7F8FB;
	--gt-line: #E5E8EF;
	--gt-brand: #FF8D1B;
	--gt-brand-ink: #2A1600;
	--gt-brand-soft: #FFE9CE;
	--gt-purple: #650EC0;
	--gt-purple-soft: #EDE1FA;
	--gt-cyan: #0091C2;
	--gt-cyan-soft: #DAF3FF;
	--gt-green: #1C9A64;
	--gt-green-soft: #DDF7EA;
	--gt-shadow-card: 0 1px 2px rgba(32,36,46,.05), 0 8px 20px -8px rgba(32,36,46,.12);
	--gt-shadow-pop: 0 10px 26px -8px rgba(32,36,46,.20);
	--gt-radius-lg: 20px;
	--gt-radius-md: 14px;
	--gt-radius-sm: 10px;
}
[data-theme="dark"] {
	--gt-ink: #EEF0F6;
	--gt-ink-soft: #AAB2C4;
	--gt-ink-faint: #727B8F;
	--gt-bg: #14161d;
	--gt-surface: #1c1f29;
	--gt-surface-2: #21242f;
	--gt-line: #2b2f3c;
	--gt-brand-ink: #1D0F02;
	--gt-brand-soft: #3A2410;
	--gt-purple-soft: #2C2145;
	--gt-cyan-soft: #132A38;
	--gt-green-soft: #12291F;
	--gt-shadow-card: 0 1px 2px rgba(0,0,0,.3), 0 10px 24px -8px rgba(0,0,0,.5);
	--gt-shadow-pop: 0 12px 30px -10px rgba(0,0,0,.5);
}

.gt-icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; }

body {
	background-color: var(--gt-bg);
	color: var(--gt-ink-soft);
	font-family: 'Rubik', -apple-system, 'Segoe UI', Roboto, sans-serif;
	font-feature-settings: "tnum" 1;
	overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Rubik', -apple-system, 'Segoe UI', Roboto, sans-serif; font-weight: 800; letter-spacing: -.01em; }

/* Container gutters - tighter on mobile, matches the "as little side padding
   as possible" direction from the design review */
#wrapper #content-wrapper .container-fluid { padding: 20px 12px; }
@media (min-width: 768px) { #wrapper #content-wrapper .container-fluid { padding: 28px 24px; } }
@media (min-width: 1200px) { #wrapper #content-wrapper .container-fluid { padding: 32px 60px; } }

.main-title > h6 { margin: 0 0 16px; color: var(--gt-brand) !important; font-weight: 800; }

.playlist-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.playlist-title-row > h6 { margin: 0 0 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.playlist-title-actions { display: flex; gap: 6px; flex: 0 0 auto; margin-bottom: 16px; }
.playlist-title-actions .btn { width: 36px; height: 36px; padding: 0; display: flex; align-items: center; justify-content: center; }
.playlist-title-actions .btn .gt-icon { width: 16px; height: 16px; }

.btn-brand { background: var(--gt-brand); border-color: var(--gt-brand); color: #fff; font-weight: 700; }
.btn-brand:hover { background: var(--gt-brand); border-color: var(--gt-brand); color: #fff; filter: brightness(1.08); }

/* ---------- Playlist in-page player ---------- */
.playlist-player-area { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: var(--gt-radius-md); overflow: hidden; background: #000; margin-bottom: 12px; }
.playlist-player-placeholder { position: absolute; inset: 0; }
.playlist-player-placeholder img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .55; }
.playlist-player-play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 68px; height: 68px; border-radius: 50%; border: none; background: var(--gt-brand); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.playlist-player-play-btn .gt-icon { width: 28px; height: 28px; }
.playlist-player-play-btn:hover { filter: brightness(1.08); }
.playlist-player-frame, .playlist-player-frame iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }
.playlist-now-playing-title { font-size: 15px; font-weight: 700; margin: 0 0 16px; min-height: 1.4em; }

/* ---------- Playlist tracklist (ordered, drag-to-reorder) ---------- */
.playlist-tracklist { margin: 0; padding: 0; max-height: 560px; overflow-y: auto; }
.playlist-track { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--gt-radius-sm); background: var(--gt-surface); box-shadow: var(--gt-shadow-card); margin-bottom: 8px; }
.playlist-track.sortable-ghost { opacity: .4; }
.playlist-track.is-playing { background: var(--gt-brand-soft, rgba(255,141,27,.12)); box-shadow: none; }
.playlist-track-handle { flex: 0 0 auto; cursor: grab; color: var(--gt-ink-faint); display: flex; align-items: center; }
.playlist-track-handle .gt-icon { width: 16px; height: 16px; }
.playlist-track-num { flex: 0 0 24px; text-align: center; font-weight: 800; color: var(--gt-ink-faint); font-size: 13px; }
.playlist-track.is-playing .playlist-track-num { color: var(--gt-brand); }
.playlist-track-thumb { position: relative; flex: 0 0 120px; width: 120px; aspect-ratio: 16/9; border-radius: var(--gt-radius-sm); overflow: hidden; display: block; background: var(--gt-surface-2); cursor: pointer; }
.playlist-track-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.playlist-track-duration { position: absolute; inset-inline-end: 4px; bottom: 4px; background: rgba(0,0,0,.75); color: #fff; font-size: 10.5px; font-weight: 700; padding: 1px 5px; border-radius: 4px; }
.playlist-track-title { flex: 1 1 auto; min-width: 0; font-weight: 700; font-size: 13.5px; color: var(--gt-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; display: block; }
.playlist-track-title:hover { color: var(--gt-brand); }
.playlist-track.is-playing .playlist-track-title { color: var(--gt-brand); }
.playlist-track .video-remove-from-playlist { position: static; flex: 0 0 auto; background: transparent; color: var(--gt-ink-faint) !important; width: 30px; height: 30px; }
.playlist-track .video-remove-from-playlist:hover { background: var(--gt-surface-2); color: var(--gt-ink) !important; }

/* ---------- Video card (home / category / search / history grids) ---------- */
.video-card {
	position: relative;
	background: var(--gt-surface);
	border-radius: var(--gt-radius-md);
	box-shadow: var(--gt-shadow-card);
	transition: transform .2s ease, box-shadow .2s ease;
}
@media (min-width: 768px) { .video-card:hover { transform: translateY(-3px); box-shadow: var(--gt-shadow-pop); } }
/* An open dropdown (playlist/hide-for-me, or the admin quick-actions menu)
   must not inherit the card's own hover-lift transform. `transform` on an
   ancestor creates a NEW containing block for the menu's
   `position:absolute` AND a new stacking context — that's what caused the
   menu to jitter (moving the card's box under the cursor flips :hover on
   and off, re-triggering the transform in a loop) and let a later sibling
   card visually cover the open menu (its z-index only wins locally within
   the transformed card's own stacking context, not the page's). Cancelling
   the transform exactly while this card's own dropdown is open fixes both.

   The delete-confirm modal (rendered as a sibling of the dropdown, but
   still a DESCENDANT of .video-card - see resources/views/partials/
   admin-video-delete-modal.blade.php) hits the exact same problem a
   SECOND time: Bootstrap auto-closes a dropdown the instant its own
   .dropdown-item is clicked, so `.dropdown-menu.show` is already gone by
   the time the modal opens - the rule above stops protecting right when
   the modal needs it most. If the cursor is still physically over the
   card (the normal case - the modal opens where you just clicked), the
   card's hover-transform re-engages and traps the now-open modal the same
   way, making it flicker/unclickable. Found live (2026-08-21) - Puppeteer
   testing missed it because synthetic .click() doesn't trigger a real
   :hover the way an actual mouse does. */
.video-card:has(.dropdown-menu.show), .video-card:has(.modal.show) { transform: none; }
.video-card.disabled { pointer-events: none; opacity: .3; }
.video-card.playlist { box-shadow: 0 0 0 2px var(--gt-brand); }
.video-card-image { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--gt-surface-2); border-radius: var(--gt-radius-md) var(--gt-radius-md) 0 0; }
.video-card-image img { width: 100%; height: 100%; object-fit: cover; }
.video-card-body { padding: 10px 12px 12px; text-align: right; }
[dir="ltr"] .video-card-body { text-align: left; }
.video-title { margin-bottom: 4px; line-height: 1.35; min-height: 2.7em; font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-title a { color: var(--gt-ink); font-weight: 700; text-decoration: none; }
.video-page { font-size: 11px; font-weight: 700; color: var(--gt-brand); }
.video-view { color: var(--gt-ink-faint); font-size: 11px; font-weight: 500; margin: 3px 0 0; }
.video-meta { margin: 5px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 5px; font-size: 11.5px; color: var(--gt-ink-faint); font-weight: 500; }
.video-meta-sep { color: var(--gt-line-strong, var(--gt-line)); }
.video-tag { font-weight: 700; padding: 2px 9px; border-radius: 999px; font-size: 11px; }
.tag-brand { color: var(--gt-brand); background: var(--gt-brand-soft, rgba(255,141,27,.12)); }
.tag-purple { color: var(--gt-purple); background: var(--gt-purple-soft); }
.tag-cyan { color: var(--gt-cyan); background: var(--gt-cyan-soft); }
.tag-green { color: var(--gt-green); background: var(--gt-green-soft); }
.time { background: rgba(10,12,20,.78); border-radius: 6px; bottom: 7px; color: #fff; font-size: 11px; font-weight: 700; padding: 2px 7px; position: absolute; inset-inline-end: 7px; font-variant-numeric: tabular-nums; }
.play-icon { position: absolute; inset: 0; margin: auto; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(0,0,0,.4); opacity: 0; transition: opacity .15s ease; pointer-events: none; }
@media (min-width: 768px) { .video-card:hover .play-icon { opacity: 1; } }
.play-icon svg { width: 16px; height: 16px; fill: #fff; }

/* List/row variant (watch history, search) */
.video-card-list { display: flex; align-items: flex-start; gap: 12px; background: transparent; box-shadow: none; margin-bottom: .75rem; border-radius: var(--gt-radius-sm); padding: 4px; }
.video-card-banner { background: var(--gt-surface); box-shadow: var(--gt-shadow-card); border-radius: var(--gt-radius-md); padding: 10px; }
.video-card-banner:hover { background: var(--gt-surface); }
.video-card-list:hover, .video-card-list:hover .video-card-image { transform: none; box-shadow: none; }
.video-card-list:hover { background: var(--gt-surface-2); }
.video-card-list .video-card-image { flex: 0 0 148px; width: 148px; aspect-ratio: 16/9; border-radius: var(--gt-radius-sm); }
.video-card-list .video-card-body { padding: 0; flex: 1 1 auto; min-width: 0; }
.video-card-list .video-card-body .video-title { font-size: 13.5px; min-height: 0; -webkit-line-clamp: 2; }
.video-close, .video-remove-from-playlist { color: #fff !important; font-size: 16px; position: absolute; inset-inline-end: 6px; top: 6px; z-index: 9; cursor: pointer; background: rgba(0,0,0,.45); border-radius: 50%; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; }
.video-close:hover, .video-remove-from-playlist:hover { background: var(--gt-brand); }
.history-progress { height: 4px; border-radius: 99px; background: var(--gt-line); overflow: hidden; margin: 8px 12px 0; }
.history-progress-bar { height: 100%; background: var(--gt-brand); border-radius: 99px; }
.history-progress-time { font-size: 11px; color: var(--gt-ink-faint); margin: 4px 12px 0; font-variant-numeric: tabular-nums; }

/* right-action dropdown trigger on cards */
.right-action-link { color: var(--gt-ink-soft); }
.right-action-link .icon-btn { border-radius: 50%; box-shadow: 0 0 0 1px var(--gt-line); display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; background: var(--gt-surface); }
[data-theme="dark"] .right-action-link .icon-btn { box-shadow: 0 0 0 1px var(--gt-line); }
.box .right-action-link .icon-btn { width: 34px; height: 34px; box-shadow: 0 0 0 2px var(--gt-brand); }

/* "Recommended" ribbon badge */
.ribbon { position: absolute; top: -5px; right: -5px; z-index: 1; overflow: hidden; width: 75px; height: 75px; text-align: center; }
[dir="ltr"] .ribbon { right: auto; left: -5px; }
.ribbon span { font-size: 10px; font-weight: 800; color: #fff; text-transform: uppercase; text-align: center; line-height: 20px; transform: rotate(45deg); width: 100px; display: block; background: var(--gt-brand); box-shadow: 0 3px 10px -5px rgba(0,0,0,.6); position: absolute; top: 19px; right: -21px; }
[dir="ltr"] .ribbon span { transform: rotate(-45deg); right: auto; left: -21px; }

/* ---------- Category tiles ---------- */
.category-item { background: var(--gt-surface); border-radius: var(--gt-radius-md); box-shadow: var(--gt-shadow-card); margin: 6px 2px; padding: 20px 12px; text-align: center; transition: transform .2s ease; }
@media (min-width: 768px) { .category-item:hover { transform: translateY(-2px); } }
.category-item h6 { font-size: 13px; margin: 8px 0 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.category-item svg { width: 26px; height: 26px; color: var(--gt-brand); }

/* Home page section headings */
.home-section-heading { text-align: center; margin-bottom: 8px; }
.home-section-heading h2 { font-size: 22px; font-weight: 800; margin: 0; }
.home-section-heading-bar { width: 56px; height: 4px; border-radius: 99px; background: var(--gt-brand); margin: 14px auto 0; }

/* Category breadcrumb chips */
.category-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.category-breadcrumb-sep { width: 12px; height: 12px; color: var(--gt-ink-faint); transform: scaleX(-1); }
[dir="ltr"] .category-breadcrumb-sep { transform: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: var(--gt-radius-pill, 999px); font-size: 13px; font-weight: 700; border: 1px solid var(--gt-line); background: var(--gt-surface); box-shadow: var(--gt-shadow-card); color: var(--gt-ink-soft); }
a.chip:hover { color: var(--gt-brand); border-color: var(--gt-brand); }
.chip.is-active { background: var(--gt-ink); color: var(--gt-bg); border-color: var(--gt-ink); }
.chip.chip-count { background: transparent; box-shadow: none; border-style: dashed; color: var(--gt-ink-faint); font-weight: 600; }

/* ---------- "Add to Playlist" modal ---------- */
.playlist-chip-list { display: flex; flex-wrap: wrap; gap: 8px; max-height: 45vh; overflow-y: auto; padding-bottom: 4px; }
.playlist-chip-list .chip { cursor: pointer; border: none; font: inherit; appearance: none; -webkit-appearance: none; }
.playlist-chip-list .chip.is-active::before { content: "✓"; font-weight: 800; }
.playlist-chip-empty { color: var(--gt-ink-faint); font-size: 13.5px; padding: 8px 2px; }
.playlist-add-new-row { display: flex; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--gt-line); }
.playlist-add-new-row .form-control { flex: 1 1 auto; }
.playlist-add-new-row .btn { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.playlist-add-new-row .btn .gt-icon { width: 16px; height: 16px; }

/* Share modal */
.share-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.share-btn { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px; border-radius: var(--gt-radius-md); border: 1px solid var(--gt-line); background: var(--gt-surface); color: var(--gt-ink-soft); font-size: 12px; font-weight: 700; text-align: center; transition: border-color .15s ease, transform .15s ease; }
.share-btn:hover { border-color: var(--share-color); color: var(--gt-ink); transform: translateY(-2px); }
.share-btn-ico { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--share-color); color: #fff; }
.share-btn-ico svg { width: 20px; height: 20px; }

/* ---------- Pagination wrapper (search / history) ---------- */
.pagination-wrapper { margin-top: 24px; margin-bottom: 24px; }
.pagination-wrapper-inner .pagination { justify-content: center; flex-wrap: wrap; gap: 6px; }
.pagination .page-item .page-link { display: flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--gt-line); background: var(--gt-surface); color: var(--gt-ink-soft); font-weight: 700; font-size: 13px; box-shadow: var(--gt-shadow-card); }
.pagination .page-item .page-link:hover { border-color: var(--gt-brand); color: var(--gt-brand); }
.pagination .page-item.active .page-link { background: var(--gt-ink); color: var(--gt-bg); border-color: var(--gt-ink); }
.pagination .page-item.disabled .page-link { opacity: .4; box-shadow: none; }

/* ---------- Header search autocomplete (desktop only, #searchquery) ---------- */
.gt-search-autocomplete-wrap { position: relative; }
.gt-search-suggest {
	position: absolute;
	inset-inline-start: 0;
	top: calc(100% + 10px);
	width: 100%;
	min-width: 380px;
	z-index: 1060;
	background: var(--gt-surface);
	border: 1px solid var(--gt-line);
	border-radius: var(--gt-radius-md);
	box-shadow: var(--gt-shadow-pop);
	padding: 8px;
	max-height: 70vh;
	overflow-y: auto;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	pointer-events: none;
	transition: opacity .15s ease, transform .15s ease;
}
.gt-search-suggest.is-open { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.gt-search-suggest-group + .gt-search-suggest-group { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--gt-line); }
.gt-search-suggest-item { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: var(--gt-radius-sm); color: var(--gt-ink); text-decoration: none; transition: background-color .1s ease; }
.gt-search-suggest-item:hover, .gt-search-suggest-item.is-active { background: var(--gt-surface-2); }
.gt-search-suggest-item-category:hover, .gt-search-suggest-item-category.is-active { background: var(--gt-brand-soft); }
.gt-search-suggest-icon { flex: none; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: var(--gt-radius-sm); background: var(--gt-brand-soft); color: var(--gt-brand); }
.gt-search-suggest-icon .gt-icon { width: 18px; height: 18px; }
.gt-search-suggest-thumb { flex: none; width: 56px; height: 34px; border-radius: 6px; overflow: hidden; background: var(--gt-surface-2); }
.gt-search-suggest-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gt-search-suggest-text { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.gt-search-suggest-title { font-size: .875rem; font-weight: 500; color: var(--gt-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gt-search-suggest-item-category .gt-search-suggest-title { color: var(--gt-brand); font-weight: 700; }
.gt-search-suggest-path { font-size: .75rem; color: var(--gt-ink-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gt-search-suggest-empty { padding: 14px 10px; text-align: center; font-size: .875rem; color: var(--gt-ink-faint); }

/* ---------- Watch page ---------- */
.box { padding: 16px; background: var(--gt-surface); border-radius: var(--gt-radius-lg); box-shadow: var(--gt-shadow-card); }
.single-video-title h2 { font-size: 18px; font-weight: 800; }
.single-video-title h2 a { color: var(--gt-ink); }
.single-video-author img { border-radius: 50%; float: right; height: 40px; width: 40px; margin: 0 0 0 13px; object-fit: cover; }
[dir="ltr"] .single-video-author img { float: left; margin: 0 13px 0 0; }
.single-video-author p { margin: 0; padding: 0; }
.single-video-info-content h6 { font-size: 15px; font-weight: 700; }
.tags span a { background: var(--gt-surface-2); border: 1px solid var(--gt-line); border-radius: 999px; color: var(--gt-ink-soft); display: inline-block; padding: 5px 12px; font-size: 12px; font-weight: 600; }
.tags span a:hover { background: var(--gt-brand); color: #fff; border-color: transparent; }
#video { position: relative; background: #000; width: 100%; max-width: 100%; margin: 0 auto; overflow: hidden; }
#video img, #video iframe { display: block; width: 100% !important; max-width: 100% !important; }
#play {
	position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
	width: 72px; height: 72px; border-radius: 50%; cursor: pointer; z-index: 2;
	background: rgba(255,141,27,.92) url('/assets/img/play-button.png') no-repeat center / 28px;
	box-shadow: 0 8px 24px rgba(0,0,0,.4);
	transition: transform .15s ease;
}
#play:hover { transform: translate(-50%, -50%) scale(1.06); }

/* ---------- Ad/promo banners ---------- */
.adblock { background: var(--gt-surface-2); border: 1px dashed var(--gt-line); border-radius: var(--gt-radius-md); margin-bottom: 1rem; padding: 27px 10px; text-align: center; width: 100%; }

/* ---------- Home page hero sentence banner ---------- */
.jumbotron.jumbotron-main { position: relative; margin: 0; padding: 0; min-height: 100px; width: 100%; background: radial-gradient(120% 180% at 50% -20%, #383f47 0%, #1c2126 45%, #000 100%); color: #fff; overflow: hidden; }
.jumbotron.jumbotron-main .container { position: relative; z-index: 1; }
.sentence-quote-mark { position: absolute; top: -10px; inset-inline-start: 50%; transform: translateX(-50%); opacity: .12; pointer-events: none; }
[dir="ltr"] .sentence-quote-mark { transform: translateX(-50%) scaleX(-1); }
.sentence-quote-mark svg { width: 128px; height: 128px; color: var(--gt-brand); }
.jumbotron.jumbotron-main a { color: #fff; }
.jumbotron.jumbotron-main h1 { color: #f6f6f6; font-size: 24px; font-weight: 700; line-height: 1.6; max-width: 780px; margin: 0 auto; }
.sentence-divider { width: 44px; height: 3px; border-radius: 99px; background: var(--gt-brand); margin: 14px auto; }
.sentence-author { text-align: center; font-size: 15px; font-weight: 700; color: var(--gt-brand); margin: 0; }
.sentence-source { text-align: center; font-size: 12px; color: rgba(255,255,255,.5); margin: 4px 0 0; }

/* Inline sentence banner (between videos in feeds) */
.sentence-card { position: relative; background: radial-gradient(120% 180% at 50% -20%, #383f47 0%, #1c2126 45%, #000 100%); border-radius: var(--gt-radius-lg); padding: 20px; overflow: hidden; }
.sentence-card h6 { position: relative; z-index: 1; color: #f6f6f6; font-size: 16px; font-weight: 700; line-height: 1.6; max-width: 640px; margin: 0 auto; }

/* Recommended-video inline banner (up-next sidebar) */

/* Plain image banner (breslev etc.) */
.banner-image-wrap { border-radius: var(--gt-radius-lg); overflow: hidden; }
.banner-image-wrap img { display: block; }

/* ---------- Footer ---------- */
footer.sticky-footer { background-color: var(--gt-surface); border-top: 1px solid var(--gt-line); padding: 28px 15px; text-align: center; }
[data-theme="dark"] footer.sticky-footer { background-color: var(--gt-surface); }
[data-theme="dark"] .btn-outline-dark { border-color: var(--gt-line-strong, var(--gt-line)); color: var(--gt-ink); }
[data-theme="dark"] .btn-outline-dark:hover { background: var(--gt-surface-2); color: var(--gt-ink); }
footer.sticky-footer .copyright { line-height: 1; font-size: .8rem; }
footer.sticky-footer .flogo { max-height: 80px; }
footer .f_app img { background: #231f20; border-radius: 8px; height: 45px; margin: 5px 0 0; object-fit: scale-down; padding: 3px 4px; }
footer .f_app img:hover { opacity: .8; }

/* ---------- Forms (login/register/profile/contact/upload) ---------- */
.form-box { margin-top: 40px; }
.form-card { background: var(--gt-surface); border-radius: var(--gt-radius-lg); box-shadow: var(--gt-shadow-card); padding: 24px 20px; margin-bottom: 40px; }

/* Auth page (login) */
.auth-page { max-width: 460px; margin: 0 auto; }
@media (min-width: 768px) { .auth-page { max-width: 620px; } }
.auth-card { }
@media (min-width: 768px) { .auth-card.form-card { padding: 36px; } }
.auth-badge { width: 56px; height: 56px; border-radius: 50%; background: var(--gt-brand-soft); color: var(--gt-brand); display: flex; align-items: center; justify-content: center; margin: 0 auto; }
.auth-badge svg { width: 26px; height: 26px; }
.form-hint { font-size: 12px; color: var(--gt-ink-faint); margin: 6px 4px 0; }
.gender-toggle { display: flex; gap: 10px; }
.gender-toggle input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.gender-toggle label { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: var(--gt-radius-md); border: 1.5px solid var(--gt-line-strong, var(--gt-line)); font-weight: 700; font-size: 14px; color: var(--gt-ink-soft); cursor: pointer; transition: border-color .15s ease, color .15s ease, background .15s ease; }
.gender-toggle input[type="radio"]:checked + label { border-color: var(--gt-brand); color: var(--gt-brand); background: var(--gt-brand-soft); }
.gender-toggle input[type="radio"]:focus-visible + label { outline: 2px solid var(--gt-brand); outline-offset: 2px; }

/* Auth tabs (login page) */
.auth-tabs { display: flex; gap: 4px; background: var(--gt-surface-2); border-radius: var(--gt-radius-md); padding: 4px; margin-bottom: 20px; }
.auth-tab { flex: 1 1 0; border: none; background: transparent; color: var(--gt-ink-soft); font-weight: 700; font-size: 14px; padding: 10px 8px; border-radius: calc(var(--gt-radius-md) - 4px); transition: background .15s ease, color .15s ease; }
.auth-tab.is-active { background: var(--gt-surface); color: var(--gt-ink); box-shadow: var(--gt-shadow-card); }
.auth-divider { display: flex; align-items: center; gap: 10px; color: var(--gt-ink-faint); font-size: 12px; font-weight: 600; margin: 4px 0 16px; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--gt-line); }
.form-top { overflow: hidden; padding: 0 20px 15px; background: var(--gt-surface-2); border-radius: var(--gt-radius-lg) var(--gt-radius-lg) 0 0; }
.form-top-right { float: right; width: 75%; padding-top: 22px; }
[dir="ltr"] .form-top-right { float: left; }
.form-top-right h3 { margin-top: 0; font-size: 18px; }
.form-top-left { float: left; width: 25%; padding-top: 5px; font-size: 50px; color: var(--gt-brand); line-height: 100px; text-align: left; }
[dir="ltr"] .form-top-left { float: right; text-align: right; }
.form-bottom { padding: 20px; background: var(--gt-surface); border-radius: 0 0 var(--gt-radius-lg) var(--gt-radius-lg); text-align: right; }
[dir="ltr"] .form-bottom { text-align: left; }
.form-bottom form button.btn { width: 100%; }
.middle-border { min-height: 150px; max-height: 200px; margin-top: 100px; border-left: 1px solid var(--gt-line); }
@media (max-width: 767px) { .middle-border { min-height: auto; margin: 40px 20px 0; border-right: 0; border-top: 1px solid var(--gt-line); } }

/* Floating labels (Bootstrap 5 .form-floating already covers most of this;
   these tweaks only fix radius/border to match the rest of the design) */
.form-floating > .form-control, .form-floating > .form-select { border-radius: var(--gt-radius-sm); }
.form-control, .form-select { border-radius: var(--gt-radius-sm); }
.form-control:focus, .form-select:focus { border-color: var(--gt-brand); box-shadow: 0 0 0 .2rem rgba(255,141,27,.15); }

/* Upload page */
.upload-video svg { width: 120px; height: 120px; color: var(--gt-brand); }

/* Contact-us / generic content card */
.content-card { background: var(--gt-surface); border-radius: var(--gt-radius-lg); box-shadow: var(--gt-shadow-card); padding: 24px 20px; margin-bottom: 40px; }
@media (min-width: 768px) { .content-card { padding: 36px 40px; } }
.content-card p { line-height: 1.8; margin-bottom: 14px; }

/* Checklist (About page filtering list) */
.check-list { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--gt-ink-soft); line-height: 1.7; }
.check-list .ico { width: 22px; height: 22px; min-width: 22px; border-radius: 50%; background: var(--gt-green-soft); color: var(--gt-green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.check-list .ico svg { width: 12px; height: 12px; }

/* Breadcrumb */
.breadcrumb { background: var(--gt-surface); border-radius: var(--gt-radius-sm); padding: 10px 16px; box-shadow: var(--gt-shadow-card); }
