/**
 * Obvita-Abajobs Plugin Styles
 * 
 * Converted from SASS variables:
 * $color__button: hsl(69, 68%, 75%) = #bed730
 * $color__button-hover: hsl(69, 68%, 52%) = #9cb222  
 * $color__button-dark: hsl(69, 68%, 40%) = #7a9108
 * 
 * @package ObvitaAbaJobs
 */

/* Job Listing Styles */
.obv-joblist {
    margin: 20px 0;
}

.obv-joblist .obv-job-entry {
    margin-bottom: 0.5rem;
}

.obv-joblist .obv-job-header {
    display: flex;
    align-items: center;
    cursor: pointer;
    background: #bed730; /* $color__button */
}

.obv-joblist .obv-job-header:hover {
    background: #9cb222; /* $color__button-hover */
}

.obv-joblist .obv-job-header .obv-job-icon {
    display: flex;
    align-items: center;
    margin: 0.5rem;
    font-weight: bold;
    vertical-align: middle;
}

.obv-joblist .obv-job-header .obv-job-icon svg {
    width: 1rem;
    stroke: black;
    stroke-width: 2;
}

.obv-joblist .obv-job-header .obv-job-icon .icon-open {
    display: none;
}

.obv-joblist .obv-job-header .obv-job-title {
    margin: 0;
    font-size: inherit;
    margin: 0.5rem;
    flex: 1;
}

.obv-joblist .obv-job-header[data-show="true"] .obv-job-icon .icon-open {
    display: block;
}

.obv-joblist .obv-job-header[data-show="true"] .obv-job-icon .icon-closed {
    display: none;
}

.obv-joblist .obv-job-content {
    display: none;
    padding: 1.5rem;
    border-right: 1px solid #eee;
    border-left: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.obv-joblist .obv-job-cta {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.obv-joblist .obv-job-cta > * {
    flex: 1;
    background: #bed730; /* $color__button */
    padding: calc(.667em + 2px) calc(1.333em + 2px);
    text-align: center;
    color: black;
    font-size: 1.125em;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.obv-joblist .obv-job-cta > *:hover {
    background: #9cb222; /* $color__button-hover */
    color: black;
    text-decoration: none;
}

.obv-joblist .obv-job-cta > * + * {
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .obv-joblist .obv-job-cta {
        flex-direction: row;
    }
    
    .obv-joblist .obv-job-cta > * + * {
        margin-top: auto;
        margin-left: 1rem;
    }
}

.obv-joblist .obv-job-conditions {
    font-style: italic;
    font-weight: bold;
    margin-top: 1rem;
}

/* Single Job Page Styles */
.single-obv_job aside {
    margin-top: 1rem;
}

.single-obv_job aside .obv-job-cta {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.single-obv_job aside .obv-job-cta > * {
    flex: 1;
    background: #bed730; /* $color__button */
    padding: calc(.667em + 2px) calc(1.333em + 2px);
    text-align: center;
    color: black;
    font-size: 1.125em;
    font-weight: bold;
    text-decoration: none;
}

.single-obv_job aside .obv-job-cta > *:hover {
    background: #9cb222; /* $color__button-hover */
    color: black;
    text-decoration: none;
}

.single-obv_job aside .obv-job-cta > * + * {
    margin-top: 1rem;
}

.single-obv_job aside .obv-job-conditions {
    font-style: italic;
    font-size: 0.9em;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .single-obv_job aside {
        margin-top: 6rem;
    }
}

/* Additional Job Detail Page Styles */
.obv-job-conditions {
    border-top: 1px solid #eee;
    color: #666;
    font-size: 14px;
    padding-top: 1rem;
}

.obv-job-organization {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin-top: 20px;
}

.obv-widgetbutton {
    display: inline-block;
    padding: 12px 24px;
    background: #bed730; /* $color__button */
    color: black;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.obv-widgetbutton:hover {
    background: #9cb222; /* $color__button-hover */
    color: black;
    text-decoration: none;
}

/* Contact Section Styles */
.contact {
    margin-top: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 5px;
}

.contact h3 {
    margin-top: 0;
    color: #333;
}

/* Shariff Styles (for social sharing) */
.shariff {
    padding-top: 0.75rem;
    margin-top: 0.75rem;
    border-top: 1px solid #ccc; /* $border-style: 1px solid $color__background-hr */
    margin-bottom: 2rem;
}

.ShariffHeadline {
    font-weight: bold;
}

/* Print styles */
@media print {
    .print-only {
        display: block !important;
    }
    
    .obv-job-cta {
        display: none;
    }
    
    .obv-job-header .obv-job-icon {
        display: none;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .obv-joblist .obv-job-header {
        padding: 12px;
    }
    
    .obv-joblist .obv-job-content {
        padding: 15px;
    }
    
    .obv-joblist .obv-job-header .obv-job-title {
        font-size: 16px;
    }
}
