
/* HEADER NAV ICON AND MENU */
.ast-mobile-menu-wrap .main-navigation .ast-menu-toggle svg,
.menu-toggle .mobile-menu-toggle-icon .ast-inline-flex svg{
    display: none !important;
}
.menu-toggle .mobile-menu-toggle-icon{
	position:relative;
	width: 24px;
    height: 24px;
}
.ast-mobile-menu-wrap .main-navigation .ast-menu-toggle,
.menu-toggle .mobile-menu-toggle-icon .ast-inline-flex:first-of-type{
	position:absolute;
    background-image: url('/wp-content/uploads/2025/12/ham.svg'); /* Or use font-family for icons */
    background-size: contain;
    background-repeat: no-repeat;
    width: 24px; /* Adjust size */
    height: 24px; /* Adjust size */
	transition: all .5s;
}
.menu-toggle.toggled .mobile-menu-toggle-icon .ast-inline-flex:first-of-type{
	transform: rotate(90deg) scaleY(.01);
}

.menu-toggle .mobile-menu-toggle-icon .ast-inline-flex:nth-of-type(2){
	position:absolute;
    background-image: url('/wp-content/uploads/2025/12/door.svg'); /* Or use font-family for icons */
    background-size: contain;
    background-repeat: no-repeat;
    width: 24px; /* Adjust size */
    height: 24px; /* Adjust size */
	transform: rotate(90deg) scaleY(.01);
	transition: all .5s;
}

.menu-toggle.toggled .mobile-menu-toggle-icon .ast-inline-flex:nth-of-type(2){
	transform: unset;
}

.ast-desktop-header-content, .ast-mobile-header-content {
    position: absolute;
    width: 100%;
    max-width: 300px;
    right: 0;
}


/* STORY GRID CSS */
.story_wrapper{
	display:flex;
	flex-wrap:wrap;
	gap: 30px;
}
.story_wrapper .story-card{
	width: calc(33% - 20px);
	padding: 20px;
	border: solid 1px #123658;
	cursor:pointer;
}
.story_wrapper .story-card-image-wrapper{
	text-align:center;
}
.story_wrapper .story-card-image{
	max-width: 100px;
	height:auto;
	margin-bottom: 20px;
}
.story_wrapper .arrow-svg{
	text-align:right;
}
.story_wrapper svg {
	width: 40px;
	height: 40px;
}
.story_wrapper svg g, .story_wrapper svg g path {
	stroke: #fcbf26;
}
.card-name{
	margin-top: 20px;
	font-weight:700;

}
.card-audience{
	font-weight:700;
	text-transform:uppercase;
}

.story_wrapper .modal {
    position: fixed;
    z-index: 1000; /* Ensure it's on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .6);
    
    /* Animation Properties */
    display: flex;          /* Centers the content */
    align-items: center;    /* Centers vertically */
    justify-content: center; /* Centers horizontally */
    
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.story_wrapper .modal.open {
    opacity: 1;
    visibility: visible;
}

/* The Zoom Effect on the Content Box */
.story_wrapper .modal .modal-content {
    transform: scale(0.7); /* Start smaller */
    transition: transform 0.3s ease-in-out;
}

.story_wrapper .modal.open .modal-content {
    transform: scale(1); /* Zoom into full size */
}
.story_wrapper .modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 2rem;
    border: 1px solid #9ac38a;
    width: 100%;
    color: #000;
    border-radius: 0;
    position: relative;
}
.story_wrapper .close-wrapper {
    position: absolute;
    top: 35px;
    right: 35px;
}
.story_wrapper .close {
    float: right;
    font-size: 28px;
    font-weight: 700;
    position: relative;
    text-align: right;
    z-index: 10;
    opacity: 1;
    text-shadow: unset;
}
.story_wrapper .close svg g {
    stroke: #4d694e;
}
.story_wrapper .close:focus svg g, .story_wrapper .close:hover svg g {
    stroke: #fff;
    fill: #4d694e;
}

.story_wrapper .share-story-cta-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 1rem;
}
.story_wrapper .share-story-cta-wrapper .share-story-cta {
    border: solid 2px #ffa329;
    color: #ffa329;
    max-width: 20rem;
    width: 20rem;
    font-family: BwGradual-Bold, sans-serif;
    font-size: 18px;
	font-weight:700;
    transition: .3s ease all;
    position: relative;
    z-index: 10;
    text-align: center;
    border-radius: 1.9rem;
    padding: .6rem 0;
    text-transform: uppercase;
    display: block;
	text-decoration:none;
}
.story_wrapper .share-story-cta-wrapper .share-story-cta img {
    height: 40px;
    margin-right: .6rem;
}
.story_wrapper .share-story-cta-wrapper .share-story-cta:hover {
    color: #fff;
}

.story_wrapper .share-story-cta-wrapper .share-story-cta:before {
    background-color: #ffa329;
    transition: .5s all ease;
	transition: .5s all ease;
    position: absolute;
    top: 0;
    left: 50%;
    right: 50%;
    bottom: 0;
    opacity: 0;
    content: "";
    z-index: -2;
    border-radius: 1.9rem;
}
.story_wrapper .share-story-cta-wrapper:hover .share-story-cta:before {
    background-color: #ffa329;
    transition: .5s all ease;
    left: -3px;
    right: -3px;
    opacity: 1;
}

@media (width > 768px) {
    .story_wrapper .modal-content {
        width: 70%;
    }
	.story_wrapper .share-story-cta-wrapper {
        justify-content: flex-end;
        margin-top: 0;
    }
}
