/*
Theme Name: EuroLottozahlen
Theme URI: https://eurolottozahlen.com/
Author: EuroLottozahlen.com Redaktion
Description: Editorial theme for EuroLottozahlen.com - EuroJackpot draw numbers, operator reviews and lottery comparisons.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eurolottozahlen
*/

/* ------------------------------------------------------------ *\
	#Reset
\* ------------------------------------------------------------ */

* { margin: 0; padding: 0; outline: 0; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); box-sizing: border-box; }
*, *:before, *:after { box-sizing: border-box; }

header, footer, nav, section, article, aside, figure, details, summary, main { display: block; }

/* ------------------------------------------------------------ *\
	#Base
\* ------------------------------------------------------------ */

body, html { height: 100%; }

body {
    font-family: 'Ubuntu', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.71;
    color: #606060;
    background: #e6e6e6;
    min-width: 320px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: #3dba37; text-decoration: none; cursor: pointer; }
a:hover { text-decoration: underline; }
a img { border: 0; }
img { height: auto; max-width: 100%; font-size: 0; vertical-align: middle; }

h1, h2, h3, h4, h5, h6 { line-height: 1.12; font-weight: normal; }

h1 { padding-bottom: 9px; font-size: 18px; line-height: 1.44; text-align: center; }
h2 { margin-top: 1.2em; padding-bottom: 13px; font-size: 16px; font-weight: bold; color: #107db5; }
h3 { margin-top: 1.4em; padding: 0 0 12px; font-size: 16px; font-weight: bold; color: #107db5; }
h4 { font-size: 16px; font-weight: normal; color: #107db5; }
h5 { font-size: 14px; font-weight: bold; color: #107db5; }
h6 { font-size: 14px; font-weight: normal; color: #107db5; }

p { padding-bottom: 1.71em; }
p:last-child { padding-bottom: 0; }

ul { list-style-position: inside; }
ol { list-style-position: inside; }

table { width: 100%; border-collapse: collapse; border-spacing: 0; margin: 7px 0 21px; font-size: 13px; color: #878787; }
th, td { padding: 7px 10px; font-weight: normal; text-align: center; }

tr:nth-child(odd) td { background-color: #effaff; }

th { color: #fff; background-color: #107db5; }
td { border-bottom: 1px solid #c0c0c0; }

.table-wrap { overflow: auto; width: 100%; -webkit-overflow-scrolling: touch; }
.table-wrap table { min-width: 490px; }

/* ------------------------------------------------------------ *\
	#Helpers
\* ------------------------------------------------------------ */

.clearfix:before, .clearfix:after { display: table; content: ' '; }
.clearfix:after { clear: both; }

.notext { font-size: 0; color: transparent; }
.medium { font-weight: 500; }
.bold { font-weight: bold; }

img.alignnone, img.alignleft, img.alignright, img.aligncenter { display: block; margin: 1px auto 19px; }

/* Button */

.btn, input.btn {
	display: inline-block;
	padding: 5px 15px;
	font-size: 17px;
	color: #fff;
	background: linear-gradient(to bottom, #fc763b 0%, #e33322 100%);
	border-radius: 5px;
	border: none;
}
.btn:hover { text-decoration: none; background: #e53624; }

/* Simple flat icons (replace old sprite) */

.ico-eighteen-plus { display: inline-block; vertical-align: middle; width: 30px; height: 24px; font-weight: bold; font-size: 13px; line-height: 24px; text-align: center; color: #107db5; background: #fff; border-radius: 3px; }
.ico-tick:before { content: '\2713'; color: #3dba37; margin-right: 8px; }

.country-code { display: inline-block; vertical-align: middle; min-width: 22px; padding: 1px 4px; margin-right: 6px; font-size: 10px; font-weight: bold; letter-spacing: .02em; text-align: center; color: #107db5; background: #effaff; border: 1px solid #b0c5d1; border-radius: 3px; }

/* ------------------------------------------------------------ *\
	#Containers
\* ------------------------------------------------------------ */

.wrapper { max-width: 1088px; margin: 0 auto; background: #fff; }
.shell { max-width: 1008px; margin: 0 8px; }

/* ------------------------------------------------------------ *\
	#Header
\* ------------------------------------------------------------ */

.header { position: relative; z-index: 100; padding: 8px 0 11px; }

.logo { display: block; width: 236px; height: 45px; margin: 0 auto 4px; }
.logo img { display: block; width: 100%; height: 100%; object-fit: contain; }

/* Logo entrance animation - subtle fade + slide/scale on page load */
.logo-intro { animation: elz-logo-intro .5s cubic-bezier(.2, .7, .3, 1) both; }
@keyframes elz-logo-intro {
	from { opacity: 0; transform: translateY(-6px) scale(.94); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
	.logo-intro { animation: none; }
}

.nav-toggle { position: relative; display: flex; align-items: center; gap: 11px; padding: 9px 16px; font-size: 19px; line-height: 1.2; font-weight: 600; color: #fff; background: #107db5; border-bottom: 3px solid #3dba37; box-shadow: 0 2px 4px rgba(0, 0, 0, .18); }
.nav-toggle:hover { text-decoration: none; background-color: #1072a4; }

.nav-toggle-icon { position: relative; flex: 0 0 auto; display: inline-block; width: 22px; height: 15px; }
.nav-toggle-icon span { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 1px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle-icon span:nth-child(1) { top: 0; }
.nav-toggle-icon span:nth-child(2) { top: 6px; }
.nav-toggle-icon span:nth-child(3) { top: 13px; }
.show-nav .nav-toggle-icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.show-nav .nav-toggle-icon span:nth-child(2) { opacity: 0; }
.show-nav .nav-toggle-icon span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) {
	.nav-toggle-icon span { transition: none; }
}

.nav { display: none; position: absolute; top: 100%; right: 8px; min-width: 152px; padding: 4px 20px; margin-top: -11px; font-size: 14px; text-align: center; text-transform: uppercase; background: #107db5; box-shadow: -6px 6px 7px rgba(0, 0, 0, .35); }
.nav ul { list-style: none outside none; }
.nav .menu li { border-top: 1px solid #fff; }
.nav .menu li:first-child { border-top: 0; }
.nav .menu li a { padding: 9px 10px; display: block; color: #fff; }
.nav .menu li a:hover, .nav .menu li.current-menu-item a { color: #3dba37; }
.show-nav .nav { display: block; }

.socials { display: none; }

/* ------------------------------------------------------------ *\
	#Footer
\* ------------------------------------------------------------ */

.footer { padding: 8px 0 15px; margin: 0 9px; color: #fff; text-align: center; background: #107db5; }
.footer a { color: #fff; }

.copyright { padding-bottom: 16px; font-size: 13px; font-weight: bold; }

.footer-nav { font-size: 0; line-height: 1; }
.footer-nav ul { display: inline-block; vertical-align: middle; list-style: none outside none; }
.footer-nav li { display: inline-block; vertical-align: top; font-size: 13px; border-right: 2px solid #fff; }
.footer-nav li a { display: inline-block; padding: 0 13px; }

.icons { display: inline-block; vertical-align: middle; font-size: 0; }
.icons span { display: inline-block; margin-left: 25px; }

/* ------------------------------------------------------------ *\
	#Main
\* ------------------------------------------------------------ */

.content { padding-bottom: 10px; }
.sidebar { width: 284px; margin: 0 auto; }

/* Jackpot Container */
.jackpot-container { max-width: 680px; padding: 11px; margin: 0 auto 17px; color: #323b44; background-color: #d1ecfb; }
.jackpot-container-home { max-width: 100%; padding: 20px; color: #fff; background: #107db5; border-radius: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.jackpot-container-home .numbers-container,
.jackpot-container-home .current-jackpot { display: flex; align-items: center; gap: 18px; padding: 8px; text-align: left; margin: 0; }
.jackpot-container-home .ico-euro-jackpot { display: block; flex-shrink: 0; margin: 0; width: 96px; height: 96px; padding: 7px; background-color: rgba(255, 255, 255, .75); border-radius: 12px; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); box-sizing: border-box; }
.jackpot-container-home .draw-text { flex: 1; text-align: center; }
.jackpot-container .draw-headline { font-size: 18px; font-weight: bold; margin: 0 0 10px; padding: 0; }
.jackpot-container-home .draw-headline { color: #fff; }
.jackpot-container-home .btn { display: inline-block; max-width: none; white-space: nowrap; margin: 0; padding: 10px 22px; letter-spacing: .4px; word-spacing: 2px; text-align: center; }
.jackpot-container p { padding: 2px 0 7px; font-size: 13px; text-align: center; }
.jackpot-container:not(.jackpot-container-home) .ico-euro-jackpot { display: block; width: 66px; height: 66px; margin: 3px auto 12px; padding: 7px; background-color: rgba(255, 255, 255, .75); border-radius: 12px; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.jackpot-container .ico-euro-jackpot img { display: block; width: 100%; height: 100%; object-fit: contain; }

.jackpot-container .numbers { list-style: none outside none; font-size: 0; text-align: center; }
.jackpot-container .numbers li { display: inline-block; vertical-align: middle; width: 46px; height: 46px; margin: 0 2px 6px; font-size: 18px; line-height: 46px; font-weight: 500; color: #000; background: radial-gradient(circle at 35% 30%, #fff 0%, #eee 55%, #ccc 100%); border-radius: 50%; border: 1px solid #b9b9b9; }
.jackpot-container .extra-numbers li { background: radial-gradient(circle at 35% 30%, #fff8e0 0%, #f3dd8a 55%, #d9b93a 100%); border-color: #c7a52f; }

.jackpot-container .current-jackpot { padding: 9px 9px 23px; margin-top: 13px; text-align: center; background: #fff; border-radius: 3px; }
.jackpot-container .current-jackpot p { padding: 3px 10px; font-size: 13px; line-height: 14px; }
.jackpot-container-home .current-jackpot { background: none; margin-top: 12px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .15); }

.jackpot-container .jackpot { position: relative; overflow: hidden; padding: 20px 0 23px; font-size: 0; text-align: center; }
.jackpot-container .jackpot span { display: inline-block; vertical-align: top; }
.jackpot-container .jackpot .num, .jackpot-container .jackpot .currency {
	border: 1px solid #48be42; padding: 0 3px; margin-left: 1px; font-size: 26px; line-height: 28px; color: #151515;
	background: linear-gradient(to bottom, #f9f9f9 0%, #f8f8f8 29%, #f3f3f3 46%, #f3f3f3 47%, #d2d2d2 49%, #e9e9e9 52%, #e9e9e9 100%);
}
.jackpot-container .jackpot .currency { margin-left: 11px; }
.jackpot-container .jackpot .num:first-child { margin-left: 0; }
.jackpot-container .jackpot .dot { margin: 1px 1px 0; font-size: 20px; }
.jackpot-container:not(.jackpot-container-home) .btn { display: block; max-width: 244px; padding: 11px 10px; margin: 0 auto; font-size: 17px; font-weight: bold; text-transform: uppercase; }

/* Widgets */
.widgets { list-style: none outside none; }

.widget { padding-top: 15px; border-top: 1px solid #e9e9e9; margin-top: 15px; }
.widget:first-child { padding-top: 0; border-top: 0; margin-top: 0; }

.widget-title { padding: 12px 22px; margin-bottom: 13px; font-size: 15px; font-weight: 500; text-align: center; color: #fff; background: #107db5; }

.widget ul { list-style: none outside none; margin-top: -10px; font-size: 12px; line-height: 1.2; }
.widget ul li { border-bottom: 1px solid #e9e9e9; }
.widget ul a { position: relative; display: block; padding: 8px 10px 8px 21px; color: #9c9c9c; }
.widget ul a:after { content: ''; position: absolute; top: 14px; left: 4px; width: 4px; height: 4px; background: #00a1e0; }

.widget_steps + .widget, .widget_jackpot + .widget { margin-top: 0; border-top: 0; }

.widget_jackpot { font-size: 12px; }
.widget_jackpot ul { color: #9c9c9c; counter-reset: counter; display: table; width: 100%; }
.widget_jackpot li { counter-increment: counter; display: table-row; padding: 0; border: 0; text-align: left; }
.widget_jackpot li:before { content: counter(counter) '.'; text-align: center; }
.widget_jackpot .value { color: #2f2f2f; }
.widget_jackpot li:before, .widget_jackpot li span { display: table-cell; padding: 8px 4px; border-bottom: 1px solid #e9e9e9; vertical-align: middle; }
.widget_jackpot li .year { width: 46px; }
.widget_jackpot li .value { width: 106px; }
.widget_jackpot li .country { display: flex; align-items: center; white-space: nowrap; }

.widget_ang { position: relative; }
.widget_ang img { display: block; margin: 0 auto; }
.widget_ang .btn { position: absolute; top: 206px; left: 44px; right: 44px; padding-left: 5px; padding-right: 5px; text-align: center; }

.widget_steps .widget-title { margin-bottom: 0; }
.widget_steps .step { padding: 12px 20px; margin-top: 17px; font-size: 12px; line-height: 1.17; text-align: center; background: #effaff; }
.widget_steps .step p { padding-bottom: 7px; }
.widget_steps .step .title { padding: 0 0 6px; font-size: 20px; line-height: 1.2; font-weight: bold; text-align: center; color: #191919; }
.widget_steps .step img { width: 64px; height: 64px; margin: 0 auto; object-fit: contain; }

/* ------------------------------------------------------------ *\
	#Sections
\* ----------------------------------------------------------- */

.section-title { padding: 10px 0 17px; font-size: 18px; font-weight: normal; text-align: center; color: #606060; }

/* FAQ accordion */
.faq-block { padding: 22px 11px; background-color: #f6f6f6; }
.faq-item { padding-top: 20px; margin-top: 20px; border-top: 1px solid #e5e5e5; }
.faq-item:first-child { padding-top: 0; margin-top: 0; border-top: 0; }
.faq-item summary { cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-emoji { display: inline-block; margin-right: 8px; font-size: 15px; line-height: 1; vertical-align: middle; }
.faq-section-title::before { content: "💬"; display: inline-block; margin-right: 10px; font-size: 22px; line-height: 1; vertical-align: middle; }
.faq-item summary h3 { display: inline; padding: 0; margin: 0; font-size: 15px; font-weight: bold; color: #107db5; }
.faq-item summary h3:before { content: '+ '; color: #3dba37; }
.faq-item[open] summary h3:before { content: '\2212 '; }
.faq-item .faq-answer { padding: 10px 0 0 18px; border-left: 2px solid #00a1e0; margin-top: 8px; }
.faq-item .banner { padding: 5px 0; }

.rating { padding: 13px 0 2px; border: 1px solid #e9e9e9; margin-top: 12px; font-size: 11px; text-align: center; color: #107db5; }

/* Author box (light EEAT touch, anonymous editorial) */
.editorial-note { padding: 10px 14px; margin: 18px 0; font-size: 12px; color: #7a7a7a; background: #f6f6f6; border-radius: 3px; }

/* ------------------------------------------------------------ *\
	#Tablet
\* ------------------------------------------------------------ */

@media screen and (min-width: 760px) {

	h1 { padding: 7px 0 15px; font-size: 22px; line-height: 1.18; text-align: left; }

	.shell { margin-left: 10px; margin-right: 10px; }

	.header { padding: 7px 0 0; }
	.logo { float: left; width: 322px; height: 62px; margin: 0 0 4px 57px; }

	.nav-toggle { float: right; justify-content: flex-end; width: 246px; padding: 9px 14px 11px; margin: 8px 1px 0; font-size: 19px; text-align: right; color: #fff; background: #107db5; border: 0; border-radius: 4px; }
	.nav-toggle:hover { background: #1072a4; }

	.nav { margin-top: -14px; }

	.footer { padding: 8px 0; }
	.copyright, .footer-nav { box-sizing: border-box; width: 50%; }
	.copyright { float: left; padding: 0; padding-left: 11px; text-align: left; }
	.footer-nav { float: right; text-align: right; margin-top: -2px; }

	.main { position: relative; padding: 13px; border: 1px solid #e9e9e9; }
	.main:before { position: absolute; top: 0; right: 309px; display: block; width: 1px; height: 100%; background: #e9e9e9; }

	.sidebar { float: right; }
	.content { float: left; width: calc(100% - 310px); }

	.section-title { padding: 10px 0 17px; text-align: left; }

	.faq-block { padding: 22px 19px; font-size: 12px; line-height: 2; }

	.rating { padding: 7px 18px 6px; margin-top: 19px; text-align: right; }

	.jackpot-container:not(.jackpot-container-home) .ico-euro-jackpot { width: 92px; height: 92px; padding: 9px; margin: 14px auto 18px; }
	.jackpot-container:not(.jackpot-container-home) p { padding-bottom: 11px; }

	.jackpot-container .numbers li { width: 55px; height: 55px; margin: 0 8px 6px; font-size: 22px; line-height: 55px; }

	.jackpot-container .jackpot { padding: 20px 0; }
	.jackpot-container .jackpot .num, .jackpot-container .jackpot .currency { padding: 0 5px; margin-left: 2px; font-family: 'Open Sans Condensed', sans-serif; font-size: 32px; line-height: 35px; font-weight: bold; color: rgba(21, 21, 21, .83); }
	.jackpot-container .jackpot .currency { margin-left: 14px; }
	.jackpot-container .jackpot .num:first-child { margin-left: 0; }
	.jackpot-container .jackpot .dot { margin: 4px 2px -4px 4px; font-size: 24px; }

	.jackpot-container:not(.jackpot-container-home) .current-jackpot { padding: 19px 12px 23px; }
}

/* ------------------------------------------------------------ *\
	#Desktop
\* ------------------------------------------------------------ */

@media screen and (min-width: 1040px) {

	h1 { padding: 2px 0 16px; font-size: 24px; }

	.alignleft { float: left; }
	.alignright { float: right; }
	img.alignleft, img.alignright { margin: 5px 23px 8px; }
	img.alignleft { margin-left: 0; }
	img.alignright { margin-right: 0; }

	.shell { margin: 0 auto; }

	.header { position: relative; padding: 7px 0 6px; }
	.logo { width: 267px; height: 51px; margin: 1px 0 0 6px; }

	.nav-toggle { display: none; }

	.nav { position: relative; overflow: hidden; top: 0; right: auto; display: block; float: right; padding: 11px 0 8px; margin: 18px -17px 0 0; border-top: 1px solid #e9e9e9; border-bottom: 1px solid #e9e9e9; text-transform: none; background: transparent; box-shadow: none; }
	.nav .menu { float: left; }
	.nav .menu li { float: left; padding: 0 38px; border: 0; border-right: 1px solid #e9e9e9; }
	.nav .menu li a { padding: 0; color: #505050; }

	.socials { display: block; position: absolute; top: 12px; right: 6px; }
	.socials ul { list-style: none outside none; float: left; margin: -1px 8px 0 0; }
	.socials li { float: left; }
	.socials .label { padding-right: 23px; font-size: 10px; line-height: 21px; color: #c7c7c7; }
	.socials a[class*="link-"] { position: relative; display: flex; align-items: center; justify-content: center; width: 21px; height: 21px; overflow: hidden; text-indent: -9999px; white-space: nowrap; background: #9c9c9c; border-radius: 50%; }
	.socials a[class*="link-"]::before { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 10px; font-weight: bold; font-family: Arial, sans-serif; line-height: 1; color: #fff; text-indent: 0; }
	.socials a:hover { opacity: .83; }
	.socials a.link-twitter { background-color: #1da1f2; }
	.socials a.link-twitter::before { content: "X"; }
	.socials a.link-facebook { background-color: #1877f2; }
	.socials a.link-facebook::before { content: "f"; }
	.socials a.link-linkedin { background-color: #0a66c2; }
	.socials a.link-linkedin::before { content: "in"; font-size: 8px; }

	.main { padding: 12px 15px; }
	.content { margin-left: 4px; width: calc(100% - 315px); }
	.sidebar { margin: 1px -3px 0 0; }
	.rating { margin-top: 16px; }

	.jackpot-container:not(.jackpot-container-home) { padding: 13px; }
	.jackpot-container:not(.jackpot-container-home) .ico-euro-jackpot { float: left; margin: 20px 0 0 14px; }
	.jackpot-container:not(.jackpot-container-home) p { position: relative; overflow: hidden; padding: 2px 10px 13px 63px; text-align: left; }

	.jackpot-container .numbers { float: left; margin: 0 0 23px 18px; }
	.jackpot-container .numbers li { margin-bottom: 0; }
	.jackpot-container .extra-numbers { border-left: 1px solid #b0c5d1; margin-left: 0; }

	.jackpot-container:not(.jackpot-container-home) .current-jackpot { padding: 15px 15px 25px; margin: 0; clear: both; }
	.jackpot-container:not(.jackpot-container-home) .current-jackpot p { padding: 0 0 20px; text-align: center; }
	.jackpot-container .jackpot { display: inline-block; vertical-align: middle; padding: 0; margin: 2px 0 -2px; }
	.jackpot-container:not(.jackpot-container-home) .btn { display: inline-block; vertical-align: middle; padding: 5px 20px 7px; margin: 0 0 0 28px; }

	.section-title { padding: 0 0 19px; font-size: 24px; }
	.faq-block { padding: 19px 27px 22px; }
}

@media screen and (max-width: 599px) {
	.jackpot-container-home .numbers-container,
	.jackpot-container-home .current-jackpot { flex-direction: column; text-align: center; }
	.jackpot-container-home .current-jackpot { padding-left: 8px; }
	.jackpot-container-home .btn { white-space: normal; max-width: 100%; }
}
