/*
Theme Name: Erik Peterson
Author: Tamlyn Holmes
Author URI: http://example.com
Description: A custom theme for Erik Peterson
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: amazing-conversations
*/

@import url("assets/icons/icons.css");
:root {
	--ep-primary-light-green: #7fc2c8;
	--ep-font-size-xxxl: 3.5rem;
	--ep-font-size-xxl: 2.5rem;
	--ep-font-size-xl: 2rem;
	--ep-font-size-l: 1.75rem;
	--ep-font-size-m: 1.125rem;
	--ep-font-size-s: 0.875rem;
	--ep-layout-max-width: 60rem;
}
html {
	font-size: 16px;
}
body {
	font-family: "Inter", sans-serif;
	margin: 0;
	font-size: 1rem;
	line-height: 1.5em;
	color: rgba(0, 0, 0, 0.8);
	height: 100%;
	width: 100%;
	position: relative;
	font-weight: 400;
	background: #fff;
}
* {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
::-moz-selection {
	color: #fff;
	background: var(--ep-primary-light-green);
}
::selection {
	color: #fff;
	background: var(--ep-primary-light-green);
}
img {
	vertical-align: bottom;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: 500;
	color: #000;
	margin: 0 0 0.5rem 0;
	line-height: 1.2em;
}
h1 {
	font-weight: 500;
	font-size: var(--ep-font-size-xxxl);
	line-height: 1em;
}
h2 {
	font-weight: 600;
	font-size: var(--ep-font-size-xxl);
	line-height: 1.2em;
	font-size: 1.75rem;
	margin: 1.5rem 0;
}
h3 {
	font-size: var(--ep-font-size-l);
	margin: 1.5rem 0;
	font-size: 1.25rem;
	font-weight: 600;
}
p:has(img:only-child) {
	margin: 0;
}
a {
	color: rgba(0, 0, 0, 1);
	text-underline-offset: 0.25rem;
	transition: 0.2s;
	cursor: pointer;
}
a:hover {
	color: rgba(0, 0, 0, 0.8);
	text-decoration: none;
}
.mainImg {
	width: 100%;
	height: auto;
	border-radius: 0.375rem;
}
.sectionContainer {
	width: 100%;
	max-width: var(--ep-layout-max-width);
	margin: 0 auto;
	padding: 1.5rem 1.5rem;
	position: relative;
	z-index: 1;
}
header {
    width: 100%;
    max-width: var(--ep-layout-max-width);
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

.headerInner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

#logo {
  display: flex;
  align-items: center;
  max-height: 2rem;
  line-height: 1;
  text-decoration: none;
}

.logo-img {
  height: 28px !important;
  max-height: 28px !important;
  width: auto !important;
  max-width: 100% !important;
  margin-right: 8px;
  display: inline-block;
  object-fit: contain;
  vertical-align: middle;
}

.logo-text {
	font-size: 1.25rem;
	font-weight: 700;
	color: rgba(0, 0, 0, 1);
	font-family: "Inter", sans-serif;
}

@media (max-width: 480px) {
  .logo-img {
    height: 1.5rem;
    max-height: 1.75rem;
  }
}

/* Desktop: Ensure logo stays left-aligned */
header a#logo {
    text-decoration: none;
    padding: 0; /* Remove padding from the anchor to fit image snugly */
}

/* Mobile adjustments */
@media (max-width: 31.25rem) {
    .headerInner {
        display: flex;
        flex-direction: column;
        align-items: flex-start; /* Changed to flex-start for left alignment on mobile */
        justify-content: center;
        border-bottom: 1px solid #000;
        padding: 1rem 0;
        gap: 1rem;
    }
}

header a {
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 1);
    transition: 0.2s;
    font-family: "Inter", sans-serif;
    padding: 0.25rem;
}

header a:hover {
    color: rgba(0, 0, 0, 0.8);
}

header ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}

