@charset "utf-8";
/*
    -------------------------------------------------------------------
        Theme Name: The Forgotten Fight
        Theme URI: https://theforgottenfight.com
        Author: GCSolutions
        Author URI: https://andreamasters.design
        Description: Custom Theme for The Forgotten Fight
        Tags: custom
        Version: 1.0
        Requires at least: 6.0
        Tested up to: 6.6
        Requires PHP: 7.4
    -------------------------------------------------------------------
*/

/* General Imports
-------------------------------------------------------------------*/
@import url('css/bootstrap.css');
@import url('fonts/stylesheet.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css');

/* Root
-------------------------------------------------------------------*/
:root {
    --white: #FFF;
    --black: #000;
    --brand-primary: #D2948B;
    --brand-secondary: #D4CB8C;
    --brand-third: #806A66;
    --brand-text: #331C18;
    --grey-light: #f6f6f6;
    --grey-med: #666666;
    --grey-dark: #232323;
    --dark-yellow: #805f00;
    --ff-default: "Cormorant Garamond", serif;
    --ff-accent: "Crimson Text", serif;
}

/* Backgrounds
-------------------------------------------------------------------*/
.bg-white {background-color: var(--white);}
.bg-black, .bg-brand-black, .bg-dark {background-color: var(--black);}
.bg-primary {background-color: var(--brand-primary);}
.bg-secondary {background-color: var(--brand-secondary);}
.bg-light-grey {background-color: var(--grey-light);}
.bg-med-grey, .bg-medium-grey {background: var(--grey-med);}
.bg-dark-grey {background-color: var(--grey-dark);}
.bg-angular {
    background-color: #f6f6f6;
    padding: 100px 40px;
    clip-path: polygon(0 15%, 100% 0, 100% 85%, 0 100%);
}
        @media (max-width: 768px) {
    html.m-5 {
    margin: 1rem !important;
  }
        }

/* Text Colors
-------------------------------------------------------------------*/
.text-white, .white {color: var(--white);}
.text-black {color: var(--black);}
.text-brand-primary, .text-red {color: var(--brand-primary);}
.text-brand-secondary, .text-secondary {color: var(--brand-secondary);}

/* Body
-------------------------------------------------------------------*/
body {
    background: var(--white);
    color: var(--black);
    font-family: var(--ff-default);
    line-height: 1.7;
    font-size: 1.1rem !important;
    font-weight: 400;
    line-height: 1.5;
    overflow-x: hidden;
}

    @media screen and (max-width: 991px) {
        body {
            padding-top: 70px;
        }
    }

    @media screen and (max-width: 620px) {
        body {
            padding-top: 70px;
        }
    }

/* Type Formatting
-------------------------------------------------------------------*/
p {
    margin: 1em 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--ff-accent);
    line-height: 1;
    padding: 0;
}

h1 {
    font-size: 5rem;
    line-height: 1;
}

    @media screen and (max-width: 1199px) {
        h1 {
            font-size: 4.6rem;
        }
    }

    @media screen and (max-width: 991px) {
        h1 {
            font-size: 4.0rem;
        }
    }

h2 {
    font-size: 4rem;
    margin: .5em 0 0 0;
}

    @media screen and (max-width: 1199px) {
        h2 {
            font-size: 2.8rem;
        }
    }

    @media screen and (max-width: 991px) {
        h2 {
            font-size: 2.4rem;
        }
    }

h3 {
    font-size: 2.6rem;
    font-weight: 700;
    margin: 1em 0 0 0;
}

a:link,
a:visited,
a:active,
a:hover {
    color: var(--black);
    text-decoration: none;
}

a:hover {
    color: var(--brand-primary);
}

a.dark:link,
a.dark:visited,
a.dark:active,
a.dark:hover {
    color: var(--black);
}

strong, b, .bold, .strong {
    font-family: var(--ff-bold);
}

.text-sm {
    font-size: 1.2rem;
    overflow-wrap: break-word;
}

.fs-reduced {
    font-size: 1.4rem;
    font-weight: 500;
}

.fs-sm {
    font-size: 1.3rem;
}

.smaller {
    font-size: 1.4rem;
}

.ff-default {
    font-family: var(--ff-default);
    font-weight: 700;
}

.intro-copy p {
    font-size: 2.8rem;
    line-height: 1.5;
    font-family: var(--ff-accent) !important;
    font-weight: 400;
    font-style: italic;
}

