/*
Theme Name: N4G
Theme URI: https://n4g.local
Author: N4G
Author URI: https://n4g.local
Description: Minimal theme for N4G blocks and site styling.
Version: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: n4g
*/

:root {
    color-scheme: light;
}

body {
    margin: 0;
    color: #111111;
    background: #ffffff;
    font-family: "TT Norms Pro", Arial, sans-serif;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'TT Norms Pro Trial', sans-serif;
    font-weight: 700;
}

a {
    color: #0b5fff;
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

.site-header,
.site-footer {
    padding: 24px 0;
}

.site-header {
    border-bottom: 1px solid #e2e2e2;
}

.site-footer {
    border-top: 1px solid #e2e2e2;
    color: #666666;
}

.site-container {
    width: min(1200px, 92vw);
    margin: 0 auto;
}

.site-title {
    font-size: 1.8rem;
    font-weight: 700;
}

.site-description {
    margin: 4px 0 0;
    color: #666666;
}

.n4g-user-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 24px;
    align-items: start;
    padding: 24px;
    background: #f2f2f2;
    border-radius: 10px;
    margin: 24px 0;
}

.n4g-user-card__avatar {
    text-align: center;
}

.n4g-user-card__avatar img {
    width: 95px;
    height: 95px;
    border-radius: 50%;
    border: 3px solid #b24f92;
    object-fit: cover;
    display: block;
    margin: auto;
    background: #ffffff;
}

.n4g-user-card__name-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.n4g-user-card__name {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
}

.n4g-user-card__title {
    margin: 6px 0 10px;
    font-weight: 700;
    color: #333333;
}

.n4g-user-card__bio {
    margin: 10px 0 0;
    color: #555555;
    max-width: 800px;
}

