/* ============================================================
   Adecua — Blog Article Shared CSS
   ============================================================ */
:root {
    --c-orange: #F05A28; --c-red: #E8002D; --c-amber: #FF9A3C;
    --c-dark: #1A1F38; --c-darker: #0D1121;
    --c-white: #FFFFFF; --c-light: #F8F9FC;
    --c-gray-100: #F3F4F6; --c-gray-200: #E5E7EB;
    --c-gray-400: #9CA3AF; --c-gray-600: #6B7280;
    --c-text: #1F2937; --c-text-mid: #4B5563;
    --g-brand: linear-gradient(135deg,#FF9A3C 0%,#F05A28 55%,#E8002D 100%);
    --g-dark:  linear-gradient(135deg,#1A1F38 0%,#0D1121 100%);
    --sh-md: 0 4px 20px rgba(0,0,0,.10);
    --sh-lg: 0 8px 40px rgba(0,0,0,.14);
    --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-full: 9999px;
    --tr: all .28s cubic-bezier(.4,0,.2,1);
    --f-body: 'Inter', sans-serif; --f-heading: 'Poppins', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--f-body); color: var(--c-text); background: var(--c-white); line-height: 1.6; overflow-x: hidden; }
img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; color: inherit; transition: var(--tr); }
ul   { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
p { color: var(--c-text-mid); }
.text-gradient { background: var(--g-brand); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Header */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,.96); backdrop-filter: blur(24px); box-shadow: var(--sh-md); padding: 14px 0; }
.hdr__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.hdr__logo img { height: 34px; }
.hdr__back { display: flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; color: var(--c-gray-600); }
.hdr__back:hover { color: var(--c-orange); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: var(--r-sm); font-weight: 600; font-size: .88rem; transition: var(--tr); white-space: nowrap; }
.btn--primary { background: var(--g-brand); color: var(--c-white); box-shadow: 0 6px 24px rgba(240,90,40,.28); }
.btn--primary:hover { transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--c-orange); border: 2px solid var(--c-orange); }
.btn--outline:hover { background: var(--c-orange); color: var(--c-white); }

/* Article Hero */
.art-hero {
    background: var(--g-dark); padding: 130px 0 64px;
    position: relative; overflow: hidden;
}
.art-hero::before {
    content: ''; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
    background-size: 56px 56px;
}
.art-hero__blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .10; }
.art-hero__blob--a { width: 500px; height: 500px; background: var(--c-orange); top: -150px; right: -100px; }
.art-hero__blob--b { width: 350px; height: 350px; background: var(--c-red); bottom: -100px; left: -80px; }
.art-hero__inner { position: relative; z-index: 2; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: .80rem; color: rgba(255,255,255,.45); flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,.55); }
.breadcrumb a:hover { color: var(--c-orange); }
.breadcrumb i { font-size: .65rem; }
.art-cat {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--g-brand); color: var(--c-white);
    font-size: .72rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
    padding: 4px 12px; border-radius: var(--r-full); margin-bottom: 16px;
}
.art-hero h1 { color: var(--c-white); font-size: clamp(1.8rem,4vw,3rem); max-width: 840px; margin-bottom: 20px; line-height: 1.2; }
.art-meta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.art-meta__item { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,.55); font-size: .82rem; }
.art-meta__item i { color: var(--c-orange); font-size: .78rem; }
.art-meta__author { display: flex; align-items: center; gap: 10px; }
.art-meta__av { width: 34px; height: 34px; border-radius: 50%; background: var(--g-brand); display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--c-white); font-size: .78rem; font-family: var(--f-heading); }

/* Layout */
.art-layout { display: grid; grid-template-columns: 1fr 320px; gap: 56px; padding: 56px 0 96px; }

