/*
Theme Name: New Mexico Sentinel
Author: JPM
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Gelasio:ital,wght@0,400..700;1,400..700&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

* {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: underline;
}

a:hover {
    color: #8A2133;
    text-decoration: none;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Lato", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 17px;
    line-height: 32px;
    letter-spacing: 0%;
    color: #000000;
}

h1 {
    font-family: "Gelasio", serif;
    font-optical-sizing: auto;
    font-size: 60px;
    font-weight: 700;
    line-height: 58px;
}

h2 {
    font-family: "Gelasio", serif;
    font-optical-sizing: auto;
    font-size: 40px;
    font-weight: 700;
    line-height: 38px;
}

h3 {
    font-size: 30px;
    font-weight: 700;
    line-height: 34px;
}

blockquote {
    border-left: .25em solid;
    margin: 0 0 1.75em;
    padding-left: 1em;
    font-weight: inherit;
    color: inherit;
    font-size: inherit;
    border-color: #000000;
}

.container {
    width: 100%;
    max-width: 1440px;
    padding: 0 20px;
    margin: 0 auto;
}
.container.narrow {
    max-width: 1020px;
}
.container.page-content {
    max-width: 780px;
}
.button {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-size: 13px;
    line-height: 60px;
    letter-spacing: 3%;
    text-align: center;
    text-transform: uppercase;
    display: inline-block;
    height: 60px;
    padding: 0 40px;
    background: #8A2133;
    color: #ffffff;
    transition: all .2s ease-in-out;
    text-decoration: none;
}
.button:hover {
    -webkit-filter: brightness(1.2);
    -moz-filter: brightness(1.2);
    filter: brightness(1.2);
    color: #ffffff;
}
.center {
    text-align: center;
}

/* Header */
.header {
    position: relative;
    padding: 40px 20px 20px 20px;
}
.header a.logo {
    display: block;
    margin: 0 auto;
    max-width: 435px;
    padding: 0 60px;
    width: 100%;
}
.header a.logo img {
    width: 100%;
    height: auto;
}
.header .mobile-menu {
    display: none;
    position: absolute;
    left: 20px;
    top: 50%;
    margin-top: 0px;
    cursor: pointer;
}
.header button.search-toggle, 
.header button.close-toggle {
    display: block;
    background: none;
    border: none; 
    outline: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 50%;
    margin-top: 0px;
}
.header button.search-toggle {
    display: block;
}
.header button.close-toggle {
    display: none;
    padding: 2px;
    border: 1px solid #CECECE;
    border-radius: 50%;
    height: 24px;
    width: 24px;
    margin-top: -2px; 
    margin-left: -12px;
}
.header button.search-toggle svg, .header button.close-toggle svg {
    width: 20px;
    height: auto;
}
.header button.close-toggle svg {
    width: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -6px;
    margin-left: -6px;
}
.header button.search-toggle svg path, .header button.close-toggle svg path {
    fill: #000000;
    transition: fill 0.3s ease;
}
.header button.search-toggle:hover svg path, .header button.close-toggle:hover svg path {
    fill: #8A2133;
}
.header.search-expanded button.search-toggle {
    display: none;
}
.header.search-expanded button.close-toggle {
    display: block;
}


/* Navigation */
.nav {
    width: 100%;
    border-top: 1px solid #8A2133;
    border-bottom: 1px solid #8A2133;
    padding: 10px 0px;
    margin: 0px;
    position: sticky;
    top: 0;
    z-index: 100000; 
    background: #ffffff;
}
.nav .container ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 10px 46px;
    flex-wrap: wrap;
}
.nav .container ul li a {
    font-family: "Lato", sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 100%;
    letter-spacing: 3%;
    text-transform: uppercase;
    text-decoration: none;
    color: #000000;
    transition: color 0.3s ease;
}
.nav .container ul li.current-menu-item a {
    font-weight: 900;
    color: #8A2133;
}
.nav .container ul li a:hover {
    color: #8A2133;
}
.nav .search-form {
    position: absolute;
    top: 0px;
    left: 0px;
    padding: 0;
    background: #ffffff;
    width: 100%;
    z-index: 100;
    box-shadow: 0px 25px 25px 0px #00000026;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    poLato-events: none;
}

