/* =========================================================
   SHARED STORAGE SITE COMPONENTS
   Move presentation here instead of placing <style> blocks
   or style="" attributes inside Concrete5 HTML blocks.
   ========================================================= */

:root {
    --storage-primary: #8A0206;
    --storage-primary-hover: #680104;
    --storage-text: #2f2f2f;
    --storage-muted: #666666;
    --storage-border: #dddddd;
    --storage-light: #f7f7f7;
    --storage-white: #ffffff;
}

/* ---------- Reusable CTA / button groups ---------- */

.storage-page-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 12px;
    margin: 24px 0;
    text-align: center;
}

.storage-action-button,
.storage-action-button:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border: 2px solid var(--storage-primary);
    border-radius: 0;
    background: var(--storage-primary);
    color: var(--storage-white) !important;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none !important;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.storage-action-button:hover,
.storage-action-button:focus {
    background: var(--storage-primary-hover);
    border-color: var(--storage-primary-hover);
    color: var(--storage-white) !important;
    text-decoration: none !important;
}

.storage-action-secondary,
.storage-action-secondary:visited {
    background: var(--storage-white);
    color: var(--storage-primary) !important;
}

.storage-action-secondary:hover,
.storage-action-secondary:focus {
    background: var(--storage-primary);
    color: var(--storage-white) !important;
}

/* ---------- Footer location blocks ---------- */

.footer-location {
    margin: 18px 0;
    padding: 18px;
    border: 1px solid var(--storage-border);
    background: var(--storage-light);
}

.footer-location h4 {
    margin: 0 0 8px;
}

.footer-location p {
    margin: 0 0 14px;
}

.footer-location-button,
.footer-location-button:visited {
    display: inline-block;
    padding: 10px 18px;
    border: 2px solid var(--storage-primary);
    border-radius: 0;
    background: var(--storage-primary);
    color: var(--storage-white) !important;
    font-weight: 700;
    text-decoration: none !important;
}

.footer-location-button:hover,
.footer-location-button:focus {
    background: var(--storage-primary-hover);
    border-color: var(--storage-primary-hover);
    color: var(--storage-white) !important;
}

/* ---------- Generic content cards ---------- */

.storage-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 24px 0;
}

.storage-card {
    height: 100%;
    padding: 20px;
    border: 1px solid var(--storage-border);
    background: var(--storage-white);
}

.storage-card h2,
.storage-card h3,
.storage-card h4 {
    margin-top: 0;
}

.storage-card p:last-child,
.storage-card ul:last-child {
    margin-bottom: 0;
}

/* ---------- Quick facts ---------- */

.storage-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 22px 0;
}

.storage-fact {
    padding: 18px;
    border: 1px solid var(--storage-border);
    background: var(--storage-light);
}

.storage-fact strong {
    display: block;
    margin-bottom: 5px;
    color: var(--storage-primary);
}

/* ---------- Tips pages ---------- */

.storage-tips-intro {
    margin-bottom: 26px;
}

.storage-tip-section {
    margin: 28px 0;
    padding: 22px;
    border: 1px solid var(--storage-border);
    background: var(--storage-white);
}

.storage-tip-section h2,
.storage-tip-section h3 {
    margin-top: 0;
}

.storage-tip-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.storage-tip-card {
    padding: 18px;
    border: 1px solid var(--storage-border);
    background: var(--storage-light);
}

.storage-tip-number {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    background: var(--storage-primary);
    color: var(--storage-white);
    font-weight: 700;
}

/* ---------- FAQ ---------- */

.storage-faq {
    margin: 28px 0;
}

.storage-faq-item {
    padding: 18px 0;
    border-bottom: 1px solid var(--storage-border);
}

.storage-faq-item:first-child {
    border-top: 1px solid var(--storage-border);
}

.storage-faq-item h3,
.storage-faq-item h4 {
    margin: 0 0 7px;
}

/* ---------- Legacy Concrete5 buttons ----------
   Lets existing .round.alert.button blocks visually match
   the newer buttons without editing their generated HTML.
   ---------- */

a.round.alert.button,
a.round.alert.button:visited {
    border: 2px solid var(--storage-primary) !important;
    border-radius: 0 !important;
    background: var(--storage-primary) !important;
    color: var(--storage-white) !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

a.round.alert.button:hover,
a.round.alert.button:focus {
    border-color: var(--storage-primary-hover) !important;
    background: var(--storage-primary-hover) !important;
}

a.round.alert.button h3,
a.round.alert.button span {
    color: var(--storage-white) !important;
}

/* ---------- Responsive ---------- */

@media (max-width: 767px) {
    .storage-page-actions {
        flex-direction: column;
    }

    .storage-action-button {
        width: 100%;
    }

    .storage-card-grid,
    .storage-facts,
    .storage-tip-grid {
        grid-template-columns: 1fr;
    }

    .storage-card,
    .storage-fact,
    .storage-tip-section,
    .storage-tip-card {
        padding: 16px;
    }
}