@media screen and (max-width: 1199px) {
    .intro-copy p {
        font-size: 2.6rem;
    }
}

@media screen and (max-width: 991px) {
    .intro-copy p {
        font-size: 2.4rem;
    }
}

/* Custom Stuff*/
.py-8 {
    padding-top: 12rem !important;
    padding-bottom: 12rem !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.visually-hidden.focusable:focus {
  position: absolute;
  top: 0;
  left: 0;
  background: #fff;
  padding: 1rem;
  z-index: 1000;
  clip: auto;
  width: auto;
  height: auto;
  overflow: visible;
}
/* Forms & Buttons
-------------------------------------------------------------------*/
.form-control, .form-select {
    border: 1px solid var(--grey-dark);
    font-weight: 300;
    background-color: var(--white);
    color: var(--grey-dark);
    font-size: 1.8rem;
    border-radius: 0;
    padding: .5em;
}
.btn{
    font-size: 1.5rem;
    padding: 0.5em 1em;
    border-radius: 0;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease-in-out;
}

.btn-custom,
a.btn-custom:link,
a.btn-custom:visited,
a.btn-custom:focus,
a.btn-custom:active {
    background-color: var(--white);
    color: var(--grey-med);
    border: 1px solid var(--brand-secondary);
    font-size: 1rem;
    padding: 0.5em 1em;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease-in-out;
    border:1px solid var(--brand-text);
}

.btn-custom:hover,
a.btn-custom:hover {
    background-color: var(--brand-primary); /* Gold */
    color: var(--white);
    border-color: var(--brand-primary) !important;
    text-decoration: none;
}

.btn-custom2,
a.btn-custom2:link,
a.btn-custom2:visited,
a.btn-custom2:focus,
a.btn-custom2:active {
    background-color: var(--brand-text);
    color: var(--white);
    border: 0px solid var(--brand-text) !important;
    font-size: 1rem;
    padding: 0.5em 1em;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease-in-out;
    border:1px solid var(--brand-text);
}

.btn-custom2:hover,
a.btn-custom2:hover {
    background-color: var(--brand-primary); /* Gold */
    color: var(--white);
    border-color: var(--brand-primary);
    text-decoration: none;
}

.btn-custom, .btn-custom2 {
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

.post-card-link:hover .btn-custom {
  background-color: var(--brand-secondary) !important;
  color: var(--white) !important;
  border-color: var(--brand-secondary) !important;
}

/* Make sure .btn-custom styles work on spans */
.btn-custom {
  background-color: var(--white);
  color: var(--grey-med);
  border: 1px solid var(--brand-text) !important;
  font-size: 1.5rem;
  padding: 0.5em 1em;
  border-radius: 50px !important;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease-in-out;

}

/* Hover style when hovering anywhere on the card */
.post-card-link:hover .btn-custom {
  background-color: var(--brand-text) !important;
  color: var(--white);
  border-color: var(--brand-secondary);
}

/* Images
-------------------------------------------------------------------*/
img.alignright {
    float: right;
    margin-left: 1em;
    margin-bottom: 1em;
}

img.alignleft {
    float: left;
    margin-right: 1em;
    margin-bottom: 1em;
}

.img-thegallery {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
}

.img-cover {
    width: 100%;
    height: auto;
}

@keyframes effectShine {
    0% {
        left: -75%;
    }

    100% {
        left: 125%;
    }
}

.image-gallery,
.image-gallery-small,
.image-figure,
.blog-thumbnail,
.image-container,
.image-rounded,
.event-thumbnail,
.image-gallery-products {
    position: relative;
    overflow: hidden;
    margin: 0;
}

.image-gallery:hover::before,
.image-gallery-small:hover::before,
.image-figure:hover::before,
.blog-thumbnail:hover::before,
.image-container:hover::before,
.image-rounded:hover::before,
.event-thumbnail:hover::before,
.image-gallery-products:hover::before {
    content: "";
    pointer-events: none;
    position: absolute;
    top: 0;
    left: -75%;
    z-index: 2;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
    transform: skew(-25deg);
    animation: effectShine 0.75s;
}

.image-gallery img,
.image-gallery-small img,
.image-gallery-products img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.image-gallery .zoom-icon,
.image-gallery-small .zoom-icon,
.image-container .zoom-icon,
.image-gallery-products .zoom-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: var(--white);
    background: rgba(0, 0, 0, 0.6);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.image-gallery:hover .zoom-icon,
.image-gallery-small:hover .zoom-icon,
.image-gallery-products:hover .zoom-icon {
    opacity: 1;
    transform: scale(1);
}

.image-gallery:hover img,
.image-gallery-small:hover img,
.image-gallery-products:hover img {
    transform: scale(1.1);
}

.image-figure {
    height: 400px;
}

.image-figure img {
    height: 100%;
    object-fit: cover;
}

.blog-thumbnail {
    width: 100%;
    height: 300px;
}

.blog-thumbnail img {
    width: 100% !important;
    height: 300px;
    object-fit: cover;
}

.event-thumbnail {
    width: 100%;
    height: 550px;
}

.event-thumbnail img {
    width: 100%;
    height: 550px;
    object-fit: cover;
}

.image-gallery {
    height: 250px;
}

.image-gallery-small {
    height: 150px;
}

.image-gallery-products {
    height: 400px;
}
.rounder{
    border-radius: 16px !important;
}

/* Top Bar
-------------------------------------------------------------------*/

.top-social a {
  display: inline-block;
  padding: 8px; /* increases clickable area to at least 32x32 */
  margin-left: 12px; /* space between links */
}

.social-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  vertical-align: middle;
  display: inline-block;
}

/* Home Hero*/
.featured-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  padding: 0;
  height: 700px; /* or auto with min-height */
  display: flex;
  align-items: flex-end; /* align content to bottom */
  overflow: hidden;
  cursor: pointer;
}

