/*
 Theme Name:   Nordic Seminary
 Theme URI:    https://generatepress.com
 Description:  GeneratePress child theme for Nordic Seminary.
 Author:       Johan Wagenheim
 Author URI:   https://dospuntos.no
 Template:     generatepress
 Version:      1.0
*/

.hero-banner {
    margin-top: -160px;
}

.home img.header-image.is-logo-image {
    filter: brightness(0) invert(1);
}

.one-container .site-content {
    padding-bottom: 0;
}

/* HERO CONTENT WIDTH + POSITION */

.hero-banner .wp-block-cover__inner-container {
    max-width: 700px;
    margin-left: 8vw;
    margin-right: auto;
    padding-right: 2rem;
}

/* SMALL TOP LABEL */

.hero-banner .wp-block-paragraph {
    font-size: 0.9rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1rem;
    font-weight: 500;
}

/* MAIN HEADLINE */

.hero-banner .wp-block-heading {
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 0.95;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
    max-width: 10ch;
}

/* BUTTON CONTAINER */

.hero-banner .wp-block-buttons {
    margin-top: 2rem;
    gap: 1rem;
}

/* ALL BUTTONS */

.hero-banner .wp-block-button__link {
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* PRIMARY BUTTON */

.hero-banner .wp-block-button:not(.is-style-outline) .wp-block-button__link {
    background: #6D0061;
    color: white;
}

.hero-banner .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
    background: #4E0045;
    transform: translateY(-2px);
}

/* OUTLINE BUTTON */

.hero-banner .is-style-outline .wp-block-button__link {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
}

.hero-banner .is-style-outline .wp-block-button__link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: white;
    transform: translateY(-2px);
}


/* header.site-header {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.15);

    transition: background 0.3s ease;
} */

/* HOMEPAGE TRANSPARENT HEADER */

.home header.site-header {
    position: absolute;
    width: 100%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    z-index: 100;
}

.main-navigation .menu-toggle {
    transform: scale(2);
}

/* INNER PAGES */

body:not(.home) header.site-header {
    background: rgba(250, 249, 247, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03);
}

/* INNER PAGE MENU */
body:not(.home) .main-navigation .menu-toggle,
body:not(.home) .main-navigation .main-nav ul li a {
    color: #2C2A2B;
}

/* HOVER */

body:not(.home) .main-navigation .main-nav ul li:hover>a,
body:not(.home) .main-navigation .main-nav ul li.current-menu-item>a {
    color: #6D0061;
}

/* HOMEPAGE MENU TEXT */

.home .main-navigation .main-nav ul li a {
    color: white;
}

.main-navigation,
.main-navigation ul ul {
    background: transparent;
}

.main-navigation .main-nav ul li a {
    font-weight: 500;
    padding-left: 10px;
    padding-right: 10px;
    color: white;
    position: relative;
    display: inline-block;
}

.main-navigation .main-nav ul li a:after {
    content: "";
    position: absolute;
    left: 10px;
    bottom: 5px;
    width: 0;
    height: 2px;
    background: rgba(109, 0, 97, 0.5);
    transition: width 0.4s ease;
}

.main-navigation .main-nav ul li a:hover:after {
    width: calc(100% - 20px);
    color: #6D0162;
}

.home .main-navigation .main-nav ul li a:after {
    background: rgba(255, 255, 255, 0.5);
}




/* CTA SECTION */

