/*
Theme Name: GoldCredit 2026
Description: GoldCredit.lv atsevišķa CPX salīdzinātāja tēma.
Version: 1.0.0
Requires PHP: 8.1
*/
:root{--gc-forest:#18251e;--gc-dark:#111c17;--gc-ink:#24312a;--gc-gold:#d5ad56;--gc-gold-dark:#8a6829;--gc-cream:#f7f4ec;--gc-border:#dedbd0;--gc-muted:#58665b}
*{box-sizing:border-box}html{scroll-behavior:smooth}body.gc-site{margin:0;background:var(--gc-cream);color:var(--gc-ink);font:16px/1.62 system-ui,-apple-system,"Segoe UI",sans-serif;overflow-x:hidden}
.gc-site a{color:inherit}.gc-wrap{width:min(1190px,calc(100% - 48px));margin:auto}
.gc-skip{position:absolute;top:-100px;left:12px;background:white;padding:12px;z-index:9999}.gc-skip:focus{top:12px}
.gc-top{background:var(--gc-dark);color:#d7dfce;font-size:11px;letter-spacing:.08em}.gc-top .gc-wrap{min-height:31px;display:flex;align-items:center;justify-content:space-between;gap:12px}.gc-top-star{color:var(--gc-gold);margin:0 3px}
.gc-header{background:#fff;position:relative;z-index:20;box-shadow:0 1px 0 #dedbd0}
.gc-header-inner{display:flex;justify-content:space-between;align-items:center;min-height:76px;gap:20px}
.gc-brand{display:inline-flex;align-items:center;gap:11px;white-space:nowrap;text-decoration:none;font-size:24px;font-weight:850;line-height:1;letter-spacing:-.055em}.gc-brand-icon{width:46px;height:46px;flex:none}.gc-brand>span>span{color:var(--gc-gold-dark)}.gc-brand small{font-size:15px;font-weight:750;letter-spacing:-.03em}
.gc-menu{display:flex;align-items:center;gap:27px}.gc-menu a{text-decoration:none;font-size:14px;font-weight:750}.gc-menu a:hover,.gc-menu a:focus-visible{color:#73551d}.gc-menu-button{display:none}
.gc-hero{position:relative;overflow:hidden;color:#f9f9f4;background:radial-gradient(circle at 78% 28%,#405039 0,transparent 42%),linear-gradient(122deg,#14251c 0,#24392b 54%,#18251e 100%)}.gc-hero:after{content:"";position:absolute;bottom:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#705623,#d5ad56,#f5d991,#a47631)}
.gc-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.78fr);min-height:356px;gap:28px;align-items:center;padding-top:42px;padding-bottom:43px}
.gc-eyebrow,.gc-label{color:#926a25;text-transform:uppercase;letter-spacing:.15em;font-size:12px;font-weight:850}.gc-eyebrow{display:flex;gap:11px;align-items:center;margin:0;color:#f0d28a}.gc-eyebrow span{width:28px;height:2px;background:currentColor}
.gc-hero h1{max-width:680px;font-size:clamp(38px,4.6vw,59px);line-height:1.07;letter-spacing:-.055em;margin:16px 0 18px}.gc-hero h1 em{font-style:normal;color:#efd093}
.gc-hero-description{max-width:560px;font-size:16px;color:#e3e9dc;margin:0 0 24px}
.gc-hero-button{display:inline-flex;align-items:center;justify-content:space-between;gap:25px;padding:12px 21px;min-height:50px;border-radius:8px;background:var(--gc-gold);color:#1d271e!important;text-decoration:none;font-weight:850;box-shadow:0 8px 25px #0d170e40}.gc-hero-button:hover{background:#f0cb79}.gc-hero-button span{font-size:20px;line-height:1}
.gc-hero-trust{display:flex;flex-wrap:wrap;gap:8px 18px;color:#e4e5d7;margin-top:20px;font-size:12px;font-weight:650}
.gc-hero-art{position:relative;min-height:286px;display:grid;place-items:center;isolation:isolate}
.gc-art-orbit{position:absolute;border:1px solid #ead99f2c;border-radius:50%;width:300px;height:300px;transform:rotate(-18deg)}.gc-art-orbit--outer{width:390px;height:390px;border-color:#edd89c18}
.gc-art-card{position:absolute;border-radius:18px;overflow:hidden;box-shadow:0 18px 45px #07140f72}.gc-art-card--back{width:330px;height:194px;transform:rotate(11deg) translate(28px,-19px);background:linear-gradient(135deg,#bb9751,#f2d491 55%,#ac7e35);opacity:.94}.gc-art-card--back>span{position:absolute;bottom:20px;left:23px;color:#3f3c25;font-size:11px;letter-spacing:.2em;font-weight:850}.gc-art-bars{position:absolute;right:21px;top:25px;display:flex;align-items:end;gap:5px;height:55px}.gc-art-bars i{display:block;width:13px;background:#fff8db88;height:35px;border-radius:3px}.gc-art-bars i:nth-child(2){height:51px}.gc-art-bars i:nth-child(3){height:25px}
.gc-art-card--front{width:352px;height:210px;padding:23px 25px;transform:rotate(-8deg) translate(-20px,17px);background:linear-gradient(132deg,#fbf4df,#e8d5a5 70%,#c7ad72);color:var(--gc-dark);display:flex;flex-direction:column;justify-content:space-between;border:1px solid #fff8e7}
.gc-art-card-top,.gc-art-card-bottom{display:flex;justify-content:space-between;gap:10px;align-items:center}.gc-art-card-top>span{font-weight:900;font-size:13px;letter-spacing:.06em}.gc-art-card-top>span span{color:#ae7a2d;margin:0 2px}.gc-art-card-top b{font-size:10px;letter-spacing:.12em;color:#705c3a}.gc-art-center>span{display:block;color:#596451;font-size:11px;letter-spacing:.1em;text-transform:uppercase;font-weight:700}.gc-art-center strong{display:block;font-size:28px;line-height:1.2;letter-spacing:-.06em}.gc-art-center i{font-style:normal;color:#9c7034}.gc-art-card-bottom{border-top:1px solid #72673b44;padding-top:14px;color:#494a32;font-size:10px;font-weight:750}.gc-art-spark{position:absolute;color:#f0d18a;z-index:3}.gc-art-spark--one{font-size:25px;top:12px;right:22px}.gc-art-spark--two{font-size:15px;bottom:19px;left:4px}
.gc-compare{padding:57px 0 67px}.gc-section-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,370px);gap:30px;align-items:end;margin-bottom:25px}.gc-section-heading .gc-label{margin:0 0 7px}.gc-section-heading h2,.gc-values h2,.gc-guide h2{margin:0;font-size:clamp(30px,3.5vw,44px);line-height:1.17;letter-spacing:-.05em}.gc-section-heading>p{margin:0 0 5px;color:var(--gc-muted);font-size:15px}
.gc-compare .cpx-widget{--cpx-primary:#243629;--cpx-accent:#bd913b;--cpx-background:#f7f4ec;--cpx-text:#24312a}
.gc-compare .cpx-widget__form{border:1px solid #d9d4c7;box-shadow:0 15px 42px #1a29151c}
.gc-compare .cpx-offer{border-color:#e1ddd3;box-shadow:0 6px 24px #18251e0b}.gc-compare .cpx-step-button{background:#f7f4ec;border-color:#d9d4c7}
.gc-budget{display:grid;grid-template-columns:minmax(0,1fr) 185px auto;gap:14px;align-items:center;margin:25px 0 0;padding:19px 23px;background:#fff;border:1px solid #dfd9c8;border-radius:14px;box-shadow:0 5px 22px #18251e0a}
.gc-budget strong{font-size:18px}.gc-budget p{font-size:13px;color:var(--gc-muted);margin:4px 0 0;max-width:700px}.gc-budget-control>span{display:block;font-size:12px;font-weight:750;margin:0 0 5px}.gc-budget-control input{width:100%;height:43px;padding:7px 11px;border:1px solid #a6aa9c;border-radius:7px;color:var(--gc-ink);background:#fff;font:inherit}.gc-budget>button{height:43px;padding:0 16px;align-self:end;border:1px solid #ccd1c5;border-radius:7px;background:#f5f5ef;color:#24312a;font-weight:750;cursor:pointer}.gc-budget>button:hover{background:#ebeada}.gc-budget-status{grid-column:1/-1;color:#3b5a40;font-size:13px;font-weight:650}.gc-budget-status:empty{display:none}
.gc-budget-empty{padding:20px;margin:18px 0;background:#fff7e3;border:1px solid #dbbb72;border-radius:8px;color:#674917}
.gc-disclaimer{margin:24px 0 0;color:#566258;font-size:13px;max-width:930px}
.gc-values{padding:61px 0 78px;background:#fff}.gc-values-heading .gc-label{margin:0 0 8px}.gc-value-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin-top:29px}.gc-value-grid article{padding:27px;min-width:0;border:1px solid var(--gc-border);border-radius:13px;background:linear-gradient(148deg,#fcfbf8,#f8f6ef)}.gc-value-index{color:#8b6726;font-weight:850;font-size:12px;letter-spacing:.15em}.gc-value-grid h3{font-size:22px;line-height:1.2;letter-spacing:-.03em;margin:17px 0 9px}.gc-value-grid p{font-size:14px;color:#505f52;margin:0}
.gc-guide{background:#e9eadf;padding:75px 0}.gc-guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:10%;align-items:center}.gc-guide .gc-label{margin:0 0 11px}.gc-guide p{color:#4b594d}.gc-guide-grid>div>p:not(.gc-label){max-width:500px}.gc-guide a{display:inline-flex;align-items:center;gap:10px;color:#4b582c;font-weight:800;text-decoration:none;border-bottom:1px solid #8d9d7a;padding-bottom:4px}.gc-guide a:hover{border-bottom-color:#263a2a}.gc-guide ol{list-style:none;padding:0;margin:0}.gc-guide li{display:flex;gap:19px;padding:16px 0;border-bottom:1px solid #c8d0bd}.gc-guide li>span{color:#8a6829;font-size:12px;font-weight:900;padding-top:5px}.gc-guide li strong{font-size:16px}.gc-guide li p{font-size:14px;margin:3px 0}
.gc-page-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,320px);gap:26px;align-items:start;padding-top:56px;padding-bottom:75px;min-height:55vh}.gc-content{background:#fff;border:1px solid var(--gc-border);border-radius:15px;padding:35px;min-width:0}.gc-content>.gc-label{margin:0 0 8px}.gc-content h1,.gc-archive h1{margin:0 0 24px;font-size:clamp(31px,3.6vw,46px);line-height:1.15;letter-spacing:-.05em}.gc-prose h2,.gc-prose h3{line-height:1.25;margin-top:30px}.gc-prose p,.gc-prose li{color:#405047}.gc-prose a{color:#665328;text-decoration:underline}.gc-prose img{max-width:100%;height:auto}.gc-aside{min-width:0}.gc-aside>h2{font-size:20px;margin:2px 0 3px}.gc-aside>p{font-size:13px;margin:0 0 14px;color:var(--gc-muted)}.gc-aside .cpx-widget__form{border:1px solid var(--gc-border);box-shadow:none}
.gc-archive{padding-top:56px;padding-bottom:80px;min-height:55vh}.gc-archive article{border-top:1px solid var(--gc-border);padding:23px 0}.gc-archive article>p:first-child{font-size:12px;color:#667163}.gc-archive article h2{font-size:23px;margin:2px 0 8px;letter-spacing:-.03em}.gc-archive a{text-decoration:none}.gc-archive article>a{color:#665328;font-weight:800}.gc-alert{padding:20px;border-radius:8px;background:#fff7e2;color:#6b521e}
.gc-footer{background:var(--gc-dark);color:#e0e6dc;padding:52px 0 24px}.gc-footer-main{display:flex;justify-content:space-between;gap:40px}.gc-footer-logo{text-decoration:none;font-size:24px;font-weight:850;letter-spacing:-.05em}.gc-footer-logo span{color:#e7c170}.gc-footer-main p{max-width:370px;color:#c8d2c6;font-size:14px}.gc-footer nav{display:grid;grid-template-columns:repeat(2,minmax(140px,1fr));gap:9px 20px}.gc-footer nav a{font-size:13px;text-decoration:none;color:#e1e7de}.gc-footer nav a:hover{text-decoration:underline}.gc-footer-bottom{margin-top:40px;border-top:1px solid #ffffff2d;padding-top:19px;display:flex;justify-content:space-between;gap:25px;color:#c4d0c3;font-size:12px}
:focus-visible{outline:3px solid #bd9040;outline-offset:3px}
@media(max-width:1000px){.gc-hero-grid{grid-template-columns:1fr .65fr}.gc-art-card--front{transform:scale(.82) rotate(-8deg) translate(-20px,17px)}.gc-art-card--back{transform:scale(.82) rotate(11deg) translate(28px,-19px)}}
@media(max-width:820px){.gc-wrap{width:min(100% - 34px,1190px)}.gc-header-inner{min-height:66px}.gc-brand{font-size:20px}.gc-brand-icon{width:40px;height:40px}.gc-menu-button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;width:44px;height:42px;border:1px solid #d5d6ca;border-radius:8px;background:#fff;cursor:pointer}.gc-menu-button span{display:block;width:20px;height:2px;background:var(--gc-ink)}.gc-menu{display:none;position:absolute;top:100%;left:0;right:0;background:white;padding:13px 17px 20px;box-shadow:0 12px 25px #121e1433}.gc-menu.gc-menu-open{display:flex;flex-direction:column;align-items:stretch;gap:0}.gc-menu a{padding:8px 11px}.gc-hero-grid{grid-template-columns:1fr;gap:6px;padding-top:32px;padding-bottom:29px}.gc-hero-art{min-height:192px}.gc-art-orbit{transform:scale(.7)}.gc-art-orbit--outer{transform:scale(.7)}.gc-art-card--front{transform:scale(.72) rotate(-8deg) translate(-20px,17px)}.gc-art-card--back{transform:scale(.72) rotate(11deg) translate(28px,-19px)}.gc-section-heading{grid-template-columns:1fr;gap:10px}.gc-value-grid{grid-template-columns:1fr}.gc-guide-grid{grid-template-columns:1fr;gap:22px}.gc-page-layout{grid-template-columns:1fr}.gc-aside{order:2}.gc-footer-main,.gc-footer-bottom{flex-direction:column}.gc-budget{grid-template-columns:minmax(0,1fr) 180px auto}}
@media(max-width:560px){.gc-top .gc-wrap>span:last-child{display:none}.gc-hero h1{font-size:38px}.gc-hero-description{font-size:15px}.gc-hero-art{min-height:169px}.gc-art-card--front{transform:scale(.63) rotate(-8deg) translate(-20px,17px)}.gc-art-card--back{transform:scale(.63) rotate(11deg) translate(28px,-19px)}.gc-compare,.gc-values,.gc-guide{padding:45px 0}.gc-section-heading h2,.gc-values h2,.gc-guide h2{font-size:32px}.gc-budget{grid-template-columns:1fr 95px;gap:12px;padding:17px}.gc-budget>div{grid-column:1/-1}.gc-budget>button{padding:0 7px}.gc-page-layout,.gc-archive{padding-top:28px;padding-bottom:55px}.gc-content{padding:23px}.gc-footer{padding-top:38px}.gc-footer nav{grid-template-columns:1fr 1fr}.gc-footer-bottom{margin-top:30px}}

.gc-compare .cpx-offer[hidden]{display:none!important}
/* GoldCredit accent on its own CPX submit controls. */
.gc-site .cpx-submit{background:linear-gradient(135deg,#e6c16e,#c89d45)!important;color:#18251e!important;box-shadow:0 10px 22px #82652d33!important}
.gc-site .cpx-submit:hover{background:linear-gradient(135deg,#f0d18c,#d6ad55)!important}
.gc-site .cpx-offer__more{background:#f7f2e5;color:#34482f}

/* GoldCredit consent UI: Analytics loads only after an explicit choice. */
.gc-consent-settings{padding:0;border:0;background:none;text-align:left;color:#e1e7de;font:inherit;font-size:13px;cursor:pointer}
.gc-consent-settings:hover,.gc-consent-settings:focus-visible{text-decoration:underline}
.gc-consent[hidden]{display:none!important}
.gc-consent{position:fixed;z-index:99999;inset:auto 18px 18px auto;width:min(430px,calc(100% - 36px));max-height:calc(100vh - 36px);overflow:auto}
.gc-consent-card{padding:21px 23px;border:1px solid #ccb675;border-radius:15px;background:#fff;color:#24312a;box-shadow:0 20px 60px #0b1c1490}
.gc-consent-card h2{font-size:20px;line-height:1.25;margin:0 0 9px}
.gc-consent-card p{font-size:14px;line-height:1.55;margin:0 0 9px}
.gc-consent-card a{color:#65491d;text-decoration:underline;font-size:13px}
.gc-consent-actions{display:flex;gap:10px;margin-top:18px}
.gc-consent-actions button{flex:1;min-height:43px;border-radius:8px;border:1px solid #b8bfb3;background:#fff;color:#25352a;cursor:pointer;font-weight:750;font-size:14px}
.gc-consent-actions button[data-gc-consent=accepted]{border-color:#18251e;background:#18251e;color:#fff}
.gc-consent-actions button:hover{filter:brightness(.91)}
@media(max-width:560px){.gc-consent{inset:auto 10px 10px;width:calc(100% - 20px)}.gc-consent-card{padding:17px}}
