body {
    margin: 0;
    font-family: 'Exo 2', sans-serif;
}

img {
    max-width: 100%;
    height: auto;
}

.container-fluid > .row > [class*='col-'] {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.section-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex: 0 0 28px;
}

/* Increase gap between section header (h2) and the first content block by ~10px */
.section-ithink > .col-12,
.section-mordomus > .col-12 {
    margin-bottom: 14px !important;
}

a {
    display: inline-block;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    border: 1px solid transparent;
    padding: 2px;
}

a.ithink, p.ithink {
    color: #d9d9d9;
}

a.mordomus {
    color: #333333;
}

a.app {
    padding: 3px 3px 6px 3px;
    border: 1px solid transparent;
}

a:hover:not(.app) {
    color: #000;
    background: #fff;
    border-radius: 3px;
    border-color: #fff;
}

a.app:hover {
    background: white;
    border-radius: 4px;
    border-color: #ffffff;
}

/* Footer links: no special formatting by default; show light-gray rounded rectangle on hover/focus */
.rodape_contacts a,
.rodape a {
    display: inline-block;
    text-decoration: none;
    background: transparent;
    padding: 2px;
    border: 1px solid transparent;
    border-radius: 3px;
    color: inherit;
    transition: all 0.2s ease-in-out;
}

/* Hover and focus: show the light-gray rounded rectangle */
.rodape_contacts a:hover,
.rodape a:hover,
.rodape_contacts a:focus,
.rodape a:focus {
    background: #f5f5f5;
    color: #000;
    border-color: #e6e6e6;
    outline: none;
}

/* Visible focus ring for keyboard users */
.rodape_contacts a:focus-visible,
.rodape a:focus-visible {
    box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}

hr {
    margin: 0;
    border: 0;
}

hr.ithink {
    border-top: 1px dotted #808080;
    padding-bottom: 6px;
    margin-top: 6px;
}

hr.mordomus {
    border-top: 1px dotted #808080;
    padding-bottom: 6px;
    margin-top: 6px;
}

h2, h3, p {
    font-family: 'Play', sans-serif;
}

h2.ithink {
    color: #ff944d;
    font-size: 24px;
    line-height: 1.1;
    margin: 8px 0 0 0;
    font-weight: bold;
}

h2.mordomus {
    color: #fb7116;
    font-size: 24px;
    line-height: 1.1;
    margin: 8px 0 0 0;
    font-weight: bold;
}

h3.ithink {
    color: #808080;
    font-size: 16px;
    font-weight: bold;
    margin: 6px 0 4px 0;
    line-height: 1.12;
    border-bottom: 1px dotted #808080;
    padding-bottom: 0.6rem;
    margin-bottom: 0.6rem;
}

h3.mordomus {
    color: #808080;
    font-size: 16px;
    font-weight: bold;
    margin: 6px 0 4px 0;
    line-height: 1.12;
    border-bottom: 1px dotted #808080;
    padding-bottom: 0.6rem;
    margin-bottom: 0.6rem;
}

p {
    font-size: 14px;
    line-height: 1.30;
    margin: 0 0 0.4rem 0;
}

p.rodape {
    font-size: 14px;
    text-align: right;
    line-height: 1.35;
    margin: 0 0 0.6rem 0;
}

p.rodape_contacts {
    font-size: 14px;
    text-align: left;
    line-height: 1.35;
    margin: 0 0 0.6rem 0;
}

h3.rodape {
    font-size: 16px;
    text-align: left;
}

#title_img {
    display: block;
}

p.mordomus {
    color: #333333;
    font-size: 14px;
}

@media screen and (max-width: 768px) {
    h3.rodape,
    p.rodape_contacts,
    p.rodape,
    h2.subtitulo {
        text-align: center;
    }

    #title_img {
        margin-left: auto;
        margin-right: auto;
    }

    /* Add vertical spacing between columns on mobile */
    .col-sm-6 {
        margin-bottom: 2rem;
    }
}

/* Dotted separators between column items */
/* Mordomus iThink area - grey lines matching h3.ithink titles */
p.ithink + p.ithink {
    border-top: 1px dotted #808080 !important;
    padding-top: 0.6rem !important;
    margin-top: 0.6rem !important;
    display: block !important;
}

/* Mordomus area - grey lines matching h3.mordomus titles */
p.mordomus + p.mordomus {
    border-top: 1px dotted #808080 !important;
    padding-top: 0.6rem !important;
    margin-top: 0.6rem !important;
    display: block !important;
}

/* Force visibility of separators by ensuring proper box-sizing */
p.ithink,
p.mordomus {
    box-sizing: border-box !important;
}

p.mordomus.no-separator {
    border-top: none !important;
    padding-top: 0.25rem !important;
    margin-top: 0.25rem !important;
}