/*!
Apteczka - dodatkowe style
*/

:root {
	--cMainWhite:#F7F4ED;
	--cMainRed:#D24139/*#E35B53*/;
	--cOrange:#E39B53;
	--cGreen:#42845C;
	--cViolet:#6648AC;
	--cBlue:#1874C4;
	--cOlive:#C8DF89;
	--cYellow:#FCE376;
	--cPink:#FFB8B3;
	--cMint:#5CD0AF;
	--cMainBlack:#222;
	--cSecondaryBlack:#1A1A1A;
	--cGray:#4D5463; 
	--desktopWidth:1280px;
	
	--scrollbar-width: 17px;
	--desktopNoScrollbar: calc(100vw - var(--scrollbar-width, 17px));
	@media(max-width:1300px){
		--desktopWidth:calc(var(--desktopNoScrollbar) - 16px);
	}
}

html, body{
    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
	margin-bottom:0!important;
	overflow-x:hidden;
}

/* =========================================
   UTILITIES & HELPERS
   ========================================= */
@media(min-width:1001px){
	.m_only { display: none!important;}
}
@media(max-width:1000px){
	.d_only { display: none!important;}
}
/* Positioning */
.p_rel{ position: relative; }
.p_abs{ position: absolute; }
.top_0{ top: 0; }
.left_0{ left: 0; }
.bottom_0{ bottom: 0; }

/* Display & Flex/Grid */
.d_block { display: block; }
.d_inline_block { display: inline-block; }
.d_flex { display: flex; }
.flex_col { flex-direction: column; }
.align_center { align-items: center; }
.justify_end { justify-content: flex-end; }
.justify_center { justify-content: center; }
.justify_space {justify-content: space-between;}
.shrink_0 { flex-shrink: 0; }

.d_grid { display: grid; }
.grid_2cols { grid-template-columns: repeat(2, 1fr)!important; }
.grid_3cols { grid-template-columns: repeat(3, 1fr); }
.grid_4cols { grid-template-columns: repeat(4, 1fr); }

/* Gaps */
.gap_8 { gap: 8px; }
.gap_12 { gap: 12px; }
.gap_16 { gap: 16px; }
.gap_24 { gap: 24px; }
.gap_35 { gap: 35px; }
.gap_45 { gap: 45px; }

/* Margins */
.mt_0 { margin-top: 0; }
.mt_5 { margin-top: 5px; }
.mt_12 { margin-top: 12px; }
.mt_20 { margin-top: 20px; }
.mt_25 { margin-top: 25px; }
.mt_40 { margin-top: 40px; }

.mb_0 { margin-bottom: 0px; }
.mb_4 { margin-bottom: 4px; }
.mb_8 { margin-bottom: 8px; }
.mb_12 { margin-bottom: 12px; }
.mb_16 { margin-bottom: 16px; }
.mb_20 { margin-bottom: 20px; }
.mb_24 { margin-bottom: 24px; }
.mb_35 { margin-bottom: 35px; }
.mb_40 { margin-bottom: 40px; }
.mb_45 { margin-bottom: 45px; }

.ml_auto{
	margin-left: auto;
}
/* Paddings */
.padding8 { padding: 8px; }
.padding16 { padding: 16px; }
.padding24 { padding: 24px; }
.padding_b_45 { padding-bottom: 45px; }
.padding4_12 { padding: 4px 12px; }
.padding8_12 { padding: 8px 12px;}
.padding16_0 { padding: 16px 0px; }


/* Sizing */
.width_100 { width: 100%; }
.height_100 { height: 100%; }
.h_50 { height: 50%; }
.width_100px { width: 100px; }
.height_80px { height: 80px; }
.height_200 { height: 200px; }

/* Borders & Radius */
.br4 { border-radius: 4px; }
.br8 { border-radius: 8px; }
.br16 { border-radius: 16px; }
.overflow_hidden { overflow: hidden; }

