/* ================== HUB STYLE (Jost Font) ================== */
/* Based on provided "Eurozwrot" style adapted for AquaTech */

@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600;700&display=swap');

.ez-hub2 {
    font-family: 'Jost', sans-serif;
    color: #2c3e50;
    background-color: #f8f9fa;
    line-height: 1.5;
    max-width: 1100px;
    width: 100%;
    margin: 40px auto;
    box-sizing: border-box;
    clear: both;
    padding: 0 15px; /* Mobile padding fix */
}
.ez-hub2 * { box-sizing: border-box; }

/* ================== HERO ================== */
.ez-hub2 .ez-hero {
    /* AquaTech Gradient: Blue to Darker Blue */
    background: linear-gradient(135deg, #094b7c, #002b4d);
    color: #fff;
    padding: 40px 35px;
    border-radius: 8px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.ez-hub2 .ez-hero:after {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 220px;
    height: 220px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}
.ez-hub2 .ez-breadcrumbs {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 8px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.ez-hub2 .ez-breadcrumbs a {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
}
.ez-hub2 .ez-breadcrumbs a:hover {
    opacity: 1;
    text-decoration: underline;
}
.ez-hub2 .ez-title {
    font-size: 32px;
    margin: 0 0 10px;
    font-weight: 700;
    line-height: 1.2;
}
.ez-hub2 .ez-lead {
    font-size: 17px;
    margin: 0;
    opacity: 0.95;
    max-width: 850px;
    font-weight: 300;
}
.ez-hub2 .text-link {
    color: #4dd0e1; /* Turquoise accent */
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dotted rgba(77, 208, 225, 0.7);
    transition: all 0.3s ease;
}
.ez-hub2 .text-link:hover {
    color: #fff;
    border-bottom-color: #fff;
}

/* ================== GRID ================== */
.ez-hub2 .ez-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    gap: 30px;
    width: 100%;
    align-items: start;
}
.ez-hub2 .ez-content,
.ez-hub2 .ez-sidebar {
    align-self: start;
}
@media (max-width: 1024px) {
    .ez-hub2 .ez-grid { grid-template-columns: 1fr; }
}

/* ================== KARTY ================== */
.ez-hub2 .ez-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    height: auto !important;
}
.ez-hub2 .ez-card h2 {
    font-size: 22px;
    margin: 0 0 20px;
    color: #094b7c; /* Brand Blue */
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

/* ================== WIERSZE ================== */
.ez-hub2 .ez-doc-row {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f2f2f2;
}
.ez-hub2 .ez-doc-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}
.ez-hub2 .ez-icon-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #eef5fb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    color: #094b7c;
    font-size: 20px;
}
.ez-hub2 .ez-doc-text {
    flex: 1;
}
.ez-hub2 .ez-doc-text strong {
    display: block;
    font-size: 17px;
    margin-bottom: 4px;
    color: #333;
}
.ez-hub2 .ez-doc-text p {
    margin: 0 0 8px;
    color: #546e7a;
    font-size: 15px;
    line-height: 1.4;
}

/* ================== ALERT ================== */
.ez-hub2 .ez-alert {
    background: #fff3cd; /* Default warning yellow */
    border-left: 5px solid #ff9800;
    padding: 18px 20px;
    border-radius: 8px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 25px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.ez-hub2 .ez-alert.ez-alert-info {
    background: #e1f5fe;
    border-left-color: #0288d1;
}
.ez-hub2 .ez-alert i { margin-top: 4px; font-size: 18px; }
.ez-hub2 .ez-alert strong { display: block; margin-bottom: 4px; font-size: 16px; }
.ez-hub2 .ez-alert p { margin: 0; font-size: 14px; color: #455a64; }

/* ================== SIDEBAR ================== */
.ez-hub2 .ez-sidebar .ez-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    height: auto !important;
}
.ez-hub2 .ez-sidebar .ez-box h3 {
    margin: 0 0 15px;
    font-size: 18px;
    color: #094b7c;
    font-weight: 600;
}

/* ================== CHECKLISTA ================== */
.ez-hub2 .ez-checklist {
    margin: 0;
    padding: 0;
    list-style: none;
}
.ez-hub2 .ez-checklist li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 12px;
    color: #37474f;
    font-size: 15px;
}
.ez-hub2 .ez-checklist i {
    color: #27ae60;
    margin-top: 4px;
}

/* ================== CTA ================== */
.ez-hub2 .ez-cta {
    background: #094b7c;
    color: #fff;
    border-radius: 8px;
    padding: 25px 20px;
    text-align: center;
}
.ez-hub2 .ez-cta strong {
    display: block;
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1.3;
}
.ez-hub2 .ez-btn {
    display: inline-block;
    background: #0CABA8; /* AquaTech Turquoise */
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 6px;
    transition: background 0.3s;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}
.ez-hub2 .ez-btn:hover { background: #098e8b; color: #fff; }

/* ================== POWIĄZANE ================== */
.ez-hub2 .ez-related a {
    display: block;
    padding: 12px 15px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    text-decoration: none;
    color: #003f64;
    background: #fbfdff;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.2s;
}
.ez-hub2 .ez-related a:hover {
    border-color: #0CABA8;
    background: #e0f7fa;
    color: #005891;
    transform: translateX(3px);
}
.ez-hub2 .ez-footer-note {
    font-size: 13px;
    color: #90a4ae;
    margin-top: 15px;
    border-top: 1px solid #f5f5f5;
    padding-top: 15px;
    font-style: italic;
}

/* ================== CLEANUP OVERRIDES ================== */
.ez-hub2 h1, .ez-hub2 h2, .ez-hub2 h3, .ez-hub2 h4, .ez-hub2 p { margin-top: 0; }
.ez-hub2 p { margin-bottom: 12px; }
.ez-hub2 ul, .ez-hub2 ol { list-style: none; padding: 0; margin: 0; }
.ez-hub2 li { margin: 0 0 8px 0; }
.ez-hub2 img { max-width: 100%; height: auto; }
