* {
  box-sizing: border-box;
  font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 16px;
}
body {
  background-color: #FFFFFF;
  margin: 0;
}
.header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
}
.header .title {
  margin: 0;
  padding: 0;
  color: #3f4754;
  font-size: 34px;
}
.header .title::after {
  content: " ";
  display: inline-block;
  width: 50%;
  transform: translate(50%, 0);
  border-bottom: 4px solid #dee2e7;
}
.items {
  display: flex;
  flex-flow: column;
  align-items: flex-start;
  max-width: 850px;
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}
.items .item {
  display: flex;
  text-decoration: none;
  margin-bottom: 40px;
}
.items .item .image {
  border-radius: 15px;
  max-width: 300px;
}
.items .item .details {
  padding-left: 30px;
}
.items .item .details .title {
  margin: 0;
  padding: 10px 0;
  color: #556071;
  font-size: 24px;
}
.items .item .details .date {
  display: block;
  color: #b3bac6;
  font-size: 14px;
  font-weight: 500;
  padding-top: 10px;
}
.items .item .details .description {
  color: #8792a5;
  font-size: 16px;
  margin: 0;
  padding: 5px 0;
}
.create-news {
  display: flex;
  flex-flow: column;
  width: 100%;
  max-width: 500px;
  margin: 50px auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff;
}
.create-news h1 {
  margin: 0;
  padding: 25px 20px;
  font-size: 20px;
  font-weight: 500;
  color: #3f4754;
  border-bottom: 1px solid #eff2f5;
}
.create-news form {
  display: flex;
  flex-flow: column;
  align-items: flex-start;
  padding: 20px;
}
.create-news form label {
  font-weight: 500;
  font-size: 14px;
  color: #74787c;
  padding-bottom: 10px;
}
.create-news form label .required {
  color: #ff1212;
  margin-right: 5px;
}
.create-news form input, .create-news form textarea {
  margin-bottom: 20px;
  width: 100%;
  padding: 10px;
  border: 1px solid #dee1e6;
  border-radius: 4px;
  font-size: 16px;
}
.create-news form input:focus, .create-news form textarea:focus {
  outline: none;
  border-color: #3f4754;
}
.create-news form input::placeholder, .create-news form textarea::placeholder {
  color: #a2a4a8;
}
.create-news form button {
  appearance: none;
  padding: 10px 15px;
  margin-top: 5px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  background-color: #167cdb;
  color: #FFFFFF;
  cursor: pointer;
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.15);
  transition: background-color ease 0.2s;
}
.create-news form button:hover {
  background-color: #292e37;
}
.create-news form .msg {
  margin: 0;
  padding: 5px 0 20px 0;
  font-size: 14px;
  font-weight: 500;
}
.create-news form .msg.success {
  color: #07b94c;
}
.create-news form .msg.error {
  color: #be2c2c;
}


    /* Estilos de SEO adicionados */
    .seo-header {
        margin-bottom: 25px;
        padding-bottom: 15px;
        border-bottom: 3px solid #e74c3c;
    }
    .seo-header h1 {
        font-size: 2rem;
        font-weight: 700;
        color: #222;
        margin: 0 0 10px 0;
    }
    .seo-header h1 small {
        font-size: 1rem;
        font-weight: 400;
        color: #666;
        display: block;
        margin-top: 5px;
    }
    .seo-header p {
        font-size: 1.1rem;
        color: #555;
        line-height: 1.6;
        margin: 10px 0 0 0;
    }
    .seo-header p strong {
        color: #e74c3c;
    }

    .thumb {
        border-radius: 12px;
        height: auto;
        display: block;
    }
    .titulo {
        color: white;
        background-color: rgba(0, 0, 0, 0.5);
        padding: 5px;
        text-align: center;
        font-size: 2em;
        position: relative;
        z-index: 1;
    }
    .flag-icon {
        height: 15px;
        width: auto;
        margin: 0 2px;
    }
    .side-widget .layout_1--item {
        border-radius: 20px;
        overflow: hidden;
    }
    .side-widget .layout_1--item img {
        width: 100%;
        display: block;
    }
    .layout_2--item .thumb {
        width: 100%;
        height: 100px;
        overflow: hidden;
        border-radius: 12px;
    }
    .layout_2--item .thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    .layout_1 .row {
        display: flex;
        flex-wrap: wrap;
    }
    .layout_1 .col-md-8 {
        display: flex;
    }
    .layout_1 .col-md-8 .layout_1--item {
        width: 100%;
        height: 350px;
        overflow: hidden;
        position: relative;
        border-radius: 12px;
    }
    .layout_1 .col-md-8 .layout_1--item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    .layout_1 .col-md-4 {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .layout_1 .col-md-4 .layout_1--item {
        height: 165px;
        overflow: hidden;
        position: relative;
        border-radius: 12px;
    }
    .layout_1 .col-md-4 .layout_1--item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    .layout_1 .layout-detail {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
        padding: 15px !important;
    }
    .layout_1 .titulo {
        font-size: 1.5em;
        text-align: left;
        background: transparent;
        padding: 0;
        margin: 0;
    }
    .layout_1 .col-md-4 .titulo {
        font-size: 1.1em;
    }
    .layout_2--item .thumb {
        width: 100%;
        height: 150px;
        overflow: hidden;
        border-radius: 12px;
    }
    .layout_2--item .thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    .sr-only {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        border: 0;
    }
    .h1-seo {
        font-size: 1.8rem;
        font-weight: 700;
        color: #333;
        margin-bottom: 20px;
        border-bottom: 3px solid #e74c3c;
        padding-bottom: 10px;
    }
    .h1-seo small {
        font-size: 1rem;
        font-weight: 400;
        color: #666;
    }
    .breadcrumb-seo {
        background: transparent;
        padding: 10px 0;
        margin: 0;
        font-size: 0.85rem;
    }
    .breadcrumb-seo a {
        color: #0066cc;
        text-decoration: none;
    }
    .breadcrumb-seo a:hover {
        text-decoration: underline;
    }
    .breadcrumb-seo .separator {
        margin: 0 8px;
        color: #999;
    }
    .weather-loading {
        text-align: center;
        padding: 20px;
        background: #f8f9fa;
        border-radius: 8px;
        color: #666;
    }
    .weather-error {
        text-align: center;
        padding: 20px;
        background: #fff3f3;
        border-radius: 8px;
        color: #d9534f;
    }
    .seo-description {
        margin-bottom: 20px;
    }
    .seo-description p {
        font-size: 1.05rem;
        line-height: 1.6;
        color: #444;
    }
    
    @media (max-width: 768px) {
        .layout_1 .col-md-8 .layout_1--item {
            height: 300px;
        }
        .layout_1 .col-md-4 .layout_1--item {
            height: 180px;
        }
        .layout_1 .titulo {
            font-size: 1.2em;
        }
        .layout_2--item .thumb {
            height: 240px;
        }
        .h1-seo {
            font-size: 1.4rem;
        }
        .seo-header h1 {
            font-size: 1.5rem;
        }
        .seo-header p {
            font-size: 0.95rem;
        }
    }


    .thumb {
    border-radius: 12px;
    height: auto;
    display: block;
}

/* Container do MAIS POPULAR com bordas arredondadas */
.layout_1--item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.layout_1--item img {
    width: 100%;
    height: auto;
    display: block;
}

.layout_1--item .overlay {
    border-radius: 20px;
}

/* Manter o badge no canto sem cortar */
.badge-overlay {
    border-radius: 0 0 0 20px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}