/* Make heading font bigger / 4066879-hc rm */
.wf-active #secondary h2.widget-title, .wf-active #sidebar-page h2.widget-title {
	font-size: 28px;
}

/* bold sidebar widget title | 4066879-zen EH */
.wf-active #secondary h2.widget-title, .wf-active #sidebar-page h2.widget-title {
	font-weight: 00;
}

/* adjust footer widget title font size | 4066879-zen EH */
.wf-active .footer-widgetarea h3.footer-widget-title {
	font-size: 1.2em;
}

/* adjust footer widget title and width | 4066879-zen EH */
#footer-widgetarea-two, #footer-widgetarea-four {
	margin-left: 5%;
}


/* Styles for the Nordic Movies Grid */
.nordic-movies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.movie {
    text-align: center;
    border: 1px solid #ddd;
    padding: 15px;
}

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

/* Styles for the Alphabetical Index */
.index {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.index a {
    margin: 0 10px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.index a:hover {
    color: #0073e6;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .nordic-movies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


#footer-widgetarea-one, #footer-widgetarea-two, #footer-widgetarea-three {
	margin-right: 5%;
}
/* Adjust widget Titles HC-30249012 */
h2.widget-title{
    text-transform: uppercase;
	  color: #000205 !important;
}

	/* Add a sidebar title HC-30249012 sy */
aside#secondary:before{
	display: block;
    content: "NORDIC FOCUS";
    color: #080808;
    padding: 14px 0 30px;
    font-size: 2.5rem;
    margin: 0 0 0px;
    border-bottom: 1px  #1a1a1a;
    font-family: "Karla",sans-serif;
    line-height: 1.1;
    font-style: normal;
    border-top: 4px solid #1a1a1a;
    font-weight: 400;
}

/* Change background colour AL hc-30249012 */

aside#secondary {
    background: #f5f8fa;
    padding:  0 20px;
}

/* Full width sidebar widget images AL hc-30249012 */

.widget.widget_media_image img {
    width: 100%;
}

/*Increase the width of the top border for the sidebar -30249012-hc - SM*/
aside#secondary::before {
  border-top: 4px solid #1A1A1A;
  width: 112%;
  margin-left: -6%;	
	text-indent: 5%;
}

/* Delete line under Partners, remove big gap below last logo, and adjust spacing between title and first logo AD 30960439-hc */
section#block-12.widget.widget_block {
	border-top-width: 0px;
	padding-top: 0px;
	height: 1200px;
}

section#calendar-3.widget.widget_calendar {
	padding-top: 0
}	

/* Remove the line below the "NORDIC PREMIERES" inside the sidebar -30981765-hc - SM*/
#block-17 {
	border-top: 0px;
}	

/* Align Fetured Images and Excerpts on the Homepage -31111938-hc - SM*/
@media (min-width: 782px) {
	.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column[style*=flex-basis] {
		margin: 0 auto;
	}
}


/* Align posts titles and make them bold - homepage -31111938-hc - SM*/
@media only screen and (min-width: 782px) {
	.wpnbha.ts-6 article .entry-title {
		padding-top: 0px;
		font-weight: bold;
	}
}

/* Place Featured Image above Excerpt on the mobile view - homepage -31111938-hc - SM*/
@media only screen and (max-width: 782px) {
	.wpnbha.image-alignleft .post-has-image, .wpnbha.image-alignright .post-has-image {
		display: block !important;
	}
}

/* Change the title font size on mobile -31111938-hc - SM*/
@media (max-width: 782px) {
	.entry-title {
		font-size: 30px;
		font-weight: 500 !important;
	}
}

/* Custom margin for a separator line | 31418900-hc JA */
.no-margin-line {
  margin-top: -50px;
}

/* Homepage title / 32545126-HC (MI) */

.home .content-wrap:before {
    content: 'Discover the Best of Films and TV Series From the Nordics';
    display: block;
    text-align: center;
    font-size: 1.8rem;
    padding-bottom: 60px;
}
.home.page .content-wrap {
    padding-top: 0;
}
.home .header-image {
    margin-bottom: 60px;


/* Footer logo / 32545126-HC (MI) */

.site-footer .custom-logo-link {
    background: url('https://nordicwidescreen.com/wp-content/uploads/2021/11/NW_logo_neg.png') no-repeat left;
    background-size: contain;
    display: block;
}
.site-footer .custom-logo-link img {
    visibility: hidden;
}
	

.site-footer .custom-logo-link {
    background: url('https://nordicwidescreen.com/wp-content/uploads/2021/11/NW_logo_neg.png') no-repeat left;
    background-size: 25% auto; /* Set width to 25%, maintain aspect ratio for height */
    display: block;
}

.site-footer .custom-logo-link img {
    visibility: hidden;
}

.site-footer .custom-logo-link img {
    visibility: hidden;
}

	
	

/* apply single-post content width to single-movie custom post type | 4839257-zen eD */
@media screen and (min-width: 66.25em) {
    .single-movie .contentwrap {
        width: 65.87301587301587%;
        float: left;
    }
}

/*Reduce the size of the poster on movie content | KG-4839257-zen*/
@media screen and (min-width: 66.25em) {
    .type-movie .entry-thumbnail img{
        max-width: 75%;
    }
}

if(is_front_page()){
    the_excerpt();
} else {
    the_content();
}


/* Changes the default caption alignment - #38683091-hc */
figcaption {
    text-align: left;
}

/* Makes the Nikau theme display the Entry Meta - #38683091-hc */
#primary .hentry .entry-meta {
    display: block;
}