/* Colors & Backgrounds */
.bkgMain { background-color: var(--cMainWhite); }
.bgRed { background-color: var(--cMainRed); }
.bgWhite { background-color: #fff; }

.colRed { color: #DE3535;}
.col_white { color: #fff; }
.col_black { color: var(--cMainBlack); }
.col_sblack { color: var(--cMainBlack)!important;}
.col_gray { color: var(--cGray); }
.op_08 { opacity: 0.8; }

/* Object Fit (dla obrazków) */
.obj_cover {
	object-fit: cover;
	display: block;
}

/* Aspect Ratio */
.ar_1_1{ aspect-ratio: 1 / 1; }
.ar_2_1{ aspect-ratio: 2 / 1; }
.ar_25_1{ aspect-ratio: 2.5 / 1; }
.ar_3_2{ aspect-ratio: 3 / 2; }
.ar_5_3{ aspect-ratio: 5 / 3; }
.ar_16_8{ aspect-ratio: 16 / 8;}
.ar_16_9{ aspect-ratio: 16 / 9;}
.ar_16_10{ aspect-ratio: 16 / 10;}

/* Typography Details */
.fs_12 { font-size: 12px; }
.fs_13 { font-size: 13px; }
.fs_14 { font-size: 14px; }
.fs_15 { font-size: 15px; }
.fs_16 { font-size: 16px; line-height:20px; }
.fs_18 { font-size: 18px; line-height: 22px; }
.fs_24 { font-size: 24px; line-height:28px; }
.fs_40 { font-size: 45px; line-height: 40px; }
.fs_45 { font-size: 45px; line-height: 45px; }
.fs_54 { font-size: 45px; line-height: 62px; }
.fs_67 { font-size: 67px; line-height: 67px; }


.fw_400 { font-weight: 400; }
.fw_500 { font-weight: 500; }
.fw_600 { font-weight: 600; }
.fw_700 { font-weight: 700; }

.lh_12 { line-height: 1.2; }
.td_none { text-decoration: none; }

a { text-decoration: none; }

@media(max-width:1000px){
	.m_fs_16{ font-size: 16px;line-height: 16px; }
	.m_fs_20{ font-size: 20px;line-height: 20px; }
	.m_fs_24{ font-size: 24px;line-height: 24px; }
	.m_fs_28{ font-size: 28px;line-height: 34px; }
	.m_fs_32{ font-size: 32px;line-height: 38px; }
	
	.m_h_auto {height:auto;}
	
	.m_mb_40 {margin-bottom:40px!important;}
	
	.m_padding8{ padding:8px;}
	.m_padding_20 { padding:20px; }
	.m_padding_12_16{ padding:12px 16px; } 
	.m_paddingb_24 {padding-bottom:24px!important;}
		
	.m_d_grid {display:grid;}
	.m_gap_0{gap:0px!important;}
	.m_gap_16{gap:16px!important;}
}

@media(max-width:760px){			
	.m_ar_1_1{aspect-ratio: 1 / 1;}
	.m_ar_16_9{aspect-ratio: 16 / 9;}
	
	.m_d_grid {display:grid;}
	
	.m_grid_1col {grid-template-columns: 1fr!important;}
	.m_grid_2cols {grid-template-columns:1fr 1fr!important;}
}
a.p_btn { color:#fff; background-color:#A8302C; border-radius:50px; padding:12px 20px;}
/* =========================================
   HEADER
   ========================================= */
header#masthead,
.error404 .container,
.search-results .container,
.single-post .container,
main{
	max-width: var(--desktopWidth);
	margin: 0 auto;
	position: relative;
}
.search-results main,
.error404 main,
.single-post main{
	max-width:100vw;
	width:100vw;
	background-color:#fff;
}
.error404 main{
	padding-top:110px;
	padding-bottom:165px;
}
header#masthead{
	padding-top: 16px;
	padding-bottom: 16px;
	z-index:999;
}
.header-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0; 
    gap: 24px;
}
.header-search {
	flex-grow: 1;
    max-width: 720px;
    margin: 0 auto;
}

.header-search form {
    position: relative;
    display: block;
    align-items: center;
	width:100%;
}

.header-search .search-field {
    width: 100%;
    padding: 6px 50px 6px 24px;
    border-radius: 50px;
    border: 1px solid #E5E5E5;
    background-color: #FFFFFF;
    font-size: 15px;
    font-family: 'DM Sans', sans-serif;
    color: #1D1D1D;
    outline: none;
    transition: border-color 0.2s;
}

.header-search .search-field:focus {
    border-color: #D93A3A;
}

.header-search .search-submit {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    font-size: 0;
    color: transparent;
    border: none;
    background-color: transparent;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23888888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
    transition: opacity 0.2s;
}

.header-search .search-submit:hover {
    opacity: 0.7;
}
.header-weather img {
    display: block;
}
.site-branding img {
    width: auto;
}
.main-navigation{
	padding-top: 16px;
}
.main-navigation ul{
    width: 100%; 
    justify-content: space-between;
	align-items:stretch;
}
.main-navigation ul li{
	flex:1;
}
@media(min-width:1000px){
	.main-navigation div > ul > li::after{
		content: '';
		display: inline-block;
		height: 48px;
		position: absolute;
		right: 0;
		border-right: 1px solid #D9D9D9;
		top: 0;
	}
}

.main-navigation ul li:last-of-type::after{
	display:none;
	
}
.main-navigation ul li a{
	color: var(--cMainBlack);
	font-weight: 700;
	font-size: 16px;
	text-align: center;
	display: flex;
    align-items: center; 
    justify-content: center; 
    height: 100%; 
}
header#masthead::before{
	display: block;
	content: '';
	position: absolute;
	z-index: -1;
	left: 50%;
	transform:translatex(-50%);
	top: 0;
	height: 100%;
	width: 100vw;
	background-color: var(--cMainWhite);
}
header#masthead::after{
	display: block;
	content: '';
	position: absolute;
	z-index: 0;
	top:70px;
	left: 50%;
	transform: translatex(-50%);
	height: 1px;
	width: 100vw;
	background-color: #D9D9D9;
}
#close-offcanvas,
#offcanvas-menu{
	display:none;
}
.main-navigation ul li{position:relative;}
.main-navigation ul li ul{display:none;opacity:0;padding-top:24px;}
.main-navigation ul li:hover ul{display: block;
    display: block;
    position: absolute;
    opacity: 1;
    z-index: 999999;
    bottom: 0;
}
.main-navigation ul li ul li{background-color:#F7F4ED;padding:8px;}
.main-navigation ul li ul li a{
	text-align: left;
    margin-left: 0;
    align-self: flex-start;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    justify-content: normal;
}
.main-navigation ul li ul li:hover a{background-color:#F3E6C7;}
.main-navigation ul li ul li a:before{
	content:'';
	display: inline-block;
    width: 12px;
    height: 12px;
    min-width: 12px;
    border-radius: 30px 0 0 30px;
    margin-right: 8px;
    transform: translatey(-1px);
	background-color:#FCE376;
}
.main-navigation ul li ul li:nth-of-type(1){border-top-left-radius:8px;border-top-right-radius:8px;}
.main-navigation ul li ul li:last-of-type{border-bottom-left-radius:8px;border-bottom-right-radius:8px;}

@media(max-width:1000px){
	.header-top-row{
		justify-content:space-between;
		align-content:center;
		flex-wrap:wrap;
	}
	.custom-logo-link{
		display:flex;
	}
	.header-top-row > div{
		flex-basis:45%;
	}
	.header-weather{
		display:none;
	}
	.main-navigation {
		padding-top: 32px;
	}
	#site-navigation{
		display:flex;
		overflow-x:scroll;
	}
	#primary-menu{
		display:flex!important;
	}
	#primary-menu li{
		min-width:max-content;
	}
	.main-navigation ul li a{
		font-size:14px;
		line-height:16px;
		padding-left:12px;
		padding-right:12px;
	}
	.menu-toggle{
		margin-right:12px;
		height:32px;
		width:32px;
		min-width:32px;
		padding:0;
		background-color:transparent;
		border:none;
		background-image:url(/wp-content/uploads/2026/01/burger.svg);
	}
	#offcanvas-menu {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: rgba(206, 64, 55, 1);
		background-image: url(/wp-content/uploads/2026/01/menu-bg.webp);
		z-index: 9999;
		transform: translateX(-100%);
		transition: transform 0.3s ease;
		overflow-y: auto;
		padding: 20px;
		padding-top:100px;
		box-sizing: border-box;
		display: block !important;
	}
	#offcanvas-menu::before{
		content:'Kategorie';
		display:block;
		color:#fff;
		font-size:32px;
		font-weight:500;
		position:absolute;
		top:45px;
		left:50px;
	}
	#offcanvas-menu::after{
    	display: block;
    	border-radius: 30px 0 0 30px; 
		width: 20px;
		height: 20px;
		min-width: 20px;
		content:'';
		background-color:#fff;
		position:absolute;
		top:58px;
	}
	
	.toggled #offcanvas-menu {
		transform: translateX(0);
	}
	#close-offcanvas{
		display: none; 
		padding: 0;
        position: fixed;
        top: 40px;
        right: 20px;
        z-index: 10000;
        background: none;
        border: none;
        font-size: 35px;
        color: #fff;
        cursor: pointer;
	}
	.toggled #close-offcanvas {
		display:block;
	}
	
	#offcanvas-menu .menu {
		list-style: none;
		margin: 0;
		padding: 0;
	}
	#offcanvas-menu li {
		border-right:none;
	}
	#offcanvas-menu li:last-of-type::after{
		content:'2026 Apteczka na Sezon. All rights reserved.';
		color:#fff;
		font-size:12px;
		display:block;
		position:absolute;
		bottom:-50px;
		
	}
	#offcanvas-menu a {
		color: #fff;
		font-size:18px;
		text-decoration: none;
		font-size: 14px;
		line-height: 1.4;
		padding: 15px 0;
		display: block;
		border-bottom: 1px solid rgba(243, 149, 143, 1);
		border-right:none;
		text-align:left;
	}

	#offcanvas-menu a:hover {
		color: #fff;
	}

}
.breadcrumbs *{
	color:rgba(24, 26, 25, 0.3);
}
.breadcrumb_last{
	color:rgb(24 26 25);
}
.category .breadcrumbs *{
	color:rgba(255, 255, 255, 0.3);
}
.category .breadcrumb_last{
	color:rgb(255 255 255);
}
.category .darkText .breadcrumbs *{
	color:rgba(24, 26, 25, 0.3);
}
.category .darkText .breadcrumb_last{
	color:rgb(24 26 25);
}
.categories-grid img{min-width:100%;}
/* =========================================
   SECTIONS GENERAL
   ========================================= */
