/* ====================================================================== */
/* Section */

.section-header{
    padding: var(--standard-pad) var(--standard-pad) var(--standard-pad) var(--standard-pad);
    background-color: var(--green-color);
    text-transform: uppercase;
    font-weight: bold;
}

.section-header h3{
    color: white !important;
}




/* ====================================================================== */
/* Story Items */

.story-grid{
    display: grid;
    grid-template-columns: 24% 24% 24% 24%;
    row-gap: 2em;
    justify-content: space-between;
    padding: var(--standard-pad) var(--standard-pad) var(--standard-pad) var(--standard-pad);
}

.story-list{
    display: flex;
    flex-direction: column;
    row-gap: 1em;
}


.story-tile{
    display: flex;
    flex-direction: column;
    row-gap: 0.5em;
}

.story-tile img{
    aspect-ratio: 4/3;
    width: 100%;
    object-fit: cover;
    border-top-right-radius: 0.5em;
    border-top-left-radius: 0.5em;
}

.story-tile-category{
    border-top-right-radius: 0.5em;
    border-bottom-right-radius: 0.5em;
    background-color: var(--green-color);
    padding: 0.2em 0.6em 0.2em 0.6em;
    width: fit-content;
    text-transform: uppercase;
    color: #fff;
}


.story-tile-category span{
    font-size:0.8em;
    font-weight: 600;
}


.story-tile-date span{
    font-size:0.9em;
    font-weight: 300;
    color: #333;
}

.story-tile-date a{
    font-size:0.9em !important;
    font-weight: 300 !important;
    color: #333 !important;
}

.story-tile-date sup{
    font-size:0.6em;
    font-weight: 300;
    color: #333;
}

.story-tile h4{
    font-size: var(--text-normal);
}

.story-tile p{
    font-size: var(--text-small);
}

.story-tile a{
    font-size: var(--text-normal);
    color: black;
    font-weight: bold;
    text-decoration: none;
}

.story-tile a:hover{
    opacity: 0.7;
}


.entry-list{
    display: grid;
    grid-template-columns: 25% auto;

    column-gap: 1em;
    margin-top: var(--half-pad);
    margin-bottom: var(--half-pad);
    overflow: auto;
    cursor: pointer;
}

.entry-list:hover{
    opacity: 0.9;
}

.entry-list-img-holder{
    height: 100%;
    width: 100%;
    aspect-ratio: 3/2;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.entry-list img{
    aspect-ratio: 3/2;
    flex-shrink: 0;
    margin-right: var(--half-pad);
}

.entry-list-details{
    display: flex;
    flex-direction: column;
    row-gap: var(--standard-pad);
}

.entry-list-details h4{
    font-size: var(--text-normal);
}

.entry-list-details p{
    font-size: var(--text-normal);
}

.entry-list-details a{
    font-size: var(--text-small);
    color: var(--global-color);
    font-weight: bold;
}

.tags{
    width: 100%;
    background-color: var(--green-color);
    margin-top: auto;

    color: white;
    font-size: var(--text-small);
    padding: var(--standard-pad) var(--standard-pad) var(--standard-pad) var(--standard-pad);
}

.tag-link{
    color: white !important;;
    font-weight: 300 !important;
    text-decoration: none;
}

.tag-link:hover{
    text-decoration: underline;
}




/* ====================================================================== */
/* Product Entry */

.product-listings, #more_product_listings{
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    row-gap: 1em;
    width: 100%;

}

.product-listings h2{
    font-size: var(--text-heading);
}

.product-entry{
    display: grid;
    grid-template-columns: 15% auto;
    width: 100%;
    background-color: white;

    border-color: #cccccc;
    border-radius: var(--standard-radius);
    border-style: solid;
    border-width: 1px;
    padding: var(--standard-pad) var(--standard-pad) var(--standard-pad) var(--standard-pad);
}

.img-holder{
    display: flex;
    flex-direction: column;
    margin: var(--standard-pad) var(--standard-pad) var(--standard-pad) var(--standard-pad);
    background-size: cover;
    aspect-ratio: 1/1;
}

.img-holder img{
    max-width: 100%;
    max-height: 100%;
    margin-top: auto;
    margin-bottom: auto;
}

.product-details{
    display: flex;
    flex-direction: column;
    row-gap: var(--standard-pad);
    width: 100%;
}

.main-details{
    display: grid;
    grid-template-columns: 30% 30% 30% ;
    width: 100%;
    row-gap: var(--half-pad);
}

.main-details h4, .description h4{
    font-size: var(--text-normal);
}

.description h4{
    margin-bottom: 0.5em;
}

.main-details span{
    font-size: var(--text-normal);
}

.description p{
    font-size: var(--text-small);
}

.product-button-options{
    display: flex;
    flex-direction: row;
    column-gap: 1em;

}

.item-nav{
    margin-top: 2rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: row;
    column-gap: 0.5rem;
    justify-content: center;
}
