/*
Theme Name: Screenr Child
Theme URI: https://www.famethemes.com/themes/screenr
Template: screenr
Author: FameThemes
Author URI: https://www.famethemes.com
Description: Big - Bold and stylish, Screenr is a multiuse fullscreen theme well suited for business, portfolio, digital agency, product showcase, freelancers and everyone else who appreciate good design. Also with the flexible of the header and navigation, it can be use for one page or multiple pages website. The theme was built on Bootstrap 4, so you know it contains clean, precise code that makes for a highly streamlined site. (Live preview : http://www.famethemes.com/preview/?theme=Screenr)
Tags: one-column,two-columns,left-sidebar,right-sidebar,custom-background,custom-colors,custom-header,custom-logo,editor-style,featured-image-header,featured-images,footer-widgets,full-width-template,rtl-language-support,sticky-post,theme-options,threaded-comments,translation-ready,blog,portfolio
*/

:root {
  --color-lavender: #EEEEFF;
  --color-purple: #7F7CAF;
  --color-blue-gray: #9FB4C7;
  --color-dark-blue: #28587B;
  --color-sage: #9FB798;
  
  --color-primary: #28587B;
  --color-primary-light: #3a6f9e;
  --color-primary-dark: #1e4159;
  --color-secondary: #7F7CAF;
  --color-accent: #9FB798;
  --color-link: #4A90E2;
  --color-link-hover: #357ABD;
  --color-background: #EEEEFF;
  --color-background-alt: #ffffff;
  --color-text: #2c3e50;
  --color-text-light: #5a6c7d;
  --color-text-muted: #8891a1;
  
  --gradient-primary: linear-gradient(135deg, #28587B 0%, #3a6f9e 100%);
  --gradient-secondary: linear-gradient(135deg, #7F7CAF 0%, #9FB4C7 100%);
  --gradient-soft: linear-gradient(135deg, #EEEEFF 0%, #ffffff 100%);
  
  --shadow-sm: 0 2px 4px rgba(40, 88, 123, 0.08);
  --shadow-md: 0 4px 12px rgba(40, 88, 123, 0.12);
  --shadow-lg: 0 8px 24px rgba(40, 88, 123, 0.16);
  --shadow-xl: 0 16px 48px rgba(40, 88, 123, 0.2);
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2.5rem;
  --spacing-xl: 4rem;
  
  --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --font-size-base: 1.0625rem;
  --line-height-tight: 1.3;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.8;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  color: var(--color-text);
  line-height: var(--line-height-normal);
  background: var(--color-background-alt);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#primary {
	padding-bottom: 12px;
	padding-top: 12px;
}
.custom-logo, .custom-logo:hover {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  transform: none !important;
  margin: 6px auto !important;
}
.swiper-intro-inner h1, .swiper-intro-inner .h1 {
  margin-bottom: 0;
}

.site-header {
  background: var(--color-background-alt);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.main-navigation a {
  color: var(--color-primary);
  font-weight: 500;
  padding: var(--spacing-sm) var(--spacing-md);
  transition: all 0.3s ease;
}
.nav-menu a {
  font-size: 16px;
}

.main-navigation a:hover {
  color: var(--color-secondary);
  background: rgba(127, 124, 175, 0.1);
  border-radius: var(--radius-sm);
}

.site-footer {
  background: var(--gradient-primary);
  color: white;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
}

.site-footer a:hover {
  color: white;
}

article h1,
article h2,
article h3,
article h4,
article h5,
article h6,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-weight: 700;
  line-height: var(--line-height-tight);
  margin-top: 0;
  margin-bottom: var(--spacing-md);
}

article h1,
.entry-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--spacing-lg);
}

article h2,
.entry-content h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--color-primary);
  position: relative;
  padding-bottom: var(--spacing-sm);
}

article h2::after,
.entry-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--gradient-secondary);
  border-radius: 2px;
}

article h3,
.entry-content h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--color-secondary);
}

article h4,
.entry-content h4 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  color: var(--color-dark-blue);
}

article p,
.entry-content p {
  margin-bottom: var(--spacing-md);
  color: var(--color-text);
}

article strong,
article b,
.entry-content strong,
.entry-content b {
  color: var(--color-primary);
  font-weight: 600;
}

article em,
article i,
.entry-content em,
.entry-content i {
  color: var(--color-text-light);
}

article a {
  color: var(--color-link);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

article a:hover {
  color: var(--color-link-hover);
}

article a:not(.wp-block-button__link)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-secondary);
  transition: width 0.3s ease;
}

