
:root{
--navy:#0f3d5e;
--navy2:#0f3d5e;
--turquoise:#00a6c8;
--turquoise2:#3be2ef;
--green:#2de39f;
--white:#ffffff;
--soft:#f4f8fb;
--text:#163149;
--muted:#6d7f91;
--border:rgba(15,61,94,.14);
--shadow:0 24px 70px rgba(7,29,51,.15);
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
margin:0;
font-family:Inter,system-ui,sans-serif;
background:white;
color:var(--text);
line-height:1.65;
overflow-wrap:anywhere;
}

a{text-decoration:none;color:inherit}

.container{
width:min(1180px,calc(100% - 40px));
margin:auto;
}

.narrow{
width:min(880px,calc(100% - 40px));
margin:auto;
}

.site-header{
position:sticky;
top:0;
z-index:80;
background:rgba(7,29,51,.94);
backdrop-filter:blur(14px);
}

.nav{
min-height:78px;
display:flex;
justify-content:space-between;
align-items:center;
}

.brand{
display:flex;
align-items:center;
gap:12px;
color:white;
font-weight:900;
}

.brand strong{color:var(--turquoise2)}

.brand-mark{
width:44px;
height:44px;
border-radius:14px;
display:flex;
align-items:center;
justify-content:center;
background:linear-gradient(135deg,var(--turquoise),var(--turquoise2));
color:#052033;
font-weight:950;
}

.menu{
display:flex;
gap:16px;
align-items:center;
color:rgba(255,255,255,.8);
font-size:14px;
}

.menu a.active,
.menu a:hover{color:white}

.nav-cta{
padding:11px 17px;
border-radius:999px;
background:linear-gradient(135deg,var(--turquoise),var(--turquoise2));
color:#052033 !important;
font-weight:900;
}

.menu-btn{
display:none;
border:0;
background:transparent;
color:white;
font-size:28px;
}

.hero{
position:relative;
overflow:hidden;
color:white;
padding:100px 0 92px;
background:
radial-gradient(circle at 82% 16%, rgba(45,227,159,.22), transparent 30%),
radial-gradient(circle at 18% 82%, rgba(59,226,239,.22), transparent 28%),
linear-gradient(135deg,#051628,#0f3d5e,#0f3d5e);
}

.hero-pattern{
position:absolute;
inset:0;
opacity:.24;
background-image:
linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
background-size:44px 44px;
}

.hero-grid{
position:relative;
display:grid;
grid-template-columns:1.08fr .92fr;
gap:58px;
align-items:center;
}

.kicker{
color:var(--turquoise2);
text-transform:uppercase;
letter-spacing:.13em;
font-weight:900;
font-size:13px;
margin-bottom:15px;
}

.kicker.dark{color:var(--navy2)}

h1,h2,h3{
line-height:1.1;
margin:0 0 18px;
}

h1{
font-size:clamp(42px,6vw,72px);
letter-spacing:-2px;
}

h2{
font-size:clamp(32px,4vw,52px);
}

.hero-copy p{
font-size:20px;
color:rgba(255,255,255,.82);
}

.hero-actions{
display:flex;
gap:14px;
margin-top:32px;
flex-wrap:wrap;
}

.btn{
display:inline-flex;
align-items:center;
justify-content:center;
padding:15px 24px;
border-radius:999px;
font-weight:900;
border:none;
cursor:pointer;
}

.primary{
background:linear-gradient(135deg,var(--turquoise),var(--turquoise2));
color:#052033;
}

.ghost{
border:1px solid rgba(255,255,255,.22);
color:white;
}

.white{
background:white;
color:var(--navy);
}

.hero-tags{
display:flex;
gap:12px;
flex-wrap:wrap;
margin-top:28px;
}

.hero-tags span{
padding:8px 12px;
border-radius:999px;
background:rgba(255,255,255,.07);
border:1px solid rgba(255,255,255,.12);
font-size:13px;
}

.community-card{
border:1px solid rgba(255,255,255,.16);
background:rgba(255,255,255,.11);
border-radius:32px;
padding:30px;
backdrop-filter:blur(18px);
box-shadow:var(--shadow);
}

.post-card{
background:white;
border-radius:24px;
padding:24px;
color:var(--text);
margin-bottom:18px;
}

.badge{
display:inline-block;
background:#eefbff;
color:var(--navy2);
border:1px solid #c8edf5;
padding:6px 10px;
border-radius:999px;
font-size:12px;
font-weight:900;
margin-bottom:14px;
}

.post-card p{
color:var(--muted);
}

.reply-card{
display:grid;
grid-template-columns:48px 1fr;
gap:14px;
background:rgba(255,255,255,.10);
border:1px solid rgba(255,255,255,.12);
border-radius:24px;
padding:18px;
}

.avatar{
width:48px;
height:48px;
border-radius:16px;
display:flex;
align-items:center;
justify-content:center;
background:linear-gradient(135deg,var(--green),var(--turquoise2));
color:#052033;
font-weight:950;
}

.reply-card p{
margin:4px 0 0;
color:rgba(255,255,255,.72);
font-size:14px;
}

.section{
padding:98px 0;
}

.section p{
color:var(--muted);
font-size:18px;
}

.intro{text-align:center}

.dark-section{
background:var(--navy);
color:white;
}

.dark-section p{
color:rgba(255,255,255,.72);
}

.section-head{
text-align:center;
max-width:890px;
margin:auto auto 48px;
}

.category-grid,
.rules-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:22px;
}

.category-card,
.roadmap-card,
.help-card{
background:rgba(255,255,255,.08);
border:1px solid rgba(255,255,255,.10);
border-radius:26px;
padding:28px;
}

.icon{
display:inline-flex;
width:48px;
height:48px;
align-items:center;
justify-content:center;
border-radius:16px;
background:linear-gradient(135deg,var(--turquoise),var(--turquoise2));
color:#052033;
font-weight:950;
margin-bottom:18px;
}

.split{
display:grid;
grid-template-columns:1fr 1fr;
gap:60px;
align-items:center;
}

.verified-panel,
.warning-panel,
.form-panel{
background:white;
border:1px solid var(--border);
border-radius:30px;
padding:34px;
box-shadow:var(--shadow);
}

.verified-row{
display:grid;
grid-template-columns:48px 1fr;
gap:16px;
padding:18px 0;
border-bottom:1px solid #edf3f7;
}

.verified-row:last-child{border-bottom:0}

.verified-row span{
width:44px;
height:44px;
border-radius:14px;
display:flex;
align-items:center;
justify-content:center;
background:linear-gradient(135deg,var(--green),var(--turquoise2));
color:#052033;
font-weight:950;
}

.soft-section{background:var(--soft)}