section{
	display: block;
	z-index:10;
	position:relative;
}
.section-winter{
	
}
.section-ad-top{
	padding-top: 16px;
	padding-bottom: 16px;
}
.section-ad-top *{
	text-align: center;
	object-fit:cover;
}

/* =========================================
   SINGLE POST
   ================== ======================= */

.singlePost-container{
	padding-top:40px;
}
.single-post .entry-content{
	margin-top:0!important;
	max-width:770px;
}
.single-post .entry-content h2{
	font-size:40px;
	line-height:46px;
	font-weight:500;
	color:#1a1a1a;
	margin-bottom:24px;
}
.single-post .entry-content h3{
	
}
.single-post .entry-content h4{
	
}
.single-post .entry-content h5{
	
}
.single-post .entry-content h6{
	
}
.single-post .entry-content a{
	text-decoration:underline;
	color:#A8302C;
}
.single-post .entry-content a:hover{
	color:#76130F;
}
.single-post .entry-content a:visited{
	color:#E26B64!important;
}
.single-post .entry-content ul li,
.single-post .entry-content ol li,
.single-post .entry-content p{
	line-height:1.4;
}
.single-post .entry-content ul li{
	list-style:none;
}
.single-post .entry-content ul li::before{
	content:'';
	display: inline-block;
    width: 12px;
    height: 12px;
    min-width: 12px;
    border-radius: 30px 0 0 30px;
    margin-right: 8px;
	background-color:rgba(227, 91, 83, 1);
    transform: translatey(-1px);
}
.single-post .entry-content ol,
.single-post .entry-content ul{
	padding-left:22px;
	margin-left:0;
}
.singlePost-content > article {
    width: 770px;
    flex: 0 0 770px;
}

