/*
Theme Name: Sydney
Theme URI: https://athemes.com/theme/sydney
Author: aThemes
Author URI: https://athemes.com
Description: Sydney is a fast, highly customizable WordPress theme for businesses, freelancers, and creative portfolios that want a professional online presence. It works with both Elementor and the WordPress block editor and includes a library of block patterns for building pages fast. Sydney gives you full design control: all Google Fonts, color and layout options, logo upload, a full-screen slider, header images, and sticky navigation. It's responsive, translation- and RTL-ready, WooCommerce-compatible, and built with clean, SEO-friendly code. With 80,000+ active installs and a 4.9-star rating from 750+ reviews, Sydney is a trusted choice for company and portfolio sites. Start fast by importing a ready-made demo: https://athemes.com/sydney-demos/
Version: 2.71
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tested up to: 6.6
Requires PHP: 7.2
Text Domain: sydney
Tags: block-patterns, block-styles, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, e-commerce, featured-images, footer-widgets, full-width-template, right-sidebar, sticky-post, theme-options, threaded-comments, translation-ready, two-columns

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
Sydney is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.
*/

/* SKYDD cluster redesign preview — Order 20260913-WORK-SKYDD-01 */
:root{
	--skydd-graphite:#515151;
	--skydd-ink:#222222;
	--skydd-muted:#66706a;
	--skydd-paper:#ffffff;
	--skydd-canvas:#f4f5f1;
	--skydd-green:#81C341;
	--skydd-lime:#96C93D;
	--skydd-yellow:#EEEA40;
	--skydd-pale:#F4F298;
	--skydd-border:#dfe4dc;
	--skydd-radius:18px;
	--skydd-shadow:0 18px 48px rgba(29,42,34,.08);
}
html{scroll-behavior:smooth}
body{
	background:var(--skydd-canvas);
	color:var(--skydd-ink);
	font-size:17px;
	line-height:1.68;
}
body,button,input,select,textarea{
	font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
}
a{color:#315d20;text-decoration-thickness:.09em;text-underline-offset:.16em}
a:hover{color:#1f4014}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{
	outline:3px solid var(--skydd-yellow)!important;
	outline-offset:4px;
}
.site-header,.main-header,#masthead{
	background:var(--skydd-graphite)!important;
	border:0!important;
	box-shadow:none!important;
}
.site-header .site-logo{
	display:block;
	width:104px;
	height:104px;
	object-fit:contain;
}
.site-header .main-header-inner{min-height:128px}
.site-header .main-navigation a,
.site-header .main-navigation .menu > li > a{
	color:#fff!important;
	font-weight:650;
	letter-spacing:.01em;
}
.site-header .main-navigation a:hover,
.site-header .main-navigation .current-menu-item > a{
	color:var(--skydd-yellow)!important;
}
.site-header .header-elements .button,
.site-header .header-elements a.button,
.site-header .header-button,
.site-header .sydney-header-button{
	background:var(--skydd-green)!important;
	border:2px solid var(--skydd-green)!important;
	border-radius:10px!important;
	color:#203217!important;
	font-weight:750;
	box-shadow:none!important;
}
.site-header .header-elements .button:hover,
.site-header .header-button:hover,
.site-header .sydney-header-button:hover{
	background:var(--skydd-yellow)!important;
	border-color:var(--skydd-yellow)!important;
	color:#292929!important;
	transform:translateY(-1px);
}
.page-wrap{padding-top:46px}
.page-wrap .content-wrapper,
.content-wrapper{
	background:transparent!important;
}
.content-area .hentry,
.content-area article{
	background:var(--skydd-paper);
	border:1px solid var(--skydd-border);
	border-radius:var(--skydd-radius);
	box-shadow:var(--skydd-shadow);
	overflow:hidden;
	padding:clamp(24px,4vw,54px);
}
.single .content-area .hentry .entry-thumb:first-child,
.single .content-area .hentry > .entry-thumb:first-child{margin:calc(clamp(24px,4vw,54px) * -1) calc(clamp(24px,4vw,54px) * -1) 34px}
.entry-header h1,.entry-title{
	color:var(--skydd-ink);
	font-size:clamp(34px,4.8vw,58px)!important;
	font-weight:780;
	letter-spacing:-.035em;
	line-height:1.08;
	overflow-wrap:anywhere;
}
.entry-content h2{
	font-size:clamp(28px,3vw,40px);
	letter-spacing:-.025em;
	line-height:1.16;
	margin-top:1.55em;
}
.entry-content h3{
	font-size:clamp(22px,2vw,28px);
	line-height:1.25;
	margin-top:1.35em;
}
.entry-content p,.entry-content li{max-width:72ch}
.entry-content .is-style-lead{
	background:linear-gradient(115deg,var(--skydd-pale),#fff);
	border-left:6px solid var(--skydd-green);
	border-radius:0 14px 14px 0;
	font-size:1.08em;
	margin:28px 0;
	padding:22px 24px;
}
.entry-content .wp-block-image img{
	border-radius:14px;
	display:block;
}
.entry-content .wp-block-button__link{
	border:0;
	border-radius:10px;
	font-weight:750;
	padding:.9em 1.25em;
	transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease;
}
.entry-content .wp-block-button__link:hover{
	box-shadow:0 10px 24px rgba(39,57,44,.16);
	transform:translateY(-2px);
}
.entry-content blockquote{
	border-left:6px solid var(--skydd-yellow);
	background:#fafbf8;
	border-radius:0 14px 14px 0;
	padding:20px 24px;
}
.posts-navigation,.post-navigation,.comments-area{
	background:#fff;
	border:1px solid var(--skydd-border);
	border-radius:14px;
	margin-top:28px;
	padding:24px;
}
.widget-area .widget{
	background:#fff;
	border:1px solid var(--skydd-border);
	border-radius:14px;
	box-shadow:0 10px 28px rgba(29,42,34,.05);
	margin-bottom:22px;
	padding:24px;
}
.widget-area .widget-title{
	border-bottom:3px solid var(--skydd-green);
	font-size:21px;
	padding-bottom:12px;
}
.breadcrumbs,.sydney-breadcrumbs{
	background:#e9ece7!important;
	border-radius:12px;
	color:#4f5a54;
	padding:14px 18px!important;
}
.blog .content-area article,.archive .content-area article,.search .content-area article{
	margin-bottom:28px;
	transition:transform .18s ease,box-shadow .18s ease;
}
.blog .content-area article:hover,.archive .content-area article:hover,.search .content-area article:hover{
	box-shadow:0 22px 52px rgba(29,42,34,.12);
	transform:translateY(-3px);
}
.site-footer,.footer-widgets,.site-footer-bottom,.footer-credits{
	background:var(--skydd-graphite)!important;
	color:#fff!important;
}
.site-footer a,.footer-widgets a,.footer-credits a{color:var(--skydd-pale)!important}
.site-footer a:hover,.footer-widgets a:hover,.footer-credits a:hover{color:var(--skydd-yellow)!important}
.go-top{
	background:var(--skydd-green)!important;
	color:#203217!important;
}
#masthead .site-title a,#masthead .site-description{color:#fff!important}
#masthead .header-contact,#masthead .header-contact a,#masthead .header-contact span{color:#fff!important}#masthead .header-contact svg{fill:#fff!important}
@media (max-width:1024px){
	.site-header .main-header-inner{min-height:104px}
	.site-header .site-logo{width:84px;height:84px}
	.content-area .hentry,.content-area article{padding:clamp(22px,4vw,38px)}
}
#masthead .mainnav a,#masthead .mainnav .menu > li > a{color:#fff!important}
#masthead .mainnav a:hover,#masthead .mainnav .current-menu-item > a{color:var(--skydd-yellow)!important}
#masthead .header-elements .roll-button{background:var(--skydd-green)!important;border:2px solid var(--skydd-green)!important;border-radius:10px!important;color:#203217!important;font-weight:750}
#masthead .header-elements .roll-button:hover{background:var(--skydd-yellow)!important;border-color:var(--skydd-yellow)!important;color:#292929!important}
body.custom-background{background:var(--skydd-canvas)!important}
@media (max-width:767px){
	body{font-size:16px}
	.page-wrap{padding-top:24px}
	.site-header .site-logo{width:72px;height:72px}
	.content-area .hentry,.content-area article{border-radius:14px;padding:22px}
	.entry-header h1,.entry-title{font-size:clamp(31px,10vw,42px)!important}
	.entry-content .wp-block-buttons{align-items:stretch;flex-direction:column}
	.entry-content .wp-block-button,.entry-content .wp-block-button__link{width:100%}
	.widget-area{margin-top:28px}
}



/* Accessible CTA and in-text link treatment */
.entry-content p a,.entry-content li a,.entry-summary a{
	text-decoration-line:underline;
	text-decoration-skip-ink:auto;
}
.entry-content .wp-block-button__link{
	background:var(--skydd-green)!important;
	border:2px solid var(--skydd-green)!important;
	color:#203217!important;
}

/* Final polish — homepage alignment to skyddsombudsutbildningar.se */
.home .entry-content > .wp-block-cover:first-child{
	border-radius:var(--skydd-radius);
	isolation:isolate;
	min-height:clamp(420px,48vw,560px);
	overflow:hidden;
}
.home .entry-content > .wp-block-cover:first-child .wp-block-cover__background{
	background:#29342e!important;
	opacity:.72!important;
}
.home .entry-content > .wp-block-cover:first-child h1{
	color:#fff!important;
	font-size:clamp(38px,5.4vw,64px)!important;
	font-weight:800;
	letter-spacing:-.04em;
	line-height:1.04;
	max-width:18ch;
	overflow-wrap:anywhere;
	text-shadow:0 2px 18px rgba(0,0,0,.22);
}
.home .entry-content > .wp-block-cover:first-child p{color:#fff!important;font-size:clamp(18px,2vw,23px)}
.home .entry-content > .wp-block-cover:first-child .wp-block-button__link{
	background:var(--skydd-green)!important;
	border:2px solid var(--skydd-green)!important;
	border-radius:10px!important;
	color:#203217!important;
}
.home .entry-content > .wp-block-spacer[style*="220px"]{height:clamp(36px,6vw,72px)!important}
.home .fl-builder-content .wp-block-media-text:first-of-type{
	background:linear-gradient(125deg,var(--skydd-graphite),#343a36);
	border-radius:var(--skydd-radius);
	color:#fff;
	gap:clamp(22px,4vw,54px);
	overflow:hidden;
	padding:clamp(28px,5vw,64px);
}
.home .fl-builder-content .wp-block-media-text:first-of-type h1{
	color:#fff!important;
	font-size:clamp(38px,5.4vw,64px)!important;
	font-weight:800;
	letter-spacing:-.04em;
	line-height:1.04;
}
.home .fl-builder-content .wp-block-media-text:first-of-type p{color:#fff;font-size:clamp(18px,2vw,22px)}
.home .fl-builder-content .wp-block-media-text:first-of-type .wp-block-buttons{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.home .fl-builder-content .wp-block-media-text:first-of-type .wp-block-button{margin:0}
.home .fl-builder-content .wp-block-media-text:first-of-type .wp-block-button__link{
	background:var(--skydd-green)!important;
	border:2px solid var(--skydd-green)!important;
	border-radius:10px!important;
	color:#203217!important;
	display:inline-flex;
	justify-content:center;
	min-width:170px;
}
.home .fl-builder-content .wp-block-media-text:first-of-type .wp-block-button:nth-child(2) .wp-block-button__link{
	background:transparent!important;
	border-color:var(--skydd-pale)!important;
	color:#fff!important;
}
.home .fl-builder-content .wp-block-media-text:first-of-type img{border-radius:14px}
@media(max-width:767px){
	.home .entry-content > .wp-block-cover:first-child{min-height:420px}
	.home .fl-builder-content .wp-block-media-text:first-of-type{display:block;padding:26px 22px}
	.home .fl-builder-content .wp-block-media-text:first-of-type .wp-block-media-text__media{margin-top:24px}
	.home .fl-builder-content .wp-block-media-text:first-of-type .wp-block-buttons{align-items:stretch;flex-direction:column}
	.home .fl-builder-content .wp-block-media-text:first-of-type .wp-block-button__link{width:100%}
}
