/*
Theme Name: GayForFans
Theme URI: https://gayforfans.si/
Author: GayForFans
Author URI: https://gayforfans.si/
Description: A modern, inclusive, light-and-dark hybrid WordPress theme for LGBTQ+ dating advice, lifestyle content, interactive conversation tools, and editorial blogging.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gayforfans
Tags: blog, custom-logo, custom-menu, featured-images, full-site-editing, one-column, two-columns, translation-ready
*/

:root {
  --gff-ink: #171526;
  --gff-muted: #696779;
  --gff-purple: #6b43d6;
  --gff-pink: #ed5b9b;
  --gff-lilac: #eee9ff;
  --gff-bg: #fbfaff;
  --gff-card: #ffffff;
  --gff-border: #e9e5f2;
  --gff-dark: #171326;
  --gff-dark-2: #211a36;
  --gff-radius: 22px;
  --gff-shadow: 0 18px 50px rgba(34, 22, 67, .09);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--gff-ink); background: var(--gff-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65; font-size: 16px;
}
a { color: var(--gff-purple); text-decoration: none; }
a:hover { color: var(--gff-pink); }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button, .button, input[type="submit"] {
  border: 0; border-radius: 999px; padding: 13px 21px; font-weight: 750;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
button:hover, .button:hover, input[type="submit"]:hover { transform: translateY(-2px); }
.button, .wp-block-button__link, input[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; background: linear-gradient(110deg, var(--gff-purple), var(--gff-pink));
  box-shadow: 0 10px 24px rgba(107,67,214,.2);
}
.button.secondary { color: var(--gff-purple); background: #f0ebff; box-shadow: none; }
.container { width: min(1160px, calc(100% - 44px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(16px); border-bottom: 1px solid var(--gff-border); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-branding { display: flex; align-items: center; gap: 11px; font-weight: 900; color: var(--gff-ink); font-size: 1.22rem; letter-spacing: -.04em; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 13px; color: white; background: linear-gradient(135deg, var(--gff-purple), var(--gff-pink)); font-size: 1rem; }
.site-branding img { max-height: 48px; width: auto; }
.main-navigation ul { list-style: none; display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; }
.main-navigation a { color: #514d61; font-size: .92rem; font-weight: 700; }
.main-navigation a:hover { color: var(--gff-purple); }
.menu-toggle { display: none; background: #f1edfb; color: var(--gff-purple); }
.header-cta { white-space: nowrap; }
.hero {
  position: relative; overflow: hidden; color: white; padding: 92px 0 74px;
  background: radial-gradient(circle at 80% 10%, rgba(237,91,155,.34), transparent 31%),
              radial-gradient(circle at 12% 90%, rgba(107,67,214,.38), transparent 35%),
              linear-gradient(125deg, #171326 0%, #211a36 58%, #30204a 100%);
}
.hero:after { content:""; position:absolute; width:420px; height:420px; right:-140px; bottom:-270px; border:1px solid rgba(255,255,255,.12); border-radius:50%; box-shadow:0 0 0 45px rgba(255,255,255,.025),0 0 0 90px rgba(255,255,255,.02); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr .92fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #f4c5df; text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 850; }
.eyebrow:before { content:""; width:22px; height:2px; background: var(--gff-pink); }
.hero h1 { max-width: 680px; margin: 18px 0; font-size: clamp(2.6rem, 5vw, 4.7rem); line-height: 1.04; letter-spacing: -.065em; }
.gradient-text { background: linear-gradient(90deg, #f7b7d7, #c8b6ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy { max-width: 590px; color: #d8d3e5; font-size: 1.12rem; }
.hero-actions { display:flex; gap:12px; flex-wrap:wrap; margin-top:26px; }
.hero .button.secondary { background: rgba(255,255,255,.1); color: white; border:1px solid rgba(255,255,255,.2); }
.hero-note { margin-top: 18px; color: #bcb5ce; font-size: .82rem; }
.generator-card { color: var(--gff-ink); background: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 26px; padding: 27px; box-shadow: 0 28px 80px rgba(0,0,0,.24); }
.generator-card h2 { margin: 0 0 5px; font-size: 1.35rem; letter-spacing: -.035em; }
.generator-card > p { color: var(--gff-muted); margin: 0 0 20px; font-size: .92rem; }
.field-label { display:block; margin: 13px 0 7px; font-size: .82rem; font-weight: 800; color: #49445a; }
.gff-select, .gff-input, .gff-textarea { width:100%; border:1px solid var(--gff-border); background:#fcfbff; color:var(--gff-ink); border-radius:12px; padding:12px 14px; outline:none; }
.gff-select:focus, .gff-input:focus, .gff-textarea:focus { border-color:var(--gff-purple); box-shadow:0 0 0 3px rgba(107,67,214,.1); }
.generator-card .button { width:100%; margin-top:17px; }
.gff-result { display:none; margin-top:17px; border-radius:15px; padding:16px; background:#f6f2ff; border:1px solid #e8ddff; }
.gff-result.is-visible { display:block; }
.gff-result p { margin:0 0 12px; color:#34264e; font-weight:700; }
.result-actions { display:flex; gap:8px; flex-wrap:wrap; }
.result-actions button { padding:10px 16px; font-size:.86rem; background:#fff; color:var(--gff-purple); border:1px solid #d8cafa; }
.result-actions .gff-copy { color:#fff; background:linear-gradient(110deg,var(--gff-purple),var(--gff-pink)); border-color:transparent; box-shadow:0 7px 18px rgba(107,67,214,.18); }
.result-actions .gff-copy:before { content:"▢"; font-size:1rem; margin-right:7px; }
.result-actions .gff-again:before { content:"↻"; font-size:1rem; margin-right:7px; }
.section { padding: 76px 0; }
.section.soft { background: #f3effb; }
.section.dark { background: var(--gff-dark); color:white; }
.section-heading { display:flex; justify-content:space-between; align-items:end; gap:24px; margin-bottom:30px; }
.section-heading h2 { margin:7px 0 0; font-size:clamp(1.9rem,3vw,2.8rem); line-height:1.12; letter-spacing:-.05em; }
.section-heading p { max-width:540px; margin:0; color:var(--gff-muted); }
.section.dark .section-heading p { color:#c4bdd3; }
.kicker { color:var(--gff-purple); text-transform:uppercase; letter-spacing:.13em; font-size:.73rem; font-weight:900; }
.card-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.feature-card, .post-card, .category-card { background:white; border:1px solid var(--gff-border); border-radius:var(--gff-radius); padding:24px; box-shadow:0 8px 25px rgba(34,22,67,.035); }
.feature-icon { display:grid; place-items:center; width:46px; height:46px; border-radius:15px; color:var(--gff-purple); background:#f0ebff; font-size:1.25rem; margin-bottom:17px; }
.feature-card h3, .category-card h3 { margin:0 0 8px; font-size:1.12rem; letter-spacing:-.025em; }
.feature-card p, .category-card p { margin:0 0 15px; color:var(--gff-muted); font-size:.94rem; }
.text-link { font-weight:800; font-size:.9rem; }
.category-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.category-card { padding:20px; }
.category-card .category-symbol { font-size:1.5rem; margin-bottom:8px; display:block; }
.post-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.post-card { overflow:hidden; padding:0; }
.post-card .post-thumb { display:block; aspect-ratio: 16/10; background:linear-gradient(135deg,#e9ddff,#ffd8e9); overflow:hidden; }
.post-card .post-thumb img { width:100%; height:100%; object-fit:cover; }
.post-card-content { padding:21px; }
.post-meta { color:var(--gff-muted); font-size:.78rem; font-weight:700; }
.post-card h3 { margin:8px 0; font-size:1.13rem; line-height:1.3; }
.post-card p { color:var(--gff-muted); margin:0 0 12px; font-size:.9rem; }
.cta-band { border-radius:28px; padding:42px; color:white; background:linear-gradient(115deg,#5f3bc3,#9a50bf 58%,#e65b9b); display:flex; align-items:center; justify-content:space-between; gap:25px; }
.cta-band h2 { margin:0 0 7px; font-size:clamp(1.7rem,3vw,2.4rem); letter-spacing:-.05em; }
.cta-band p { margin:0; color:#f4eafa; }
.cta-band .button { color:#5c35a8; background:white; box-shadow:none; }
.page-hero { padding:66px 0 54px; color:white; background:linear-gradient(120deg,#1a162b,#302047); }
.page-hero h1 { margin:8px 0; font-size:clamp(2.3rem,4vw,3.6rem); letter-spacing:-.06em; line-height:1.08; }
.page-hero p { color:#d5cfe2; max-width:700px; margin:12px 0 0; }
.content-layout { display:grid; grid-template-columns:minmax(0,1fr) 290px; gap:44px; align-items:start; }
.entry-content { color:#373346; font-size:1.04rem; }
.entry-content h2, .entry-content h3 { color:var(--gff-ink); letter-spacing:-.035em; line-height:1.2; margin-top:1.8em; }
.entry-content h2 { font-size:1.8rem; }
.entry-content a { text-decoration:underline; text-underline-offset:3px; }
.entry-content blockquote { border-left:4px solid var(--gff-pink); padding:8px 20px; margin:25px 0; color:#5b536d; background:#f7f3ff; border-radius:0 14px 14px 0; }
.sidebar-box { padding:22px; background:white; border:1px solid var(--gff-border); border-radius:18px; margin-bottom:18px; }
.sidebar-box h3 { margin:0 0 12px; font-size:1rem; }
.sidebar-box ul { padding-left:18px; margin:0; color:var(--gff-muted); }
.tool-page-card { max-width:760px; margin:0 auto; background:white; border:1px solid var(--gff-border); border-radius:24px; padding:30px; box-shadow:var(--gff-shadow); }
.tool-page-card h2 { margin-top:0; }
.tool-page-card .gff-result { margin-top:20px; }
.tool-form-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.quiz-options { display:grid; gap:9px; margin:16px 0; }
.quiz-options button { text-align:left; border:1px solid var(--gff-border); background:#fff; color:var(--gff-ink); }
.site-footer { padding:55px 0 24px; background:#171326; color:#e9e4f2; }
.footer-grid { display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:32px; }
.footer-brand p { max-width:330px; color:#bcb5cb; font-size:.92rem; }
.site-footer h3 { color:white; margin:0 0 13px; font-size:.9rem; }
.site-footer ul { list-style:none; padding:0; margin:0; display:grid; gap:8px; }
.site-footer a { color:#c9c2d8; font-size:.88rem; }
.site-footer a:hover { color:white; }
.footer-bottom { margin-top:38px; padding-top:20px; border-top:1px solid rgba(255,255,255,.12); display:flex; justify-content:space-between; gap:18px; color:#aaa2bb; font-size:.8rem; }
.age-notice { position:fixed; inset:0; z-index:9999; display:none; place-items:center; padding:20px; background:rgba(13,10,22,.84); backdrop-filter:blur(9px); }
.age-notice.is-open { display:grid; }
.age-box { max-width:440px; padding:32px; border-radius:24px; background:white; text-align:center; box-shadow:0 25px 80px rgba(0,0,0,.35); }
.age-box h2 { margin:0 0 8px; letter-spacing:-.04em; }
.age-box p { color:var(--gff-muted); }
.age-actions { display:flex; gap:10px; justify-content:center; flex-wrap:wrap; }
.notice-small { font-size:.78rem; color:var(--gff-muted); }
.pagination { display:flex; gap:8px; margin-top:32px; flex-wrap:wrap; }
.pagination .page-numbers { padding:9px 14px; background:white; border:1px solid var(--gff-border); border-radius:10px; }
.pagination .current { background:var(--gff-purple); color:white; }
.search-form { display:flex; gap:8px; }
.search-form label { flex:1; }
.screen-reader-text { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns:1fr; gap:35px; }
  .hero { padding:70px 0 60px; }
  .card-grid, .post-grid { grid-template-columns:repeat(2,1fr); }
  .category-grid { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:repeat(2,1fr); }
  .content-layout { grid-template-columns:1fr; }
  .main-navigation { display:none; position:absolute; top:78px; left:0; right:0; padding:18px 22px; background:white; border-bottom:1px solid var(--gff-border); }
  .main-navigation.is-open { display:block; }
  .main-navigation ul { display:grid; gap:13px; }
  .menu-toggle { display:inline-flex; }
  .header-cta { display:none; }
}
@media (max-width: 600px) {
  .container { width:min(100% - 30px, 1160px); }
  .header-inner { min-height:68px; }
  .main-navigation { top:68px; }
  .hero h1 { font-size:2.65rem; }
  .generator-card { padding:21px; }
  .section { padding:55px 0; }
  .section-heading { display:block; }
  .section-heading p { margin-top:12px; }
  .card-grid, .post-grid, .category-grid { grid-template-columns:1fr; }
  .cta-band { display:block; padding:29px; }
  .cta-band .button { margin-top:20px; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:24px 15px; }
  .footer-bottom { display:block; }
  .tool-form-grid { grid-template-columns:1fr; }
  .tool-page-card { padding:22px; }
}


/* Prominent generated-result actions */
.gff-result .result-actions { display:flex; align-items:center; gap:10px; margin-top:12px; }
.gff-result .result-actions .gff-copy {
  color:#fff; background:linear-gradient(110deg,var(--gff-purple),var(--gff-pink));
  border:0; box-shadow:0 7px 18px rgba(107,67,214,.18);
}
.gff-result .result-actions .gff-again {
  color:var(--gff-purple); background:#fff; border:1px solid #dfd5f5;
}
.gff-result .gff-copy-status { display:block; margin-top:9px; font-weight:700; color:#4d348e; }
.gff-result .gff-result-text { font-size:1rem; line-height:1.55; }


.site-footer .footer-community-links { gap: 11px; }
.site-footer .footer-community-links li a { display:block; color:#eee9f7; font-weight:750; }
.site-footer .footer-community-links li a span { display:inline-block; width:24px; }
.site-footer .footer-community-links li a small { display:block; padding-left:24px; color:#aaa2bb; font-size:.72rem; font-weight:500; line-height:1.35; }
.site-footer .footer-community-links li a:hover { color:#f4b6d7; }


.footer-resource-strip { margin-top:34px; padding:20px 22px; display:grid; grid-template-columns:1fr auto; gap:12px 24px; align-items:center; border:1px solid rgba(255,255,255,.13); border-radius:17px; background:rgba(255,255,255,.045); }
.footer-resource-strip strong { display:block; color:#fff; font-size:.9rem; }
.footer-resource-strip > div:first-child span { display:block; color:#aaa2bb; font-size:.78rem; }
.footer-resource-links { display:flex; gap:9px; flex-wrap:wrap; justify-content:flex-end; }
.site-footer .footer-resource-links a { display:inline-flex; align-items:center; gap:7px; padding:8px 11px; border:1px solid rgba(255,255,255,.16); border-radius:999px; color:#eee9f7; font-size:.78rem; font-weight:750; }
.site-footer .footer-resource-links a:hover { background:rgba(255,255,255,.1); color:#f4b6d7; }
.footer-resource-strip small { grid-column:1/-1; color:#928aa2; font-size:.7rem; }
@media (max-width:700px) { .footer-resource-strip { grid-template-columns:1fr; } .footer-resource-links { justify-content:flex-start; } }


.perspectives-content { margin-top:30px; padding:30px; border:1px solid #e7e0f2; border-radius:24px; background:linear-gradient(135deg,#fff 0%,#faf7ff 58%,#fff5fa 100%); }
.perspectives-intro { max-width:800px; margin-bottom:24px; }
.perspectives-intro h3 { margin:8px 0 10px; font-size:clamp(1.45rem,2.5vw,2rem); letter-spacing:-.045em; line-height:1.15; }
.perspectives-intro p { margin:0; color:var(--gff-muted); }
.perspectives-columns { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.perspectives-columns article { padding:20px; border:1px solid var(--gff-border); border-radius:17px; background:#fff; }
.perspectives-columns .feature-icon { margin-bottom:12px; }
.perspectives-columns h3 { margin:0 0 8px; font-size:1.02rem; }
.perspectives-columns p { margin:0 0 13px; color:var(--gff-muted); font-size:.9rem; }
.perspectives-note { margin:18px 0 0; color:var(--gff-muted); font-size:.78rem; }
@media (max-width:800px) { .perspectives-columns { grid-template-columns:1fr; } .perspectives-content { padding:21px; } }