.left-sidebar,
.right-sidebar {
    flex: 1;
    min-width: 0;
}
.singlePost-content .wp-block-image img{
	aspect-ratio:16 / 9;
	object-fit:cover;
	border-radius:8px;
	overflow:hidden;
}
.spisTresci-container{
	padding:48px;
	background-color:#F7F4ED;
	border-radius:16px;
}
.spisTresci-container h3{
	padding-bottom:16px;
	margin-bottom:16px;
	border-bottom:1px solid #D9D9D9;
}
.spisTresci-container ol{
	padding-left:0;
	margin-left:22px;
	margin-bottom:0;
}
.spisTresci-container ol li{
	font-size:18px;
	margin-bottom:18px;
}
.spisTresci-container ol li a{ 
	color: #1a1a1a!important;
}

.wp-block-media-text{
	padding:16px;
	border-radius:16px;
	background-color:var(--cMainRed);
	gap:32px;
	color:#fff;
}
.wp-block-media-text figure img{
	border-radius:16px;
	aspect-ratio: 16 / 9;
    object-fit: cover;
}
.faq-container{
	padding:48px;
	border-radius:16px;
	background-color:#F7F4ED;
}
.faq-container h2{
	padding-bottom:16px;
	margin-bottom:16px;
	border-bottom:1px solid #D9D9D9;
}
h3.faq-question{
	font-size:18px;
	font-weight:500;
}
.bibliography-container{
	padding-top:48px;
	padding-bottom:48px;
	margin-top:48px;
	margin-bottom:48px;
	border-top:1px solid #F4EADB;
	border-bottom:1px solid #F4EADB;
}
.bibliography-container li{
	margin-bottom:16px;
	font-style:italic;
}
.wp-block-media-text h2, .wp-block-media-text h3{ font-size:24px; font-weight:500;}
figcaption { font-size:13px; padding-left:10px; border-left: 2px solid #E35B53;}
blockquote { font-size:18px; font-style:italic; margin-left: 0; margin-right: 0; border-left: 2px solid #E35B53; padding-left:20px; }
.meta-container{ display:flex; }
.wp-block-table { 
    border-radius: 4px;
    border: none;
    background-color: transparent;
}

.wp-block-table table {
    border-collapse: separate; 
    border-spacing: 0;
    border: none;
    width: 100%;
}

.wp-block-table td, 
.wp-block-table th {
    border: none !important;
}

.wp-block-table tr {
    height: 40px;
}

.wp-block-table thead th {
    font-weight: bold;
    background-color: #F4EADB;
	text-align:left;
}

.wp-block-table tbody tr:nth-child(odd) {
    background-color: #F4EADB;
}

.wp-block-table tbody tr:nth-child(even) {
    background-color: #FFF9F0;
}

.wp-block-table tbody td:first-child {
    font-weight: bold;
}

.wp-block-table thead tr:first-child th:first-child {
    border-top-left-radius: 4px;
}

.wp-block-table thead tr:first-child th:last-child {
    border-top-right-radius: 4px;
}

.wp-block-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 4px;
}

.wp-block-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 4px;
}
.author-box-container{
	display:flex;
}
.author-box-container .author-avatar{
	width:56px;
	height:56px;
	border-radius:200px;
	overflow:hidden;
}
.author-box-container .author-name{ }
.author-box-container .author-role {}
/* =========================================
   SECTION: LATEST NEWS (NAJNOWSZE)
   ================== ======================= */
