/**************************
  OhioRentersGuide.com
  Custom Style Sheet
  (style.css)
***************************/

/*====== FONTS ======*/
body, html {
    font-family: 'Manrope', 'Nunito', 'Segoe UI', Arial, sans-serif;
    font-size: 1.06rem;
    color: #222831;
    background: #FAFAFA;
    letter-spacing: 0;
    line-height: 1.65;
}
h1, h2, h3, h4, h5, h6, .section-heading {
    font-family: 'Manrope', 'Nunito', Arial, sans-serif;
    color: #224488;
    font-weight: 700;
    letter-spacing: .5px;
}
.section-heading {
    font-size: 2rem;
    margin-bottom: 1rem;
}

@media (max-width: 575.98px) {
    .section-heading { font-size: 1.2rem; }
    .hero-section { min-height: 210px; }
}

/*====== HERO SECTION ======*/
.hero-section {
    background: linear-gradient(180deg, #224488 0%, #4B7BD2 100%);
    min-height: 340px;
    color: #fff;
}
.hero-section .fw-bold {
    font-size: 2.7rem;
    letter-spacing: 1px;
}
.hero-section h2 {
    font-weight: 400;
    color: #E5E7EB;
}
.hero-section .lead {
    color: #FAFAFA;
    max-width: 720px;
    margin: 0 auto;
}
.hero-section .btn-primary {
    background: #fff;
    color: #224488;
    border: 0;
    font-size: 1.3rem;
    font-weight: 700;
    padding: .7rem 2rem;
    box-shadow: 0 2px 8px 0 rgba(34,72,136,0.05);
    transition: background .2s, color .2s;
}
.hero-section .btn-primary:hover,
.hero-section .btn-primary:focus {
    background: #4B7BD2;
    color: #fff;
}

/*====== NAVBAR ======*/
.navbar, .navbar-light {
    background: #fff !important;
    border-bottom: 1px solid #E5E7EB;
    box-shadow: 0 2px 8px 0 rgba(34,72,136,0.04);
}
.navbar .navbar-brand {
    font-size: 2rem;
    color: #224488 !important;
    font-weight: 800;
    font-family: 'Manrope',sans-serif;
    letter-spacing: 1px;
}
.navbar .nav-link {
    color: #224488 !important;
    font-weight: 600;
    font-size: 1.07rem;
}
.navbar .nav-link:focus, .navbar .nav-link:hover {
    color: #4B7BD2 !important;
    text-decoration: underline;
}
.navbar .dropdown-menu .dropdown-item:focus,
.navbar .dropdown-menu .dropdown-item:hover {
    color: #224488 !important;
    background: #F3F7FB !important;
}
.navbar .dropdown-menu {
    margin-top: -3px !important;
}

/*====== BUTTONS ======*/
.btn, .btn:focus {
    text-decoration: none !important;
    box-shadow: 0 2px 8px 0 rgba(34,72,136,0.05);
    border-radius: 4px;
    font-weight: 700;
    transition: background .2s, color .2s, box-shadow .15s;
}
.btn-primary, .btn-primary:focus {
    background: #224488 !important;
    border: 0;
    color: #fff !important;
}
.btn-primary:hover {
    background: #183366 !important;
    color: #fff !important;
}
.btn-outline-primary, .btn-outline-primary:focus {
    border: 2px solid #4B7BD2;
    color: #224488;
    background: #fff;
}
.btn-outline-primary:hover {
    background: #4B7BD2;
    color: #fff;
    border-color: #4B7BD2;
}
.btn-light {
    background: #fff !important;
    color: #224488 !important;
    border: 0;
}
.btn-light:hover, .btn-light:active {
    background: #E5E7EB !important;
    color: #224488 !important;
}

/*====== CARDS, TILES, PANELS ======*/
.card, .accordion-item {
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    background: #fff;
    transition: box-shadow .18s, transform .18s;
}
.card:hover, .resource-tile:hover, .scenario-card:hover, .template-card:hover {
    box-shadow: 0 6px 18px 0 rgba(34,72,136,0.10), 0 2px 8px 0 rgba(34,72,136,0.03);
    transform: translateY(-2px) scale(1.025);
}
.card-body {
    padding: 1.25rem 1.25rem 1.25rem 1.25rem;
}
.resource-tile, .tool-preview, .template-card, .scenario-card {
    min-width: 260px;
    max-width: 340px;
}

/* Scrollable rows for cards */
.template-cards-row, .situation-cards-row {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scrollbar-width: thin;
}
.template-cards-row::-webkit-scrollbar,
.situation-cards-row::-webkit-scrollbar {
    height: 8px;
    background: #E5E7EB;
}
.template-cards-row::-webkit-scrollbar-thumb,
.situation-cards-row::-webkit-scrollbar-thumb {
    background: #4B7BD2;
    border-radius: 4px;
}
@media (max-width: 767.98px) {
    .card.template-card, .card.scenario-card {
        min-width: 85vw;
        max-width: 99vw;
    }
}

/*====== ACCORDION ======*/
.accordion .accordion-item {
    border: 0;
    border-bottom: 1px solid #E5E7EB;
    background: #FAFAFA;
}
.accordion .accordion-button {
    background: #FAFAFA;
    color: #224488;
    font-weight: 700;
    border-radius: 0 !important;
    padding: 1.05rem 1.25rem;
    font-size: 1.05rem;
    box-shadow: none !important;
}
.accordion .accordion-button:focus {
    box-shadow: none !important;
    outline: none;
}
.accordion .accordion-button:not(.collapsed) {
    color: #4B7BD2;
    background: #F3F7FB;
}
.accordion .accordion-body {
    background: #fff;
    color: #222831;
    border-radius: 0 0 8px 8px;
    font-size: 1.05rem;
    padding: 1.25rem;
}

/*====== LINKS & TEXT ======*/
a.text-link, .deep-link, .legal-link, .see-all-link {
    text-decoration: underline;
    color: #224488;
    font-weight: 500;
    transition: color .15s;
}
a.text-link:hover, .deep-link:hover, .legal-link:hover, .see-all-link:hover {
    color: #4B7BD2;
    text-decoration: underline;
}
.footer-link, .footer-link:visited, .footer-link:active {
    color: #E5E7EB;
    text-decoration: underline;
    font-weight: 500;
    transition: color .14s;
}
.footer-link:hover {
    color: #fff;
    text-decoration: underline;
}
.faq-list li {
    font-size: 1.07rem;
    margin-bottom: 0.5rem;
}
ul.footer-links {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
ul.footer-links li {
    margin-bottom: 0.6rem;
}

/*====== TOOL PREVIEW MINI CALCULATOR ======*/
#depositCalcForm label {
    font-size: .97rem;
    color: #224488;
    margin-bottom: 0.25rem;
}
#depositCalcForm input[type="date"] {
    border: 1px solid #E5E7EB;
    border-radius: 4px;
    padding: 0.35rem 0.6rem;
    font-size: 1.05rem;
}
#depositCalcResult {
    font-size: 1.05rem;
    font-weight: 700;
}
#depositCalcResult[style*="color: #D14343"] {
    color: #D14343 !important;
}

