@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville&display=swap');

:root {
    --prim: #f0d290;
    --prim-dark: #ccac60;
    --sec: #800000;
}

body {
    font-family: 'Libre Baskerville', serif !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Libre Baskerville', Georgia, "Times New Roman", serif !important;
    color: #330000;
}

.btn {
    border-radius: 3px !important;
}

.bg-sec {
    background-color: var(--sec) !important;
}

.bg-main {
    background-color: var(--prim) !important;
}

.bg-nav {
    background-color: rgba(59, 58, 57, 0.19) !important;
}

.bg-dark-nav {
    background-color: var(--sec) !important;
}

.bg-translucent {
    background-color: rgba(59, 58, 57, 0.73) !important;
}

.nav-link {
    margin-right: 10px !important;
    margin-left: 10px !important;
}

.btn-outline-light {
    border-color: var(--prim) !important;
    color: var(--prim) !important;
}

.btn-outline-light:hover {
    background-color: rgba(196, 225, 238, 0.37) !important;
    color: var(--prim) !important;
}

nav {
    z-index: 99 !important;
    position: fixed !important;
    top: 0 !important;
}

.banner {
    background-color: black;
    height: 90vh;
    width: 100%;
    color: white;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.banner-sec {
    background-color: black;
    height: 80vh;
    width: 100%;
    color: white;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.banner-heading {
    font-size: 3.5rem;
}

.banner-media {
    height: 100%;
    width: inherit;
    position: absolute;
    z-index: 1;
}

.banner-media > img {
    object-fit: cover;
    height: 90vh;
}

.banner-sec-img {
    object-fit: cover;
    height: 80vh !important;
    width: 100%;
}

.overlay {
    height: inherit;
    width: inherit;
    background-color: rgba(0, 0, 0, 0.75);
    position: absolute;
    z-index: 2;
}

.banner-img {
    object-fit: cover;
    width: 100%;
    height: 80vh;
}

.form-control {
    border-radius: 4px !important;
    overflow: hidden !important;
    box-shadow: inset 0px 0px 18px -10px rgb(0 0 0 / 30%) !important;
    -webkit-appearance: none;
    background-color: #eee !important;
    border-width: 0;
    color: #999 !important;
    font-size: 14px !important;
    padding: 16px !important;
}

.link {
    color: var(--sec) !important;
}

.link:hover {
    text-decoration: none;
}

.banner-content {
    position: relative;
    z-index: 98;
}

.btn-prim {
    background-color: var(--prim) !important;
    color: #3b0000 !important;
}

.btn-outline-prim {
    color: var(--prim) !important;
    background-color: transparent !important;
    border: 1px solid var(--prim) !important;
}

.btn-outline-prim:hover {
    background-color: var(--prim) !important;
    color: black !important;
}

.btn-prim:hover {
    background-color: var(--prim-dark) !important;
    color: var(--sec) !important;
    border: 1px solid var(--prim-dark) !important;
}

.border-prim {
    --bs-border-opacity: 1;
    border-color: var(--prim) !important;
}

.border-sec {
    border-color: var(--sec) !important;
}

.text-prim {
    color: var(--prim-dark);
}

.text-sec {
    color: var(--sec);
}

.text-em1 {
    font-style: italic;
}

/*CSS For Article Card Begins*/
.post {
    background-color: white;
    border-radius: .625rem;
    width: 30%;
    overflow: hidden;
    transition: all .5s ease-out;
    cursor: pointer;
}

.post:hover {
    box-shadow: 0px 15px 27px -5px rgba(240, 211, 211, .95);
}

.post:hover .post__image-container img {
    transform: scale(1.1);
}

.post:nth-of-type(2) {
    margin: 0 2rem;
}

.post__image-container {
    overflow: hidden;
}

.post__image-container img {
    height: 12.5rem;
    width: 100%;
    object-fit: cover;
    transition: all .5s ease-out;
}

.post__text-container {
    padding: 1rem;
}

.post__text-container > *:not(:last-child) {
    margin-bottom: .5rem;
}

.post__tag {
    display: inline-block;
    padding: .3125rem .625rem;
    border-radius: .75rem;
    color: white;
    font-size: .745rem;
    text-transform: uppercase;
}

.post__profile {
    margin-top: 2rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.post__author-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-right: 1rem;
}

/* ---- Media Queries ---- */

@media screen and (max-width: 900px) {
    .post {
        width: 100%;
        max-width: 18.75rem;
    }

    .post:not(:last-of-type) {
        margin-bottom: 1.5rem;
    }
}

@media screen and (max-width: 600px) {
    .post:nth-of-type(2) {
        margin-left: initial;
        margin-right: initial;
    }
}

/*CSS For Article Card Ends*/

/* Footer Section */
.site-footer {
    background-color: var(--sec) !important;
    color: white !important;
    font-family: 'Libre Baskerville', serif !important;
}

.site-footer a {
    color: var(--prim) !important;
    text-decoration: none !important;
}

.site-footer a:hover {
    color: white !important;
    text-decoration: underline !important;
}

.site-footer h4,
.site-footer h5 {
    color: var(--prim) !important;
}

.site-footer hr {
    border-color: var(--prim) !important;
}

/* Footer Specific Styles - ADD THESE */
.tpc-footer-main,
.tpc-footer-bg-sec {
    background-color: var(--sec) !important;
}

.tpc-footer-text-em {
    font-style: italic;
}

.tpc-footer-border-left {
    border-left: 1px solid #fff !important;
}

.tpc-footer-border-right {
    border-right: 1px solid #fff !important;
}

/* Fix footer buttons - remove uppercase */
footer .btn-outline-light {
    text-transform: none !important;
}

/* Or if using the custom classnames */
.tpc-footer-btn,
.tpc-footer-btn-outline {
    text-transform: none !important;
}

/* Reduce vertical spacing between footer buttons */
footer .btn-outline-light.btn-sm.d-block {
    margin-bottom: 0.25rem !important; /* Reduce from default */
    padding-top: 0.375rem !important;   /* Reduce vertical padding */
    padding-bottom: 0.375rem !important; /* Reduce vertical padding */
}

/* Or if using custom classnames */
.tpc-footer-btn-block {
    margin-bottom: 0.25rem !important;
    padding-top: 0.375rem !important;
    padding-bottom: 0.375rem !important;
}