/*
 Profile Wp CSS Reset
  https://www.joshwcomeau.com/css/custom-css-reset/
*/
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        interpolate-size: allow-keywords;
    }
}

body {
    line-height: 1.4em !important;
    -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
}

ul {
    list-style: none;
    padding: 0;
    margin-top: 0;
    margin-block-start: 0 !important;
}

.widget {
    margin-bottom: 10px;
}

li {
    margin-bottom: 5px;
}

h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
    margin-bottom: 10px;
    margin-block-end: 10px !important;
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

p {
    text-wrap: pretty;
}

h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
}

#root, #__next {
    isolation: isolate;
}

a {
    text-decoration: none;
}

/*theme base css*/
.position-relative {
    position: relative;
}

.position-absolute {
    position: absolute;
}

.position-fixed {
    position: fixed;
}

.position-sticky {
    position: sticky;
}

.d-flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-between {
    justify-content: space-between;
}

.justify-content-start {
    justify-content: start;
}

.justify-content-end {
    justify-content: end;
}

.align-items-start {
    align-items: start;
}

.align-items-center {
    align-items: center;
}

.align-items-end {
    align-items: end;
}

.w-100 {
    width: 100%;
}

.w-50 {
    width: 50%;
}

.w-33 {
    width: 33.33%;
}

.w-25 {
    width: 25%;
}

.gmsa-news-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px; /* Adjust padding for better spacing */
    box-sizing: border-box;
}

/* Comment Form */
.comment-respond {
    margin-top: 20px;
    background: #ffffff;
    border-radius: 8px;
}

.comment-reply-title {
    font-size: 28px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.logged-in-as {
    font-size: 14px;
    margin-bottom: 20px;
    color: #666666;
}

.logged-in-as a {
    color: #2271b1;
    text-decoration: none;
}

.logged-in-as a:hover {
    text-decoration: underline;
}

.required-field-message {
    font-size: 14px;
    color: #666666;
    font-style: italic;
}

.required {
    color: #d63638;
}

.comment-form-comment label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.comment-form-comment textarea {
    width: 100%;
    min-height: 150px;
    padding: 15px;
    border: 1px solid #dddddd;
    border-radius: 4px;
    font-size: 16px;
    line-height: 1.6;
}

.comment-form-comment textarea:focus {
    border-color: #2271b1;
    outline: none;
    box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.2);
}

/* Submit Button */
.form-submit {
    margin-top: 20px;
}

.wp-block-button__link {
    background: #A7100C;
    color: #ffffff;
    text-decoration: none;
    border: none;
    font-size: 1rem;
    border-radius: 16px;
    padding: 11px 16px 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    white-space: nowrap;
    cursor: pointer;
    margin-right: 8px;
    font-weight: 900;
    width: max-content;
}

.wp-block-button__link:hover {
    background: #135e96;
    color: #ffffff;
}

/* Comment Pagination */
.comment-navigation {
    margin: 30px 0;
    text-align: center;
}

.comment-navigation .nav-links a {
    color: #2271b1;
    text-decoration: none;
    padding: 5px 10px;
    margin: 0 5px;
}

.comment-navigation .nav-links a:hover {
    text-decoration: underline;
}

.comment-navigation .nav-links .current {
    font-weight: bold;
    color: #1a1a1a;
}

#commentform p {
    margin-bottom: 10px;
}

/*header-section*/
.gmsa-header-fixed .gmsa-news-header-menu-row {
    display: none;
}

.gmsa-header-fixed .gmsa-news-date-wrapper {
    display: none;
}