/*====== PANELS, SECTION BACKGROUNDS ======*/
.quick-access-section, .template-panel-section, .deep-dive-section, .situation-cards-section, .legal-refs-section {
    background: #FAFAFA;
}
.interactive-tools-section, .make-simple-section, .legal-refs-section, .accessibility-section {
    background: #F3F7FB;
}
.footer-cta-strip {
    background: #224488;
    color: #fff;
}
.footer-cta-text a.btn,
.footer-cta-text a.btn:visited {
    background: #fff !important;
    color: #224488 !important;
    font-weight: 700;
    border: 0;
    margin-left: .7rem;
}
.footer-cta-text a.btn:hover {
    background: #4B7BD2 !important;
    color: #fff !important;
}

.card .bi, .accordion .bi, .resource-tile .bi, .tool-preview .bi, .template-card .bi, .scenario-card .bi {
    color: #4B7BD2;
    font-size: 2rem;
    vertical-align: middle;
    margin-bottom: .2rem;
}

/*====== FOOTER ======*/
.footer-main {
    background: #222831;
    color: #fff;
    padding-top: 3rem;
    padding-bottom: 2.2rem;
    font-size: 1.08rem;
    border-top: 1px solid #E5E7EB;
}
.footer-main .footer-logo {
    color: #fff;
    font-size: 2rem;
    letter-spacing: 1px;
}
.footer-main .small, .footer-main .footer-links {
    color: #E5E7EB;
    font-size: .97rem;
}
.footer-main ul.footer-links li a {
    color: #E5E7EB;
}
.footer-main ul.footer-links li a:hover {
    color: #fff;
}

/*==== MISC/UTILITY ====*/
.page-content {
    background: #FAFAFA;
    padding-bottom: 0;
    padding-top: 0;
}
@media (max-width: 575.98px) {
    .page-content {
        padding-left: .2rem;
        padding-right: .2rem;
    }
}
@media (min-width: 576px) {
    .page-content {
        padding-left: 0;
        padding-right: 0;
    }
}
/* Remove Bootstrap's default border-radius from accordion buttons */
.accordion .accordion-button {
    border-radius: 0 !important;
}

/* Increase spacing between sections on homepage */
main.page-content > section {
    margin-bottom: 0;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}
main.page-content > section:first-child {
    padding-top: 0;
}
main.page-content > section:last-child {
    padding-bottom: 2rem;
}

/* Remove default card border on hover if colored border is present */
.card[style*="border-color"] {
    border-radius: 0 !important;
}

/* Miscellaneous accessibility */
:focus-visible {
    outline: 2px solid #4B7BD2;
    outline-offset: 2px;
}
::selection {
    background: #E5E7EB;
    color: #224488;
}