/* Seleção Atual Page Styles */

/* Page Title */
.page-title {
    color: #cd6129;
    font-size: 2.5rem;
    font-weight: 600;
    text-align: left;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 3%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #cd6129, #5c8c64);
    border-radius: 2px;
}

/* Editais Cards */
.card {
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: 0.5rem;
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.card-body {
    padding: 1.5rem;
}

.card h3 {
    color: #333;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.card p {
    color: #666;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Featured Image */
.card img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 0.5rem 0.5rem 0 0;
}

/* Content Area */
.card .content {
    word-wrap: break-word;
    overflow-wrap: break-word;
    flex: 1;
    margin-right: 1rem;
}

.card .content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.25rem;
    margin: 1rem 0;
}

.card .content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Status Badge */
.badge {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
    border-radius: 0.25rem;
    white-space: nowrap;
}

.badge.bg-success {
    background-color: #198754 !important;
}

.badge.bg-secondary {
    background-color: #6c757d !important;
}

/* Download Button */
.btn-outline-orange {
    color: #cd6129;
    border-color: rgba(205, 96, 41, 0.89);
    transition: all 0.2s ease;
    margin-top: 1.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 0.25rem;
    display: inline-flex;
    align-items: center;
}

.btn-outline-orange:hover,
.btn-outline-orange:focus {
    color: #fff;
    background-color: #5c8c64;
    border-color: rgba(58, 93, 64, 0.67);
    transform: translateY(-1px);
}

.btn-outline-orange i {
    margin-right: 0.5rem;
}

/* Alert Messages */
.alert {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 0.5rem;
    border: none;
}

.alert-warning {
    background-color: #fff3cd;
    border-color: #ffecb5;
    color: #664d03;
}

/* Card Header */
.card-header {
    background: none !important;
    padding: 0 !important;
    margin-top: 0.25rem;
    border: none !important;
}

.card-header h3 {
    color: #282828;
    font-weight: 600;
    font-size: 1.4rem;
}

/* Date Range */
.date-range {
    color: #666;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.date-range i {
    color: #cd6129;
}

/* Aviso Publicação */
.aviso-publicacao {
    background-color: rgba(232, 231, 229, 0.07);
    padding: 1rem;
    border-radius: 4px;
    border-left: 4px solid rgba(100, 144, 107, 0.75);
    margin-bottom: 1.5rem;
}

.aviso-publicacao h4 {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.aviso-publicacao p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 0.5rem;
}

.aviso-publicacao p:last-child {
    margin-bottom: 0;
}

/* Edital Content */
.edital-content {
    color: #444;
    line-height: 1.6;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.edital-content p {
    margin-bottom: 1rem;
}

.edital-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.25rem;
    margin: 1rem 0;
}

/* Download Section */
.download-section {
    margin-top: 1.5rem;
    margin-right: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
} 