/* THE SEPARATION LOCK */
.layout-wrapper {
    display: grid;
    /* This locks the Left Lane to 70% and Right Lane to 30% */
    grid-template-columns: 70% 30%; 
    max-width: 1200px;
    margin: 40px auto;
    gap: 50px; /* This gap is a "No Man's Land" - nothing can cross it */
    align-items: start; /* One side getting taller won't stretch the other */
}

.news-column {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* THE CARD INTERNALS: Image next to Text */
.news-card {
    display: grid;
    grid-template-columns: 240px 1fr; /* Image is fixed at 240px, text takes the rest */
    gap: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    background: #fff;
}

/* FIX: Ensure the top featured/vacancy image fits the box */
.image-container img, .post-image-large img {
    width: 100%;
    height: 160px; /* Default height for news cards */
    object-fit: cover; /* Forces image to fill the box without stretching */
    border-radius: 4px;
    display: block;
}

/* Specific height for the large top container if you use that class */
.post-image-large img {
    height: 240px; 
}

.news-title {
    font-size: 18px;
    color: #1E3E63; /* Navy */
    margin-bottom: 10px;
    line-height: 1.4;
    text-align: left;
}

.news-meta {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 10px;
}

.news-excerpt {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: left;
}

.read-more {
    background-color: #1E3E63;
    color: white;
    border: none;
    padding: 8px 18px;
    cursor: pointer;
    font-size: 13px;
    align-self: flex-start; /* በተከፈተው ቦታ በግራ በኩል እንዲቆም */
}

/* INDEPENDENT RIGHT COLUMN */
.sidebar-column {
    width: 83%; /* Stays inside its 30% lane */
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* SIDEBAR BOXES: Styled separately */
.sidebar-box {
    background: #ffffff;
    padding: 20px;
    border: 1px solid #e2e8f0;
    text-align: left; /* Forces all text in the box to the left corner */
    width: 270px;
}

/* FIXED: Sidebar List & Archive Links - Left corner and Silver */
.sidebar-list {
    padding: 0;
    margin: 0;
    list-style: none;
    width: 100%;
}

.sidebar-list li {
    text-align: left; /* Pinned to left corner */
    margin-bottom: 8px;
}

.sidebar-list li a {
    text-decoration: none;
    color: silver; /* Silver font color */
    font-size: 14px;
    display: block;
    transition: color 0.3s ease;
}

.sidebar-list li a:hover {
    color: #1E3E63; /* Navy hover to match your theme */
}

/* The White Card Container */
.search-container {
    background-color: #ffffff;
    box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.08);
    padding: 20px;
    margin-bottom: 20px;
    box-sizing: border-box;
    width: 268px;
}

/* The "SEARCH" Title */
.box-title {
    padding-bottom: 4px;
    text-transform: uppercase;
    font-size: 24px;
    margin-top: 0px;
    margin-bottom: 20px;
    font-weight: 700;
    width: 100%;
    color: #111827; /* Dark text to contrast white background */
    font-family: 'Jost', sans-serif;
    text-align: left;
}

/* Wrapper to keep Input and Button in one line */
.search-wrapper {
    display: flex;
    width: auto;
    box-sizing: border-box;
}

/* The Search Input Field */
.search-form input {
    border: 1px solid rgba(0, 0, 0, 0.15);
    padding: 0px 14px;
    font-size: 16px;
    height: 38px;
    width: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #4a4a4a;
    flex-grow: 1; /* Takes up remaining space */
    border-radius: 0; /* Keeps it sharp like the site */
    outline: none;
}

/* The Gold "GO" Button */
.search-form button {
    background-color: #c5c5c5; /* The specific maritime gold */
    color: #4a4a4a;
    border: none;
    font-size: 13px;
    width: 28%;
    height: 38px;
    cursor: pointer;
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    transition: 0.3s ease-out;
    text-transform: uppercase;
}

.search-form button:hover {
    background-color: #fbd84a; /* Slightly darker gold on hover */
}