.nav .search-form.active {
    max-height: 500px;
    padding: 40px 0px;
    opacity: 1;
    poLato-events: auto;
}

.nav .search-form form {
    max-width: 890px;
    display: block;
    position: relative;
    margin: 0 auto;
    border: 1px solid #8A2133;
    border-radius: 6px;
}

.nav .search-form form input[type=text] {
    width: 100%;
    padding: 10px 20px;
    height: 70px;
    line-height: 70px;
    font-size: 15px;
    color: #777777;
    background: transparent;
    border: none;
    outline: 0;
    text-indent: 10px;
    padding-right: 60px;
}

.nav .search-form form button {
    display: block;
    background: none;
    border: none; 
    outline: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
    height: 30px;
    width: 30px;
}
.nav .search-form form button svg {
    width: 25px;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -12.5px;
    margin-left: -12.5px;
}
.nav .search-form form button svg path {
    fill: #000000;
    transition: fill 0.3s ease;
}
.nav .search-form form button:hover svg path {
    fill: #8A2133;
}

/* Submenu / Dropdown Support */
.nav .container ul li {
    position: relative;
}

.nav .container ul li.menu-item-has-children > a:after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 6px;
    margin-bottom: 2px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path d="M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 384.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"/></svg>') no-repeat center;
    background-size: contain;
    transform: rotate(0deg);
    transition: transform 0.25s ease;
}

.nav .container ul li.menu-item-has-children:hover > a:after,
.nav .container ul li.menu-item-has-children:focus-within > a:after {
    transform: rotate(180deg);
}

/* Submenu */
.nav .container ul ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 100%;
    transform: translateX(-50%);
    min-width: 180px;
    background: #ffffff;
    /*border: 1px solid #8A2133;*/
    border-top: none;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 999;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.nav .container ul li:hover > ul.sub-menu,
.nav .container ul li:focus-within > ul.sub-menu,
.nav .container ul li ul.sub-menu:hover,
.nav .container ul li ul.sub-menu:focus-within {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav .container ul ul.sub-menu li {
    width: 100%;
}

.nav .container ul ul.sub-menu li a {
    display: block;
    padding: 12px 10px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 3%;
}

.nav .container ul ul.sub-menu li a:hover {
    background: #8A2133;
    color: #ffffff;
}

.nav .container ul ul.sub-menu li.current-menu-item > a,
.nav .container ul ul.sub-menu li.current-menu-ancestor > a {
    background: #8A2133;
    color: #ffffff;
    font-weight: 900;
}

/* Arrow for sub-submenus (optional, if you have deeper levels) */
.nav .container ul li.menu-item-has-children ul li.menu-item-has-children > a:after {
    float: right;
    transform: rotate(-90deg);
    margin-top: 6px;
}

/* Deeper levels - push to the right */
.nav .container ul ul ul.sub-menu {
    top: 0;
    left: 100%;
    transform: none;
}

/* Mobile submenu handling */
.nav .mobile-menu-expand ul li.menu-item-has-children > a:after {
    content: " ▾";
    float: right;
}

.nav .mobile-menu-expand ul ul.sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 0 20px;
}

.nav .mobile-menu-expand ul li.menu-item-has-children.active > ul.sub-menu {
    display: block;
}


.nav .mobile-menu-expand {
    background: #ffffff;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: 100;
    box-shadow: 0px 25px 25px 0px #00000026;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    pointer-events: none;
}

.nav .mobile-menu-expand.active {
    max-height: 500px;
    padding: 5px 0px;
    opacity: 1;
    pointer-events: auto;
}

.nav .mobile-menu-expand ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}
.nav .mobile-menu-expand ul li {
    font-family: "Lato", sans-serif;
    font-weight: 500;
    font-size: 11px;
    line-height: 100%;
    letter-spacing: 3%;
    text-transform: uppercase;
    border-bottom: 1px solid #EE92A2;
    padding: 20px;
}
.nav .mobile-menu-expand ul li:last-child {
    border-bottom: 0px;
}
.nav .mobile-menu-expand ul li a {
    text-decoration: none;
    color: #000000;
}