.hero-link {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 5;
  text-indent: -9999px; /* Hide text for accessibility fallback */
  background: transparent;
}

.featured-hero .overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 16px;
  z-index: 1;
}

.featured-hero .content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  text-align: left;
  max-width: 720px;
}

.featured-hero .category {
    display: inline-block;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
    font-weight: 600;
    color: #fff;
    padding: 5px 15px;
    background: rgba(255, 255, 255, .25);
    border-radius: 50px;
}

.featured-hero .subtitle {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 300;
  color: #f5f5f5;
  text-transform: uppercase;
}

.featured-hero .title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
  text-transform: uppercase;
}

.featured-hero .excerpt {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #e0e0e0;
}

/* Category Tabs */
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0;
  list-style: none;
  border-radius: 8px;
  justify-content: flex-start;
  margin-bottom: 2rem;
  border:none;
}

.category-tab {
  cursor: pointer;
  padding: 0.5rem 1rem;
  border: 0px solid  var(--grey-light);
  border-radius: 8px;
  font-weight: 500;
  color: var(--grey-med);
  transition: all 0.2s ease-in-out;
}

.category-tab:hover,
.category-tab:focus {
  color: var(--grey-dark); ;
}

.category-tab.active {
  background-color: white;
  border-bottom: 3px solid var(--brand-primary);
  color: var(--grey-med);
  font-weight: 600;
  border-radius: 0;
}

.post-card img{
    border-radius: 16px;
}

.post-card .post-title a {
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.post-card .post-title a:hover {
  color: #007bff;
}

.post-card .post-excerpt {
  font-size: 0.95rem;
  color: #333;
}

.category-post {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.category-post.hidden {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  position: absolute;
}

/* Roll */
.card-img-top {
  aspect-ratio: 4/3;
  object-fit: cover;
}
.card-title a:hover {
  text-decoration: underline;
}
.post-thumb {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  height: auto;
  width: 100%;
  border-radius: 1rem;
}


/* Post*/
.single-post h2, 
.single-post h3 {
  margin-top: 2rem;
  font-weight: 600;
}
.post-author-meta img {
  border-radius: 50%;
  width: 48px;
  height: 48px;
}
.post-author-meta .author-info {
  text-align: left;
  font-size: 0.9rem;
}
.callout {
  font-size: 1.65rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  border-left: 4px solid var(--brand-primary);
  padding: 1.25rem 1.5rem;
  font-style: italic;
}

/* About */

/* Scroll to Top */
.scrolltop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: none; /* Hidden by default */
}

.scrolltop .scroll.icon {
  background-color: #000;
  color: #fff;
  border-radius: 50%;
  padding: 12px 15px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.scrolltop .scroll.icon:hover {
  background-color: #444;
  transform: scale(1.05);
}