.darkText .section-title{
	color:#222!important;
}
.main-category #latestNews::after{
	position:absolute;
	content:'';
	display:block;
	height:1px;
	width:100vw;
	left:50%;
	transform:translatex(-50%);
	top:35px;
	opacity:0.3;
	background-color:#fff;
}
body.archive:not(.main-category) #latestNews { padding-top:40px;}
#latestNews::before{
	position: absolute;
	content: '';
	display: block;
	left:calc((var(--desktopNoScrollbar) - var(--desktopWidth)) / -2);
	top: 0;
	width: var(--desktopNoScrollbar);
	height: calc(100% + 100px);
	background-color: var(--cMainRed);
	border-radius: 16px;
	z-index: -1;
}
.category #latestNews::before{
	border-top-left-radius:0!important;
	border-top-right-radius:0!important;
}
.category .category-news-wrapper{
	padding-top:15px;
}
/* Grid Layouts for News */
.news-hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Lewa kolumna szersza */
    gap: 8px;
}
@media(min-width:761px){
	.news-hero-grid {
		min-height:26vw;
	}
}
/* Main Post Styling (Duży z lewej) */
.main-featured-post {
    height: 100%;
}
.main-featured-post .bg-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}
/* Efekt zoom na hover */
.main-featured-post:hover .bg-image {
    transform: scale(1.05);
}
.meta-tag-sponsored{ top:16px; left:12px; border:1px solid rgba(255,255,255,0.4); z-index: 2; }
/* Responsywność siatki */
@media (max-width: 992px) {
    .news-hero-grid {
        grid-template-columns: 1fr;
        height: auto;
    }
    .main-featured-post {
        height: 400px;
    }
}
@media (max-width: 576px) {
    .news-hero-grid, 
    .side-post-card, 
    .img-wrapper {
        height: auto !important;
    }
}