/* Article body */
.art-body { min-width: 0; }
.art-body h2 { font-family: var(--f-heading); font-size: 1.5rem; font-weight: 700; color: var(--c-text); margin: 40px 0 14px; line-height: 1.3; }
.art-body h3 { font-family: var(--f-heading); font-size: 1.15rem; font-weight: 700; color: var(--c-text); margin: 28px 0 10px; }
.art-body p  { color: var(--c-text-mid); font-size: .97rem; line-height: 1.82; margin-bottom: 18px; }
.art-body p:first-child { font-size: 1.08rem; color: var(--c-text); line-height: 1.78; }
.art-body ul, .art-body ol { margin: 16px 0 20px 20px; display: flex; flex-direction: column; gap: 10px; }
.art-body ul { list-style: none; margin-left: 0; }
.art-body ul li { display: flex; gap: 12px; align-items: flex-start; color: var(--c-text-mid); font-size: .95rem; line-height: 1.65; }
.art-body ul li::before { content: ''; width: 7px; height: 7px; background: var(--g-brand); border-radius: 50%; flex-shrink: 0; margin-top: 8px; }
.art-body ol { list-style: none; margin-left: 0; counter-reset: item; }
.art-body ol li { display: flex; gap: 14px; align-items: flex-start; color: var(--c-text-mid); font-size: .95rem; line-height: 1.65; counter-increment: item; }
.art-body ol li::before { content: counter(item); min-width: 28px; height: 28px; background: var(--g-brand); color: var(--c-white); font-weight: 800; font-size: .78rem; font-family: var(--f-heading); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.art-body strong { color: var(--c-text); font-weight: 700; }
.art-body a { color: var(--c-orange); font-weight: 600; border-bottom: 1px solid rgba(240,90,40,.3); }
.art-body a:hover { border-bottom-color: var(--c-orange); }
.art-body hr { border: none; border-top: 2px solid var(--c-gray-200); margin: 40px 0; }

/* Callout boxes */
.callout {
    border-radius: var(--r-md); padding: 22px 24px;
    margin: 28px 0; display: flex; gap: 16px; align-items: flex-start;
}
.callout--info    { background: rgba(59,130,246,.07);  border-left: 4px solid #3B82F6; }
.callout--warning { background: rgba(245,158,11,.07);  border-left: 4px solid #F59E0B; }
.callout--danger  { background: rgba(239,68,68,.07);   border-left: 4px solid #EF4444; }
.callout--success { background: rgba(34,197,94,.07);   border-left: 4px solid #22C55E; }
.callout--brand   { background: rgba(240,90,40,.07);   border-left: 4px solid var(--c-orange); }
.callout__ico { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.callout--info    .callout__ico { color: #3B82F6; }
.callout--warning .callout__ico { color: #F59E0B; }
.callout--danger  .callout__ico { color: #EF4444; }
.callout--success .callout__ico { color: #22C55E; }
.callout--brand   .callout__ico { color: var(--c-orange); }
.callout__title { font-weight: 700; color: var(--c-text); font-size: .95rem; margin-bottom: 5px; }
.callout p { margin: 0; font-size: .90rem; line-height: 1.65; }

/* Highlight box */
.highlight-box {
    background: var(--g-dark); border-radius: var(--r-lg);
    padding: 32px; margin: 36px 0; position: relative; overflow: hidden;
}
.highlight-box::before { content: ''; position: absolute; inset: 0; background: var(--g-brand); opacity: .08; }
.highlight-box > * { position: relative; z-index: 1; }
.highlight-box h3 { color: var(--c-white); font-size: 1.1rem; margin-bottom: 14px; }
.highlight-box ul { margin: 0; gap: 8px; }
.highlight-box ul li { color: rgba(255,255,255,.75); font-size: .90rem; }
.highlight-box ul li::before { background: var(--g-brand); }

/* Numbered steps */
.steps { display: flex; flex-direction: column; gap: 0; margin: 28px 0; }
.step { display: flex; gap: 20px; position: relative; padding-bottom: 28px; }
.step:last-child { padding-bottom: 0; }
.step:not(:last-child)::after { content: ''; position: absolute; left: 19px; top: 40px; width: 2px; height: calc(100% - 40px); background: var(--c-gray-200); }
.step__num { width: 40px; height: 40px; flex-shrink: 0; background: var(--g-brand); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--c-white); font-size: .90rem; font-family: var(--f-heading); position: relative; z-index: 1; }
.step__content h4 { font-family: var(--f-heading); font-size: 1rem; font-weight: 700; color: var(--c-text); margin-bottom: 6px; margin-top: 8px; }
.step__content p { font-size: .90rem; }

/* Table */
.art-table-wrap { overflow-x: auto; margin: 28px 0; border-radius: var(--r-md); border: 1.5px solid var(--c-gray-200); }
.art-table { width: 100%; border-collapse: collapse; }
.art-table th { background: var(--g-dark); color: var(--c-white); font-family: var(--f-heading); font-size: .84rem; font-weight: 700; padding: 14px 16px; text-align: left; }
.art-table td { padding: 12px 16px; font-size: .88rem; color: var(--c-text-mid); border-bottom: 1px solid var(--c-gray-200); vertical-align: top; }
.art-table tr:last-child td { border-bottom: none; }
.art-table tr:nth-child(even) td { background: var(--c-gray-100); }
.art-table td:first-child { font-weight: 600; color: var(--c-text); }

/* In-article CTA */
.art-cta {
    background: var(--g-brand); border-radius: var(--r-lg);
    padding: 32px; text-align: center; margin: 40px 0;
}
.art-cta h3 { color: var(--c-white); font-size: 1.2rem; margin-bottom: 8px; }
.art-cta p  { color: rgba(255,255,255,.82); font-size: .90rem; margin-bottom: 18px; }
.art-cta .btn { background: var(--c-white); color: var(--c-orange); font-weight: 700; }
.art-cta .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.18); }

/* Author bio */
.author-bio {
    display: flex; gap: 20px; align-items: flex-start;
    background: var(--c-light); border: 1.5px solid var(--c-gray-200);
    border-radius: var(--r-lg); padding: 28px; margin-top: 48px;
}
.author-bio__av { width: 64px; height: 64px; flex-shrink: 0; background: var(--g-brand); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--c-white); font-size: 1.4rem; font-family: var(--f-heading); }
.author-bio__name { font-family: var(--f-heading); font-weight: 700; color: var(--c-text); margin-bottom: 4px; }
.author-bio__role { font-size: .80rem; color: var(--c-orange); font-weight: 600; margin-bottom: 8px; }
.author-bio p { font-size: .88rem; margin: 0; }

/* Tags section */
.art-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; padding-top: 28px; border-top: 2px solid var(--c-gray-200); }
.art-tag { padding: 5px 13px; border-radius: var(--r-full); border: 1.5px solid var(--c-gray-200); font-size: .78rem; font-weight: 600; color: var(--c-gray-600); transition: var(--tr); }
.art-tag:hover { background: var(--g-brand); color: var(--c-white); border-color: transparent; }

/* Share buttons */
.art-share { display: flex; align-items: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.art-share__label { font-size: .82rem; font-weight: 700; color: var(--c-gray-600); }
.art-share__btn { width: 38px; height: 38px; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; font-size: .95rem; transition: var(--tr); }
.art-share__btn--li { background: #0A66C2; color: var(--c-white); }
.art-share__btn--tw { background: #1DA1F2; color: var(--c-white); }
.art-share__btn--wa { background: #25D366; color: var(--c-white); }
.art-share__btn--cp { background: var(--c-gray-200); color: var(--c-text); }
.art-share__btn:hover { transform: translateY(-2px); opacity: .88; }

/* Sidebar */
.art-sidebar { display: flex; flex-direction: column; gap: 22px; }
.sw { background: var(--c-white); border: 1.5px solid var(--c-gray-200); border-radius: var(--r-lg); padding: 22px; overflow: hidden; }
.sw__title { font-family: var(--f-heading); font-size: .95rem; font-weight: 700; color: var(--c-text); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--c-gray-200); display: flex; align-items: center; gap: 8px; }
.sw__title i { color: var(--c-orange); font-size: .85rem; }
.sw--dark { background: var(--g-dark); border-color: transparent; }
.sw--dark .sw__title { color: var(--c-white); border-color: rgba(255,255,255,.1); }
.sw--dark p { color: rgba(255,255,255,.6); }
.sw--brand { background: var(--g-brand); border-color: transparent; text-align: center; }
.sw--brand .sw__title { color: var(--c-white); border-color: rgba(255,255,255,.2); justify-content: center; }
.sw--brand p { color: rgba(255,255,255,.82); margin-bottom: 14px; font-size: .86rem; }
.sw--brand .btn { background: var(--c-white); color: var(--c-orange); font-weight: 700; width: 100%; justify-content: center; }

/* Sidebar TOC */
.toc { display: flex; flex-direction: column; gap: 4px; }
.toc a { font-size: .84rem; color: var(--c-text-mid); padding: 7px 10px; border-radius: var(--r-sm); border-left: 3px solid transparent; transition: var(--tr); display: block; }
.toc a:hover, .toc a.active { color: var(--c-orange); border-left-color: var(--c-orange); background: rgba(240,90,40,.05); font-weight: 600; }

/* Sidebar related */
.sw-related { display: flex; flex-direction: column; gap: 14px; }
.sw-rel-item { display: flex; gap: 12px; align-items: flex-start; }
.sw-rel-img { width: 56px; height: 56px; flex-shrink: 0; background: var(--g-dark); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: rgba(255,255,255,.25); }
.sw-rel-title { font-size: .83rem; font-weight: 600; color: var(--c-text); line-height: 1.35; display: block; }
.sw-rel-title:hover { color: var(--c-orange); }
.sw-rel-date { font-size: .74rem; color: var(--c-gray-400); margin-top: 3px; display: block; }

/* Sidebar newsletter */
.sw-nl-form { display: flex; flex-direction: column; gap: 9px; margin-top: 4px; }
.sw-nl-form input { padding: 10px 13px; border: 1.5px solid rgba(255,255,255,.12); border-radius: var(--r-sm); background: rgba(255,255,255,.07); color: var(--c-white); font-family: var(--f-body); font-size: .86rem; outline: none; }
.sw-nl-form input::placeholder { color: rgba(255,255,255,.35); }
.sw-nl-form input:focus { border-color: var(--c-orange); }
.sw-nl-form button { padding: 10px; background: var(--g-brand); color: var(--c-white); border-radius: var(--r-sm); font-weight: 700; font-size: .86rem; cursor: pointer; }

/* Related articles grid */
.related-section { padding: 56px 0 80px; border-top: 2px solid var(--c-gray-200); }
.related-section h2 { font-family: var(--f-heading); font-size: 1.5rem; margin-bottom: 36px; color: var(--c-text); }
.related-section h2 span { background: var(--g-brand); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.rel-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.rel-card { background: var(--c-white); border: 1.5px solid var(--c-gray-200); border-radius: var(--r-lg); overflow: hidden; transition: var(--tr); display: flex; flex-direction: column; }
.rel-card:hover { box-shadow: var(--sh-lg); border-color: transparent; transform: translateY(-4px); }
.rel-card__img { height: 160px; background: var(--g-dark); display: flex; align-items: center; justify-content: center; font-size: 3rem; color: rgba(255,255,255,.18); position: relative; }
.rel-card__cat { position: absolute; bottom: 10px; left: 10px; background: var(--g-brand); color: var(--c-white); font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 3px 10px; border-radius: var(--r-full); }
.rel-card__body { padding: 18px; flex: 1; }
.rel-card h3 { font-size: .95rem; color: var(--c-text); line-height: 1.4; margin-bottom: 6px; }
.rel-card h3 a:hover { color: var(--c-orange); }
.rel-card p { font-size: .82rem; line-height: 1.6; }

/* Footer mini */
.footer-mini { background: var(--c-darker); color: rgba(255,255,255,.4); padding: 22px 0; text-align: center; font-size: .80rem; }
.footer-mini a { color: rgba(255,255,255,.5); }
.footer-mini a:hover { color: var(--c-orange); }

/* Floating buttons */
.wa-float { position: fixed; bottom: 90px; right: 26px; width: 50px; height: 50px; background: #25D366; color: var(--c-white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; box-shadow: 0 4px 20px rgba(37,211,102,.4); z-index: 200; transition: var(--tr); }
.wa-float:hover { transform: scale(1.1); }
.scroll-top { position: fixed; bottom: 26px; right: 26px; width: 44px; height: 44px; background: var(--g-brand); color: var(--c-white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .95rem; box-shadow: 0 4px 18px rgba(240,90,40,.3); z-index: 200; opacity: 0; pointer-events: none; transition: var(--tr); }
.scroll-top.show { opacity: 1; pointer-events: all; }

/* Responsive */
@media (max-width: 1024px) { .art-layout { grid-template-columns: 1fr; } .rel-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width:  640px) { .rel-grid { grid-template-columns: 1fr; } .art-hero h1 { font-size: 1.6rem; } }