/* hide excerpt on posts | 38795133-hc tdl */
.intro {
	display: none;
}

/* hide author on posts | 38795133-hc tdl */
.entry-author {
	display: none;
}

If you want to hide the author picture as well, use this:

/* hide author on posts | 38795133-hc tdl */
.author-pic, .entry-author {
	display: none;
}
	


/* Reducing space below posts on home  | 41190865-hc | kA */
.wpnbha article {
padding-bottom: 10px;
margin-bottom: 10px; 
}

.wpnbha .post-thumbnail img {
  padding-top: 4px;
}


/* Grid container */
.nordic-movies-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
}

/* Movie section */
.nordic-movie-section {
    margin-bottom: 30px;
}

/* Movie poster */
.nordic-movie img {
    width: 100%;
    height: auto;
}

/* Movie details */
.nordic-movie-details {
    margin-top: 10px;
}

/* Movie title */
.nordic-movie-title {
    margin-top: 5px;
    font-weight: bold;
}

/* Page index */
.page-index {
    margin-top: 20px;
    text-align: center;
}

.page-index a {
    display: inline-block;
    margin: 5px;
    padding: 5px 10px;
    text-decoration: none;
    background-color: #f2f2f2;
    color: #333;
}

.page-index a.current {
    background-color: #333;
    color: #fff;
}


/* Swedish Movies Grid */
.swedish-movies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 20px;
}

/* Swedish Movie */
.swedish-movie {
    text-align: center;
}

/* Swedish Movie Poster */
.swedish-movie img {
    max-width: 100%;
    height: auto;
}

/* Swedish Movie Details */
.swedish-movie-details {
    margin-top: 10px;
}

/* Swedish Movie Title */
.swedish-movie-title {
    font-size: 16px;
    font-weight: bold;
    margin: 5px 0;
}

/* Swedish Movie Director */
.swedish-movie-director,
.swedish-movie-year,
.swedish-movie-country {
    font-size: 14px;
    margin: 2px 0;
}


/* Norwegian Movies Grid */
.norwegian-movies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 20px;
}

/* Norwegian Movie */
.norwegian-movie {
    text-align: center;
}

/* Norwegian Movie Poster */
.norwegian-movie img {
    max-width: 100%;
    height: auto;
}

/* Norwegian Movie Details */
.norwegian-movie-details {
    margin-top: 10px;
}

/* Norwegian Movie Title */
.norwegian-movie-title {
    font-size: 16px;
    font-weight: bold;
    margin: 5px 0;
}

/* Norwegian Movie Director */
.norwegian-movie-director,
.norwegian-movie-year,
.norwegian-movie-country {
    font-size: 14px;
    margin: 2px 0;
}

/* Icelandic Movies Grid */
.icelandic-movies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 20px;
}

/* Icelandic Movie */
.icelandic-movie {
    text-align: center;
}

/* Icelandic Movie Poster */
.icelandic-movie img {
    max-width: 100%;
    height: auto;
}

/* Icelandic Movie Details */
.icelandic-movie-details {
    margin-top: 10px;
}

/* Icelandic Movie Title */
.icelandic-movie-title {
    font-size: 16px;
    font-weight: bold;
    margin: 5px 0;
}

/* Icelandic Movie Director */
.icelandic-movie-director,
.icelandic-movie-year,
.icelandic-movie-country {
    font-size: 14px;
    margin: 2px 0;
}


/* Finnish Movies Grid */
.finnish-movies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 20px;
}

/* Finnish Movie */
.finnish-movie {
    text-align: center;
}

/* Finnish Movie Poster */
.finnish-movie img {
    max-width: 100%;
    height: auto;
}

/* Finnish Movie Details */
.finnish-movie-details {
    margin-top: 10px;
}

/* Finnish Movie Title */
.finnish-movie-title {
    font-size: 16px;
    font-weight: bold;
    margin: 5px 0;
}