.gmsa-news-header-wrapper.gmsa-header-fixed {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.gmsa-header-fixed .gmsa-news-logo-wrapper .gmsa-news-site-logo {
    max-width: 180px;
}

.gmsa-news-header-top-row .gmsa-news-nav-menu-wrapper {
    display: none;
}

.gmsa-header-fixed .gmsa-news-header-top-row .gmsa-news-nav-menu-wrapper {
    display: block;
}

.gmsa-news-header-wrapper.gmsa-header-fixed .header-menu .menu-item a {
    color: #fff;
}

.gmsa-header-fixed .gmsa-news-search-toggle::before, .gmsa-header-fixed .gmsa-news-search-toggle::after {
    background-color: #fff;
}

.gmsa-header-fixed .gmsa-news-search-icon {
    border-color: #fff;
}

.gmsa-header-fixed .gmsa-news-toggler .menu-icon {
 /*   filter: brightness(0) invert(1);*/
}

.gmsa-news-search {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gmsa-news-search-toggle {
    width: 32px;
    height: 28px;
    border-radius: 50%;
    transform: translate(0, 0);
    cursor: pointer;
    background-color: transparent;
    border: none;
    margin-top: 0px;
}

.gmsa-news-search-toggle::after {
    position: absolute;
    right: 34%;
    bottom: 27%;
    width: 7px;
    height: 2px;
    border-radius: 2px;
    background-color: #fff;
    transform: rotate(45deg);
    transform-origin: right bottom;
    transition: all .3s ease-in-out;
    content: "";
}

.gmsa-news-search-toggle::before {
    position: absolute;
    top: 29%;
    right: 32%;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background-color: #fff;
    transform: rotate(-45deg);
    transform-origin: right top;
    transition: all .3s ease-in-out;
    content: "";
}

.gmsa-news-search-toggle::before, .gmsa-news-search-toggle::after {
    background-color: #08002f;
}

.gmsa-news-search-icon {
    position: absolute;
    top: 25%;
    left: 25%;
    border-color: #08002f;
    display: block;
    width: 33%;
    height: 33%;
    border-style: solid;
    border-width: 2px;
    border-radius: 50%;
    transition: all .3s ease-in-out;
    pointer-events: none;
}

.gmsa-news-search-toggle:hover {
    background-color: #f7eae4;
}

.gmsa-news-toggler {
    background-color: transparent;
    border: none;
}

.gmsa-news-logo-wrapper .gmsa-news-site-logo {
    width: 100%;
    display: block;
    max-width: 250px;
    margin: 10px 0;
    padding: 0;
}

.gmsa-news-nav-menu-wrapper .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gmsa-news-header-top-row {
    border-bottom: 1px solid #eee2dd;
}

.gmsa-news-button {
    font-size: 1rem;
    height: 32px;
    border-radius: 16px;
    padding: 0 16px 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    white-space: nowrap;
    cursor: pointer;
    margin-right: 8px;
    font-weight: 900;
}

.gmsa-news-red {
    border: 1px solid rgba(0, 0, 0, 0);
    color: #fff;
}

.gmsa-news-red:hover {
    background-color: #fff;
    border: 1px solid #dcbdb8;
}

.gmsa-news-outlined {
    box-sizing: border-box;
    border: 1px solid #dcbdb8;
    color: #1a1a1a;
    background-color: rgba(0, 0, 0, 0);
}

.gmsa-news-nav-menu-wrapper .header-menu .menu-item {
    display: inline-block;
    margin: 0 12px;
    padding: 14px 0 10px;
    padding-bottom: 10px;
    text-transform: uppercase;
    transition: .2s ease;
}

.gmsa-news-nav-menu-wrapper .header-menu .menu-item a {
    font-size: 1rem;
    line-height: 1;
    letter-spacing: 0;
    color: #A7100C;
    font-weight: 900;
    display: block;
    width: max-content;
}

/* Search popup styles */
.gmsa-news-search-popup-view {
    background-color: #f7eae4;
    padding: 16px 0;
    display: none;
}

.gmsa-news-search-popup-view.visible-search {
    display: flex;
}

.search-submit.gmsa-news-button.gmsa-news-red {
    padding: 0 32px;
    height: 48px;
    border-radius: 24px;
    font-size: 1rem;
}

.search-input-icon {
    width: 20px;
    height: 20px;
}

.gmsa-news-search-input-field {
    padding: 15px 14px 8px;
    background: #fff;
    border-bottom: 1px solid #DCBDB8 !important;
    gap: 10px;
    border-radius: 5px;
}

.gmsa-search-overlay {
    position: absolute;
    width: 100%;
    height: 100vh;
    top: 82px;
    background-color: rgba(8, 0, 47, .4);
    z-index: 2;
}

.active-search .gmsa-news-search-icon {
    display: none;
}

.gmsa-news-search-toggle.active-search::after {
    width: 18px;
    right: 32%;
    bottom: 23%;
}

.gmsa-news-search-toggle.active-search::before {
    top: 26%;
    right: 32%;
    width: 18px;
    height: 2px;
}

.gmsa-news-search-toggle.active-search {
    background-color: #F7EAE4;
}

.gmsa-search-wrapper .search-field {
    border: none;
    outline: none;
}

.gmsa-search-wrapper .search-form {
    gap: 10px;
}

.search-popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-popup-content {
    background: #fff;
    padding: 30px;
    width: 80%;
    max-width: 600px;
    position: relative;
    border-radius: 5px;
}

.close-search-popup {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
}

.search-popup-content form {
    display: flex;
}

.search-popup-content input[type="search"] {
    flex-grow: 1;
    padding: 10px;
    font-size: 16px;
}

.search-popup-content input[type="submit"] {
    padding: 10px 20px;
    margin-left: 10px;
    background: #0073aa;
    color: white;
    border: none;
    cursor: pointer;
}

/* Search popup styles */
/* popup styles */
/*.gmsa-popup-open {*/
/*    overflow: hidden;*/
/*}*/

/*.gmsa-popup-open-menu {*/
/*    overflow: hidden;*/
/*}*/

/* popup styles */


/* Menu popup styles */
.gmsa-news-toggler .menu-icon {
    width: 26px;
    height: 25px;
    fill: #08002F;
}

.active-menu .menu-icon {
    display: none;
}

.gmsa-news-toggler.active-menu::after {
    position: absolute;
    background-color: #08002f;
    height: 2px;
    width: 20px;
    right: 29%;
    bottom: 24%;
    border-radius: 2px;
    transform: rotate(45deg);
    transform-origin: right bottom;
    transition: all .3s ease-in-out;
    content: "";
}

.gmsa-news-toggler.active-menu::before {
    position: absolute;
    background-color: #08002f;
    top: 27%;
    right: 30%;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    transform: rotate(-45deg);
    transform-origin: right top;
    transition: all .3s ease-in-out;
    content: "";
}

.gmsa-news-toggler {
    background-color: transparent;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.gmsa-news-toggler.active-menu {
    background-color: #F7EAE4;
}

.gmsa-news-menu-popup-view {
    display: none;
}

.gmsa-news-menu-popup-view.visible-menu {
    display: block;
}

.popup-menu-wrapper {
    position: absolute;
    z-index: 3;
    box-sizing: border-box;
    margin: 0;
    overflow-y: auto;
    top: 0;
    display: flex;
    width: 100%;
    max-width: 1260px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    flex-direction: column;
    padding: 30px;
    color: #fff;
}

.gmsa-menu-overlay {
    position: absolute;
    width: 100%;
    height: 100vh;
    top: 0;
    background-color: rgba(8, 0, 47, .4);
    z-index: 2;
}

.popup-menu-wrapper ul a {
    color: #fff;
}

/* Menu popup styles */

/*code for subscriber form*/
.subscribe-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: #F7EAE4;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.subscribe-page {
    height: 100vh;
    padding: 20px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.subscribe-success {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

/*code for subscriber form*/
/*top-page popup add in header */
#gmsa-news-loadpage-popup.visible-load-add {
    display: flex;
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: rgba(8, 0, 47, .4);
    z-index: 200;
    top: 0;
}

#gmsa-news-loadpage-popup {
    display: none;
}

.gmsa-news-add-content {
    max-width: 70%;
    max-height: 70vh;
}

.header-banner .img-responsive {
    object-fit: cover;
    height: 70vh;
    width: 100%;
}

#close-popup-load-add {
    margin-left: auto;
    background: #fff;
    padding: 11px;
    border-radius: 50%;
    margin-bottom: 10px;
    cursor: pointer;
    z-index: 20;
    position: relative;
    height: 30px;
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 0;
}

/*top-page popup addin header */
.header-banner-center a {
    display: flex;
    justify-content: center;
    background-color: #F7EAE4;
    border-radius: 10px;
    padding: 20px;
    position: relative;

}

.header-banner-center a::after {
    content: "";
    position: absolute;
    left: 39px;
    top: 10px;
    font-size: 14px;
    color: #000000;
}

.gmsa-main-center-add {
    background-color: #FBF4F1;
    padding: 30px 0;
}

.gmsa-main-center-add .img-responsive {
    width: 100%;
}

/*homepage content*/
.gmsa-main-homepage {
    background-color: #FBF4F1;
    padding-bottom: 30px;
}

.gmsa-main-news-posts {
    width: 50%;
}

.gmsa-side-news-list {
    width: 25%;
}

.gmsa-sidebar-add-wrapper {
    width: 25%;
}

.gmsa-news-homepage-content {
    gap: 20px;
}

.gmsa-news-post-class {
    margin-bottom: 30px;
    padding: 16px;
    box-shadow: 0 1px 2px 0 rgba(8, 0, 47, .15);
    display: block;
    background-color: #fdf9f8;
    opacity: 1;
    transition: ease-in-out .1s;
}

.box-red-heading {
    width: 15px;
    height: 15px;
    display: block;
    margin-right: 4px;
}

.newspaper-heading {
    font-size: 1.125rem;
    line-height: 1.1;
    letter-spacing: 0;
    font-weight: 900;
    color: #1A1A1A;
    margin-left: 5px;
}

.gmsa-news-heading {
    margin-bottom: 8px;
}

.gmsa-news-post-title {
    font-size: 2.2rem;
    line-height: 1.1;
    letter-spacing: -0.8px;
    color: #1A1A1A;
    padding: 16px 0 6px;
    margin-block-end: 0px !important;
    font-weight: 900;
}

.gmsa-news-post-title:hover {
    text-decoration: underline;
}

.gmsa-news-post-excerpt a {
    font-size: 0.9375rem;
    font-family: BentonSans, sans-serif;
    line-height: 1.3333333333;
    letter-spacing: 0;
    color: #1A1A1A;
}

.gmsa-news-media .wp-post-image {
    object-fit: contain;
    height: auto;
}

.gmsa-add-right-sidebar {
    top: 20px;
}

.gmsa-news-postlist-box {
    margin-bottom: 12px;
    padding: 16px;
    box-shadow: 0 1px 2px 0 rgba(8, 0, 47, .15);
    display: block;
    background-color: #fdf9f8;
    opacity: 1;
    transition: ease-in-out .1s;
}
.image-add-middle {
    width: 100%;
    display: block;
    margin: 16px 0;
}
.image-add-middle .img-responsive {
    width: 100%;
}
.archive-post-list {
    padding-left: 30px;
}

.gmsa-news-postlist-box .post-link {
    font-size: 14px;
    line-height: 1.1;
    letter-spacing: 0;
    font-weight: 900;
    color: #1A1A1A;
    margin-bottom: 0 !important;
    margin-block-end: 0 !important;
}

/* Add post styles styles */
.gmsa-ad-post-class {
    padding: 0;
    box-shadow: 0 1px 2px 0 rgba(8, 0, 47, .15);
    display: block;
    background-color: #B4CADC;
    opacity: 1;
    transition: ease-in-out .1s;
    margin-bottom: 30px;
}

.gmsa-ad-post-content h2 {
    font-size: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.8px;
    color: #fff;
    margin-block-end: 0px !important;
    font-weight: 900;
    background-color: #1A1A1A;
    width: max-content;
    padding: 10px;
}

.gmsa-ad.gmsa-news-text-content {
    padding: 0px 16px 16px;
}

.gmsa-ad-media .attachment-full.size-full.wp-post-image {
    object-fit: contain;
    height: auto;
}

/* Add post styles styles */

/*marker list*/
.archive-post-list {
    list-style-type: none; /* Remove default numbers */
    counter-reset: post-counter; /* Initialize counter */
    padding-left: 0;
}

.archive-post-item {
    counter-increment: post-counter;
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 5px;
    border-bottom: 1px solid #DFDFDF;
}

.archive-post-item::before {
    content: counter(post-counter);
    position: absolute;
    left: 0;
    top: 8%;
    line-height: 28px;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    color: white;
    width: 25px;
    height: 25px;
    display: block;
    margin-right: 4px;
}

.gmsa-news-postlist-box .list-headings {
    padding-bottom: 20px;
}

.mobile-view-loop {
    display: none;
}

/*homepage content*/
/*Add content*/
.ad-banner {
    margin-bottom: 10px;
    width: 100%;
    border: 1px solid #ddd;
    overflow: hidden;
    position: relative;
    background-color: #f4f4f4;
    padding: 10px;
}

/*single content*/
.form-for-subscription {
    margin: 30px 0;
    background-color: #FDF9F8;
}

.gmsa-main-single-page {
    margin-top: 40px;
    padding-bottom: 4rem;
}

.gmsa-single-news-posts {
    width: 60%;
}

.single.single-post .gmsa-main-center-add {
    margin-top: 40px;
}

.single-post-title {
    font-size: 2.2rem;
    line-height: 1.1;
    letter-spacing: 0;
    font-weight: 900;
    color: #1A1A1A;
    margin-left: 5px;
}

.single-post-subheading {
    font-size: 1.1rem;
    line-height: 1.4;
    letter-spacing: 0;
    font-weight: 900;
    color: #1A1A1A;
    margin-left: 5px;
    margin-bottom: 10px;
}

.date-of-post {
    font-size: 0.75rem;
    font-family: BentonSans, sans-serif;
    line-height: 1.3333333333;
    letter-spacing: 0;
}

.gmsa-single-post-text-content {
    padding: 10px 0;
    border-bottom: 1px solid #E4CFCD;
    margin-bottom: 20px;
}

.author-title a {
    font-weight: 900;
    color: #1A1A1A;
    font-size: 1.125rem;
    line-height: 1.3333333333;
    letter-spacing: -0.5px;
    margin-left: 10px;
}

.image-avatar-single {
    border-radius: 50%;
    height: 50px;
    width: 50px;
}

.image-avatar-single .avatar.photo {
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

.media-content-single .post-thumbnail {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.media-content-single .post-thumbnail .wp-post-image {
    object-fit: cover;
    object-position: center;
    height: 100%;
}

.gmsa-news-post-excerpt {
    color: #333;
    font-size: 17px;
}

.social-media-links-wrapper.single-post {
    padding: 10px 0;
}

.ad-labels {
    display: none;
}

.older-articles-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.older-article-wrapper {
    border-bottom: 1px solid #DFDFDF;
    padding-bottom: 1.5rem;
}

.older-article-wrapper .date-of-post {
    padding: 10px 0;
}

/* First paragraph styling */
.single-post-text .first-paragraph {
    padding-bottom: 10px;
    display: block;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Ensure strong tag is bold (in case theme overrides it) */
.single-post-text .first-paragraph strong {
    font-weight: bold !important;
}

/* Italic style for quoted text */
.single-post-text em {
    font-style: italic;
    padding: 8px 0;
}

.form-for-subscription .gmsa-news-search-input-field {
    border: 1px solid #DCBDB8 !important;
}

.older-post .post-link {
    color: #1A1A1A;
}

/*single content*/
/*footer content*/
.footer-gmsa-news {
    padding: 50px 0;
}

.footer-gmsa-news .logo-wrapper {
    width: 250px;
}

.footer-pages-links {
    color: #fff;
    font-size: 1.4rem;
    line-height: 1;
    letter-spacing: 0;
    font-weight: 500;
    display: block;
    width: max-content;
    margin-bottom: 10px;
}
.footer-pages-links a {
    color: #fff;
    font-size: 1.4rem;
    line-height: 1;
    letter-spacing: 0;
    font-weight: 500;
    display: block;
    width: max-content;
    margin-bottom: 10px;
}
.gmsa-news-site-logo {
    padding: 20px 0;
}
.social-media-links-wrapper {
    gap: 10px;
}

.footer-sociaal-links {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*footer content*/
/*hidden stuff*/
.gmsa-news-login {
    display: none;
}
.gmsa-news-subscribe {
    display: none;
}
/*hidden stuff*/