/* Additions to the ported theme (main.css): video embed, key points, offers, FAQ, sources, comments, accounts, subscribe. */
.narrow { max-width: 560px; margin: 48px auto; }
.muted { opacity: .7; }
.small-note { font-size: .85rem; opacity: .75; margin-top: .75rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.crumbs { font-size: .85rem; opacity: .8; margin-bottom: .6rem; }
.crumbs a { color: inherit; }

/* section cards on the home page */
.section-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 28px 0 8px; }
.section-card { display: block; padding: 22px; text-decoration: none; color: inherit; transition: transform .15s ease; }
.section-card:hover { transform: translateY(-2px); }
.section-card h3 { margin: .7rem 0 .4rem; font-size: 1.2rem; }
.section-card p { margin: 0 0 .8rem; opacity: .8; }

/* lite YouTube embed: loads the player only when clicked */
.yt-embed { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; margin-bottom: 28px; cursor: pointer; }
.yt-embed img, .yt-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.yt-play { position: absolute; inset: 0; margin: auto; width: 76px; height: 54px; border: 0; background: none; cursor: pointer; padding: 0; transition: transform .15s ease; }
.yt-play svg { width: 100%; height: 100%; filter: drop-shadow(0 4px 12px rgba(0,0,0,.4)); }
.yt-embed:hover .yt-play { transform: scale(1.08); }

.key-points { padding: 20px 24px; margin-bottom: 28px; }
.key-points h2, .offers h2 { font-size: 1.1rem; margin: 0 0 .6rem; }
.key-points ul { margin: 0; padding-left: 1.2rem; }
.key-points li + li { margin-top: .35rem; }

.offers { padding: 20px 24px; margin: 32px 0; }
.offers ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.offers li { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.offers li span { opacity: .8; }

.faq, .sources, .related { margin-top: 40px; }
.faq h2, .sources h2, .related h2 { font-size: 1.35rem; margin-bottom: .8rem; }
.faq details { border: 1px solid rgba(127,127,127,.25); border-radius: 12px; padding: 12px 16px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details[open] summary { margin-bottom: .5rem; }
.sources ol { padding-left: 1.3rem; font-size: .92rem; }
.sources li + li { margin-top: .3rem; }
.sources li span { opacity: .7; }
.disclaimer { margin-top: 32px; font-size: .85rem; opacity: .75; border-left: 3px solid rgba(127,127,127,.4); padding-left: 12px; }
.watch-cta { margin-top: 20px; display: flex; gap: 8px; align-items: center; }

/* comments */
.comments { margin-top: 48px; }
.comment { padding: 14px 0; border-top: 1px solid rgba(127,127,127,.2); }
.comment .who { display: flex; gap: 10px; align-items: center; font-size: .9rem; }
.comment .who img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.comment .who time { opacity: .6; }
.comment .body { white-space: pre-wrap; margin: .4rem 0 .3rem 38px; overflow-wrap: anywhere; }
.comment .actions { margin-left: 38px; display: flex; gap: 14px; font-size: .85rem; }
.comment .actions button { background: none; border: 0; padding: 0; color: inherit; opacity: .7; cursor: pointer; font: inherit; }
.comment .actions button:hover { opacity: 1; text-decoration: underline; }
.comment .replies { margin-left: 38px; }
.comment.deleted .body { font-style: italic; opacity: .5; }
.comment-form textarea { width: 100%; min-height: 96px; padding: 12px; border-radius: 12px; border: 1px solid rgba(127,127,127,.35); background: transparent; color: inherit; font: inherit; }
.comment-form .row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; gap: 12px; flex-wrap: wrap; }
.comment-form .err { color: #e5484d; font-size: .9rem; }

/* accounts */
.login-card { padding: 32px; }
.login-card h1 { margin-top: 0; }
.login-buttons { display: grid; gap: 12px; margin: 20px 0; }
.login-btn { justify-content: center; gap: 10px; background: #fff; color: #1d2330; border: 1px solid rgba(0,0,0,.15); }
.login-btn:hover { background: #f3f4f6; }
.account-form label { display: block; margin: 14px 0; font-weight: 600; }
.account-form input[name=username] { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(127,127,127,.35); background: transparent; color: inherit; font: inherit; }
.account-form .check { font-weight: 400; display: flex; gap: 8px; align-items: center; }
.btn-ghost { background: transparent; color: inherit; border: 1px solid rgba(127,127,127,.4); }
.btn-danger { background: #e5484d; }
.danger-zone { margin-top: 24px; font-size: .9rem; }
.flash { background: rgba(229, 165, 0, .15); border: 1px solid rgba(229, 165, 0, .45); padding: 10px 14px; border-radius: 10px; }
.account-btn.signed-in { color: var(--accent, #2b6cff); }

/* subscribe */
.subscribe-form { display: flex; gap: 8px; flex-wrap: wrap; }
.subscribe-form input[type=email] { flex: 1 1 160px; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(127,127,127,.35); background: transparent; color: inherit; font: inherit; }

/* gear */
.gear-group + .gear-group { margin-top: 36px; }
.gear-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.gear-item { padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.gear-item img { width: 100%; border-radius: 10px; aspect-ratio: 16 / 9; object-fit: cover; }
.gear-item h3 { margin: 0; font-size: 1.05rem; }
.gear-item p { margin: 0; opacity: .8; font-size: .92rem; flex: 1; }
.gear-item small { opacity: .6; }

.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; }