header ul li {
    margin-left: 0.25rem;
}
header ul li a {
	margin-left: 0.25rem;
	padding: 0.375rem;
	font-weight: 400;
	font-size: 1rem;
}
.button, button, .blogTag {
	border-radius: 5rem;
	color: #333;
	padding: 0.75rem 1.5rem;
	text-decoration: none;
	transition: all 300ms ease-in-out;
	font-size: 0.875rem;
	text-align: center;
	font-weight: 500;
	line-height: 1em;
	display: inline-block;
	cursor: pointer;
	border: none;
	font-family: var(--ep-font-family);
}
.button:hover {
	background-color: #e6e6e6;
}
.button:not(:first-of-type) {
	margin-left: 1rem;
}
.button-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
	cursor: pointer;
}
.arrow-container {
	display: inline-flex;
	position: relative;
	margin-left: 0.5rem;
}
.arrow-container::after {
	content: '';
	display: inline-block;
	border: solid currentColor;
	border-width: 0.125rem 0.125rem 0 0;
	padding: 0.1875rem;
	transform: rotate(45deg);
	transition: transform 0.3s ease, margin-left 0.3s ease;
}
.button-arrow:hover .arrow-container::after {
	transform: translateX(0.1875rem) rotate(45deg);
}
.arrow-container::before {
	content: '';
	display: inline-block;
	position: absolute;
	width: 0.375rem;
	height: 0.125rem;
	background-color: currentColor;
	top: 50%;
	left: calc(50% + 2px);
	transform: translate(-50%, -50%) scaleX(0);
	opacity: 0;
	transition: opacity 0.3s ease, transform 0.3s ease;
}
.button-arrow:hover .arrow-container::before {
	opacity: 1;
	transform: translate(-50%, -50%) scaleX(1.5);
}
.sctp-0 .sectionContainer {
	padding-top: 0;
}
.w-100 {
	width: 100%;
}
.pt-0 {
	padding-top: 0;
}
.sub-title {
	color: var(--ep-primary-light-green);
	font-size: 1.5rem;
	margin-top: 0;
	font-weight: 500;
	margin-bottom: 1.25rem !important;
}
.postContent img, img.featuredPostImg {
	width: 100%;
	overflow: hidden;
	margin: 1rem auto;
	height: auto;
	max-width: 100%;
}
img.featuredPostImg {
	border-radius: 0.375rem;
	margin-top: 0;
}
img.featuredPageImg {
	margin-top: 0;
	margin-bottom: 0;
}
.postHeader {
	margin-bottom: 1rem;
}
.postHeader h1 {
	margin-bottom: 0;
	font-size: 2.5rem;
	line-height: 1.2em;
	text-align: left;
	font-weight: 700;
	color: #000;
}
h1.title {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #000;
}
.postContent ul {
	list-style-type: none;
	margin: 0;
	padding-left: 0;
}
.postContent ul li {
	position: relative;
	padding: 0.25rem 0 0.25rem 1.25rem;
}
.postContent ul li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.75rem;
	width: 0.5rem;
	height: 0.5rem;
	background-color: #fe552e;
}
.postContent a {
	color: rgba(0, 0, 0, 1);
	text-underline-offset: 0.25rem;
	transition: 0.2s;
	cursor: pointer;
	font-weight: 500;
}
.postContent a:hover {
	color: rgba(0, 0, 0, 0.6);
	text-decoration: underline;
}
.postMetaCat {
    font-family: "Inter", sans-serif;
    font-size: 0.575rem;
    margin-top: 1rem;
    background-color: #F2F2F2; /* Soft grey background */
    border-radius: 5px; /* Rounded corners */
    padding: 0.3rem 0.6rem; /* Adds some padding for better spacing */
    display: inline-block; /* Ensures the background wraps the text properly */
}
article {
    padding: 2rem 0;
    border-bottom: none; /* Remove the hard border */
    position: relative; /* Required for pseudo-element */
}

article::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.05)); /* Soft shadow effect */
    position: absolute;
    bottom: 0;
    left: 0;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.08); /* Subtle shadow effect */
}