.cta-section {
    background: linear-gradient(135deg,
            #4E0045 0%,
            #6D0061 45%,
            #7E2A73 100%);

    padding: 7rem 2rem;
    position: relative;
    overflow: hidden;
}

/* OPTIONAL SUBTLE LIGHT EFFECT */

.cta-section:before {
    content: "";
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle,
            rgba(255, 255, 255, 0.08) 0%,
            rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

/* INNER CONTENT */

.cta-section .wp-block-group__inner-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* SMALL LABEL */

.cta-section .wp-block-paragraph {
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
}

/* MAIN HEADING */

.cta-section .wp-block-heading {
    color: white;
    font-size: clamp(2.8rem, 6vw, 5rem) !important;
    line-height: 1.05 !important;
    font-weight: 600;
    margin-bottom: 2.5rem;
    text-wrap: balance;
}

/* BUTTON */

.cta-section .wp-block-button__link {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: white !important;

    padding: 16px 42px;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    font-weight: 600;

    transition: all 0.3s ease;
}

/* BUTTON HOVER */

.cta-section .wp-block-button__link:hover {
    background: white;
    color: #6D0061 !important;
    transform: translateY(-2px);
}


.site-footer {
    background: #2C2A2B;
    color: rgba(255, 255, 255, 0.75);
    padding-top: 4rem;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.site-footer a:hover {
    color: #D7B3D1;
}

.footer-widgets {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.site-footer img {
    filter: brightness(0) invert(1);
    max-width: 200px;
}

/* Footer menu */

#menu-footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

#menu-footer-menu li {
    margin-bottom: .75rem;
}

#menu-footer-menu a {
    display: inline-flex;
    align-items: center;

    color: rgba(255, 255, 255, .8);
    text-decoration: none;

    transition: .3s ease;
}

#menu-footer-menu a::before {
    content: "→";
    margin-right: .5rem;
    color: #d8b5d2;
}

#menu-footer-menu a:hover {
    color: white;
    transform: translateX(4px);
}


/* Homepage blog widget */
/* SECTION TITLE */

.gb-text-74cb8580 {
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.05;
    margin-bottom: 1rem;
    color: #2C2A2B;
}

/* SECTION INTRO */

.gb-text-b9f2f28a {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #6B646A;
    max-width: 700px;
    margin-bottom: 4rem;
}

/* POSTS GRID */

.gb-looper-482eca16 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;

    list-style: none;
    padding: 0;
    margin: 0;
}

/* ARTICLE CARD */

