* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

.search-body {
    background-color: #f0f4f8;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.visibility {
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .5rem;
}

/* Main Body - Home */
.mainBody {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 650px;
    padding: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 2rem;
}

.logo-icon {
    font-size: 4.5rem;
    color: #0d7377;
}

.logo-h1 {
    font-size: 4rem;
    text-align: center;
    color: #14303d;
    font-weight: 700;
    letter-spacing: -1px;
}

/* Header - Results */
.results .main-body {
    display: flex;
    width: 100%;
    background: linear-gradient(135deg, #14303d 0%, #0d7377 100%);
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.results .result {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.main-body-result {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    justify-content: space-between;
    padding: 1rem;
    align-items: center;
}

.main-body-result .search,
.main-body-result .logo-result {
    width: 100%;
    max-width: 400px;
}

.main-body-result .logo-result h1 {
    font-size: 2rem;
    text-align: right;
    color: #fff;
    font-weight: 700;
}

.main-body-result .logo-result {
    display: flex;
    justify-content: end;
}

/* Search Input */
.search {
    width: 100%;
}

.search__input {
    display: flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 28px;
    margin: 0 auto;
    max-width: 600px;
    width: 100%;
    background: #fff;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search__input:focus-within {
    border-color: #0d7377;
    box-shadow: 0 2px 12px rgba(13, 115, 119, 0.15);
}

form {
    width: 100%;
    display: flex;
    align-items: center;
}

.search__input input {
    border: none;
    width: 100%;
    padding: 14px 20px;
    outline: none;
    font-size: 16px;
    background: transparent;
}

.search__input .material-icons {
    color: #fff;
    background-color: #0d7377;
    padding: 12px 18px;
    font-size: 20px;
    border: none;
    cursor: pointer;
    border-radius: 0 26px 26px 0;
    transition: background-color 0.2s;
}

.search__input .material-icons:hover {
    background-color: #14303d;
}

.logo-link {
    text-decoration: none;
}

/* Results header search override */
.main-body-result .search__input {
    border-color: rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.95);
}

/* Container - Pages */
.container {
    max-width: 1100px;
    margin: 30px auto 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.08);
    overflow: hidden;
    flex: 1;
}

.container h1 {
    text-align: center;
    background: linear-gradient(135deg, #14303d 0%, #0d7377 100%);
    color: #fff;
    padding: 30px 0;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.8rem;
    letter-spacing: 1px;
}

.container h2 {
    padding: 20px 50px 0;
    color: #14303d;
    font-size: 1.3rem;
}

.text {
    padding: 15px 50px;
    line-height: 1.8;
    font-size: 17px;
    color: #3a3a3a;
}

.list-text {
    list-style: none;
}

.list-text li {
    font-size: 17px;
}

/* Footer */
.rodape {
    text-align: center;
    background-color: #14303d;
    padding: 25px 15px;
    color: #a0b4c0;
    font-size: 13px;
    margin-top: auto;
}

.rodape-info p {
    margin: 2px 0;
}

.links {
    padding-bottom: 15px;
}

.list-link {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.link-item a {
    text-decoration: none;
    color: #7ec8c8;
    transition: color 0.2s;
}

.link-item a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Google CSE overrides */
.gcsc-branding img {
    max-width: 150px;
}

/* Responsive */
@media only screen and (max-width: 831px) {
    .logo-h1 {
        font-size: 3rem;
    }

    .logo-icon {
        font-size: 3rem;
    }

    .logo-result {
        justify-content: center !important;
        margin: 1rem auto 0 auto;
    }

    .main-body-result .search {
        margin: auto;
    }

    .main-body-result .logo-result h1 {
        text-align: center;
        font-size: 1.6rem;
    }

    .text {
        padding: 15px 20px;
        font-size: 15px;
    }

    .container h2 {
        padding: 15px 20px 0;
    }
}