/* =========================================
   CATEGORIES
   ========================================= */
.category-tile .cat-title{
	color: var(--cMainBlack);
}
.cat-marker {
    display: inline-block;
    width: 12px;
    height: 12px;
    min-width: 12px; 
    border-radius: 30px 0 0 30px; 
    margin-right: 8px; 
	transform: translatey(-1px);
}
.cat-marker-big{
	width: 20px;
	height: 20px;
	min-width: 20px;
	transform: translatey(2px);
}
.category-section-wrapper{
	position:relative;
}
.category-section-wrapper::before{
	display: block;
    height: 40px;
    width: calc(100% + 32px);
    position: absolute;
    top: 40px;
    left: -16px;
    content: '';
    border-radius: 30px 30px 0 0;
    box-shadow: 0px -2px 0px #D9D9D9;
	z-index:-1;
}
.single-post .category-section-wrapper::before{
	top:35px;
	z-index:0;
}
.section-winter::before{
	position: absolute;
	content: '';
	display: block;
	left:calc((var(--desktopNoScrollbar) - var(--desktopWidth)) / -2);
	top: 0;
	width: var(--desktopNoScrollbar);
	height: 100%;
	background-color: var(--cMainRed);
	border-radius: 16px;
	z-index: -1;
}
.section-winter::after{
	position: absolute;
	content: '';
	display: block;
	left:calc((var(--desktopNoScrollbar) - var(--desktopWidth)) / -2);
	top: 0;
	width: 50vw;
	height: 50vw;
	background-image: url(/wp-content/uploads/2026/01/winter.svg);
	background-size: contain;
	background-repeat: no-repeat;
	z-index: -1;
}
.post-overlay{
	width: calc(100% - 24px);
	max-width: 727px;
    bottom: 12px;
    left: 12px;
}
.see-all-link{
	border-bottom: 1px solid var(--cGray);
}
.subcategories-links {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    justify-content: flex-start !important;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
	width:100%;
}

