/*
 * LesKoranen redesign – lastes etter temaets CSS (se ../leskoranen-redesign.php)
 * Fargene følger temaet: gull #d09c0e, rødt #8a2b44, mørkt rødt #4c1426.
 */

/* ==========================================================================
 * 1. SoMe-ikoner i bunnteksten (alle sider, desktop + mobil)
 * ========================================================================== */
.ls-social-wrap { text-align: center; margin: 4px 0 6px; }
.ls-social ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; }
.ls-social li { margin: 0; padding: 0; }
.ls-social a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 36px; height: 36px; border-radius: 50%;
	color: #fff; background: rgba(255, 255, 255, .14);
	border: 1px solid rgba(255, 255, 255, .28);
	transition: background-color .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}
.ls-social a svg { width: 18px; height: 18px; display: block; }
.ls-social a:hover, .ls-social a:focus-visible { background: #d09c0e; border-color: #d09c0e; color: #fff; transform: translateY(-2px); outline: none; }

/* ==========================================================================
 * 2. Forsiden – boksene (Les, Kjøp, App, Hør)
 * ========================================================================== */
/* Rekkefølge: Les (3. kolonne i HTML), Kjøp (2.), App (1.), Hør (4.) */
.ls-home-boxes > .vc_column_container:nth-child(3) { order: 1; }
.ls-home-boxes > .vc_column_container:nth-child(2) { order: 2; }
.ls-home-boxes > .vc_column_container:nth-child(1) { order: 3; }
.ls-home-boxes > .ls-box-hear { order: 4; }

/* Fargen på "Hør"-boksen (grønn, passer til gull/rødt og skiller seg ut) */
.ls-box-hear > .vc_column-inner { background-color: #1f5a49; padding: 0 !important; margin: 0 !important; }
.ls-box-hear .tm-sc-icon-box {
	background-image: url("/wp-content/uploads/2019/05/design-hollow-copy.png");
	background-repeat: no-repeat; background-position: center; background-size: contain;
	padding: 40px;
}
.ls-box-hear .icon-box-title, .ls-box-hear .icon-box-title a, .ls-box-hear .content, .ls-box-hear .content p { color: #fff; }
.ls-box-hear .icon-wrapper .icon i { font-size: 50px; line-height: 55px; }

/* Desktop/nettbrett: fire bokser på rad */
@media (min-width: 768px) {
	.ls-home-boxes > .vc_column_container { flex: 0 0 25%; max-width: 25%; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
	/* nettbrett: 2 x 2 */
	.ls-home-boxes > .vc_column_container { flex: 0 0 50%; max-width: 50%; }
}

/* ==========================================================================
 * 3. MOBIL (telefon): kompakt header, 2 bokser i bredden
 * ========================================================================== */
@media (max-width: 767.98px) {

	/* --- Header: ett kompakt rad: [meny] [logo] ........ [handlekurv] [Gi støtte] --- */
	header#header .header-nav-wrapper { padding: 0; }
	header#header .menuzord-container .container { padding-left: 8px; padding-right: 8px; }
	header#header .header-nav-col-row {
		flex-wrap: nowrap; align-items: center; margin: 0;
		min-height: 0; padding: 4px 0;
	}
	header#header .header-nav-col-row > * {
		flex: 0 0 auto; width: auto; max-width: none;
		padding-left: 0 !important; padding-right: 0 !important;
	}
	/* Meny-ikonet (2. kolonne i HTML) flyttes foran logoen */
	header#header .header-nav-col-row > :nth-child(2) { order: -1; margin: 0; }
	header#header .header-nav-col-row > :nth-child(1) { order: 0; margin-left: 2px; }
	header#header .header-nav-col-row > :nth-child(3) { order: 1; margin-left: auto; }

	header#header #top-primary-nav { width: 44px; min-height: 0; float: none; }
	header#header #top-primary-nav .showhide {
		float: none; display: flex !important; align-items: center; justify-content: center;
		flex-direction: column; gap: 4px;
		width: 44px; height: 44px; padding: 0; margin: 0;
	}
	header#header #top-primary-nav .showhide em { float: none; margin: 0; width: 22px; height: 3px; display: block; }
	/* Skjult meny-liste i denne kolonnen (den åpne menyen vises i raden under) */
	header#header #top-primary-nav .menuzord-menu { display: none !important; }

	header#header .site-brand { margin: 0; display: block; }
	header#header .site-brand img,
	header#header .site-brand img.logo-1x,
	header#header .site-brand img.logo-2x { height: 46px !important; max-height: 46px !important; width: auto !important; margin: 0; }

	header#header .nav-side-icon-list { display: flex; align-items: center; margin: 0; }
	header#header .nav-side-icon-list > li { margin: 0; padding: 0 0 0 10px; }
	header#header .nav-side-icon-list .custom-button { margin: 0; padding: 6px 12px; font-size: 12px; line-height: 1.2; }
	header#header .nav-side-icon-list .top-nav-mini-cart-icon-container { margin: 0; }

	/* --- Mellomrom til overskriften --- */
	/* kun forsiden (boksene overlapper den mørke stripen) */
	.home .page-title.tm-page-title .container { padding-top: 14px; padding-bottom: 50px; }
	.home .page-title.tm-page-title .title { font-size: 26px; line-height: 1.15; }
	.home .page-title.tm-page-title .breadcrumbs { display: none; }

	/* --- Boksene: 2 i bredden --- */
	/* høy spesifisitet: VC-klassen .vc_custom_1534433547783 setter margin-top: -60px !important og kommer senere på siden */
	.ls-home-boxes.vc_row.wpb_row { margin-top: -34px !important; margin-left: 0; margin-right: 0; padding: 0 !important; }
	.ls-home-boxes > .vc_column_container,
	.ls-home-boxes > .vc_column_container.vc_col-sm-6,
	.ls-home-boxes > .vc_column_container.vc_col-sm-12 {
		flex: 0 0 50%; max-width: 50%; width: 50%;
	}
	.ls-home-boxes .tm-sc-icon-box, .ls-box-hear .tm-sc-icon-box {
		padding: 16px 10px 14px !important; margin: 0 !important;
		background-size: 150%;
	}
	.ls-home-boxes .icon-wrapper { margin: 0 0 6px; }
	.ls-home-boxes .icon-wrapper .icon i,
	.ls-home-boxes .icon-wrapper .icon i.fa { font-size: 30px !important; line-height: 34px !important; }
	.ls-home-boxes .icon-box-title { font-size: 15px; line-height: 1.2; margin: 0 0 6px; }
	.ls-home-boxes .icon-text .content { margin: 0 0 8px; }
	.ls-home-boxes .icon-text .content p { font-size: 12px; line-height: 1.35; margin: 0; }
	.ls-home-boxes .btn-view-details { margin: 0; }
	.ls-home-boxes .btn-view-details .btn { font-size: 12px; line-height: 1.3; padding: 5px 14px; border-width: 2px; white-space: nowrap; }
	.ls-home-boxes .vc_column-inner { height: 100%; }
}

/* ==========================================================================
 * 4. "Hør Koranen"-siden
 * ========================================================================== */
.ls-audio { max-width: 980px; margin: 0 auto; padding: 8px 0 24px; text-align: center; }

.ls-audio-intro { padding: 0 0 8px; }
.ls-badge {
	display: inline-block; background: #d09c0e; color: #fff; font-weight: 700; font-size: 12px;
	letter-spacing: .12em; text-transform: uppercase; padding: 5px 14px; border-radius: 30px; margin-bottom: 14px;
}
.ls-audio-title { font-size: 34px; line-height: 1.25; margin: 0 0 14px; color: #4c1426; font-weight: 800; }
.ls-audio-title span { color: #d09c0e; }
.ls-audio-lead { font-size: 18px; line-height: 1.6; color: #555; max-width: 700px; margin: 0 auto 8px; }

/* plattformer */
.ls-platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 28px 0 36px; }
.ls-platform {
	display: flex; flex-direction: column; align-items: center; gap: 6px;
	padding: 34px 24px 28px; border-radius: 6px; background: #fff; text-decoration: none; color: #333;
	border: 1px solid #eee; box-shadow: 0 8px 28px rgba(76, 20, 38, .08);
	transition: transform .2s ease, box-shadow .2s ease;
}
.ls-platform:hover, .ls-platform:focus-visible { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(76, 20, 38, .16); color: #333; text-decoration: none; }
.ls-logo { width: 72px; height: 72px; display: block; margin-bottom: 6px; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .15)); }
.ls-platform-name { font-size: 24px; font-weight: 800; color: #222; font-family: Montserrat, Roboto, sans-serif; }
.ls-platform-sub { font-size: 15px; color: #777; margin-bottom: 14px; }
.ls-platform-btn {
	display: inline-block; color: #fff; font-weight: 600; font-size: 15px; letter-spacing: .02em;
	padding: 11px 26px; border-radius: 30px; transition: filter .2s ease;
}
.ls-platform-spotify { border-top: 4px solid #1db954; }
.ls-platform-apple { border-top: 4px solid #8e3cc7; }
.ls-platform-spotify .ls-platform-btn { background: #1db954; }
.ls-platform-apple .ls-platform-btn { background: #8e3cc7; }
.ls-platform:hover .ls-platform-btn { filter: brightness(1.08); }
.ls-arrow { display: inline-block; margin-left: 4px; transition: transform .2s ease; }
.ls-platform:hover .ls-arrow { transform: translateX(3px); }

/* når og hvor */
.ls-when { background: #4c1426; color: #fff; border-radius: 6px; padding: 28px 24px 26px; margin: 0 0 30px;
	background-image: url("/wp-content/uploads/2019/05/design-hollow-copy.png"); background-repeat: no-repeat; background-position: center; background-size: cover; }
.ls-when h3 { color: #fff; font-size: 22px; margin: 0 0 18px; }
.ls-when ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.ls-when li { display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); border-radius: 40px; padding: 8px 20px 8px 10px; font-size: 16px; font-weight: 600; }
.ls-when-ico { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; background: #fff; font-size: 19px; line-height: 1; }

/* fakta */
.ls-facts { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ls-facts li { display: flex; flex-direction: column; gap: 4px; padding: 22px 14px; background: #faf6f0; border-top: 3px solid #d09c0e; border-radius: 4px; }
.ls-fact-key { font-size: 30px; line-height: 1.1; font-weight: 800; color: #8a2b44; font-family: Montserrat, Roboto, sans-serif; }
.ls-facts strong { font-size: 16px; color: #222; }
.ls-facts li span:last-child { font-size: 14px; color: #666; line-height: 1.45; }

.ls-audio-more { color: #666; font-size: 16px; }
.ls-audio-more a { color: #8a2b44; font-weight: 600; }

@media (max-width: 767.98px) {
	.ls-audio-title { font-size: 25px; }
	.ls-audio-lead { font-size: 16px; }
	.ls-platforms { grid-template-columns: 1fr; gap: 16px; margin: 20px 0 26px; }
	.ls-platform { padding: 26px 18px 22px; }
	.ls-logo { width: 60px; height: 60px; }
	.ls-platform-name { font-size: 21px; }
	.ls-when { padding: 22px 14px 20px; }
	.ls-when h3 { font-size: 18px; }
	.ls-when ul { gap: 8px; }
	.ls-when li { padding: 6px 14px 6px 8px; font-size: 14px; }
	.ls-when-ico { width: 30px; height: 30px; font-size: 16px; }
	.ls-facts { grid-template-columns: 1fr 1fr; gap: 12px; }
	.ls-facts li { padding: 16px 10px; }
	.ls-fact-key { font-size: 24px; }
}

/* ==========================================================================
 * 5. Bunntekst: logoen sentrert (alle sider, desktop + mobil)
 * ========================================================================== */
footer#footer .footer-bg .vc_row.vc_inner:first-child > .vc_column_container {
	float: none; width: 100%; max-width: 100%; flex: 0 0 100%;
}
footer#footer .footer-bg .vc_row.vc_inner:first-child > .vc_column_container:not(:first-child) { display: none; }
footer#footer .widget-contact-info,
footer#footer .widget-contact-info .thumb { text-align: center; }
footer#footer .widget-contact-info .thumb img { display: block; margin: 0 auto; max-width: 100%; height: auto; }
