/*
Theme Name: Diggipacks Network
Description: Bilingual Diggipacks and Fastcoo Network design. Install on an isolated staging copy for review.
Version: 1.0.4
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: diggipacks-network
*/
.dg-honey { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }
[data-dg-server-status]:empty { display: none; }
[data-dg-server-status] { margin: 1rem 0 0; font-weight: 700; color: #35215d; }
[data-dg-server-status][data-error] { color: #a52132; }
.dg-how-title { padding-block-start: 2rem; }
.g-network-credit { white-space: nowrap; }
.g-network-title { font-weight: 800; }
.dg-page-content { padding-block: 3rem; }
.dg-recent { margin-block: 1.5rem; }
.dg-recent ul { display: grid; gap: .5rem; }

/* Footer and cookie notice */
.g-foot {
    padding-block-start: clamp(30px,5vw,58px);
    background: #101010;
}
.g-foot-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-block-end: clamp(30px,5vw,60px);
    padding: clamp(20px,4vw,42px);
    border: 1px solid #7551a3;
    border-radius: 16px;
    background: linear-gradient(110deg,#22192f,#3c235f);
}
[dir="rtl"] .g-foot-cta { background: linear-gradient(250deg,#22192f,#3c235f); }
.g-foot-cta h2 { margin: 0; color: #fff; font-size: clamp(24px,3vw,43px); line-height: 1.22; }
.g-foot-cta-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex: none;
    min-height: 49px;
    padding: 9px 18px;
    border-radius: 7px;
    background: #fff;
    color: #28163c;
    font-weight: 700;
}
.g-foot-cta-link:hover { background: #eee0ff; color: #28163c; }
.g-foot-cta-link .i { width: 19px; height: 19px; }
[dir="rtl"] .g-foot-cta-link .i { transform: scaleX(-1); }
.g-foot .g-foot-top h3 { color: #fff; margin-block-end: 11px; }
.g-foot .g-foot-contact { gap: 12px; border: 0; padding: 0; margin-block: 32px 20px; }
.g-foot .g-foot-contact > a {
    padding: 14px 15px;
    border: 1px solid #3d3446;
    border-radius: 9px;
    background: #1a161d;
}
.g-foot .g-foot-contact > a:hover { border-color: #ae83eb; }
.g-foot :is(a,button):focus-visible { outline: 2px solid #c5a3ff; outline-offset: 3px; }
#cookie-notice .cookie-notice-container { padding: 13px clamp(16px,4vw,45px); }
#cookie-notice[data-dgn-localized] .cookie-notice-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    background: #17121d;
    color: #fff;
}
#cookie-notice[data-dgn-localized] .cn-text-container { margin: 0; }
#cookie-notice #cn-accept-cookie {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 6px 19px;
    margin: 0;
    border: 1px solid #a085d9;
    border-radius: 7px;
    background: #582ba5;
    color: #fff;
    box-shadow: none;
    font-family: inherit; font-weight: 700; font-size: 14px; line-height: 1.4;
}
#cookie-notice #cn-accept-cookie:hover { background: #7146bc; color: #fff; }
#cookie-notice #cn-accept-cookie:focus-visible { outline: 2px solid #e6d5ff; outline-offset: 3px; }
[dir="rtl"] #cookie-notice[data-dgn-localized] #cn-close-notice { left: 16px; right: auto; }
@media (max-width: 650px) {
    .g-foot-cta { align-items: flex-start; flex-direction: column; }
    .g-foot .g-foot-contact { margin-block-start: 24px; }
}

.dg-thanks {
    padding-block: clamp(30px,7vw,92px);
    background: #f6f2fa;
}
.dg-thanks-panel {
    width: min(100%,720px);
    margin-inline: auto;
    padding: clamp(24px,6vw,60px);
    border: 1px solid #492c62;
    border-radius: 24px;
    background: radial-gradient(ellipse at 50% 13%,#3f265c 0%,#20162c 56%,#16111c 100%);
    color: #fff;
    text-align: center;
    box-shadow: 0 24px 60px #21132c22;
}
.dg-thanks-logo { display: block; margin-inline: auto; width: 155px; height: auto; }
.dg-thanks-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 28px auto 16px; border: 1px solid #ad87e3; border-radius: 50%; background: #684292; color: #fff; }
.dg-thanks h1 { color: inherit; font-size: clamp(27px,5.5vw,50px); line-height: 1.2; margin: 0; }
.dg-thanks p { color: #e2d8ed; max-width: 42ch; margin: 14px auto 0; line-height: 1.7; }
.dg-thanks-reference { display: grid; gap: 5px; margin: 24px auto 0; width: min(100%,380px); padding: 15px 10px; background: #f5edff; color: #29173d; border-radius: 12px; }
.dg-thanks-reference bdi { font-size: clamp(16px,4vw,22px); font-weight: 700; overflow-wrap: anywhere; }
.dg-thanks-reference small { color: #534163; }
.dg-thanks-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 23px; }
.dg-thanks-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 16px; border: 1px solid #a983d5; border-radius: 8px; color: #fff; }
.dg-thanks-actions a:first-child { background: #fff; border-color: #fff; color: #28183b; font-weight: 700; }
.dg-thanks-actions a:hover { background: #e9d8ff; color: #28183b; }
.dg-thanks-actions a:focus-visible { outline: 2px solid #e6caff; outline-offset: 3px; }

.g-foot {
    background: radial-gradient(ellipse at top right,#302040 0%,transparent 58%), linear-gradient(165deg,#1e1629,#100d14 82%);
    border-top: 1px solid #664580;
}
[dir="rtl"] .g-foot { background: radial-gradient(ellipse at top left,#302040 0%,transparent 58%), linear-gradient(195deg,#1e1629,#100d14 82%); }
.g-foot .g-foot-category { display:flex; align-items:center; gap:9px; }
.g-foot-category .i { background:#3d2851; padding:5px; color:#dfc4ff; border:1px solid #64497d; border-radius:7px; width:28px; height:28px; flex:none; }
#cookie-notice[data-dgn-localized] .cookie-notice-container { padding-block:14px; line-height:1.55; }
#cookie-notice[data-dgn-localized] .cn-text-container { font: inherit; font-size:clamp(15px,1.5vw,17px); }
#cookie-notice[data-dgn-localized] #cn-accept-cookie { background-color:#582ba5!important; min-height:44px; font-size:15px; }
#cookie-notice[data-dgn-localized] #cn-accept-cookie:hover { background-color:#7146bc!important; }
.dg-related { padding: clamp(26px,4vw,54px) 0; background:#f6f2fa; color:#201626; }
.dg-related h2 { margin:0 0 14px; font-size:clamp(20px,2.6vw,30px); }
.dg-related ul { display:flex; flex-wrap:wrap; gap:9px; list-style:none; padding:0; margin:0; }
.dg-related a { display:inline-flex; align-items:center; padding:8px 14px; min-height:40px; border:1px solid #b898d8; border-radius:999px; color:#43266b; background:#fff; }
.dg-related a:hover { background:#e9dcfa; }