/* Page Content */
.page-content {
    margin-top: 32px;
}
h1.page-title {
    width: 100%;
    text-align: center;
}
.page-content .gform_wrapper form .gform_footer input[type=submit].gform_button.gform_button {
    padding: 0 24px;
    height: 60px;
    line-height: 60px;
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 3%;
    text-align: center;
    text-transform: uppercase;
    background: #8A2133;
    border-radius: 0;
    transition: all .2s ease-in-out;
}

/* Page Content - 404 */
.error-404 {
    text-align: center;
    padding: 200px 0px;
    max-width: 730px;
    margin: 0 auto;
}
.error-404 .error-label {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-size: 24.27px;
    line-height: 100%;
    letter-spacing: 3%;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.error-404 h1.page-title {
    font-size: 90px;
    line-height: 90px;
    font-weight: 400;
    letter-spacing: 0%;
    padding: 0;
    margin: 0;
}
.error-404 a.button {
    margin-top: 20px;
    border-radius: 6px;
}

/* Legal styles */
.legal-selector {
    display: inline-block;
    margin: 0 auto;
    padding: 4px;
    border: 1px solid #CECECE;
    border-radius: 6px;
    margin-bottom: 15px;
    margin-top: -20px;
}
.legal-selector a {
    display: inline-block;
    border-radius: 6px;
    padding: 0 16px;
    height: 42px;
    line-height: 42px;
    font-family: "Lato", sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3%;
    color: #000000;
    text-decoration: none;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}
.legal-selector a:hover {
    color: #8A2133;
}
.legal-selector a.active {
    background: #8A2133;
    color: #ffffff;
    z-index: 5;
}

/* Single Post */ 
.post-header {
    margin-top: 40px;   
}
.post-header .post-category a {
    font-family: "Gelasio", serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 40px;
    letter-spacing: 0%;
    color: #000000;
    text-decoration: none;
    transition: all .2s ease-in-out;
}
.post-header .post-category a:hover {
    color: #8A2133;
}
.post-header h1.post-title {
    font-family: "Gelasio", serif;
    font-weight: 700;
    font-size: 54px;
    line-height: 58px;
    letter-spacing: 0%;
    margin: 0;
    padding: 0;
    margin-top: 20px;
}
.post-header h2.post-subtitle {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-size: 20px;
    letter-spacing: 0%;
    line-height: 24px;
    letter-spacing: 0%;
    margin: 0;
    padding: 0;
    margin-top: 10px;
}
.post-header .post-meta {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 10px;
    font-family: "Gelasio", serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 3%;
    text-transform: uppercase;
    color: #777777;
}
.post-header .post-author {
    padding-right: 5px;
}
.post-header .post-author a {
    text-decoration: none;
}
.post-header .post-date {
    padding-left: 5px;
}
.post-header .post-thumbnail {
    margin-top: 5px;
}
.post-header .post-thumbnail-caption {
    font-family: "Lato", sans-serif;
    font-weight: 500;
    font-size: 11px;
    line-height: 100%;
    letter-spacing: 3%;
    color: #777777;
    font-size: 13px;
    line-height: 16px;
}
.post-header .post-thumbnail-credit {
    line-height: 15px;
    font-family: "Lato", sans-serif;
    font-style: italic;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 3%;
    color: #777777;
}
.post-header .post-thumbnail-credit a {
    color: #777777;
    text-decoration: none;
}
.post-header .post-thumbnail-credit a:hover {
    color: #8A2133;
}
.post-content {
    position: relative;
}
.post-share {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: auto;
}
.post-share .post-share-option {
    display: block;
    border: 1px solid #D7D7D7;
    background: #ffffff;
    border-left: 0px;
    width: 33px;
    height: 33px;
}
.post-share .post-share-option:first-of-type {
    border-left: 1px solid #D7D7D7;
}
.post-share .post-share-option a {
    display: block;
    height: 33px;
    width: 33px;
    position: relative;
}
.post-share .post-share-option a svg {
    width: 16px;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -8px;
    margin-left: -8px;
}
.post-share .post-share-option.email a svg {
    margin-top: -5px;
}
.post-share .post-share-option a svg path {
    fill: #000000;
    transition: fill 0.3s ease;
}
.post-share .post-share-option a:hover svg path {
    fill: #8A2133;
}
.related-posts {
    display: block;
    margin-top: 50px;
    border-top: 1px solid #8A2133
}

/* Loop */
.loop-content {
    margin-top: 40px;
}
h1.search-title {
    font-family: Lato;
    font-weight: 700;
    font-size: 24.27px;
    line-height: 100%;
    letter-spacing: 0%;
}
h1.category-title {
    font-family: "Bodoni 72";
    font-weight: 700;
    font-size: 39.27px;
    line-height: 40px;
    letter-spacing: 0%;
    text-align: center;
}
h2.loop-label {
    font-family: "Gelasio", serif;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 3%;
    padding-bottom: 0px;
    margin-bottom: 8px;
}
.standard-loop {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap; 
}
.standard-loop .standard-loop-entry {
    width: calc(25% + 10px);
    padding: 20px 0px;
    box-sizing: initial;
    display: flex; 
    flex-direction: column;
}
.standard-loop .standard-loop-entry.landscape {
    width: calc(50% - 10px);
}
.standard-loop .standard-loop-entry:nth-child(4n-3), 
.standard-loop .standard-loop-entry:nth-child(4n) {
    width: calc(25% - 10px);
}
.standard-loop .standard-loop-entry.landscape:nth-child(4n-3),
.standard-loop .standard-loop-entry.landscape:nth-child(4n) {
    width: calc(50% - 10px);
}
.standard-loop .standard-loop-entry.top-border {
    border-top: 1px solid #8A2133;
}
.standard-loop .standard-loop-entry .standard-loop-entry-inner {
    min-height: 100%; 
    width: 100%;
    border-right: 1px dashed #EE92A2;
    padding: 0 20px;
}
.standard-loop-entry-inner.landscape {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.magazine-loop .standard-loop-entry-inner.landscape {
    flex-direction: row-reverse;
}

.magazine-loop.magazine-reverse .standard-loop-entry-inner.landscape {
    flex-direction: row;
}
.standard-loop-entry .loop-entry-thumbnail {
    margin-bottom: 15px;
}
.standard-loop-entry-inner.landscape .loop-entry-thumbnail {
    flex: 55% 0 0;
    margin-bottom: 0px;
}
.related-posts .standard-loop-entry.landscape .standard-loop-entry-inner.landscape .loop-entry-thumbnail {
    flex: 40% 0 0;
}
.standard-loop .standard-loop-entry:nth-child(4n-3) .standard-loop-entry-inner {
    padding-left: 0px;
}
.standard-loop .standard-loop-entry:nth-child(4n) .standard-loop-entry-inner {
    padding-right: 0px;
    border-right: 0px;
}
.standard-loop .standard-loop-entry.landscape:nth-child(2n) .standard-loop-entry-inner {
    border-right: 0px;
    padding-right: 0px;
}

.standard-loop-entry .loop-entry-thumbnail-inner {
    width: 100%; 
    padding-top: 60%;
    position: relative;
    background-size: cover;
    background-position: center; 
    background-repeat: no-repeat;
    transition: all .2s ease-in-out;
}
.standard-loop-entry a:hover .loop-entry-thumbnail-inner {
    -webkit-filter: brightness(1.2);
    -moz-filter: brightness(1.2);
    filter: brightness(1.2);
}
.standard-loop-entry .loop-entry-category a {
    font-family: "Lato", sans-serif;
    display: inline-block;
    font-weight: 700;
    font-size: 11px;
    line-height: 100%;
    letter-spacing: 3%;
    text-transform: uppercase;
    text-decoration: none;
    margin-bottom: 5px;
    padding: 5px 10px;
    color: #fff;
    background: #8A2133;
    transition: all .2s ease-in-out;
}
.standard-loop-entry .loop-entry-category a:hover {
    -webkit-filter: brightness(1.2);
    -moz-filter: brightness(1.2);
    filter: brightness(1.2);
}
.standard-loop-entry  a.loop-entry-title {
    display: block;
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 17px;
    letter-spacing: 0%;
    text-decoration: none;
    color: #000000;
    margin-top: 2px;
}
.standard-loop-entry  a.loop-entry-title:hover {
    color: #8A2133;
}
.standard-loop-entry .loop-entry-excerpt {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    letter-spacing: 0%;
    color: #000000;
    margin-top: 10px;
}
.standard-loop-entry .loop-entry-meta {
    font-family: "Gelasio", serif;
    font-weight: 700;
    font-size: 11px;
    line-height: 100%;
    letter-spacing: 3%;
    text-transform: uppercase;
    color: #777777;
    margin-top: 20px;
}

.standard-loop-entry .loop-entry-meta a {
    color: #777777;
    text-decoration: none;
}
.standard-loop-entry .loop-entry-meta a:hover {
    color: #8A2133;
}
.pagination {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}
.pagination .next-link, .pagination .previous-link {
    margin-top: 30px;
}
.pagination .next-link {
    margin-left: auto;
}
.pagination a {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-size: 13px;
    line-height: 100%;
    letter-spacing: 3%;
    text-align: center;
    border-radius: 6px;
    text-transform: uppercase;
    padding: 22px;
    border: 1px solid #8A2133;
    color: #8A2133;
    transition: all .2s ease-in-out;
    text-decoration: none;
}
.pagination a:hover {
    background: #F5F5F5;
}

/* Front Page */ 
.homepage-content .top-fold {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    margin-top: 20px;
    margin-bottom: 40px;
}
.homepage-content .top-fold .popular-posts {
    flex: 250px 0 0;
    padding-right: 20px;
    border-right: 1px dashed #EE92A2;

}
.homepage-content .top-fold .featured-post {
    flex-grow: 1;
    padding-left: 20px;
}
.category-section {
    margin-top: 40px;
    border-top: 1px solid #8A2133;
    padding-top: 0px;
}
.category-section .section-header {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
    align-items: center;
    padding-top: 20px;
}
.category-section h2.loop-label {
    display: inline-block;
    padding: 0;
    margin: 0;
}
.category-section  .view-all-link {
    margin-left: auto;
    display: block;
    position: relative;
}
.category-section  .view-all-link a {
    font-family: "Lato", sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 3%;
    text-align: center;
    text-transform: uppercase;
    color: #8A2133;
    text-decoration: none;
    display: block;
    position: relative;
    padding-right: 15px;
    z-index: 1;

}
.category-section  .view-all-link a:after {
    content: "";
    width: 10px;
    height: 10px;
    display: block;
    position: absolute;
    right: 0px;
    top: 1px;
    mask: url('imgs/arrow.svg') no-repeat center;
    -webkit-mask: url('imgs/arrow.svg') no-repeat center;
    background-color: #8A2133; /* Default fill color */
    mask-size: cover;
    -webkit-mask-size: cover;
    z-index: -1;
}

.category-section .view-all-link a:hover:after {
    background-color: #000; /* Hover fill color */
}
.category-section  .view-all-link a:hover {
    color: #000;
}
.magazine-loop {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    margin-top: 20px;
}
.magazine-loop.magazine-reverse {
    flex-direction: row-reverse;
}
.magazine-loop .magazine-featured {
    flex-grow: 1;
    padding-right: 20px;
    border-right: 1px dashed #EE92A2;
}
.magazine-loop .magazine-featured .standard-loop-entry a.loop-entry-title,
.featured-post .standard-loop-entry a.loop-entry-title {
    font-family: "Gelasio", serif;
    font-weight: 700;
    font-size: 39.27px;
    line-height: 40px;
    letter-spacing: 0%;
    text-transform: capitalize;
}
.magazine-loop .magazine-column {
    display: flex;
    flex-direction: column;
    flex: 310px 0 0;
    padding-left: 20px;
    padding-right: 0px;
    border: 0px;
}

.magazine-loop.magazine-reverse .magazine-column {
    padding-left: 0px;
    padding-right: 20px;
}

.magazine-loop.magazine-reverse .magazine-featured {
    border-right: 0px;
    border-left: 1px dashed #EE92A2;
    padding-right: 0px;
    padding-left: 20px;
}

.magazine-loop .magazine-column .standard-loop-entry {
    margin-top: 17px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #EE92A2;
}
.magazine-loop .magazine-column .standard-loop-entry:first-child {
    margin-top: 0px;
}
.magazine-loop .magazine-column .standard-loop-entry:last-child {
    padding-bottom: 0px;
    border-bottom: 0px;
}
.popular-posts-loop {
    display: flex;
    flex-direction: column;
}
.popular-posts-loop .standard-loop-entry {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 10px 0px;
    border-bottom: 1px dashed #EE92A2;
    gap: 22px;
    align-items: center;
}
.popular-posts-loop .standard-loop-entry:last-child {
    border-bottom: 0px;
    padding-bottom: 0px;
}
.popular-posts-loop .standard-loop-entry:first-child {
    margin-top: 0px;
    padding-top: 0px;
}
.popular-posts-loop .popular-posts-entry .number {
    font-family: "Gelasio", serif;
    font-weight: 400;
    font-size: 63.54px;
    line-height: 100%;
    letter-spacing: 3%;
}
.popular-posts-loop .popular-posts-entry .title {
    line-height: 17px;
}
.popular-posts-loop .popular-posts-entry .title a {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0%;
    text-decoration: none;
}
.popular-posts-loop .popular-posts-entry:last-child {
    border-bottom: 0px;
    padding-bottom: 0px;
}
.podcast-embed {
    margin-top: 40px;
}

/* Footer */
.footer-container {
    margin-top: 40px;
}
.footer-form {
    background: #8A2133;
    color: #ffffff;
}
.footer-form .container {
    border-bottom: 1px solid #FFFFFF;
    padding-top: 20px;
    padding-bottom: 20px;
}
.footer-form .form-container-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0;
    padding-left: 40%;
    position: relative;
}
.footer-form .gform_wrapper {
    border-left: 1px solid #FFFFFF;
    padding-left: 63px;
    padding-top: 77px;
    padding-bottom: 77px;
}
.footer-form .gform_wrapper.gform_confirmation_wrapper {
    border-left: 0px;
    width: calc(100% + 460px);
    margin-left: -460px;
    padding-left: 0px;
}
.footer-form .gform_wrapper.gform_confirmation_wrapper .gform_confirmation_message {
    width: 100%;
    display: block;
    text-align: center;
    font-family: "Gelasio", serif;
    font-weight: 700;
    font-size: 54px;
    line-height: 63px;
    letter-spacing: 0%;
}
.footer-form .gform_wrapper h2.gform_title {
    position: absolute;
    left: 0px;
    top: 77px;
    font-weight: 400;
    max-width: 40%;
    width: 460px;
    font-size: 54px;
    line-height: 63px;
    padding: 0px;
    margin: 0px;
}
.footer-form .gform_wrapper p {
    margin: 0;
    padding: 0;
    font-weight: 400;
    font-size: 15px;
    line-height: 22px;
    letter-spacing: 0%;
    margin-bottom: 10px;
}
.footer-form .gform_wrapper .gform_body .gform-field-label {
    display: none;
}
.footer-form .gform_wrapper .gform_validation_errors {
    background: #ffffff;
    color: #8A2133;
    padding: 20px;
    margin-bottom: 20px;
}
.footer-form .gform_wrapper .gform_validation_errors h2 {
    color: #8A2133;
    font-size: 18px;
    margin: 0;
}
.footer-form .gform_wrapper .gfield_validation_message {
    background: #ffffff;
    color: #8A2133;
    padding: 10px;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 700;
}
.footer-form .gform_wrapper .gform_body .gfield_error input[type=email],
.footer-form .gform_wrapper .gform_body .gfield_error input[type=tel] {
    border: 2px solid #ffffff !important;
}
.footer-form .gform_wrapper form {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.footer-form .gform_wrapper form .gform_body {
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-form .gform_wrapper form .gform_body .gform_fields {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
}
.footer-form .gform_wrapper form .gform_body .gfield {
    flex: 1;
    min-width: 200px;
    margin-bottom: 0;
}
.footer-form .gform_wrapper form .gform_body .gfield--type-consent {
    flex: 1 1 100%;
    margin-top: 10px;
}
.footer-form .gform_wrapper form .gform_body .disclosure {
    flex: 1 1 100%;
    font-size: 11px;
    line-height: 1.4;
    margin-top: 10px;
    color: #ffffff;
}
.footer-form .gform_wrapper form .gform_body .disclosure a {
    color: #ffffff;
    text-decoration: underline;
}
.footer-form .gform_wrapper form .gform_body input[type=email],
.footer-form .gform_wrapper form .gform_body input[type=tel] {
    height: 60px;
    width: 100%;
    line-height: 60px;
    border-radius: 0px;
    font-family: "Lato", sans-serif;
    font-weight: 600;
    font-size: 13px;
    line-height: 100%;
    letter-spacing: 3%;
    color: #747474;
    border: 0px !important;
    outline: 0px !important;
    padding: 0 15px;
}
.footer-form .gform_wrapper form .gform_body .gfield_consent_label {
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
    display: inline !important;
    color: #ffffff;
}
.footer-form .gform_wrapper form .gform_body input[type=checkbox] {
    display: inline-block;
    width: auto;
    margin-right: 10px;
}
.footer-form .gform_wrapper form .gform_body .gfield_consent_description {
    font-size: 11px;
    line-height: 1.4;
    margin-top: 5px;
    color: #ffffff;
}
.footer-form .gform_wrapper form .gform_footer {
    padding: 0;
    margin: 20px 0 0 0;
    width: 100%;
}
.footer-form .gform_wrapper form .gform_footer input[type=submit].gform_button.gform_button {
    padding: 0 24px;
    height: 60px;
    line-height: 60px;
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 3%;
    text-align: center;
    text-transform: uppercase;
    color: #8A2133;
    background: #E7BA2C;
    border-radius: 0;
    transition: all .2s ease-in-out;
}
.footer-form .gform_wrapper form .gform_footer input[type=submit].gform_button.gform_button:hover {
    -webkit-filter: brightness(1.1);
    -moz-filter: brightness(1.1);
    filter: brightness(1.1);
}
.footer {
    width: 100%;
    padding: 25px 0 40px;
    background: #8A2133;
    color: #FFFFFF;
    font-size: 13px;
    line-height: 20px; 
}
.footer .container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}
.footer .container .footer-logo {
    flex-grow: 1;
}
.footer .container .footer-logo a {
    display: block;
    max-width: 300px;
    width: 100%;
    margin: 0 auto;
}
.footer .container .footer-copyright, .footer .container .footer-social {
    flex: 425px 0 0;
}
.footer .container .footer-copyright {
    padding-left: 50px;
    text-align: right;
}
.footer .container .footer-copyright a {
    text-decoration: none;
}
.footer .container .footer-copyright a:hover {
    color: inherit;
    text-decoration: underline;
}
.social-links {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 100%;
}
.social-links .social-link {
    display: block;
    height: 20px;
    width: 20px;
    position: relative;
    transition: all .2s ease-in-out;
}
.social-links .social-link svg {
    height: 20px;
    width: 20px;
    fill: #fff !important;
}
.social-links .social-link:hover {
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
    cursor: pointer;
}
.social-links .social-link svg path {
    fill: var(--secondary);
}
.social-links .social-link.facebook svg {
    position: absolute;
    height: 24px;
    width: 24px;
    top: -3px;
    left: -2px;
}
.social-links .social-link.instagram svg {
    height: 28px;
    width: 28px;
    margin-top: -5px;
    margin-left: -3px;
}

@media screen and (max-width: 1500px) {
    .header .mobile-menu {
        display: block;
    }
    .nav {
        border-bottom: 0px;
        padding: 0px;
        position: relative;
    }
    .nav .nav-menu {
        display: none !important;
    }
    .post-content .post-share {
        position: relative;
        top: initial;
        left: initial;
        flex-direction: row;
        width: 100%;
    }
    .post-share .post-share-option {
        flex-grow: 1;
        border-top: 1px solid #D7D7D7;
    }
    .post-share .post-share-option a {
        width: 100%;
    }
    .footer .container {
        flex-direction: column;
        align-items: center;
    }
    .footer .container .footer-logo {
        order: 0;
    }
    .footer .container .footer-logo a {
        padding: 0 40px;
    }
    .footer .container .footer-copyright, .footer .container .footer-social {
        flex: initial;
        width: 100%;
        order: 1;
        text-align: center;
        padding-left: 0px;
        font-size: 11px;
        line-height: 13px;
    }
    .footer .container .footer-social {
        padding: 20px 0;
    }
    .footer .social-links {
        justify-content: center;
    }
    .footer-form .gform_wrapper form .gform_body input[type=email],
    .nav .search-form form input[type=text],
    .page-content .gform_wrapper form .gform_body input[type=email],
    .page-content .gform_wrapper form .gform_body input[type=text],
    .page-content .gform_wrapper form .gform_body textarea {
        font-size: 16px;
    }
}
@media screen and (max-width: 1200px) {
    .standard-loop-entry-inner.landscape,
    .magazine-loop .standard-loop-entry-inner.landscape,
    .magazine-loop.magazine-reverse .standard-loop-entry-inner.landscape {
        flex-direction: column;
    }
    .standard-loop-entry-inner.landscape .loop-entry-thumbnail {
        flex: initial;
        width: 100%;
    }
}
@media screen and (max-width: 850px) {
    .nav .container ul {
        gap: 10px 30px;
    }
    .nav .container ul li a {
        font-size: 11px;
        letter-spacing: 2%;
    }
    .post-header h1.post-title {
        font-size: 28.8px;
        line-height: 32px;
    }
    .post-header h2.post-subtitle {
        font-size: 16px;
        line-height: 22px;
        margin-top: 10px;
        margin-bottom: 15px;
    }
    .standard-loop {
        flex-direction: column;
    }
    .standard-loop .standard-loop-entry {
        width: 100% !important;
        flex: initial;
    }
    .standard-loop .standard-loop-entry .standard-loop-entry-inner {
        border-left: 0px !important;
        border-right: 0px !important;
        padding: 0 !important;
    }
    .homepage-content .top-fold {
        flex-direction: column;
        gap: 25px;
    }
    .homepage-content .top-fold .popular-posts {
        flex: initial;
        width: 100%;
        order: 1;
        border-right: 0px;
        padding-right: 0px;
    }
    .homepage-content .top-fold .featured-post {
        padding-left: 0px;
        width: 100%;
        order: 0;
    }
    .magazine-loop, 
    .magazine-loop.magazine-reverse {
        flex-direction: column;
        gap: 30px;
    }
    .magazine-loop .magazine-featured, .magazine-loop.magazine-reverse .magazine-featured {
        padding-right: 0px;
        border-left: 0px;
        padding-left: 0px;
    }
    .magazine-loop .magazine-large, 
    .magazine-loop .magazine-small, 
    .center-loop .center-column {
        padding-left: 0px;
        padding-right: 0px;
        border: 0px !important;
    }
    .magazine-loop .magazine-featured .standard-loop-entry a.loop-entry-title, 
    .featured-post .standard-loop-entry a.loop-entry-title {
        font-size: 28.8px;
        line-height: 32px;
    }
    .magazine-loop .magazine-column {
        flex: initial;
        width: 100%;
        padding: 0;
    }
    .magazine-loop .magazine-column .standard-loop-entry:first-child {
        border-top: 1px dashed #EE92A2;
        padding-top: 20px;
    }
    .standard-loop-entry .loop-entry-meta {
        margin-top: 15px;
    }
    .magazine-loop .magazine-small .standard-loop-entry:first-child {
        padding-top: 20px;
        border-top: 1px solid #CECECE;
    }
    .footer-form .form-container-inner {
        padding-left: 0px;
    }
    .footer-form .gform_wrapper {
        border-left: 0px;
        padding-top: 30px;
        padding-bottom: 30px;
        padding-left: 0px;
    }
    .footer-form .gform_wrapper h2.gform_title {
        position: relative;
        top: initial;
        left: initial;
        width: 100%;
        max-width: 100%;
        text-align: center;
        margin-bottom: 15px;
        font-size: 46px;
        line-height: 50px;
    }
    .footer-form .gform_wrapper p {
        margin-bottom: 26px;
        text-align: center;
        font-size: 13px;
        line-height: 17px;
    }
    .error-404 h1.page-title {
        font-size: 60px;
        line-height: 60px;
    }
    .post-header .post-meta {
        flex-wrap: wrap;
    }
    .post-share {
        margin-top: 15px;
        flex: 100% 0 0;
    }
}

@media print {
    .nav, .header button.search-toggle, .post-share, .podcast-embed, .related-posts, .footer-form {
        display: none;
    }
}

/* Responsive Embed */
.responsive-embed {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    background: #000; /* Optional: black background for videos */
}

.responsive-embed-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.responsive-embed-inner iframe {
    width: 100%;
    height: 100%;
    border: 0;
}