.gb-element-57028d87 {
    display: flex;
    flex-direction: column;

    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

/* HOVER */

.gb-element-57028d87:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* IMAGE */

.gb-media-59344c6b {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;

    transition: transform 0.5s ease;
}

.gb-element-57028d87:hover .gb-media-59344c6b {
    transform: scale(1.03);
}

/* CONTENT AREA */

.gb-element-a69d0128 {
    padding: 2rem;
}

/* DATE */

.gb-text-7e06219b {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8C7C89;

    margin-bottom: 1rem;
}

/* POST TITLE */

.gb-text-4a44492e {
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.gb-text-4a44492e a {
    color: #2C2A2B;
    text-decoration: none;

    transition: color 0.3s ease;
}

.gb-text-4a44492e a:hover {
    color: #6D0061;
}

/* EXCERPT */

.gb-text-3528745f {
    color: #6B646A;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* READ MORE LINK */

.gb-text-e0509a47 {
    color: #6D0061;
    text-decoration: none;
    font-weight: 600;
    position: relative;

    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.gb-text-e0509a47:after {
    content: "→";
    transition: transform 0.3s ease;
}

.gb-text-e0509a47:hover:after {
    transform: translateX(4px);
}

/* RESPONSIVE */

@media (max-width: 1024px) {

    .gb-looper-482eca16 {
        grid-template-columns: 1fr;
    }

}


/* HERO CONTAINER */

.hero-video {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

/* VIDEO */

.hero-video .hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transform: translate(-50%, -50%);

    z-index: 1;
}

/* DARK OVERLAY */

.hero-video:before {
    content: "";
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.35);

    z-index: 2;
}

/* CONTENT ABOVE VIDEO */

.hero-video .wp-block-cover__inner-container {
    position: relative;
    z-index: 3;
}


/* POSTS GRID */

.blog .site-main {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

/* POST CARD */

.blog .inside-article {
    background: #ffffff;

    border-radius: 14px;
    overflow: hidden;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;

    height: 100%;
}

/* HOVER */

.blog .inside-article:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* IMAGE */

.blog .post-image img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;

    transition: transform 0.5s ease;
}

.blog .inside-article:hover .post-image img {
    transform: scale(1.03);
}

/* CONTENT SPACING */

.blog .entry-header,
.blog .entry-summary,
.blog footer.entry-meta {
    padding-left: 2rem;
    padding-right: 2rem;
}

/* HEADER */

.blog .entry-header {
    padding-top: 2rem;
}

/* TITLE */

.blog .entry-title {
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.blog .entry-title a {
    text-decoration: none;
    color: #2C2A2B;

    transition: color 0.3s ease;
}

.blog .entry-title a:hover {
    color: #6D0061;
}

/* META */

.blog .entry-meta {
    font-size: 0.85rem;
    color: #8C7C89;
}

/* EXCERPT */

.blog .entry-summary {
    padding-top: 1rem;
    padding-bottom: 2rem;

    color: #6B646A;
    line-height: 1.8;
}

/* READ MORE */

.blog .read-more {
    color: #6D0061;
    text-decoration: none;
    font-weight: 600;
}

/* FOOTER */

.blog footer.entry-meta {
    padding-bottom: 2rem;
}

/* RESPONSIVE */

@media (max-width: 900px) {

    .blog .site-main {
        grid-template-columns: 1fr;
    }

}

.blog .comments-link,
.blog .cat-links,
.blog .byline {
    display: none;
}


/* Header styling */
.page-hero {
    position: relative;
    height: 50vh;
    overflow: hidden;
}

.page-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .35);
    flex-direction: column;
}

.page-hero-overlay h1 {
    color: white;
    font-size: clamp(3rem, 5vw, 5rem);
    text-align: center;
}

.page-hero-overlay p {
    color: white;
    font-size: clamp(1.5rem, 2vw, 2rem);
    text-align: center;
}

.single-post .inside-article .entry-title {
    display: none;
}

/* // Header styling */

/* Blog meta data */
/* Hide author completely */

.single-post .byline {
    display: none;
}

/* Meta container */
.single-post .entry-meta {
    margin: 1rem 0 2rem;
}

.single-post .posted-on {
    display: inline-block;
    padding: 0.45rem 0.9rem;

    background: #f5edf4;
    border-radius: 999px;

    color: #6D0061;
    font-size: 0.85rem;
    font-weight: 500;
}

.single-post .updated,
.single-post .byline {
    display: none;
}

/* Recent Posts panel */

#block-3 {
    background: #faf8fa;
    border: 1px solid #ece6ea;
    border-radius: 16px;
    padding: 2rem;
}

/* Heading */

#block-3 .wp-block-heading {
    color: #6D0061;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* List */

#block-3 .wp-block-latest-posts {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Items */

#block-3 .wp-block-latest-posts li {
    margin: 0;
    padding: 1rem 0;

    border-bottom: 1px solid #ece6ea;
}

#block-3 .wp-block-latest-posts li:last-child {
    border-bottom: none;
}

/* Links */

#block-3 .wp-block-latest-posts__post-title {
    display: block;

    color: #2C2A2B;
    text-decoration: none;

    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 500;

    transition: color .3s ease;
}

#block-3 .wp-block-latest-posts__post-title:hover {
    color: #6D0061;
}

/* ------------------------------------
   ARTICLE FOOTER
------------------------------------ */

.single-post footer.entry-meta {
    margin-top: 4rem;
    padding-top: 2rem;

    border-top: 1px solid #ece6ea;
}

/* ------------------------------------
   CATEGORY
------------------------------------ */

.single-post .cat-links {
    display: none;
}

/* ------------------------------------
   POST NAVIGATION
------------------------------------ */

.single-post .post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* Navigation Cards */

.single-post .nav-previous,
.single-post .nav-next {
    padding: 1.5rem;

    background: #faf8fa;
    border: 1px solid #ece6ea;
    border-radius: 12px;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.single-post .nav-previous:hover,
.single-post .nav-next:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .05);
}

/* Labels */

.single-post .nav-previous::before {
    content: "← Previous Article";
    display: block;

    color: #6D0061;
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;

    margin-bottom: .75rem;
}

.single-post .nav-next::before {
    content: "Next Article →";
    display: block;

    color: #6D0061;
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;

    margin-bottom: .75rem;
}

/* Hide GeneratePress icons */

.single-post .post-navigation .gp-icon {
    display: none;
}

/* Links */