.rule-card{
background:white;
border:1px solid var(--border);
border-radius:26px;
padding:28px;
box-shadow:0 18px 45px rgba(7,29,51,.07);
}

.roadmap-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:20px;
}

.roadmap-card span{
display:inline-flex;
width:44px;
height:44px;
border-radius:14px;
align-items:center;
justify-content:center;
background:linear-gradient(135deg,var(--turquoise),var(--turquoise2));
color:#052033;
font-weight:950;
margin-bottom:18px;
}

.contact-grid{
display:grid;
grid-template-columns:1.1fr .9fr;
gap:34px;
align-items:start;
}

form{
display:grid;
gap:18px;
margin-top:28px;
}

label{
display:grid;
gap:8px;
font-weight:850;
color:var(--navy);
}

input,
select,
textarea{
width:100%;
border:1px solid #d9e7ef;
border-radius:16px;
padding:15px 16px;
font:inherit;
color:var(--text);
background:#fbfdff;
}

textarea{resize:vertical}

.text-link{
display:inline-block;
margin-top:14px;
color:var(--navy2);
font-weight:900;
}

.faq{
background:var(--soft);
}

details{
background:white;
border:1px solid var(--border);
border-radius:18px;
padding:22px 24px;
margin-bottom:14px;
}

summary{
cursor:pointer;
font-weight:900;
color:var(--navy);
}

.final-cta{
padding:90px 0;
color:white;
background:
radial-gradient(circle at 18% 25%, rgba(59,226,239,.26), transparent 30%),
linear-gradient(135deg,var(--navy),var(--navy2));
}

.final-box{
max-width:840px;
text-align:center;
}

.final-box p{
color:rgba(255,255,255,.78);
font-size:20px;
}

.footer{
background: #f4f8fb;
color:#0f3d5e;
padding:38px 0;
}

.footer-grid{
display:flex;
justify-content:space-between;
gap:30px;
}

.footer-links a{
display:inline-block;
margin-left:18px;
}

@media(max-width:1100px){
.category-grid,
.rules-grid,
.roadmap-grid{
grid-template-columns:repeat(2,1fr);
}
}

@media(max-width:900px){

.menu-btn{display:block}

.menu{
position:absolute;
top:78px;
left:0;
right:0;
background:var(--navy);
display:none;
flex-direction:column;
padding:22px;
}

.menu.open{display:flex}

.hero-grid,
.split,
.contact-grid{
grid-template-columns:1fr;
}

.category-grid,
.rules-grid,
.roadmap-grid{
grid-template-columns:1fr;
}

.footer-grid{
flex-direction:column;
}

.footer-links a{
margin-left:0;
margin-right:18px;
}
}

/* Comunidad PRO/PREMIUM - fase 1 */
main > section:not(.community-hero):not(.community-section):not(.community-access-section):not(.community-board){
display:none !important;
}

body.light-premium-page{
background:#eef5f9;
}

.community-hero{
position:relative;
overflow:hidden;
min-height:72vh;
padding:116px 0 104px;
display:flex;
align-items:center;
color:#ffffff;
background:#06182b;
}

.community-hero-bg{
position:absolute;
inset:0;
background:
linear-gradient(90deg,rgba(1,12,25,.96) 0%,rgba(3,17,32,.90) 28%,rgba(4,18,34,.66) 58%,rgba(4,18,34,.34) 100%),
url("../public/images/comunidad-hipotecaria.webp") center top/cover no-repeat;
opacity:1;
}

.community-hero::after{
content:"";
position:absolute;
inset:0;
background:
radial-gradient(ellipse at 30% 48%,rgba(0,0,0,.42) 0%,rgba(0,0,0,.22) 36%,transparent 64%),
linear-gradient(rgba(255,255,255,.055) 1px,transparent 1px),
linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);
background-size:42px 42px;
opacity:.62;
pointer-events:none;
}

.community-hero-inner{
position:relative;
z-index:1;
display:grid;
grid-template-columns:minmax(0,780px);
align-items:center;
}

.community-hero-copy{
max-width:820px;
}

.community-hero h1{
font-size:clamp(44px,6vw,78px);
letter-spacing:0;
color:#ffffff;
text-shadow:0 5px 18px rgba(0,0,0,.74),0 18px 48px rgba(0,0,0,.42);
}

.community-hero p{
max-width:760px;
font-size:21px;
font-weight:700;
color:#eef8ff;
text-shadow:0 3px 14px rgba(0,0,0,.72);
}

.light-premium-page .community-hero .hero-actions .ghost{
background:rgba(255,255,255,.22) !important;
border-color:rgba(255,255,255,.62) !important;
color:#ffffff !important;
box-shadow:0 18px 38px rgba(0,0,0,.26);
backdrop-filter:blur(10px);
}

.community-hero .primary{
box-shadow:0 20px 42px rgba(0,166,200,.34),0 10px 24px rgba(0,0,0,.24);
}

.community-hero-panel{
display:none;
}

.community-hero-panel img{
width:100%;
height:auto;
object-fit:contain;
display:block;
border-radius:18px;
}

.community-section,
.community-board{
padding:84px 0;
background:#eef5f9;
}

