/* Start custom CSS *//* ==========================================================================
   Old Dominion Single Post Layout Styles
   ========================================================================== */

.odc-single-post {
    background-color: var(--odc-sand); /* Soft, industrial backdrop for the page */
}

/* Hero Section */
.odc-single__hero {
    padding: clamp(60px, 8vw, 100px) 0 clamp(100px, 12vw, 160px); /* Extra bottom padding for image overlap */
    position: relative;
    border-bottom: 4px solid var(--odc-gold); /* Structural trim line */
}

.odc-single__hero-container {
    max-width: 900px; /* Keep title easily readable */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.odc-single__category-wrap {
    margin-bottom: 8px;
}

.odc-single__title {
    margin-bottom: 16px;
}

.odc-single__excerpt {
    max-width: 750px;
}

/* Meta Data Strip */
.odc-single__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    padding-top: 32px;
    margin-top: 16px;
    border-top-color: rgba(255,255,255,0.1);
    width: 100%;
}

.odc-single__meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.odc-single__avatar {
    width: 44px;
    height: 44px;
    border-radius: 4px; /* Squared off, industrial look instead of circles */
    border: 1px solid rgba(255,255,255,0.2);
    object-fit: cover;
}

/* Featured Media (Overlapping Header) */
.odc-single__media {
    margin-top: -80px; /* Pulls the image up over the navy background */
    position: relative;
    z-index: 2;
}

.odc-single__media-frame {
    padding: 12px;
    box-shadow: 0 20px 40px rgba(7, 27, 61, 0.15); /* Heavy drop shadow */
    border-radius: 4px;
}

.odc-single__featured-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 2px;
    background-color: var(--odc-navy-dark);
}

.odc-single__caption {
    padding: 16px 8px 8px;
    text-align: center;
    font-style: italic;
}

/* Body Content */
.odc-single__body-container {
    max-width: 840px; /* Optimal reading measure */
    background: var(--odc-white);
    padding: clamp(32px, 5vw, 64px);
    border: 1px solid var(--odc-line);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(7, 27, 61, 0.05);
}

.odc-single__content h2, 
.odc-single__content h3, 
.odc-single__content h4 {
    color: var(--odc-navy);
    font-family: var(--odc-display);
    text-transform: uppercase;
    margin: 48px 0 24px;
}

.odc-single__content img {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--odc-line);
    border-radius: 4px;
    margin: 32px 0;
}

.odc-single__content blockquote {
    border-left: 4px solid var(--odc-gold);
    padding-left: 24px;
    margin: 32px 0;
    font-size: 1.1em;
    color: var(--odc-navy-dark);
    font-weight: 500;
}

/* Tags Footer */
.odc-single__footer {
    margin-top: 64px;
    padding-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.odc-single__tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}


/* ==========================================================================
   Body & Sidebar Grid Layout
   ========================================================================== */

/* Main container acts as a grid on desktop */
.odc-single__layout {
    display: grid;
    grid-template-columns: 1fr 340px; /* Left column fluid, right column fixed width */
    gap: 64px;
    align-items: start; /* Prevents sidebar from stretching full height */
    background: var(--odc-white);
    padding: clamp(32px, 5vw, 64px);
    border: 1px solid var(--odc-line);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(7, 27, 61, 0.05);
}

/* On tablet/mobile, stack the columns */
@media (max-width: 991px) {
    .odc-single__layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

/* ==========================================================================
   Sidebar Styling
   ========================================================================== */
.odc-sidebar__feed {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.odc-sidebar__card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border: 1px solid var(--odc-line);
    border-radius: 4px;
    overflow: hidden;
    background-color: var(--odc-white);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.odc-sidebar__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(7, 27, 61, 0.08);
    border-color: var(--odc-navy);
}

.odc-sidebar__card-img {
    width: 100%;
    aspect-ratio: 16 / 9; /* Matches the landscape image style in the example */
    overflow: hidden;
    background-color: var(--odc-sand);
    border-bottom: 1px solid var(--odc-line);
}

.odc-sidebar__card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.odc-sidebar__card:hover .odc-sidebar__card-img img {
    transform: scale(1.05);
}

.odc-sidebar__card-placeholder {
    width: 100%;
    height: 100%;
}

.odc-sidebar__card-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Overriding eyebrow specifically for sidebar to remove the dot */
.odc-sidebar__card-content .odc-eyebrow::before {
    display: none;
}/* End custom CSS */