article a:not(.wp-block-button__link):hover::after {
  width: 100%;
}

article .wp-block,
.entry-content .wp-block {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

article .wp-block-paragraph,
.entry-content .wp-block-paragraph {
  margin-bottom: var(--spacing-md);
}

article .wp-block-paragraph.has-drop-cap:not(:focus)::first-letter,
.entry-content .wp-block-paragraph.has-drop-cap:not(:focus)::first-letter {
  color: var(--color-primary);
  font-size: 4.5em;
  font-weight: 700;
  margin: 0.05em 0.1em 0 0;
  line-height: 0.85;
}

article .wp-block-quote,
.entry-content .wp-block-quote {
  border-left: 4px solid var(--color-secondary);
  background: linear-gradient(to right, rgba(127, 124, 175, 0.05), transparent);
  padding: var(--spacing-md) var(--spacing-lg);
  margin: var(--spacing-lg) 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  position: relative;
}

article .wp-block-quote::before,
.entry-content .wp-block-quote::before {
  content: '"';
  font-size: 4rem;
  color: var(--color-secondary);
  opacity: 0.2;
  position: absolute;
  top: -10px;
  left: 10px;
  font-family: Georgia, serif;
}

article .wp-block-quote p,
.entry-content .wp-block-quote p {
  font-style: italic;
  color: var(--color-text-light);
  margin-bottom: var(--spacing-sm);
}

article .wp-block-quote cite,
.entry-content .wp-block-quote cite {
  color: var(--color-secondary);
  font-weight: 600;
  font-style: normal;
}

article .wp-block-pullquote,
.entry-content .wp-block-pullquote {
  padding: var(--spacing-xl) var(--spacing-lg);
  background: var(--gradient-soft);
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

article .wp-block-pullquote blockquote,
.entry-content .wp-block-pullquote blockquote {
  border: none;
}

article .wp-block-list,
article ul,
article ol,
.entry-content .wp-block-list,
.entry-content ul,
.entry-content ol {
  margin: var(--spacing-md) 0;
  padding-left: var(--spacing-lg);
}

article .wp-block-list li,
article ul li,
article ol li,
.entry-content .wp-block-list li,
.entry-content ul li,
.entry-content ol li {
  margin-bottom: var(--spacing-sm);
  color: var(--color-text);
  position: relative;
}

article ul li,
.entry-content ul li {
  list-style: none;
}

article ul li::before,
.entry-content ul li::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 11px;
  width: 8px;
  height: 8px;
  background: var(--gradient-secondary);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

article ol,
.entry-content ol {
  counter-reset: custom-counter;
}

article ol li,
.entry-content ol li {
  list-style: none;
  counter-increment: custom-counter;
}

article ol li::before,
.entry-content ol li::before {
  content: counter(custom-counter);
  position: absolute;
  left: -32px;
  top: 0;
  width: 24px;
  height: 24px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

article .wp-block-button__link,
article .wp-block-buttons .wp-block-button__link,
.entry-content .wp-block-button__link,
.entry-content .wp-block-buttons .wp-block-button__link,
.button,
.btn {
  background: var(--gradient-primary);
  color: white !important;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  display: inline-block;
  text-align: center;
  position: relative;
  overflow: hidden;
}

article .wp-block-button__link::before,
.entry-content .wp-block-button__link::before,
.button::before,
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.5s ease;
}

article .wp-block-button__link:hover::before,
.entry-content .wp-block-button__link:hover::before,
.button:hover::before,
.btn:hover::before {
  left: 100%;
}

article .wp-block-button__link:hover,
.entry-content .wp-block-button__link:hover,
.button:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

article .wp-block-button__link:active,
.entry-content .wp-block-button__link:active,
.button:active,
.btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

article .wp-block-button.is-style-outline .wp-block-button__link,
.entry-content .wp-block-button.is-style-outline .wp-block-button__link,
.button-secondary {
  background: transparent;
  color: var(--color-primary) !important;
  border: 2px solid var(--color-primary);
  box-shadow: none;
}

article .wp-block-button.is-style-outline .wp-block-button__link:hover,
.entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover,
.button-secondary:hover {
  background: var(--color-primary);
  color: white !important;
  box-shadow: var(--shadow-md);
}

article .wp-block-image img,
article img,
.entry-content .wp-block-image img,
.entry-content img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

article .wp-block-image:hover img,
article img:hover,
.entry-content .wp-block-image:hover img,
.entry-content img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

article .wp-block-image figcaption,
.entry-content .wp-block-image figcaption {
  text-align: center;
  color: var(--color-text-muted);
  margin-top: var(--spacing-sm);
  font-style: italic;
}

article .wp-block-separator,
article hr,
.entry-content .wp-block-separator,
.entry-content hr {
  border: none;
  height: 2px;
  background: var(--gradient-secondary);
  margin: var(--spacing-xl) 0;
  border-radius: var(--radius-sm);
  opacity: 0.6;
}

article .wp-block-separator.is-style-wide,
.entry-content .wp-block-separator.is-style-wide {
  height: 3px;
  opacity: 0.8;
}

article .wp-block-separator.is-style-dots::before,
.entry-content .wp-block-separator.is-style-dots::before {
  content: '···';
  display: block;
  text-align: center;
  font-size: 2rem;
  color: var(--color-secondary);
  letter-spacing: 1rem;
  background: none;
  height: auto;
}

/*article .wp-block-columns,
.entry-content .wp-block-columns {
  gap: var(--spacing-lg);
  margin: var(--spacing-lg) 0;
}

article .wp-block-column,
.entry-content .wp-block-column {
  background: white;
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

article .wp-block-column:hover,
.entry-content .wp-block-column:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}*/

/*article .wp-block-group,
.entry-content .wp-block-group {
  padding: var(--spacing-lg);
  margin: var(--spacing-lg) 0;
  border-radius: var(--radius-lg);
}*/

article .wp-block-group.has-background,
.entry-content .wp-block-group.has-background {
  box-shadow: var(--shadow-md);
}

/*article .wp-block-cover,
.entry-content .wp-block-cover {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}*/

article .wp-block-cover-text,
article .wp-block-cover h2,
article .wp-block-cover h3,
.entry-content .wp-block-cover-text,
.entry-content .wp-block-cover h2,
.entry-content .wp-block-cover h3 {
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

article code,
.entry-content code {
  background: rgba(127, 124, 175, 0.1);
  color: var(--color-secondary);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-family: 'Courier New', monospace;
}

article .wp-block-code,
article pre,
.entry-content .wp-block-code,
.entry-content pre {
  background: #2c3e50;
  color: #ecf0f1;
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  overflow-x: auto;
  box-shadow: var(--shadow-md);
  margin: var(--spacing-lg) 0;
}

article .wp-block-code code,
.entry-content .wp-block-code code {
  background: none;
  color: inherit;
  padding: 0;
}

@media (max-width: 768px) {
  :root {
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
  }
  
  article h1,
  .entry-content h1 {
    font-size: 2rem;
  }
  
  article h2,
  .entry-content h2 {
    font-size: 1.75rem;
  }
  
  article .wp-block-columns,
  .entry-content .wp-block-columns {
    gap: var(--spacing-md);
  }
  
  article .wp-block-column,
  .entry-content .wp-block-column {
    margin-bottom: var(--spacing-md);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.text-center {
  text-align: center;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.box-shadow-hover {
  transition: box-shadow 0.3s ease;
}

.box-shadow-hover:hover {
  box-shadow: var(--shadow-lg);
}

@media (max-width: 475px) {
  .header-layout-fixed .swiper-slide-intro .swiper-intro-inner {
    padding-left: 12px;
    padding-right: 12px;
  }
  .entry-content {
    margin-bottom: 8px;
    margin-top: 8px;
 }
  #page-header-cover .swiper-slide-heading {
    font-size: 30px;
    font-size: 1.62rem;
  }
}


.polygon {
  clip-path: polygon(
    0% 3%, 
    3% 0%, 
    97% 0%, 
    100% 3%, 
    100% 97%, 
    97% 100%, 
    3% 100%, 
    0% 97%
  );
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
}
.polygon:hover {
  clip-path: polygon(
    0% 2%, 
    2% 0%, 
    98% 0%, 
    100% 2%, 
    100% 98%, 
    98% 100%, 
    2% 100%, 
    0% 98%
  );
  box-shadow: var(--shadow-xl);
  transform: scale(1.01);
}
.polygon-soft {
  clip-path: polygon(
    0% 5%, 
    5% 0%, 
    95% 0%, 
    100% 5%, 
    100% 95%, 
    95% 100%, 
    5% 100%, 
    0% 95%
  );
  border: 2px solid rgba(127, 124, 175, 0.2);
  box-shadow: var(--shadow-md);
}
.polygon-asymmetric {
  clip-path: polygon(
    0% 2%, 
    4% 0%, 
    96% 0%, 
    100% 4%, 
    100% 96%, 
    98% 100%, 
    2% 100%, 
    0% 98%
  );
  box-shadow: 0 6px 20px rgba(40, 88, 123, 0.15);
}
.polygon-wave {
  clip-path: polygon(
    0% 4%, 
    2% 1%, 
    5% 0%, 
    95% 0%, 
    98% 1%, 
    100% 4%, 
    100% 96%, 
    98% 99%, 
    95% 100%, 
    5% 100%, 
    2% 99%, 
    0% 96%
  );
  position: relative;
}
.polygon-wave::after {
  content: '';
  position: absolute;
  inset: -3px;
  background: linear-gradient(45deg, var(--color-secondary), var(--color-accent));
  clip-path: polygon(
    0% 4%, 
    2% 1%, 
    5% 0%, 
    95% 0%, 
    98% 1%, 
    100% 4%, 
    100% 96%, 
    98% 99%, 
    95% 100%, 
    5% 100%, 
    2% 99%, 
    0% 96%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}
.polygon-wave:hover::after {
  opacity: 0.3;
}
.polygon-diamond {
  clip-path: polygon(
    0% 5%, 
    5% 0%, 
    50% 2%, 
    95% 0%, 
    100% 5%, 
    98% 50%, 
    100% 95%, 
    95% 100%, 
    50% 98%, 
    5% 100%, 
    0% 95%, 
    2% 50%
  );
  box-shadow: var(--shadow-lg);
}
article .polygon,
article .polygon-soft,
article .polygon-asymmetric,
article .polygon-wave,
article .polygon-diamond {
  border-radius: 0;
}


.container .container {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}


img {
  max-width: 100%;
  height: auto;
}
table {
  border-collapse: collapse;
}

.full-cover {
  margin-left: calc(50% - 50vw);
  max-width: 100vw;
  width: 100vw;
  margin-bottom: 24px;
}


.theme-blk {
  background: linear-gradient(135deg, rgba(40, 88, 123, 0.03) 0%, rgba(127, 124, 175, 0.05) 100%);
  border-left: 4px solid var(--color-primary);
  padding: var(--spacing-lg);
  margin: var(--spacing-lg) 0;
  position: relative;
  border-radius: var(--radius-sm);
}
.theme-blk::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--gradient-secondary);
  transition: height 0.3s ease;
}
.theme-blk:hover::before {
  height: 100%;
}
.theme-blk h2,
.theme-blk h3,
.theme-blk h4 {
  color: var(--color-primary);
  margin-top: 0;
}
.theme-blk p:last-child {
  margin-bottom: 0;
}
.theme-blk-icon {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--gradient-secondary);
  border-radius: 50%;
  margin-right: var(--spacing-xs);
  vertical-align: middle;
}
.theme-blk2 {
  background: white;
  border: 2px solid transparent;
  background-clip: padding-box;
  padding: var(--spacing-lg);
  margin: var(--spacing-lg) 0;
  position: relative;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.theme-blk2::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-sm);
  padding: 2px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary), var(--color-accent));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.6;
  pointer-events: none;
}
.theme-blk2:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}
.theme-blk2::after {
  content: '';
  position: absolute;
  top: var(--spacing-sm);
  right: var(--spacing-sm);
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, rgba(127, 124, 175, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.theme-blk2 h2,
.theme-blk2 h3,
.theme-blk2 h4 {
  color: var(--color-primary);
  margin-top: 0;
}
.theme-blk2 p:last-child {
  margin-bottom: 0;
}
.theme-blk-highlight {
  background: linear-gradient(135deg, rgba(40, 88, 123, 0.08) 0%, rgba(159, 183, 152, 0.08) 100%);
  border-top: 3px solid var(--color-primary);
  border-bottom: 3px solid var(--color-accent);
  padding: var(--spacing-md) var(--spacing-lg);
  margin: var(--spacing-lg) 0;
}
.theme-blk-minimal {
  border-left: 2px solid var(--color-secondary);
  padding-left: var(--spacing-md);
  margin: var(--spacing-md) 0;
  font-style: italic;
  color: var(--color-text-light);
}



.wp-block-table thead {
	background: var(--gradient-secondary);
}
.wp-block-table thead th,
.wp-block-table thead td,
.wp-block-table thead th strong,
.wp-block-table thead td strong {
  color: #fff;
}
.wp-block-table td, .wp-block-table th {
	border: 1px solid #9FB4C7;
	padding: .65em .35em;
}

.color-white * {
  color: #fff !important;
}