.community-wall-hero{
position:relative;
overflow:hidden;
background:
linear-gradient(180deg,#f8fcff 0%,#eef7fb 100%);
padding:64px 0 20px;
}

.community-wall-hero::before{
content:"";
position:absolute;
inset:0;
pointer-events:none;
background:
radial-gradient(circle at 12% 24%,rgba(0,166,200,.10),transparent 30%),
linear-gradient(115deg,rgba(15,61,94,.05) 0 1px,transparent 1px 42px);
opacity:.72;
}

.community-wall-hero .container{
position:relative;
z-index:1;
}

.community-wall-hero h1{
color:var(--navy);
font-size:clamp(34px,4vw,56px);
letter-spacing:0;
margin-bottom:12px;
}

.community-wall-hero p{
color:var(--muted);
font-size:18px;
margin:0;
max-width:680px;
overflow-wrap:anywhere;
}

.community-role-bar{
display:flex;
align-items:center;
justify-content:space-between;
gap:18px;
margin-bottom:22px;
padding:16px 18px;
border:1px solid rgba(15,61,94,.12);
border-radius:18px;
background:#ffffff;
box-shadow:0 18px 45px rgba(7,29,51,.06);
}

.community-role-bar strong{
color:var(--navy);
font-size:15px;
}

.community-role-bar p{
color:var(--muted);
margin:0;
font-weight:800;
}

.community-board{
position:relative;
overflow:hidden;
background:
radial-gradient(circle at 85% 8%,rgba(0,166,200,.08),transparent 28%),
radial-gradient(circle at 8% 78%,rgba(15,61,94,.055),transparent 30%),
linear-gradient(180deg,#eef7fb 0%,#ffffff 62%,#f7fbfd 100%);
}

.community-board::before{
content:"";
position:absolute;
inset:0;
pointer-events:none;
background-image:
linear-gradient(rgba(15,61,94,.035) 1px,transparent 1px),
linear-gradient(90deg,rgba(15,61,94,.035) 1px,transparent 1px);
background-size:48px 48px;
mask-image:linear-gradient(180deg,rgba(0,0,0,.55),rgba(0,0,0,.10) 72%,transparent 100%);
}

.community-board::after{
content:"";
position:absolute;
right:clamp(24px,7vw,110px);
top:110px;
width:clamp(180px,22vw,320px);
aspect-ratio:1;
border:1px solid rgba(15,61,94,.055);
border-radius:50%;
background:
linear-gradient(90deg,rgba(15,61,94,.055) 1px,transparent 1px),
linear-gradient(rgba(15,61,94,.055) 1px,transparent 1px);
background-size:28px 28px;
opacity:.38;
pointer-events:none;
}

.community-board > .container{
position:relative;
z-index:1;
}

.community-section-head{
max-width:860px;
margin:0 auto 34px;
text-align:center;
}

.community-section-head p{
color:#62778b;
font-size:18px;
}

.community-video-demo{
background:#eef5f9;
padding-top:76px;
}

.community-video-card{
width:100%;
max-width:1180px;
margin:0 auto;
border:1px solid rgba(0,166,200,.22);
border-radius:28px;
padding:10px;
background:linear-gradient(135deg,#ffffff,#edfaff);
box-shadow:0 26px 76px rgba(7,29,51,.13);
overflow:hidden;
}

.community-wall-video,
.community-video-fallback{
display:block;
width:100%;
height:auto;
max-width:100%;
border-radius:20px;
object-fit:contain;
background:#e9f4f8;
}

.community-video-fallback{
display:none;
}

.community-video-card.video-fallback-active .community-video-fallback{
display:block;
}

.community-benefit-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:22px;
}

.community-benefit-card,
.community-access-card{
background:#ffffff;
border:1px solid rgba(15,61,94,.12);
border-radius:22px;
box-shadow:0 20px 54px rgba(7,29,51,.09);
}

.community-benefit-card{
padding:28px;
}

.community-benefit-card span{
display:inline-flex;
width:44px;
height:44px;
align-items:center;
justify-content:center;
border-radius:14px;
background:linear-gradient(135deg,#0f3d5e,#00a6c8);
color:#ffffff;
font-weight:950;
margin-bottom:18px;
}

.community-benefit-card h3,
.community-access-card h2{
color:#0f3d5e;
}

.community-benefit-card p,
.community-access-card p{
color:#61778b;
}

.community-access-section{
padding:32px 0 84px;
background:#eef5f9;
}

.community-access-card{
display:grid;
grid-template-columns:minmax(0,1fr) auto;
gap:28px;
align-items:center;
padding:30px;
background:
linear-gradient(135deg,rgba(255,255,255,.98),rgba(235,249,253,.98));
border-color:rgba(0,166,200,.20);
}

.community-access-actions{
display:flex;
gap:12px;
flex-wrap:wrap;
justify-content:flex-end;
}

.ghost.light{
background:#ffffff !important;
border:1px solid rgba(15,61,94,.16) !important;
color:#0f3d5e !important;
box-shadow:0 14px 32px rgba(7,29,51,.08);
}

.community-access-actions .btn.ghost.light{
background:linear-gradient(135deg,#ffffff,#e9fbff) !important;
border:1px solid rgba(0,166,200,.36) !important;
color:#0f3d5e !important;
box-shadow:0 14px 32px rgba(7,29,51,.09) !important;
text-shadow:none !important;
}

.community-access-actions .btn.ghost.light:hover,
.community-access-actions .btn.ghost.light:focus-visible{
background:#ffffff !important;
border-color:#00a6c8 !important;
color:#0f3d5e !important;
box-shadow:0 18px 40px rgba(0,166,200,.16) !important;
outline:none;
}

.preview-label{
display:inline-flex;
width:max-content;
border-radius:999px;
padding:7px 11px;
background:linear-gradient(135deg,#e9fbff,#bff5ff);
border:1px solid #9ee9f7;
color:#0f3d5e;
font-size:12px;
font-weight:950;
letter-spacing:.04em;
margin-bottom:10px;
}

.role-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
gap:18px;
align-items:stretch;
}

.role-card,
.community-sidebar-card,
.community-composer,
.community-post{
background:white;
border:1px solid rgba(15,61,94,.12);
border-radius:22px;
box-shadow:0 20px 54px rgba(7,29,51,.09);
}

.role-card{
padding:24px;
position:relative;
overflow:hidden;
cursor:pointer;
transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease, opacity .2s ease;
}

.role-card:hover,
.role-card:focus-visible{
transform:translateY(-4px);
border-color:rgba(0,166,200,.34);
box-shadow:0 30px 74px rgba(7,29,51,.14);
outline:none;
}

.role-featured{
border-color:rgba(0,166,200,.36);
box-shadow:0 26px 70px rgba(0,166,200,.18);
}

.role-card h3{
color:#0f3d5e;
margin-top:16px;
font-size:clamp(22px,2vw,28px);
letter-spacing:0;
overflow-wrap:anywhere;
}

.role-card .preview-label{
margin-left:8px;
vertical-align:middle;
}

.plan-price{
margin:4px 0 14px;
color:#0f3d5e;
font-size:clamp(20px,1.7vw,24px);
font-weight:950;
line-height:1.15;
}

.plan-intro{
margin:0 0 16px;
color:#5f7284;
font-size:15px;
font-weight:750;
line-height:1.5;
}

.role-card ul{
margin:18px 0 0;
padding-left:18px;
color:#5f7284;
}

.role-card li{
margin-bottom:9px;
overflow-wrap:anywhere;
}

.plan-state{
display:inline-flex;
margin-left:8px;
border-radius:999px;
padding:6px 10px;
background:#eef8fb;
color:#0f3d5e;
font-size:12px;
font-weight:950;
}

.plan-state:empty{
display:none;
}

.plan-card-cta{
display:none;
margin-top:18px;
border:1px solid rgba(0,166,200,.36);
border-radius:999px;
padding:12px 16px;
background:linear-gradient(135deg,#ffffff,#dff7fc);
color:#0f3d5e;
font:inherit;
font-weight:950;
cursor:pointer;
}

body[data-community-role="free"] .role-card[data-plan-card="free"],
body[data-community-role="pro"] .role-card[data-plan-card="pro"],
body[data-community-role="premium"] .role-card[data-plan-card="premium"]{
border-color:rgba(0,166,200,.42);
box-shadow:0 26px 70px rgba(0,166,200,.16);
}

body[data-community-role="pro"] .role-card[data-plan-card="free"],
body[data-community-role="premium"] .role-card[data-plan-card="free"],
body[data-community-role="premium"] .role-card[data-plan-card="pro"]{
opacity:.68;
}

body[data-community-role="pro"] .role-card[data-plan-card="premium"],
body[data-community-role="premium"] .role-card[data-plan-card="premium"]{
border-color:rgba(0,166,200,.58);
box-shadow:0 34px 88px rgba(0,166,200,.24);
}

body[data-community-role="pro"] .role-card[data-plan-card="premium"]::after,
body[data-community-role="premium"] .role-card[data-plan-card="premium"]::after{
content:"";
position:absolute;
inset:-80px -80px auto auto;
width:190px;
height:190px;
border-radius:50%;
background:rgba(0,166,200,.14);
}

body[data-community-role="pro"] .role-card[data-plan-card="premium"] .plan-card-cta{
display:inline-flex;
}

body[data-community-role="premium"] .role-card[data-plan-card="premium"] .plan-state{
background:linear-gradient(135deg,#0f3d5e,#00a6c8);
color:#ffffff;
}

.role-badge,
.post-category,
.lock-chip{
display:inline-flex;
align-items:center;
width:max-content;
border-radius:999px;
padding:7px 11px;
font-size:12px;
font-weight:950;
letter-spacing:.04em;
}

.role-badge.free,
.lock-chip{
background:#edf4f8;
color:#4f6678;
border:1px solid #d7e5ed;
}

.role-badge.pro{
background:linear-gradient(135deg,#e9fbff,#bff5ff);
color:#0f3d5e;
border:1px solid #9ee9f7;
}

.role-badge.premium{
background:linear-gradient(135deg,#0f3d5e,#00a6c8);
color:white;
border:1px solid rgba(255,255,255,.26);
}

.role-badge.professional{
background:linear-gradient(135deg,#4c1d95,#a855f7);
color:white;
border:1px solid rgba(255,255,255,.26);
}

.role-badge.professional-plus{
background:linear-gradient(135deg,#92400e,#f59e0b);
color:#ffffff;
border:1px solid rgba(255,255,255,.32);
}

.role-card > span.plan-badge.role-badge{
display:inline-flex !important;
align-items:center !important;
width:max-content !important;
max-width:100% !important;
border-radius:999px !important;
padding:7px 11px !important;
font-size:12px !important;
font-weight:950 !important;
letter-spacing:.04em !important;
line-height:normal !important;
text-transform:none !important;
box-shadow:none !important;
}

.role-card > span.plan-badge.role-badge.professional{
background:linear-gradient(135deg,#4c1d95,#a855f7) !important;
background-color:#4c1d95 !important;
background-image:linear-gradient(135deg,#4c1d95,#a855f7) !important;
color:#ffffff !important;
border:1px solid rgba(255,255,255,.26) !important;
}

.role-card > span.plan-badge.role-badge.professional-plus{
background:linear-gradient(135deg,#92400e,#f59e0b) !important;
background-color:#92400e !important;
background-image:linear-gradient(135deg,#92400e,#f59e0b) !important;
color:#ffffff !important;
border:1px solid rgba(255,255,255,.32) !important;
}

@media (max-width: 768px){
.role-card > span.plan-badge.role-badge.professional,
.role-card > span.plan-badge.role-badge.professional-plus{
display:inline-flex !important;
position:relative !important;
top:auto !important;
left:auto !important;
right:auto !important;
z-index:2 !important;
width:max-content !important;
max-width:100% !important;
border-radius:999px !important;
padding:7px 11px !important;
font-size:12px !important;
font-weight:950 !important;
letter-spacing:.04em !important;
line-height:normal !important;
overflow:visible !important;
}
}

.community-layout{
display:grid;
grid-template-columns:290px minmax(0,1fr);
gap:28px;
align-items:start;
}

.community-sidebar{
position:sticky;
top:104px;
}

.community-sidebar-card{
padding:24px;
}

.community-sidebar-card + .community-sidebar-card{
margin-top:18px;
}

.community-sidebar-card h2{
font-size:26px;
}

.community-filter-hint{
color:#61778b;
font-size:14px;
line-height:1.45;
margin:8px 0 0;
}

.community-filters-head,
.community-tags-head{
align-items:flex-start;
display:flex;
gap:14px;
justify-content:space-between;
}

.community-filters-head h2,
.community-tags-head h2{
margin-bottom:0;
}

.community-filter-toggle,
.community-tags-toggle{
border:1px solid rgba(0,166,200,.24);
background:#eef8fb;
border-radius:999px;
color:#0f3d5e;
cursor:pointer;
font:inherit;
font-size:13px;
font-weight:900;
line-height:1.15;
padding:9px 12px;
white-space:nowrap;
}

.community-filter-toggle{
display:none;
}

.community-filter-toggle:hover,
.community-filter-toggle:focus-visible,
.community-tags-toggle:hover,
.community-tags-toggle:focus-visible{
background:#ffffff;
border-color:#00a6c8;
outline:none;
}

.community-filter-list{
display:grid;
gap:10px;
margin-top:18px;
}

.community-filter-list[hidden]{
display:none !important;
}

.category-filter-list[hidden],
.tag-filter-list[hidden],
body.light-premium-page .category-filter-list[hidden],
body.light-premium-page .tag-filter-list[hidden]{
display:none !important;
}

@media(max-width:768px){
.community-filter-toggle{
display:inline-flex;
align-items:center;
justify-content:center;
}
}

.community-filter{
border:1px solid rgba(15,61,94,.13);
background:#f7fbfd;
color:#0f3d5e;
border-radius:14px;
padding:12px 14px;
font:inherit;
font-weight:850;
text-align:left;
cursor:pointer;
}

.tag-filter{
align-items:center;
display:flex;
gap:8px;
justify-content:space-between;
}

.tag-count{
align-items:center;
background:rgba(15,61,94,.09);
border-radius:999px;
display:inline-flex;
font-size:12px;
justify-content:center;
min-width:24px;
padding:2px 7px;
}

.community-filter.active,
.community-filter:hover{
background:linear-gradient(135deg,#0f3d5e,#00a6c8);
color:white;
border-color:transparent;
}

.community-filter.active .tag-count,
.community-filter:hover .tag-count{
background:rgba(255,255,255,.22);
color:white;
}

.community-feed{
display:grid;
gap:18px;
}

.community-composer{
display:flex;
justify-content:space-between;
gap:24px;
align-items:center;
padding:26px;
background:
linear-gradient(135deg,rgba(255,255,255,.94),rgba(238,250,255,.96));
flex-wrap:wrap;
}

.community-composer.locked-feature{
border-color:rgba(15,61,94,.16);
}

.community-composer.locked-feature .community-post-trigger{
filter:saturate(.78);
}

.community-composer.locked-feature .community-post-trigger[aria-disabled="true"]{
cursor:pointer;
opacity:1;
}

.community-composer:not(.locked-feature){
border-color:rgba(0,166,200,.34);
box-shadow:0 26px 70px rgba(0,166,200,.14);
}

.community-composer h2,
.feed-toolbar h2{
font-size:30px;
margin-bottom:8px;
color:#0f3d5e;
}

.community-composer p{
margin:0;
color:#61778b;
}

.community-inline-form{
display:grid;
grid-template-columns:1fr;
gap:14px;
width:100%;
padding-top:22px;
border-top:1px solid #dcebf2;
}

.community-inline-form input,
.community-inline-form select,
.community-inline-form textarea{
width:100%;
border:1px solid #d9e7ef;
border-radius:14px;
padding:13px 14px;
font:inherit;
background:#fbfdff;
color:#163149;
}

.form-message{
margin:0;
padding:12px 14px;
border-radius:14px;
background:#fff6e5;
border:1px solid #ffe0a3;
color:#81540b;
font-weight:850;
}

.community-post-locked{
position:relative;
overflow:hidden;
}

.community-post-locked::after{
content:"";
position:absolute;
inset:auto -30px -50px auto;
width:170px;
height:170px;
border-radius:50%;
background:rgba(0,166,200,.10);
}

.feed-toolbar{
display:flex;
justify-content:space-between;
gap:18px;
align-items:end;
padding:16px 4px 4px;
}

.feed-toolbar span{
border:1px solid rgba(15,61,94,.13);
background:white;
border-radius:999px;
padding:8px 12px;
color:#63788b;
font-size:13px;
font-weight:850;
}

.community-post{
padding:24px;
transition:transform .2s ease, box-shadow .2s ease;
min-width:0;
}

.community-post-detail{
display:block;
}

.community-post-detail:hover{
transform:none;
}

.detail-back-link{
margin-bottom:18px;
width:max-content;
max-width:100%;
}

.community-post-list{
display:grid;
gap:18px;
}

.community-empty{
padding:28px;
border:1px solid rgba(15,61,94,.12);
border-radius:22px;
background:#ffffff;
box-shadow:0 20px 54px rgba(7,29,51,.09);
color:#61778b;
font-weight:900;
text-align:center;
}

.community-tag-notice{
background:#e9fbff;
border:1px solid rgba(0,166,200,.18);
border-radius:999px;
color:#0f3d5e;
display:inline-flex;
font-size:13px;
font-weight:800;
margin:8px 0 0;
padding:7px 12px;
}

.community-post:hover{
transform:translateY(-2px);
box-shadow:0 28px 70px rgba(7,29,51,.13);
}

.post-meta{
display:flex;
flex-wrap:wrap;
gap:10px;
align-items:center;
margin-bottom:14px;
}

.post-category{
background:#eef8fb;
color:#0f3d5e;
border:1px solid #d5edf4;
}

.post-meta time{
color:#708497;
font-size:13px;
font-weight:800;
margin-left:auto;
}

.post-badges,
.post-tags{
display:flex;
flex-wrap:wrap;
gap:8px;
margin-bottom:12px;
}

.post-badges span{
background:#eef9ed;
border:1px solid rgba(23,126,63,.14);
border-radius:999px;
color:#177e3f;
font-size:13px;
font-weight:900;
line-height:1.2;
padding:7px 10px;
}

.post-tags{
margin:16px 0 0;
}

.post-tag-chip{
appearance:none;
background:#f2f7fa;
border:1px solid rgba(15,61,94,.13);
border-radius:999px;
color:#0f3d5e;
cursor:pointer;
font-size:13px;
font-weight:900;
line-height:1.2;
padding:8px 11px;
}

.post-tag-chip:hover,
.post-tag-chip:focus-visible,
.post-tag-chip.active{
background:#0f3d5e;
border-color:#0f3d5e;
color:white;
outline:none;
}

.detail-content{
color:#61778b;
font-size:17px;
line-height:1.7;
white-space:pre-wrap;
overflow-wrap:anywhere;
}

.detail-answers{
border-top:1px solid rgba(15,61,94,.10);
margin-top:24px;
padding-top:22px;
}

.detail-answers h4{
color:#0f3d5e;
font-size:21px;
margin:0 0 14px;
}

.detail-answer-list{
display:grid;
gap:12px;
}

.detail-answer,
.detail-answer-empty{
background:#f7fbfd;
border:1px solid rgba(15,61,94,.10);
border-radius:16px;
padding:16px;
}

.detail-answer.accepted{
background:#f2fbf1;
border-color:rgba(23,126,63,.20);
}

.detail-answer-badge{
background:#ffffff;
border:1px solid rgba(23,126,63,.18);
border-radius:999px;
color:#177e3f;
display:inline-flex;
font-size:13px;
font-weight:900;
margin-bottom:10px;
padding:6px 10px;
}

.detail-community-badge{
background:#eef8fb;
border:1px solid rgba(0,166,200,.18);
border-radius:999px;
color:#0f3d5e;
display:inline-flex;
font-size:12px;
font-weight:900;
margin:0 0 10px 8px;
padding:6px 10px;
}

.detail-answer p{
font-size:16px;
line-height:1.6;
white-space:pre-wrap;
}

.detail-answer footer{
display:flex;
flex-wrap:wrap;
gap:10px;
justify-content:space-between;
margin-top:12px;
color:#708497;
font-size:13px;
font-weight:850;
}

.detail-answer-empty{
color:#61778b;
font-weight:850;
}

.community-post h3{
color:#0f3d5e;
font-size:25px;
margin-bottom:10px;
overflow-wrap:anywhere;
}

.community-post p{
color:#61778b;
font-size:17px;
margin:0;
overflow-wrap:anywhere;
}

.post-footer{
display:flex;
justify-content:space-between;
align-items:center;
gap:16px;
margin-top:20px;
padding-top:18px;
border-top:1px solid #e7f0f5;
color:#6b7f91;
font-weight:850;
}

.post-footer > span{
min-width:0;
overflow-wrap:anywhere;
}

.moderation-row{
display:flex;
flex-wrap:wrap;
gap:8px;
margin-top:18px;
padding:12px;
border:1px solid rgba(15,61,94,.10);
border-radius:16px;
background:#f8fbfd;
}

.moderation-action{
border:1px solid rgba(15,61,94,.14);
background:#ffffff;
color:#0f3d5e;
border-radius:999px;
padding:8px 11px;
font:inherit;
font-size:12px;
font-weight:900;
cursor:pointer;
}

.moderation-action:hover{
border-color:rgba(0,166,200,.42);
background:#eefaff;
}

.moderation-action.danger{
color:#8f1d2c;
border-color:rgba(143,29,44,.18);
background:#fff6f7;
}

.post-status{
display:inline-flex;
align-items:center;
width:max-content;
border-radius:999px;
padding:7px 11px;
font-size:12px;
font-weight:950;
letter-spacing:.04em;
}

.post-status.featured{
background:linear-gradient(135deg,#fff7d7,#dff7fc);
color:#0f3d5e;
border:1px solid rgba(0,166,200,.24);
}

.post-status.reviewed{
background:#eef8fb;
color:#0f3d5e;
border:1px solid #d5edf4;
}

.reaction-row{
display:flex;
flex-wrap:wrap;
gap:9px;
margin-top:18px;
}

.reaction-chip{
border:1px solid rgba(15,61,94,.13);
background:#f6fbfd;
color:#0f3d5e;
border-radius:999px;
padding:8px 12px;
font:inherit;
font-size:13px;
font-weight:900;
cursor:pointer;
}

.reaction-chip span{
display:inline-flex;
align-items:center;
justify-content:center;
min-width:22px;
height:22px;
margin-left:6px;
border-radius:999px;
background:#e8f5fa;
font-size:12px;
}

.reaction-chip.is-active{
background:linear-gradient(135deg,#0f3d5e,#00a6c8);
border-color:transparent;
color:#ffffff;
}

.reaction-chip.is-active span{
background:rgba(255,255,255,.22);
}

.reaction-chip[aria-disabled="true"]{
cursor:not-allowed;
opacity:.66;
}

.community-action{
border:1px solid rgba(15,61,94,.14);
background:#f7fbfd;
color:#0f3d5e;
border-radius:999px;
padding:9px 13px;
font:inherit;
font-size:13px;
font-weight:900;
cursor:pointer;
}

.community-action:hover{
border-color:rgba(0,166,200,.38);
background:#eaf9fd;
}

.community-action.is-active{
background:linear-gradient(135deg,#0f3d5e,#00a6c8);
border-color:transparent;
color:#ffffff;
}

.community-action[aria-disabled="true"]{
cursor:not-allowed;
opacity:.58;
}

.debate-link{
display:inline-flex;
align-items:center;
justify-content:center;
min-height:42px;
border:1px solid rgba(0,166,200,.28);
border-radius:999px;
padding:10px 15px;
background:linear-gradient(135deg,#ffffff,#e8faff);
color:#0f3d5e;
font-weight:950;
box-shadow:0 10px 24px rgba(7,29,51,.07);
}

.debate-link:hover,
.debate-link:focus-visible{
border-color:#00a6c8;
background:#ffffff;
outline:none;
}

.post-actions{
display:flex;
flex-wrap:wrap;
justify-content:flex-end;
gap:10px;
}

.comment-cta{
display:flex;
flex-direction:column;
gap:6px;
min-width:0;
}

.comment-cta small{
color:#61778b;
font-size:12px;
font-weight:800;
line-height:1.35;
max-width:220px;
}

.premium-modal[hidden]{
display:none;
}

.premium-modal{
position:fixed;
inset:0;
z-index:400;
display:grid;
place-items:center;
padding:24px;
}

body.premium-modal-open{
overflow:hidden;
}

.premium-modal-backdrop{
position:absolute;
inset:0;
background:rgba(3,14,27,.66);
backdrop-filter:blur(10px);
}

.premium-modal-dialog{
position:relative;
width:min(560px,100%);
border:1px solid rgba(255,255,255,.22);
border-radius:24px;
padding:34px;
background:
radial-gradient(circle at 18% 0%,rgba(0,166,200,.18),transparent 34%),
linear-gradient(135deg,#ffffff,#eefaff);
box-shadow:0 34px 90px rgba(3,14,27,.34);
color:#0f3d5e;
}

.premium-modal-dialog h2{
font-size:clamp(28px,4vw,40px);
margin-top:16px;
}

.premium-modal-dialog p{
color:#5b7184;
font-size:18px;
margin-bottom:0;
}

.premium-modal-actions{
display:flex;
gap:12px;
flex-wrap:wrap;
margin-top:26px;
}

.premium-modal-actions .is-hidden{
display:none !important;
}

.light-premium-page .premium-modal-actions .ghost{
background:linear-gradient(135deg,#ffffff,#dff7fc) !important;
border-color:rgba(0,166,200,.42) !important;
color:#0f3d5e !important;
box-shadow:0 14px 30px rgba(0,166,200,.13);
}

.light-premium-page .premium-modal-actions .ghost:hover{
background:#ffffff !important;
color:#0f3d5e !important;
border-color:#00a6c8 !important;
}

.delete-modal-actions{
display:flex;
gap:12px;
flex-wrap:wrap;
margin-top:26px;
}

.btn.danger{
background:linear-gradient(135deg,#b8233a,#7e1728);
color:#ffffff;
box-shadow:0 16px 36px rgba(126,23,40,.22);
}

.delete-dialog-panel p{
color:#5b7184;
font-size:18px;
}

.premium-modal-close{
position:absolute;
top:16px;
right:16px;
width:38px;
height:38px;
border:1px solid rgba(15,61,94,.16);
border-radius:999px;
background:#ffffff;
color:#0f3d5e;
font-size:24px;
line-height:1;
cursor:pointer;
}

.community-dialog[hidden]{
display:none;
}

.community-dialog{
position:fixed;
inset:0;
z-index:410;
display:grid;
place-items:center;
padding:24px;
}

.community-dialog-backdrop{
position:absolute;
inset:0;
background:rgba(3,14,27,.66);
backdrop-filter:blur(10px);
}

.community-dialog-panel{
position:relative;
width:min(680px,100%);
max-height:min(82vh,760px);
overflow:auto;
border:1px solid rgba(255,255,255,.22);
border-radius:24px;
padding:34px;
background:#ffffff;
box-shadow:0 34px 90px rgba(3,14,27,.34);
color:#0f3d5e;
}

.debate-dialog-panel{
width:min(880px,100%);
}

.community-dialog-panel h2{
font-size:clamp(28px,4vw,42px);
}

.community-comment-form{
display:grid;
gap:14px;
margin-top:22px;
}

.community-comment-form textarea{
width:100%;
border:1px solid #d9e7ef;
border-radius:14px;
padding:13px 14px;
font:inherit;
color:#163149;
background:#fbfdff;
}

.debate-stats{
display:flex;
gap:10px;
flex-wrap:wrap;
margin:18px 0;
}

.debate-stats span,
.debate-cta{
border:1px solid rgba(15,61,94,.12);
background:#eef8fb;
border-radius:999px;
padding:9px 13px;
color:#0f3d5e;
font-weight:900;
}

.debate-cta{
display:inline-flex;
align-items:center;
justify-content:center;
margin-top:20px;
border-color:rgba(0,166,200,.26);
cursor:pointer;
}

@media(max-width:640px){
.community-role-bar{
align-items:flex-start;
flex-direction:column;
}

.premium-modal{
padding:16px;
}

.premium-modal-dialog{
padding:28px 22px;
}

.premium-modal-actions .btn{
width:100%;
}
}

@media(max-width:980px){
.community-hero-inner,
.role-grid,
.community-benefit-grid,
.community-access-card,
.community-layout{
grid-template-columns:1fr;
}

.community-access-actions{
justify-content:flex-start;
}

.community-sidebar{
position:static;
}

.community-filter-list{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(132px,1fr));
gap:10px;
overflow:visible;
padding-bottom:0;
}

.community-filter{
min-width:0;
white-space:normal;
text-align:center;
overflow-wrap:anywhere;
}
}

@media(max-width:640px){
.container{
width:min(1180px,calc(100% - 24px));
}

.community-wall-hero{
padding:44px 0 12px;
}

.community-wall-hero h1{
font-size:34px;
}

.community-wall-hero p{
font-size:16px;
}

.community-role-bar{
padding:14px;
border-radius:16px;
}

.community-hero{
padding:76px 0 60px;
}

.community-hero h1{
font-size:42px;
}

.community-hero p{
font-size:18px;
}

.community-section,
.community-board{
padding:42px 0;
}

.community-layout{
gap:16px;
}

.community-sidebar-card{
padding:16px;
border-radius:18px;
}

.community-sidebar-card h2{
font-size:22px;
margin-bottom:8px;
}

.community-filters-head,
.community-tags-head{
align-items:flex-start;
gap:10px;
}

.community-filter-toggle,
.community-tags-toggle{
display:inline-flex;
align-items:center;
justify-content:center;
font-size:12px;
padding:8px 10px;
}

.community-filters-head h2,
.community-tags-head h2{
margin-bottom:0;
}

.community-filter-list{
grid-template-columns:repeat(2,minmax(0,1fr));
gap:8px;
margin-top:12px;
}

.community-filter{
padding:10px 8px;
border-radius:12px;
font-size:14px;
}

.community-composer,
.feed-toolbar,
.post-footer{
align-items:stretch;
flex-direction:column;
}

.community-composer .btn,
.hero-actions .btn{
width:100%;
}

.community-feed{
gap:14px;
}

.feed-toolbar{
gap:8px;
padding:6px 0 0;
}

.feed-toolbar h2{
font-size:25px;
}

.feed-toolbar span{
width:100%;
text-align:center;
}

.community-post-list{
gap:14px;
}

.community-post{
padding:18px 16px;
border-radius:18px;
}

.community-post h3{
font-size:21px;
line-height:1.18;
}

.community-post p{
font-size:15px;
line-height:1.55;
}

.post-meta time{
margin-left:0;
width:100%;
}

.post-category{
max-width:100%;
white-space:normal;
overflow-wrap:anywhere;
}

.post-footer{
gap:10px;
margin-top:16px;
padding-top:14px;
}

.post-actions{
width:100%;
flex-direction:column;
align-items:stretch;
justify-content:flex-start;
}

.post-actions .debate-link{
width:100%;
min-height:44px;
}

.community-access-section{
padding:18px 0 42px;
}

.community-access-card{
gap:16px;
padding:18px 16px;
border-radius:18px;
}

.community-access-card h2{
font-size:24px;
margin-bottom:10px;
}

.community-access-card p{
font-size:15px;
line-height:1.5;
margin:0;
}

.community-access-actions{
width:100%;
gap:10px;
}

.community-access-actions .btn{
width:100%;
padding:12px 16px;
}
}

/* Reparacion overflow comunidad: scoped a esta pagina */
html,
body.light-premium-page{
max-width:100%;
overflow-x:hidden;
}

body.light-premium-page .community-hero,
body.light-premium-page .community-section,
body.light-premium-page .community-board,
body.light-premium-page .community-access-section{
max-width:100%;
overflow-x:hidden;
}

body.light-premium-page .container,
body.light-premium-page .narrow,
body.light-premium-page .community-layout,
body.light-premium-page .community-feed,
body.light-premium-page .community-composer,
body.light-premium-page .community-post,
body.light-premium-page .community-access-card{
max-width:100%;
min-width:0;
}

body.light-premium-page .community-composer::after,
body.light-premium-page .community-post-locked::after{
right:0;
max-width:42vw;
}

body.light-premium-page .community-hero-bg,
body.light-premium-page .community-hero::after{
max-width:100%;
overflow:hidden;
}

@media (max-width: 768px) {
  .community-layout,
  .community-wall-layout,
  .community-grid {
    display: block !important;
    width: 100% !important;
  }

  .category-list,
  .community-categories,
  .filters-list,
  .community-filter-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    overflow: visible !important;
    white-space: normal !important;
  }

  .category-list button,
  .community-categories button,
  .filters-list button,
  .community-filter-list button,
  .community-filter {
    flex: 0 1 auto !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  .debate-card,
  .community-post-card,
  .community-post,
  article {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-wrap: anywhere !important;
  }

  .debate-actions,
  .post-actions,
  .community-card-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    align-items: stretch !important;
    width: 100% !important;
  }

  .debate-actions a,
  .post-actions a,
  .community-card-actions a,
  .post-actions .debate-link,
  .debate-link {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 12px 14px !important;
    border-radius: 999px !important;
    background: #0077b6 !important;
    color: white !important;
    text-decoration: none !important;
    font-weight: 700 !important;
  }

  body {
    overflow-x: hidden !important;
  }
}

@media (max-width: 768px) {
  body.light-premium-page .community-layout {
    display: block !important;
    width: 100% !important;
  }

  body.light-premium-page .community-sidebar,
  body.light-premium-page .community-feed {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.light-premium-page .community-sidebar-card {
    width: 100% !important;
    padding: 16px !important;
    overflow: visible !important;
  }

  body.light-premium-page .community-filter-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    overflow: visible !important;
  }

  body.light-premium-page .community-filter {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 10px 8px !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    text-align: center !important;
  }

  body.light-premium-page .community-post {
    width: 100% !important;
    max-width: 100% !important;
    padding: 18px 16px !important;
    overflow: visible !important;
  }

  body.light-premium-page .post-footer {
    display: block !important;
  }

  body.light-premium-page .post-footer > span {
    display: block !important;
    margin-bottom: 12px !important;
  }

  body.light-premium-page .post-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100% !important;
  }

  body.light-premium-page .post-actions .debate-link,
  body.light-premium-page .debate-link {
    display: block !important;
    width: 100% !important;
    min-height: 44px !important;
    padding: 12px 14px !important;
    text-align: center !important;
    border-radius: 999px !important;
    background: #0077b6 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    text-decoration: none !important;
  }

  body.light-premium-page .community-access-card {
    padding: 18px 16px !important;
  }

  body.light-premium-page .community-access-card h2 {
    font-size: 23px !important;
    line-height: 1.12 !important;
  }

  body.light-premium-page .community-access-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }

  body.light-premium-page .community-access-actions .btn {
    width: 100% !important;
  }
@media (max-width: 768px) {
  body.light-premium-page .community-layout {
    display: block !important;
    width: 100% !important;
  }

  body.light-premium-page .community-sidebar,
  body.light-premium-page .community-feed {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.light-premium-page .community-sidebar-card {
    width: 100% !important;
    padding: 16px !important;
    overflow: visible !important;
  }

  body.light-premium-page .community-filter-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    overflow: visible !important;
  }

  body.light-premium-page .community-filter {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 10px 8px !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    text-align: center !important;
  }

  body.light-premium-page .community-post {
    width: 100% !important;
    max-width: 100% !important;
    padding: 18px 16px !important;
    overflow: visible !important;
  }

  body.light-premium-page .post-footer {
    display: block !important;
  }

  body.light-premium-page .post-footer > span {
    display: block !important;
    margin-bottom: 12px !important;
  }

  body.light-premium-page .post-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100% !important;
  }

  body.light-premium-page .post-actions .debate-link,
  body.light-premium-page .debate-link {
    display: block !important;
    width: 100% !important;
    min-height: 44px !important;
    padding: 12px 14px !important;
    text-align: center !important;
    border-radius: 999px !important;
    background: #0077b6 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    text-decoration: none !important;
  }

  body.light-premium-page .community-access-card {
    padding: 18px 16px !important;
  }

  body.light-premium-page .community-access-card h2 {
    font-size: 23px !important;
    line-height: 1.12 !important;
  }

  body.light-premium-page .community-access-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }

  body.light-premium-page .community-access-actions .btn {
    width: 100% !important;
  }
}

body.light-premium-page .category-filter-list[hidden],
body.light-premium-page .tag-filter-list[hidden] {
  display: none !important;
}

@media (max-width: 768px) {
  body.light-premium-page .category-filter-list[hidden],
  body.light-premium-page .tag-filter-list[hidden] {
    display: none !important;
  }
}

[hidden],
.is-collapsed,
.community-filter-list[hidden],
.category-filter-list[hidden],
.tag-filter-list[hidden],
.community-filter-list.is-collapsed,
.category-filter-list.is-collapsed,
.tag-filter-list.is-collapsed,
body.light-premium-page .community-filter-list[hidden],
body.light-premium-page .category-filter-list[hidden],
body.light-premium-page .tag-filter-list[hidden],
body.light-premium-page .community-filter-list.is-collapsed,
body.light-premium-page .category-filter-list.is-collapsed,
body.light-premium-page .tag-filter-list.is-collapsed {
  display: none !important;
}

.community-post .post-actions{
gap:12px !important;
}

.community-post .post-actions .debate-link{
margin:0 !important;
}

.community-post .post-actions .debate-link-primary{
background:#0077b6 !important;
border-color:#0077b6 !important;
color:#ffffff !important;
box-shadow:0 12px 26px rgba(0,119,182,.18);
}

.community-post .post-actions .debate-link-secondary{
background:#ffffff !important;
border-color:rgba(0,119,182,.42) !important;
color:#0077b6 !important;
box-shadow:none !important;
}

.community-post .post-actions .debate-link-secondary:hover,
.community-post .post-actions .debate-link-secondary:focus-visible{
background:#eef8fb !important;
border-color:#0077b6 !important;
color:#005f93 !important;
}

@media (max-width: 768px) {
  .community-post .post-actions{
    gap:12px !important;
  }

  .community-post .post-actions .debate-link + .debate-link{
    margin-top:2px !important;
  }
}

@media (max-width: 768px) {
  body.light-premium-page .community-post .post-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    align-items: stretch !important;
    width: 100% !important;
  }

  body.light-premium-page .community-post .post-actions .debate-link {
    display: flex !important;
    width: 100% !important;
    margin: 0 !important;
  }

  body.light-premium-page .community-post .post-actions .debate-link-primary {
    background: #0077b6 !important;
    border-color: #0077b6 !important;
    color: #ffffff !important;
  }

  body.light-premium-page .community-post .post-actions .debate-link-secondary {
    background: #ffffff !important;
    border: 1px solid #0077b6 !important;
    color: #0077b6 !important;
    box-shadow: none !important;
  }
}

@media (max-width: 768px) {
  body.light-premium-page main .community-board .community-feed .community-post .post-footer .post-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    row-gap: 12px !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    width: 100% !important;
  }

  body.light-premium-page main .community-board .community-feed .community-post .post-footer .post-actions > a.debate-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 44px !important;
    margin: 0 !important;
    border-radius: 999px !important;
    text-align: center !important;
    text-decoration: none !important;
  }

  body.light-premium-page main .community-board .community-feed .community-post .post-footer .post-actions > .comment-cta {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    width: 100% !important;
    margin-top: 12px !important;
  }

  body.light-premium-page main .community-board .community-feed .community-post .post-footer .post-actions > .comment-cta > a.debate-link.debate-link-secondary {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 44px !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    border: 2px solid #0077b6 !important;
    color: #0077b6 !important;
    box-shadow: none !important;
    margin-top: 0 !important;
  }

  body.light-premium-page main .community-board .community-feed .community-post .post-footer .post-actions > .comment-cta > small {
    max-width: none !important;
    text-align: center !important;
  }

  body.light-premium-page main .community-board .community-feed .community-post .post-footer .post-actions > a.debate-link.debate-link-primary {
    background: #0077b6 !important;
    background-color: #0077b6 !important;
    background-image: none !important;
    border: 2px solid #0077b6 !important;
    color: #ffffff !important;
  }

  body.light-premium-page main .community-board .community-feed .community-post .post-footer .post-actions > a.debate-link.debate-link-secondary {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    border: 2px solid #0077b6 !important;
    color: #0077b6 !important;
    box-shadow: none !important;
    margin-top: 12px !important;
  }
}