article.post h2 {
	margin: 0;
	font-size: 1.75rem;
}
article.post h2 a {
	text-decoration: none;
	font-size: 1.25rem;
	font-weight: 700;
	color: rgba(0, 0, 0, 1);
	font-family: "Inter", sans-serif;
	display: block;
	transition: 0.2s;
	cursor: pointer;
	line-height: 1.2em;
}
article.post h2 a:hover {
	color: rgba(0, 0, 0, 0.7);
}
article.post p {
	margin-bottom: 0;
}
.post-tags ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
}
.post-tags ul li {
	margin-right: 0.5rem;
}
.post-tags ul li a, .tagTitle {
	background: #F2F2F2;
	font-size: 0.875rem;
	line-height: 1em;
	padding: 0.5rem 1rem;
	border-radius: 100rem;
	display: inline-flex;
	text-decoration: none;
	color: #000;
	transition: 0.2s;
}
.post-tags ul li a:hover {
	background: #7fc2c8;
}
.wp-caption {
	max-width: 100% !important;
	display: block;
	margin: 1.75rem auto;
	width: 100% !important;
}
.wp-caption img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto !important;
	border-radius: 0.375rem;
	overflow: hidden;
}
.wp-caption .wp-caption-text {
	font-size: 0.875rem;
	color: #5C6674;
	margin-top: 1rem;
	line-height: 1.4;
	word-wrap: break-word;
}
@media (max-width: 37.5rem) {
	.wp-caption .wp-caption-text {
		font-size: 0.75rem;
		padding: 0.3125rem;
	}
}
@media (max-width: 43.75rem) {
	#wpadminbar {
		display: none !important;
	}
}
.slick-slider.loading {
	opacity: 0;
	pointer-events: none;
}
footer {
	font-size: 0.875rem;
	color: #5C6674;
}
footer .sectionContainer {
	padding-top: 1rem;
	padding-bottom: 1rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.manLinkedin {
	width: 13rem;
	height: auto;
}
@media (max-width: 31.25rem) {
	footer .sectionContainer {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
	.manLinkedin {
		margin-top: 2rem;
	}
}
footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
footer ul li a {
	display: block;
	color: #5C6674;
	padding: 0.25rem 0;
	text-decoration: none;
}
footer ul li a:hover {
	display: block;
	color: var(--ep-primary-light-green);
}
footer h4 {
	font-size: 1rem;
	margin: 0;
	padding: 0.25rem 0;
}
.footer {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	grid-gap: 1.5rem;
}
@media (min-width: 48rem) {
	.footer {
		display: grid;
		grid-template-columns: repeat(5, 1fr);
		grid-gap: 2rem;
	}
}
.sticky-post {
	background: #7f0d00;
	color: #fff;
	padding: 1.5rem;
}
article.post.sticky-post h2 {
	display: flex;
	gap: 0.5rem;
	transition: color 0.2s ease;
}
article.post.sticky-post h2 a {
	color: #fff;
}
article.post.sticky-post h2 a:hover {
	color: rgba(255, 255, 255, 0.7);
}
article.post.sticky-post .date {
	display: none;
}
article.post .star {
	display: none;
}
article.post.sticky-post .star {
	display: block;
	font-size: 1.2rem;
	position: relative;
	top: -0.125rem;
}

.articleCat {
    display: flex;
    align-items: self-start;
    position: relative;
    overflow: hidden;
    background: #ffffff;
	border-bottom: 1px solid #eee;
}

/* The PNG that pops up on hover */
.articleCat::after {
    content: "";
    position: absolute;
    bottom: -100%; /* Start hidden */
    right: 10px; /* Bottom-right corner */
    width: 80px; /* Adjust size */
    height: 80px;
    background: url('https://tfsy.io/wp-content/uploads/2025/02/eriks-head.png') no-repeat center center;
    background-size: contain;
    transition: bottom 0.4s ease-in-out, opacity 0.4s ease-in-out;
    opacity: 0;

    /* Fix unwanted shadows */
    box-shadow: none !important;
    filter: none !important;
    backdrop-filter: none !important;
    mix-blend-mode: normal !important;
}

/* On hover: PNG slides up and becomes visible */
.articleCat:hover::after {
    bottom: 0px; /* Moves into view */
    opacity: 1;
}


/* Thumbnail Image */
.postThumbImg {
    flex: 0 0 5rem;
    height: auto;
    width: 5rem;
    margin-right: 1.5rem;
    margin-top: 0.325rem;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    display: block;
    filter: grayscale(100%); /* Added to make images grayscale */
}

.articleCat.post.sticky-post .postThumbImg {
	display: none;
}
.articleCat.post .postExcerpt {
	flex: 1;
}
.postLayout {
	display: flex;
	align-items: self-start;
}
.page-id-42 .featuredPageImg, .page-id-2 .featuredPageImg {
	margin-bottom: .75rem;
}
.sidebar-post {
	flex: 0 0 15rem;
	height: auto;
	width: 15rem;
	margin-left: 3rem;
}
.sidebar-post img {
	width: 100%;
	height: auto;
	border-radius: 4px;
}
.sidebar-post h3 {
	margin-top: 0
}
.sidebar-post h3 a {
	text-decoration: none
}
.sidebar-post h3 a:hover {
	opacity: 0.8
}
.sidebar-post a {
	text-decoration: none
}
.sidebar-post a:hover {
	transition: 0.2s;
}
.sidebar-post a:hover img {
	opacity: 0.8
}
@media (min-width: 48rem) {
	.sidebar-post {
		position: sticky;
		top: 4rem;
		margin-top: 2rem;
	}
}
@media (max-width: 48rem) {
	.postLayout {
		display: flex;
		flex-direction: column-reverse;
	}
	.sidebar-post {
		flex: 1;
		width: 100%;
		margin-left: 0rem;
		position: relative;
		margin-top: 1rem;
	}
}
.surf-animation {
    position: relative;
    width: 100% !important; /* Full width of the sidebar */
    height: 50px !important; /* Fixed height */
    overflow: hidden;
    margin: 15px auto 0 !important; /* Adds spacing if needed */

    /* Background Image */
    background-image: url('https://tfsy.io/wp-content/uploads/2025/02/waves.png') !important;
    background-repeat: repeat-x; /* Repeat horizontally */
    background-size: 150px auto !important; /* Shrinks the image but keeps aspect ratio */
    background-position: bottom left; /* Anchors the waves at the bottom */
}


.surfer {
	max-width:30px;
	margin-left: 70px;
}

.featuredPageImg {
	border-radius: 4px;
}
.postHeader p {
	margin-bottom: 1.75rem;
}
/* Hide on screens smaller than 768px */
@media (max-width: 767px) {
  .sidebar-post {
    display: none;
  }
}

.five-rules {
  background: #FF4138; /* light tone */
  color: #fff;
  padding: 2rem 1.5rem;
  border-radius: 8px;
  display: block;
  text-decoration: none;
  transition: background 0.2s ease-in-out;
}

.five-rules h3 {
  color: #fff;
}

.five-rules:hover {
  background: #bbb; /* subtle darker hover tone */
}

.five-rules-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.five-rules-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0;
  font-family: "Inter", sans-serif;
}

.five-rules-text {
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
  font-family: "Inter", sans-serif;
}

.viewMore {
  background: #fff;
  color: #bbb;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  width: fit-content;
  transition: background 0.2s;
}

.viewMore:hover {
  background: #333;
}
.sidebar-post a:hover .viewMore {
	opacity: 0.8
}
.metaBox {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 1rem 0 1.5rem
}
@media (max-width: 48rem) {
	.metaBox {
		display: flex;
		align-items: flex-start;
		justify-content: space-between;
		flex-direction: column;
		margin: 1rem 0 1rem
	}
	.shareButton.shareButtonTop {
		margin-top: 1.5rem
	}
}
.twitter-tweet {
    display: block;
    margin: 0 auto;
    text-align: center;
}

.metaInformation {}
.shareButton {
	display: flex;
	align-items: center;
}
.shareButton.shareButtonTop {
	height: 29px !important
}

a.addtoany_share img {
	width: 20px !important;
	height: 20px !important;
	position: relative;
	top: 3px;
}
.footerMetaBox {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0;
	margin-top:2rem;
}
.addtoany_list a, .widget .addtoany_list a {
	padding: 0 6px !important;
	height: 29px !important;
}

.styled-table {
        border-collapse: collapse;
        margin: 25px 0;
        font-size: 0.95em;
        font-family: sans-serif;
        min-width: 400px;
        width: 100%;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    }
.styled-table thead tr {
        background-color: #009879;
        color: #ffffff;
        text-align: left;
    }
.styled-table th, 
.styled-table td {
        padding: 12px 15px;
    }
.styled-table tbody tr {
        border-bottom: 1px solid #dddddd;
    }
.styled-table tbody tr:nth-of-type(even) {
        background-color: #f3f3f3;
    }
.styled-table tbody tr:last-of-type {
        border-bottom: 2px solid #009879;
    }
.styled-table tbody tr.active-row {
        font-weight: bold;
        color: #009879;
    }
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap");

.styled-list {
    list-style: none;
    counter-reset: list-counter;
    padding: 0 1rem;
    font-family: "Inter", sans-serif;
}

.styled-list li {
    --hue: 159;
    --color-main: #009879;
    --color-light: hsl(var(--hue), 71%, 85%);
    
    position: relative;
    counter-increment: list-counter;
    margin: 2rem auto;
    padding: 2rem 1rem 1rem;
    max-width: 45rem;
    background-color: white;
    box-shadow: 0.1rem 0.1rem 1.5rem rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
    overflow: hidden;
}

.styled-list li::before {
    content: '';
    display: block;
    width: 100%;
    height: 1rem;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(to right, var(--color-main) 50%, var(--color-light) 100%);
}

.styled-list h3 {
    display: flex;
    align-items: center;
    margin: 0 0 1rem;
    color: #464646;
    font-family: "Inter", sans-serif;
}

.styled-list h3::before {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
    margin-right: 1rem;
    width: 3rem;
    height: 3rem;
    content: counter(list-counter);
    padding: 1rem;
    border-radius: 50%;
    background-color: var(--color-main);
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
}

@media (min-width: 40em) {
    .styled-list li {
        margin: 3rem auto;
        padding: 3rem 2rem 2rem;
    }
    
    .styled-list h3 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .styled-list h3::before {
        margin-right: 1.5rem;
    }
}
.graph-caption::before {
    content: "\\2139"; /* Unicode Info Symbol ℹ */
    font-size: 0.9em;
    font-weight: bold;
    margin-right: 5px;
    vertical-align: middle;
    display: inline-block;
    color: rgba(0, 0, 0, 0.6); /* Subtle dark gray */
}

.graph-caption {
    font-size: 0.85em; /* Slightly smaller than body text */
    color: rgba(0, 0, 0, 0.6); /* Elegant dark gray */
    font-style: italic; /* Subtle emphasis */
    font-family: "Arial", sans-serif; /* Professional & readable */
    text-align: center; /* Centered for symmetry */
    margin-top: 10px; /* Space between graph and caption */
    padding-bottom: 20px; /* Separation from next content */
    position: relative; /* For icon positioning */
}

.graph-caption::before {
    content: "ℹ️"; /* Universal info symbol */
    font-size: 0.9em; /* Slightly smaller */
    margin-right: 5px; /* Spacing from text */
    vertical-align: middle; /* Align properly with text */
}

.graph-caption-line {
    width: 50%;
    margin: 10px auto; /* Centered */
    border-top: 1px solid rgba(0, 0, 0, 0.2); /* Subtle line */
}
