/*
Theme Name: WORLDBUS Signal
Author: MASICELL
Description: A warmer WORLDBUS storefront with copper accents and distinct server cards.
Version: 1.1.9
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: worldbus-signal
*/

:root {
    --ink: #211d1f;
    --text: #2a2425;
    --muted: #58484b;
    --accent: #a04132;
    --accent-dark: #823126;
    --accent-light: #ffd2bd;
    --signal-cream: #faf2e8;
    --signal-sand: #f9e5d8;
    --signal-copper: #e9a484;
    --surface: #fbf4ec;
    --line: #eaddd3;
    --radius: 22px;
}

.site-header { border-block-end: 1px solid #80574d; }
.header-facts { background: var(--signal-cream); }
.button { border-radius: 12px; }
.button-primary { background: var(--accent); }
.button-primary:hover { background: var(--accent-dark); }

.page-hero {
    background: radial-gradient(ellipse at 99% 6%, #f6dfce, transparent 58%), var(--signal-cream);
    border-block-end: 1px solid #f0e1d4;
}
.page-hero .hero-actions .button-outline { background: #ffffffa8; }
.page-hero .hero-actions .button-outline:hover { background: #fff; }

.overview-panel {
    border-color: #644044;
    border-radius: var(--radius);
    background: linear-gradient(138deg, #452c30, #271d21 78%);
    box-shadow: 0 12px 30px #36212418;
}
.overview-icon { background: #67403a; }
.overview-locations a { background: #3c2c30; border-color: #98756e; }
.overview-locations a:is(:hover, [aria-current]) { background: #684237; border-color: var(--accent-light); }

body[data-wb-page="/"] .page-hero { padding-block: clamp(2.5rem, 5.5vw, 5.1rem); }
body[data-wb-page="/"] .page-hero h1 { max-width: 18ch; }
body[data-wb-page="/"] .page-hero h1::before {
    content: "";
    display: block;
    width: 58px;
    height: 5px;
    margin-block-end: .95rem;
    border-radius: 5px;
    background: linear-gradient(90deg, var(--accent) 61%, var(--signal-copper) 61%);
}
body[data-wb-page="/"] .overview-panel {
    padding-block: clamp(1.45rem, 4vw, 3.2rem);
}
.service-card, .location-card, .plan-card, .editorial-card, .support-card {
    border-radius: var(--radius);
    box-shadow: 0 5px 20px #5c33250d;
}
.service-card:is(:hover, :focus-within), .location-card:is(:hover, :focus-within) {
    border-color: #c28e7d;
    box-shadow: 0 9px 24px #5c33251a;
}
.service-icon, .contact-visual {
    border-radius: 14px;
    background: var(--signal-sand);
    color: var(--accent-dark);
}
.home-server-grid .service-card {
    padding: clamp(1.2rem, 2.35vw, 1.8rem);
    border-block-start: 3px solid #deb09a;
}
.home-server-grid .service-card:first-child {
    background: linear-gradient(155deg, #fff2e7, #fff 72%);
    border-block-start-color: var(--accent);
}
.home-server-grid .service-card:first-child .service-icon {
    background: var(--accent-dark);
    color: #fff5ec;
}
.home-server-grid .service-purchase {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: .22rem .75rem;
    padding-block-start: .65rem;
}
.home-server-grid .service-purchase .from-price { margin-block: .3rem; }
.home-server-grid .service-purchase .text-link::after {
    content: "";
    margin-inline-start: .45em;
    width: .36em;
    height: .36em;
    flex: none;
    border: solid currentColor;
    border-width: 1.5px 1.5px 0 0;
    transform: rotate(45deg);
}

.network-section { background: var(--signal-cream); }
.network-section .region-links a { background: #fff; }
.network-service-panel {
    background: #f5f1ec;
    box-shadow: 0 10px 26px #3621241a;
}
.network-service-panel a {
    min-height: 46px;
    border-radius: 10px;
}

.domain-section { background: linear-gradient(120deg, #41282c, #261d23 78%); }
.contact-strip { background: var(--signal-cream); border-radius: var(--radius); }
.policy-nav, .article-share, .blog-explore { border-radius: 16px; background: #fcf3ea; }

@media (min-width: 1000px) {
    body[data-wb-page="/"] .product-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .72fr); }
    body[data-wb-page="/"] .overview-panel {
        padding-block: clamp(1.45rem, 2.3vw, 2.25rem);
    }
    .service-grid.home-server-grid { grid-template-columns: minmax(0, 1.17fr) repeat(2, minmax(0, 1fr)); }
}