.scrolling-links{
	xoverflow-x: auto !important;
    xoverflow-y: hidden !important;
    justify-content: flex-start !important;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.subcategories-links::-webkit-scrollbar {
    display: none;
}

.subcategories-links a {
    flex: 0 0 auto !important;
    width: max-content !important;
    white-space: nowrap !important;
}
.darkText .subcategories-links a{
	color:#222!important;
}
/* FOOTER */
.footer-main-box {
    background-color: var(--cMainRed, #D93A3A);
	background-image: url(/wp-content/uploads/2026/01/footer-bg.webp);
	background-size:cover;
    border-radius: 24px 24px 0 0;
	padding: 64px 15px 40px 15px;
    color: #fff;
    overflow: hidden;
}

footer .container{
	max-width: var(--desktopWidth);
	margin: 0 auto;
}
.footer-top{
	border-bottom:1px solid #D9D9D9;
	padding-bottom:80px;
	margin-bottom:80px;
}
.footer-top, 
.footer-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.footer-policy, .footer-bottom { margin-top: 80px; padding-top: 32px; border-top: 1px solid #D9D9D9; }
.footer-policy p{
	display: flex;
    column-gap: 40px;
}
.footer-policy p *{
	color: white;
    font-size: 14px;
    line-height: 18px;
	border:none;
	padding:0;
	cursor:pointer;
    text-align: left;
    background-color: transparent;
}
.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 40px 32px;
    width: 100%;
}
footer ul.menu{
	margin-left:0;
	padding-left:0;
	margin-bottom:0;
}
footer ul.menu li{
	list-style:none;
	margin-bottom:8px;
}
footer ul.menu li a{
	color:#fff;
	font-size:16px;
}
footer ul.menu li.mi_main a{
	color:#1D0200;
}
footer .social-icons-wrapper{
	
}
.subcategory-pills {overflow-x:scroll; }
	.subcategory-pills a { display:inline-flex; min-width: max-content; width:max-content;}
/* POGODA ---------------------------------------------*/
div.wp-forecast-curr-head{padding:0;}
.wp-forecast-curr-left br, .wp-forecast-curr-details, .header-weather > div:nth-of-type(2){display:none!important;}
@media (max-width: 1000px) {
	.see-all-link { justify-content:center;}
	.category-section-wrapper::before{ display:none!important; }
    .footer-links-grid { grid-template-columns: repeat(2, 1fr); } 
    .footer-main-box { padding: 40px 24px; }
	.subcategory-pills {overflow-x:scroll; }
	.subcategory-pills a { display:inline-flex; min-width: max-content; width:max-content;}
	.meta-tag-sponsored { font-size:8px; padding: 2px 8px; }
	.meta-tag-sponsored .cat-marker {transform: translatey(2px);}
	.error404 .container {position: relative;flex-direction: row;padding-bottom: 90px;}
	.error404 .container > div {display: flex;flex-direction: column;text-align: left;}
	.error404 .container > div h2 {order: 1; max-width:105px; margin-bottom:10px!important;}
	.error404 .container img { max-width:170px; }
	.error404 .container > div h1 {order: 2;}
	.error404 .container > div a {position: absolute;bottom: 0;left: 0;right: 0;margin: 0 auto;width: fit-content;}
	.faq-container{padding:24px 16px;border-radius:8px;	}
	.faq-container h2{padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid #D9D9D9;}
	h3.faq-question{font-size:17px;	}
	.section-ad-top {display:block!important;width:375px!important;height:300px!important;background-color:#e9e7e3;margin-left:auto;margin-right:auto;	}
	.section-ad-top img{ display:none!important;}
	.singlePost-content { flex-direction:column;}
	.singlePost-content > article, .single-post .entry-content { width:100%; max-width:100%; }
	.spisTresci-container{ padding:24px 16px;}
	.spisTresci-container h3 { font-size:24px;}
	.spisTresci-container li {margin-bottom:5px!important;}
	.spisTresci-container li a{font-size:16px;}
	.left-sidebar{display:none!important;}
	.single-post .entry-content p, .single-post .entry-content ul li { font-size:16px!important;} 
	.single-post .entry-content h2 {font-size:24px; line-height:28px;}
	.single-post .entry-content .wp-block-list { padding-left:0;}
	.single-post .entry-content ol { padding-left:20px!important;}
}
.category-11 #latestNews .latest-news-wrapper::after, .category-15 #latestNews .latest-news-wrapper::after, .category-12 #latestNews .latest-news-wrapper::after{display:none!important;}
.category-11 footer, .category-12 footer,.category-15 footer{margin-top:8vw;}
@media (max-width: 576px) {
    .footer-links-grid { grid-template-columns: 1fr; } 
    .footer-top, .footer-bottom { flex-direction: column; gap: 20px; }
	.footer-main-box{ background-image: url(/wp-content/uploads/2026/01/footer-bg-m.webp);}
}
.ad-box-right, .section-ad-top, .ad-sidebar-container{display:none!important;}