.n4g-user-card__socials {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.n4g-user-card__social {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #b24f92;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.75rem;
}

.n4g-user-card__social-icon {
    width: 14px;
    height: 14px;
    fill: currentColor;
    display: block;
}

.n4g-user-card__social-label {
    display: none;
}

.addthis_sharing_toolbox a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.addthis_sharing_toolbox svg {
    width: 32px;
    height: 32px;
    fill: #1875b7;
    display: block;
}

.searching-has-query .container-outer {
    display: block;
}

.searching-has-query .container-outer.search-result-feed-container-outer {
    display: block !important;
    position: fixed;
    left: 0;
    right: 0;
    top: 110px;
    bottom: 0;
    z-index: 1000;
    overflow-y: auto;
    background: #f5f5f5;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 700px) {
    .searching-has-query .container-outer.search-result-feed-container-outer {
        top: 90px;
        bottom: 0;
    }
}

.searching-has-query {
    overflow: hidden;
}

.n4g-user-card__social--twitter {
    background: #1da1f2;
}

.n4g-user-card__social--facebook {
    background: #1877f2;
}

.n4g-user-card__social--instagram {
    background: #c13584;
}

.n4g-user-card__social--youtube {
    background: #ff0000;
}

.n4g-user-card__social--tiktok {
    background: #000000;
}

.n4g-user-card__social--linkedin {
    background: #0a66c2;
}

.n4g-user-card__social--twitch {
    background: #9146ff;
}

@media (max-width: 700px) {
    .n4g-user-card {
        grid-template-columns: 1fr;
        justify-items: start;
    }
}

.header-container-outer .h-cm-panel {
    display: block;
    max-height: 0;
    overflow: hidden;
    padding-bottom: 0;
    transition: max-height 0.35s ease, padding-bottom 0.35s ease;
}

.header-container-outer .h-cm-panel.is-open {
    max-height: 700px;
    padding-bottom: 15px;
    transition: max-height 0.35s ease, padding-bottom 0.35s ease;
}

.header-container-outer .h-row {
    position: relative;
}

.header-container-outer .h-logo {
    position: relative;
    z-index: 2;
}

.header-container-outer .h-search-box {
    display: block;
    position: absolute;
    top: 0;
    left: 200px;
    right: 0;
    width: auto;
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.25s ease;
}

.searching .header-container-outer .h-search-box {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.searching .header-container-outer .h-search-box .h-search-x {
    color: #ffffff;
    font-weight: 700;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 2px;
    z-index: 2;
}

.searching .header-container-outer .h-search-box .h-search-x {
    left: 0;
}

.searching .header-container-outer .h-search-box input[type="text"] {
    padding-left: 40px;
}

.header-container-outer .h-search-box .h-search-button {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-container-outer .h-search-box .h-search-button:before {
    padding-left: 0;
    line-height: 1;
}

.h-cm-button span:last-child {
    display: none;
}

.h-cm-button.active span:first-child {
    display: none;
}

.h-cm-button.active span:last-child {
    display: inline;
}

.main-content {
    padding: 32px 0 48px;
}

.entry-title {
    margin: 0 0 16px;
}

.wp-block {
    max-width: 100%;
}

.si-img-fallback {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.header-notice-container-outer {
    background: #0f3552;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.header-notice-container-outer .header-notice {
    color: #ffffff;
    padding: 10px 0;
}

.header-notice-container-outer .header-notice__title {
    font-size: 23px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.02em;
    margin: 0 0 4px;
    text-transform: uppercase;
}

.header-notice-container-outer .header-notice__description {
    font-size: 16px;
    line-height: 1.35;
    margin: 0;
}

.header-notice-container-outer.header-notice--info {
    background: #0f3552;
}

.header-notice-container-outer.header-notice--warning {
    background: #6f3b00;
}

.header-notice-container-outer.header-notice--success {
    background: #1c5c2d;
}

.header-notice-container-outer.header-notice--brand {
    background: #2b78ad;
}

.header-notice-container-outer.header-notice--deep {
    background: #1d4f73;
}

.header-notice-container-outer.header-notice--neutral {
    background: #4c5562;
}

.home-tt-title {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.si-title .si-title-text {
    display: block;
    font-weight: 700;
    margin: 0;
}

.f-grid .si-title .si-title-text {
    color: #1e1e1e;
    font-size: 1.5rem;
    line-height: 1.85rem;
    max-height: 70px;
    padding: 15px;
}

.f-grid .si-title .si-title-text em {
    color: #1454ab;
}

.f-grid .si-title:hover .si-title-text {
    color: #444444;
    transition: color 0.3s ease;
}

.f-supergrid .si-title .si-title-text {
    color: #1e1e1e;
    font-size: 1rem;
    line-height: 1.5rem;
    padding: 15px;
}

.f-supergrid .si-title .si-title-text em {
    color: #1454ab;
}

.f-supergrid .si-title:hover .si-title-text {
    color: #444444;
    transition: color 0.3s ease;
}

.hs2-item .si-title .si-title-text {
    color: #e6e6e6;
    font-size: 1rem;
    line-height: 1.4rem;
    padding: 15px;
}

.hs2-item .si-title .si-title-text em {
    color: #1454ab;
}

.hs2-item .si-title:hover .si-title-text {
    color: #ffffff;
    transition: color 0.3s ease;
}

.hs2-item-hottest .si-title .si-title-text {
    font-size: 1.8rem;
    line-height: 1.1;
}

.f-list .si-title .si-title-text {
    color: #1875b7;
    font-size: 1.1rem;
    line-height: 1.4rem;
    padding: 15px;
}

.f-list .si-title:hover .si-title-text {
    color: #379de5;
    transition: color 0.3s ease;
}

.f-links .si-title .si-title-text {
    color: #1875b7;
    font-size: 0.9rem;
    line-height: 0.9rem;
    padding: 15px;
}

.f-links .si-title:hover .si-title-text {
    color: #379de5;
    transition: color 0.3s ease;
}

.hs2-item .si-title-10 .si-title-text,
.hs2-item .si-title-20 .si-title-text,
.hs2-item .si-title-30 .si-title-text {
    font-size: 1.5rem;
    line-height: 2rem;
}

.hs2-item .si-title-40 .si-title-text {
    font-size: 1.2rem;
    line-height: 1.6rem;
}

@media only screen and (min-width: 300px) and (max-width: 800px) {
    .hs2-item .si-title-40 .si-title-text {
        font-size: 1.2rem;
        line-height: 1.4rem;
    }
}

.hs2-item .si-title-50 .si-title-text {
    font-size: 1.1rem;
    line-height: 1.45rem;
}

@media only screen and (min-width: 300px) and (max-width: 800px) {
    .hs2-item .si-title-50 .si-title-text {
        font-size: 1.1rem;
        line-height: 1.45rem;
    }
}

.hs2-item .si-title-60 .si-title-text,
.hs2-item .si-title-70 .si-title-text {
    font-size: 0.95rem;
    line-height: 1.25rem;
}

@media only screen and (min-width: 300px) and (max-width: 800px) {
    .hs2-item .si-title-60 .si-title-text,
    .hs2-item .si-title-70 .si-title-text {
        font-size: 0.95rem;
        line-height: 1.15rem;
    }
}

.hs2-item .si-title-80 .si-title-text,
.hs2-item .si-title-90 .si-title-text {
    font-size: 0.9rem;
    line-height: 1.1rem;
}

@media only screen and (min-width: 300px) and (max-width: 800px) {
    .hs2-item .si-title-80 .si-title-text,
    .hs2-item .si-title-90 .si-title-text {
        font-size: 0.9rem;
        line-height: 1.15rem;
    }
}

.hs2-item .si-title-100 .si-title-text,
.hs2-item .si-title-110 .si-title-text,
.hs2-item .si-title-120 .si-title-text {
    font-size: 0.8rem;
    line-height: 1.15rem;
}

.hs2-item-hottest .si-title-10 .si-title-text,
.hs2-item-hottest .si-title-20 .si-title-text {
    font-size: 2.5rem;
    line-height: 3.3rem;
}

@media only screen and (min-width: 300px) and (max-width: 800px) {
    .hs2-item-hottest .si-title-10 .si-title-text,
    .hs2-item-hottest .si-title-20 .si-title-text {
        font-size: 1rem;
        line-height: 1.2rem;
    }
}

.hs2-item-hottest .si-title-30 .si-title-text,
.hs2-item-hottest .si-title-40 .si-title-text,
.hs2-item-hottest .si-title-50 .si-title-text {
    font-size: 2.1rem;
    line-height: 2.6rem;
}

@media only screen and (min-width: 300px) and (max-width: 800px) {
    .hs2-item-hottest .si-title-30 .si-title-text,
    .hs2-item-hottest .si-title-40 .si-title-text,
    .hs2-item-hottest .si-title-50 .si-title-text {
        font-size: 1rem;
        line-height: 1.2rem;
    }
}

.hs2-item-hottest .si-title-60 .si-title-text {
    font-size: 1.8rem;
    line-height: 2.4rem;
}

@media only screen and (min-width: 200px) and (max-width: 700px) {
    .hs2-item-hottest .si-title-60 .si-title-text {
        font-size: 1rem;
        line-height: 1.2rem;
    }
}

.hs2-item-hottest .si-title-70 .si-title-text,
.hs2-item-hottest .si-title-80 .si-title-text {
    font-size: 1.7rem;
    line-height: 2.1rem;
}

@media only screen and (min-width: 200px) and (max-width: 700px) {
    .hs2-item-hottest .si-title-70 .si-title-text,
    .hs2-item-hottest .si-title-80 .si-title-text {
        font-size: 1rem;
        line-height: 1.2rem;
    }
}

.hs2-item-hottest .si-title-90 .si-title-text,
.hs2-item-hottest .si-title-100 .si-title-text,
.hs2-item-hottest .si-title-110 .si-title-text,
.hs2-item-hottest .si-title-120 .si-title-text {
    font-size: 1.5rem;
    line-height: 2rem;
}

@media only screen and (min-width: 300px) and (max-width: 800px) {
    .hs2-item-hottest .si-title-90 .si-title-text,
    .hs2-item-hottest .si-title-100 .si-title-text,
    .hs2-item-hottest .si-title-110 .si-title-text,
    .hs2-item-hottest .si-title-120 .si-title-text {
        font-size: 1rem;
        line-height: 1.2rem;
    }
}

.f-grid .si-title-10 .si-title-text,
.f-grid .si-title-20 .si-title-text,
.f-grid .si-title-30 .si-title-text {
    font-size: 1.7rem;
    line-height: 2.25rem;
}

@media only screen and (min-width: 300px) and (max-width: 800px) {
    .f-grid .si-title-30 .si-title-text {
        font-size: 1.7rem;
        line-height: 1.85rem;
    }
}

.f-grid .si-title-40 .si-title-text,
.f-grid .si-title-50 .si-title-text,
.f-grid .si-title-60 .si-title-text,
.f-grid.col-sm-12 .si-title-60 .si-title-text {
    font-size: 1.5rem;
    line-height: 1.85rem;
}

.f-grid .si-title-70 .si-title-text {
    font-size: 1.35rem;
    line-height: 1.85rem;
}

.f-grid .si-title-80 .si-title-text {
    font-size: 1.25rem;
    line-height: 1.85rem;
}

.f-grid .si-title-90 .si-title-text,
.f-grid .si-title-100 .si-title-text,
.f-grid .si-title-110 .si-title-text,
.f-grid .si-title-120 .si-title-text {
    font-size: 1.15rem;
    line-height: 1.85rem;
}

.f-supergrid .si-title-10 .si-title-text,
.f-supergrid .si-title-20 .si-title-text,
.f-supergrid .si-title-30 .si-title-text {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.f-supergrid .si-title-40 .si-title-text {
    font-size: 1.25rem;
    line-height: 1.65rem;
}

@media only screen and (min-width: 300px) and (max-width: 800px) {
    .f-supergrid .si-title-40 .si-title-text {
        font-size: 1.25rem;
        line-height: 1.6rem;
    }
}

.f-supergrid .si-title-50 .si-title-text,
.f-supergrid .si-title-60 .si-title-text,
.f-supergrid .si-title-70 .si-title-text,
.f-supergrid .si-title-80 .si-title-text {
    font-size: 1rem;
    line-height: 1.4rem;
}

@media only screen and (min-width: 300px) and (max-width: 800px) {
    .f-supergrid .si-title-60 .si-title-text {
        font-size: 1rem;
        line-height: 1.3rem;
    }
}

.f-supergrid .si-title-90 .si-title-text,
.f-supergrid .si-title-100 .si-title-text,
.f-supergrid .si-title-110 .si-title-text,
.f-supergrid .si-title-120 .si-title-text {
    font-size: 0.95rem;
    line-height: 1.5rem;
}