/* Finnish Movie Director */
.finnish-movie-director,
.finnish-movie-year,
.finnish-movie-country {
    font-size: 14px;
    margin: 2px 0;
}


.nordic-movies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
}

.nordic-movies-item {
    text-align: center;
}

.nordic-movies-item img {
    width: 100%;
    height: auto;
}

.nordic-movies-item h3 {
    margin-top: 10px;
}

.nordic-movies-item p {
    margin-bottom: 5px;
}


/* Applies to WordPress Custom HTML blocks and affiliate banners */
.wp-block-custom-html:has(img[src*="affiliate"]),
.wp-block-custom-html:has(a[href*="awin"]),
.wp-block-custom-html:has(a[href*="tradedoubler"]),
.wp-block-custom-html:has(a[href*="adtraction"]),
.affiliate-banner {
  position: relative;
  text-align: center;
  margin: 1.5em 0;
}

/* The label itself */
.wp-block-custom-html:has(img[src*="affiliate"])::before,
.wp-block-custom-html:has(a[href*="awin"])::before,
.wp-block-custom-html:has(a[href*="tradedoubler"])::before,
.wp-block-custom-html:has(a[href*="adtraction"])::before,
.affiliate-banner::before {
  content: "Advertisement";
  display: block;
  font-size: 0.85em;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4em;
}


/* Gjør SVG-logo hvit i footer */
.site-footer svg,
.site-footer svg * {
    fill: #ffffff !important;
    stroke: #ffffff !important;
}

.type-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.type-tab {
    padding: 8px 16px;
    border-radius: 8px;
    background: #f0f2f4;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.type-tab.active {
    background: black;
    color: white;
}

.nordic-intro-box {
  background: #f3f4f6; /* soft grey */
  padding: 28px 32px;
  border-radius: 10px;
  border: 1px solid #e2e3e5;
  margin-top: 32px;
  margin-bottom: 40px;
}

.page-id-14598 nav .menu-item:not(.menu-item-object-page):last-child {
  display: none;
}


/* Style menu links to include icons */
.main-navigation .menu > li > a {
    display: flex;
    align-items: center;
    gap: 8px; /* Space between icon and text */
}

/* Icon styling */
.main-navigation .menu > li > a::before {
    content: '';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1em; /* Adjust size: 0.9em for smaller, 1.2em for larger */
    color: inherit; /* Matches text color */
}

/* Specific icons per menu item */
.main-navigation li.icon-news > a::before { content: '\f1ea'; } /* newspaper */
.main-navigation li.icon-film > a::before { content: '\f008'; } /* film */
.main-navigation li.icon-festival > a::before { content: '\f073'; } /* calendar-alt */
.main-navigation li.icon-industry > a::before { content: '\f1ad'; } /* building */
.main-navigation li.icon-about > a::before { content: '\f05a'; } /* info-circle */

/* Optional: Hide icon on mobile if needed */
@media (max-width: 768px) {
    .main-navigation .menu > li > a::before {
        font-size: 1.2em; /* Larger on mobile for touch */
    }
}

/* Load Font Awesome 6 (free icons) */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');
	
	.page-nordic-film-tv-explorer .affiliate-disclaimer {
  display: none;
}

	
/* Hide footer site title / branding (dark NW on left) */
#colophon .site-branding,
#colophon .site-title,
#colophon .site-title a,
.site-footer .site-branding,
#colophon h1.site-title,
footer .site-title {
    display: none !important;
}

/* Make sure your white widget NW (in Bunnomrade 1) is visible/centered */
#footer-widgetarea-one .widget,
#footer-widgetarea-one p,
#footer-widgetarea-one strong,
#footer-widgetarea-one .logos-widget-text {  /* adjust if widget has custom class */
    color: #ffffff !important;
    text-align: center !important;
    display: block !important;
    font-size: 3rem !important;  /* bigger if needed */
    margin: 0 auto 10px !important;
}

/* Force mobile centering for stacked widgets */
@media (max-width: 768px) {
    #colophon,
    .site-footer,
    #footer-widgetarea-one .widget {
        text-align: center !important;
    }
    .widget,
    .textwidget,
    p,
    input[type="email"],
    button {
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
        max-width: 90% !important;
    }
}
	
/* Explorer CTA – hover pop */
.explorer-cta {
  display: inline-block;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.explorer-cta .arrow {
  display: inline-block;
  transition: transform 0.18s ease;
}

/* Explorer CTA – ultra safe hover pop */
.explorer-cta {
  display: inline-block;
  transition: transform 0.2s ease;
}

.explorer-cta:hover,
.explorer-cta:focus-visible {
  transform: translateY(-2px);
}

