

:root {
    --oring-primary: #0056b3;
    --oring-primary-dark: #063a7a;
    --oring-dark: #172033;
    --oring-text: #334155;
    --oring-muted: #64748b;
    --oring-light-bg: #f8fafc;
    --oring-card-bg: #ffffff;
    --oring-border: #e2e8f0;
    --oring-soft-blue: #eff6ff;
}

  body {
    font-family: 'Barlow', sans-serif;
    background: var(--cream);
    color: var(--text-dark);
    overflow-x: hidden;
  }






.hero-section {
    background:
        radial-gradient(circle at top left, rgba(0, 126, 255, 0.32), transparent 36%),
        linear-gradient(135deg, #0f172a 0%, #163a83 54%, #0056b3 100%);
    color: #ffffff;
    overflow: hidden;
    padding:45px 20px 20px 45px;
    margin:0px 0px 0px 0px;
    position: relative;
    text-align: center;
}

.hero-section::after {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    content: "";
    height: 100%;
    left: -40%;
    position: absolute;
    top: 0;
    transform: skewX(-18deg);
    width: 34%;
}

.hero-content {
    margin: 0 auto;
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.eyebrow {
    color: #bfdbfe;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.hero-section h1 {
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.08;
    margin: 0 0 18px;
}

.hero-description {
    color: #dbeafe;
    font-size: 18px;
    margin: 0 auto 34px;
    max-width: 1080px;
}

.official-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.contact-btn {
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    color: #ffffff;
    display: inline-flex;
    font-weight: 700;
    gap: 10px;
    padding: 13px 26px;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-btn:hover,
.contact-btn:focus {
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
    color: var(--oring-primary);
    transform: translateY(-2px);
}

.oring-distributors-page .container {
    margin: 0 auto;
    max-width: 1200px;
    padding: 52px 20px 70px;
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 38px;
}

.tab-btn {
    background: #ffffff;
    border: 1px solid var(--oring-border);
    border-radius: 999px;
    color: var(--oring-muted);
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    min-width: 118px;
    padding: 11px 22px;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.tab-btn.active,
.tab-btn:hover,
.tab-btn:focus {
    background: var(--oring-primary);
    border-color: var(--oring-primary);
    color: #ffffff;
    transform: translateY(-1px);
}

.distributor-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.distributor-card {
    background: var(--oring-card-bg);
    border: 1px solid var(--oring-border);
    border-radius: 18px;
    box-shadow: 0 5px 18px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    min-height: 330px;
    overflow: hidden;
    padding: 26px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.distributor-card:hover {
    border-color: rgba(0, 86, 179, 0.32);
    box-shadow: 0 22px 38px rgba(15, 23, 42, 0.12);
    transform: translateY(-5px);
}

.card-body {
    flex: 1;
}

.region-badge {
    background: var(--oring-soft-blue);
    border-radius: 999px;
    color: var(--oring-primary);
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
    padding: 5px 12px;
    text-transform: uppercase;
}

.region-badge-ul {
    background: #ecfdf5;
    color: #047857;
}

.logo-box {
    align-items: center;
    border-bottom: 1px solid #eef2f7;
    display: flex;
    height: 72px;
    margin-bottom: 18px;
    padding-bottom: 18px;
}

.logo-box img {
    display: block;
    height: auto;
    max-height: 48px;
    max-width: 220px;
    width: auto;
}

.distributor-card h2 {
    color: var(--oring-dark);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 16px;
}

.info-list {
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
}

.info-list li {
    align-items: flex-start;
    color: var(--oring-text);
    display: flex;
    font-size: 15px;
    gap: 11px;
    margin-bottom: 10px;
}

.info-list i {
    color: var(--oring-primary);
    flex: 0 0 16px;
    line-height: 1.6;
    text-align: center;
}

.info-list a {
    color: var(--oring-text);
    overflow-wrap: anywhere;
    text-decoration: none;
}

.info-list a:hover,
.info-list a:focus {
    color: var(--oring-primary);
    text-decoration: underline;
}

.visit-btn {
    align-items: center;
    background: #f1f5f9;
    border-radius: 12px;
    color: var(--oring-text);
    display: inline-flex;
    font-size: 15px;
    font-weight: 800;
    gap: 8px;
    justify-content: center;
    padding: 13px 16px;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease;
    width: 100%;
}

.visit-btn i {
    font-size: 12px;
}

.visit-btn:hover,
.visit-btn:focus {
    background: var(--oring-primary);
    color: #ffffff;
}

[hidden] {
    display: none !important;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 0px 18px;
    }

    .official-contacts {
        align-items: stretch;
        flex-direction: column;
    }

    .contact-btn {
        justify-content: center;
    }

    .container {
        padding: 36px 16px 54px;
    }

    .distributor-grid {
        grid-template-columns: 1fr;
    }
}


/* Joomla SP Page Builder */
/* 最外層滿版 */
.oring-distributors-page{
    width:100vw;
    max-width:100vw;
    margin-left:calc(50% - 50vw);
    margin-right:calc(50% - 50vw);
    position:relative;
}

/* Hero 滿版 */
.oring-distributors-page .hero-section{
    width:100%;
}

/* 內容區置中 */
.oring-content-container{
    max-width:1200px;
    margin:0 auto;
    padding:0 20px;
    box-sizing:border-box;
}


.company-header{
 min-height:0px;
 border-bottom:1px solid #e5e7eb;
 margin-bottom:1.5rem;
 padding-bottom:1rem;
 display:flex;
 align-items:center;
}
.hidden-logo{
 display:none !important;
}
.company-name{
 margin:0;
}

#sp-wrapper {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

#sp-main-body {
    padding-top: 0 !important;
}

.breadcrumb,
.breadcrumbs,
#sp-breadcrumb,


#t3-top-bar .container{
    padding-top:0 !important;
    padding-bottom:0 !important;
    margin-bottom:0 !important;
    height:auto !important;
    min-height:0 !important;
}

#t3-top-bar{
    margin:0 !important;
    padding:0 !important;
    height:auto !important;
    min-height:0 !important;
}
#t3-header{
    margin-bottom:0 !important;
    padding-bottom:0 !important;
    min-height:0 !important;
}



#t3-header .container{
    padding-top:0px !important;
    padding-bottom:0px !important;
}

/* Remove Joomla / T3 spacing above SP Page Builder content */
body.com_sppagebuilder #t3-mainbody,
body.com_sppagebuilder #t3-content,
body.com_sppagebuilder .item-page,
body.com_sppagebuilder .sppb-page-content,
body.com_sppagebuilder .sppb-section,
body.com_sppagebuilder .sppb-row-container {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* If Spotlight 1 is empty but still taking space */
body.com_sppagebuilder .t3-sl-1 {
    display: none !important;
}