.single-post .post-navigation a {
    color: #2C2A2B;
    text-decoration: none;

    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
}

.single-post .post-navigation a:hover {
    color: #6D0061;
}

/* Align next article right */

.single-post .nav-next {
    text-align: right;
}

/* ------------------------------------
   MOBILE
------------------------------------ */

@media (max-width: 768px) {

    .single-post .post-navigation {
        grid-template-columns: 1fr;
    }

    .single-post .nav-next {
        text-align: left;
    }

}

/* Heading */

.resource-links h2 {
    color: #6D0061;
    margin-bottom: 1.5rem;
}

/* Paragraphs become list items */

.resource-links p {
    margin: 0;
    border-bottom: 1px solid #ece6ea;
}

.resource-links p:last-child {
    border-bottom: none;
}

/* Links */

.resource-links p a {
    display: flex;
    align-items: center;

    padding: 0.9rem 0;

    color: #2C2A2B;
    text-decoration: none;

    line-height: 1.5;
    font-weight: 500;

    transition:
        color .3s ease,
        padding-left .3s ease;
}

/* Arrow */

.resource-links p a::before {
    content: "→";
    color: #6D0061;
    margin-right: 0.75rem;
    transition: transform .3s ease;
}

/* Hover */

.resource-links p a:hover {
    color: #6D0061;
    padding-left: 0.5rem;
}

.resource-links p a:hover::before {
    transform: translateX(4px);
}

/* WP Foro */

#wpforo #wpforo-wrap {
    background: transparent !important;
}


#wpforo #wpforo-wrap input[type="submit"],
#wpforo #wpforo-wrap input[type="reset"],
#wpforo #wpforo-wrap input[type="button"],
#wpforo-dialog input[type="submit"],
#wpforo-dialog input[type="reset"],
#wpforo-dialog input[type="button"] {
    border: none !important;
    transition: .3s ease;
}


#wpforo-wrap .wpf-forum {
    border: 1px solid #ece6ea;
    margin-bottom: 1rem;
}

#wpforo-wrap .wpf-forum:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, .05);
}


/* Application form */
.seminary-form {
    max-width: 800px;
}

.seminary-form .form-group,
.seminary-form fieldset {
    margin-bottom: 1.5rem;
}

.seminary-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.seminary-form input[type="text"],
.seminary-form input[type="email"],
.seminary-form input[type="date"],
.seminary-form textarea {
    width: 100%;
    box-sizing: border-box;
}

.seminary-form textarea {
    min-height: 120px;
}

.seminary-row {
    display: flex;
    gap: 20px;
}

.seminary-col {
    flex: 1;
}

.seminary-form fieldset {
    padding: 1.2rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.seminary-form legend {
    font-weight: 600;
    padding: 0 8px;
}

.seminary-form small {
    display: block;
    margin-top: 2px;
    font-weight: normal;
    color: #666;
}

@media (max-width: 768px) {
    .seminary-row {
        display: block;
    }

    .seminary-col {
        margin-bottom: 1rem;
    }
}

.option-list label {
    display: block;
    font-weight: normal;
    margin-bottom: 0.5rem;
}

.seminary-form input[type="text"],
.seminary-form input[type="email"],
.seminary-form input[type="date"],
.seminary-form textarea,
.seminary-form select {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #666;
    color: #111;
    padding: 10px 12px;
    border-radius: 4px;
    outline: none;
}

.seminary-form input:focus,
.seminary-form textarea:focus,
.seminary-form select:focus {
    border-color: #1e73be;
    box-shadow: 0 0 0 2px rgba(30, 115, 190, 0.2);
}

.field-help {
    display: block;
    margin: 4px 0 8px;
    font-size: 0.9em;
    color: #666;
    line-height: 1.4;
}

.sa-success {
    padding: 14px 18px;
    margin-bottom: 20px;

    border-left: 4px solid #46b450;
    background: #f0fbf1;

    color: #1e4620;
    border-radius: 4px;
}

.sa-error {
    padding: 14px 18px;
    margin-bottom: 20px;

    border-left: 4px solid #950000;
    background: #DD4033;

    color: #fff;
    border-radius: 4px;
}