/* 
Theme Name: Web Anchor Boilerplate
Theme URI: http://webanchor.co.za
Author: WebAnchor
Author URI: http://themetailor.co.za
Description: Webanchor Boiler Plate Theme
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: web-anchor-boilerplate
Tags: editor-style
*/

/* CSS Reset */




html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
body { line-height: 1; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing: 0; }
img { display: block; }

/* Dropdowns */
#access li { position: relative; }
#access ul ul { display: none; float: left; position: absolute; top: 3.333em; left: 0; z-index: 99999; }
#access ul ul ul { left: 100%; top: 0; }
#access ul li:hover > ul { display: block; }

.bg {
  position: fixed;
  top: -50%;
  left: -50%;
  right: -50%;
  bottom: -50%;
  width: 200%;
  height: 200vh;
  background: transparent url('https://content.coffee/wp-content/uploads/2024/10/noise-transparent.png') repeat 0 0;
  background-repeat: repeat;
  animation: bg-animation .2s infinite;
  opacity: .9;
  visibility: visible; z-index: -1;
}

@keyframes bg-animation {
    0% { transform: translate(0,0) }
    10% { transform: translate(-5%,-5%) }
    20% { transform: translate(-10%,5%) }
    30% { transform: translate(5%,-10%) }
    40% { transform: translate(-5%,15%) }
    50% { transform: translate(-10%,5%) }
    60% { transform: translate(15%,0) }
    70% { transform: translate(0,10%) }
    80% { transform: translate(-15%,0) }
    90% { transform: translate(10%,5%) }
    100% { transform: translate(5%,0) } 
}

/* Input Styles */
input[type=text], textarea { border: 1px solid #CCC; background: var(--light); width: 100%; padding: 10px; margin-bottom: 10px; box-sizing: border-box; }
input[type=submit] { border: 1px solid #CCC; background: var(--light); text-align: center; padding: 10px; cursor: pointer; }
input[type=submit]:hover { background: #CCC; }
.page-template-template-forms main { max-width: 700px; }
.gform_wrapper { margin: 20px auto!important; max-width: 700px; }
.gform_wrapper .top_label li.gfield.gf_left_half, .gform_wrapper .top_label li.gfield.gf_right_half { padding-right: 0!important; }
.gform_wrapper input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]) { margin: 0 auto!important; }
.gform_wrapper textarea, .gform_wrapper input { background: var(--blue1); border: 1px solid var(--blue4); }
.gform_footer input[type=submit] { transition: all 250ms ease; background: var(--blue4); border: none; color: white; margin: 0 auto!important; display: block!important; width: 200px!important; max-width: 200px; float: none; text-transform: uppercase; }
.gform_footer input[type=submit]:hover { background: var(--green); }
.gform_wrapper ul.gform_fields li.gfield { padding-right: 0!important; }

.coverbox { /* border: 10px solid var(--maingreen); */ }

/* Table Styles */
table { margin: 0 auto; color: #333; background: white; border: 1px solid grey; font-size: 12pt; border-collapse: collapse; }
table thead th, table tfoot th { color: #777; background: rgba(0,0,0,.1); }
table caption { padding: .5em; }
table th, table td { padding: .5em; border: 1px solid lightgrey; }

/* Layout */
.group:after, .container:after { content: ""; display: table; clear: both; }
.alignwide, .alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.container { width: 1000px; max-width: 96%; margin: 0 auto; position: relative; }
body { background: var(--white); color: var(--black); font-family: 'Avenir', sans-serif; font-weight: 200; font-size: 16px; line-height: 18px; padding: 0; }
h1 { font-size: 26px; }
h2 { font-size: 28px; }
h3 { font-size: 26px; }
h4 { font-size: 24px; }
h5 { font-size: 22px; }
h6 { font-size: 20px; }
h1, h2, h3, h4, h5, h6 { font-family: 'Antonio', sans-serif; font-weight: 700; line-height: 1.5; }
p { font-family: 'Avenir', sans-serif; font-size: 16px; line-height: 1.5; color: var(--black); margin: 0 0 15px 0; }
a { transition: all 250ms ease; color: var(--purple); text-decoration: none; }
p a { color: var(--purple); }
p a:hover { color: var(--purple); }
p strong { font-weight: 400; }
ul, ol { list-style: inside; line-height: 1.5; margin: 20px; font-size: 16px; }

/* Image & Title */
img { width: 100%; height: auto; }
figure img { width: 100%; height: auto; }
h1.title { color: var(--purple); text-align: center; margin: 0 0 0 30px; font-size: 40px; line-height: 1; }
h1.title a { color: var(--purple); text-decoration: none; font-weight: 600; }

/* Blockquote */
blockquote { padding: 20px; margin: 20px 0; border-left: 5px solid var(--pink); background-color: #EEE; font-style: italic; font-size: 1.2em; line-height: 1.6; color: #333333; }
blockquote cite { display: block; text-align: right; font-style: normal; font-weight: bold; margin-top: 10px; }

/* Root Variables */
:root { 
    --pink: #FA2E72;
    --pink2: #FF529F;
	--pink3: #c8dcde;  
    --light: #a5c8cc; 
    --purple: #396266; 
	--green: #D4F3B7; 
	
	--mainblue: #a5c8cc;
    --blue1: #bbd6d9;
    --blue2: #a0c5c9;
    --blue3: #6aa4aa;
    --blue4: #558f95;

    --maingreen: #def6c8;
    --green1: #D4F3B7;
    --green2: #b3ea7f;
    --green3: #72c821;
    --green4: #497f15;
	
	--white: #FFFFFF; 
	--black: #000000; 

}

.has-white-color { color: var(--white); }
.has-white-background-color { background-color: var(--white); }

.has-light-color { color: var(--light); }
.has-light-background-color { background-color: var(--light); }

.has-pink-color { color: var(--pink); }
.has-pink-background-color { background-color: var(--pink); }
.has-pink-2-color { color: var(--pink2); }
.has-pink-2-background-color { background-color: var(--pink2); }
.has-pink-3-color { color: var(--pink3); }
.has-pink-3-background-color { background-color: var(--pink3); }

.has-purple-color { color: var(--purple); }
.has-purple-background-color { background-color: var(--purple); }

.has-black-color { color: var(--black); }
.has-black-background-color { background-color: var(--black); }

.has-green-color { color: var(--green); }
.has-green-background-color { background-color: var(--green); }




.has-mainblue-color { color: var(--mainblue); }
.has-mainblue-background-color { background-color: var(--mainblue); }

.has-blue-1-color { color: var(--blue1); }
.has-blue-1-background-color { background-color: var(--blue1); }

.has-blue-2-color { color: var(--blue2); }
.has-blue-2-background-color { background-color: var(--blue2); }

.has-blue-3-color { color: var(--blue3); }
.has-blue-3-background-color { background-color: var(--blue3); }

.has-blue-4-color { color: var(--blue4); }
.has-blue-4-background-color { background-color: var(--blue4); }

.has-maingreen-color { color: var(--maingreen); }
.has-maingreen-background-color { background-color: var(--maingreen); }

.has-green-1-color { color: var(--green1); }
.has-green-1-background-color { background-color: var(--green1); }

.has-green-2-color { color: var(--green2); }
.has-green-2-background-color { background-color: var(--green2); }

.has-green-3-color { color: var(--green3); }
.has-green-3-background-color { background-color: var(--green3); }

.has-green-4-color { color: var(--green4); }
.has-green-4-background-color { background-color: var(--green4); }








.wp-block-columns.hide { display: none!important; }
/* Header */
header { background: var(--mainblue); padding: 0; margin: 0 0 0; position: relative; z-index: 99999; border-top:52px solid var(--white); }
header .container { display: flex; align-items: center; justify-content: flex-end; max-width: 100%; width: 93%; }
header .logobox { display: flex; align-items: center; position: absolute; top: -52px; left: 0; z-index: 9999; }
header a.logo { background: url('https://content.coffee/wp-content/uploads/2024/09/logo-coffee-1.png'); width: 200px; height: 200px; margin: 0; background-size: 100%; padding: 0; text-align: center;  display: block; margin: 0; text-indent: -9999px; }

/* Main Content */
main { max-width: 96%; width: 1000px; margin: 0 auto 50px; padding: 0 30px; background: var(--white); }
main article { padding-bottom: 30px; }

/* Mobile Navigation */
#mobinav { padding: 15px 0; }
#mobinav ul { list-style: none; margin: 0; padding: 0; text-align: center; }
#mobinav ul li { display: inline-block; margin: 0 20px 0 0; }
#mobinav ul li:last-child { margin: 0; }
#mobinav ul li a { text-decoration: none; text-transform: uppercase; color: var(--purple); font-size: 14px; }
#mobinav ul li a:hover,#mobinav ul li.current-menu-item a { color: var(--white); }

/* Footer */
footer { background: var(--light); text-align: center; color: var(--white); font-size: 11px; padding: 15px 0; }
footer p { color: white; text-transform: uppercase; text-decoration: none; font-size: 12px; padding: 0; margin: 0; font-weight: 400; }
footer a:hover { color: var(--green); text-decoration: none; }

.page-header { height: 50vh; background-size: cover; background-attachment: fixed;  }
.page-header .head-container { width: 1000px; max-width: 96%; height: 48vh; margin: 0 auto; display: flex; align-items: end; }
.page-header .head-container h2 { color: var(--light); font-size: 50px; text-shadow: 2px 3px 2px rgba(61, 0, 91, 1); }

/* Responsive Design */
.nodesk { display: none; }


.wp-block-columns { display: flex!important; }
.wp-block-column { flex-shrink: 0!important; }

.currently-scrolling > div:nth-child(2) {  }

.nopad { padding: 0!important; }

h2.has-background { position: relative; overflow: hidden; }
h2.has-background::before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background-color: var(--purple); transition: transform 0.5s ease; transform: translateX(100%); z-index: 1; }
h2.has-background:hover::before { transform: translateX(0); }
h2.has-background a { position: relative; z-index: 2; display: block; }

.wp-block-button { position: relative; overflow: hidden; background: var(--purple); }
.wp-block-button::before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background-color: var(--light); transition: transform 0.5s ease; transform: translateX(100%); z-index: 1; }
.wp-block-button:hover::before { transform: translateX(0); }
.wp-block-button a { background: transparent!important; position: relative; z-index: 2; }


.wp-block-columns { }

/* CORE EDITS */

h2.has-background { padding: 1em 1.5em!important; }
.wp-block-post-template > li > div { padding-top: 0!important; }
.wp-block-post-template > li > div .wp-block-post-date { font-style: italic; margin: 10px 0; }
.wp-block-post-template > li > div .wp-block-post-excerpt__more-text a { background: var(--purple); padding: 5px 10px; color: var(--light); margin-top: 15px; text-transform: uppercase; font-size: 12px; }


.category {  }
.category main { padding: 30px; }
.category main h1, .top-content h1 { font-size: 80px; font-weight: bold; margin: 0 0 30px 0; text-transform: uppercase; text-align: center; color: white; background: var(--pink2); padding: 30px; }
.category-coaching main h1 { background: var(--green); }
.page-template main { padding: 0 30px 30px; }

.cat-description { margin: 30px; }
.cat-description p { text-align: center; }

.top-content { display: block; width: 100%;  }


.flexbox { display: flex; flex-wrap: wrap; gap: 1%; justify-content: space-between; margin: 40px 0; }
.flexbox article { flex: 0 0 49%; text-align: center; padding-bottom: 30px; }
.flexbox article figure { position: relative; }
.flexbox article .entry-meta { background: white; padding: 20px; margin: -75px auto 0; width: 80%; position: relative; }
.flexbox article .entry-meta h2 { line-height: 1.2; margin: 0; }
.flexbox article .entry-meta h2 a { color: var(--pink); }
.flexbox article .entry-meta h2 a:hover { color: var(--green); }
.flexbox article .entry-meta span { text-transform: uppercase; font-size: 12px; display: block; margin-bottom: 10px; }
.flexbox article a.read-more { font-size: 12px; background: var(--green); color: white; display: block; width: max-content; padding: 10px 20px; margin: 20px auto 0; text-transform: uppercase; text-decoration: none; }
.flexbox article .entry-content { width: 80%; margin: 0 auto; }
.flexbox article .entry-content p { font-size: 16px; }
.flexbox article a.read-more { position: relative; overflow: hidden; background: var(--pink2); }
.flexbox article a.read-more::before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background-color: var(--green); transition: transform 0.5s ease; transform: translateX(100%); z-index: 1; }
.flexbox article a.read-more:hover::before { transform: translateX(0); }
.flexbox article a.read-more span { display: block; background: transparent!important; position: relative; z-index: 2; }

.iconbox { padding-bottom: 30px; }
.iconbox .wp-block-column { background: var(--light)!important; color: var(--white); padding: 20px; }
.iconbox i { text-align: center; font-size: 40px; background: var(--white)!important; color: var(--purple)!important; margin: 20px auto 0; height: 100px; width: 100px; border-radius: 100%; line-height: 100px; text-align: center; }
.iconbox h3 { margin: 30px 0; color: var(--purple); text-transform: uppercase; }
.iconbox p { transition: all 2s ease; cursor: pointer; color: var(--white)!important; font-size: 16px; line-height: 1.4; width: 100%; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 4; display: -webkit-box; }
.iconbox p:hover { overflow: visible; -webkit-line-clamp: 10; display: block; }

.wp-block-cb-carousel .slick-slide { padding: 0!important; display: flex!important; justify-content: center!important; align-content: center!important; height: 300px!important; align-items: center!important; }
.wp-block-cb-carousel .slick-slide img { padding: 0 10px!important; }
.wp-block-cb-carousel .slick-dots  { bottom: 50px; }
.wp-block-cb-carousel .slick-dots li button::before { color: #FFF!important; font-size: 12px; }


.homeflex ul { display: flex; flex-wrap: wrap; gap: 1%; justify-content: space-between; padding: 0; margin: 0; }
.homeflex ul li { flex: 0 0 49%; text-align: center; padding-bottom: 30px; }
.homeflex ul li figure { position: relative; }
.homeflex ul li .entry-meta { background: white; padding: 20px!important; margin: -75px auto 0; width: 80%; position: relative; }
.homeflex ul li .entry-meta h2 { line-height: 1.2; margin: 0; color: var(--pink); font-size: 24px; }
.homeflex ul li .entry-meta h2 a { color: var(--pink); }
.homeflex ul li .entry-meta h2 a:hover { color: var(--green); }
.homeflex ul li .entry-meta time { text-transform: uppercase; font-size: 12px; display: block; margin-bottom: 10px; font-style: normal; }
.homeflex ul li a.wp-block-post-excerpt__more-link { font-size: 12px; background: var(--pink2); color: white; display: block; width: max-content; padding: 10px 20px; margin: 20px auto 0; text-transform: uppercase; text-decoration: none; }
.homeflex ul li a.wp-block-post-excerpt__more-link:hover { background: var(--green); }
.homeflex ul li .wp-block-post-excerpt { width: 80%; margin: 0 auto; }
.homeflex ul li p { font-size: 16px; }


.single h1 { margin: 30px 0; padding: 1em 1.5em!important; font-size: 50px; background: var(--pink3); color: var(--white); }
.single img { margin-bottom: 30px; }

.textbox { width: 33%; margin: 0 auto; }

.home header { position: fixed; top: 0; left: 0; width: 0; width: 100%; transition: all 250ms ease; opacity: 1; }
.home header.hidden { opacity: 0; }

#mobinav .showmobi { display: none; }

.move-me { transform: translateY(20px); transition: transform 0.5s ease-out, opacity 0.5s ease-out;}
.movement-up { transform: translateY(0); }

.counterbox { }
.counterbox .wp-block-column { padding: 15px 10px!important;; }
.counterbox .counter { margin-bottom: 15px; line-height: 1.4; font-family: 'Antonio', sans-serif; font-size: 60px; text-align: center; color: #FFF;}

.gform_wrapper.gravity-theme .gfield_required { color: #FA2E72!important; }

/* Media Queries */
@media all and (max-width: 2400px) {

}

@media all and (max-width: 1280px) { 

}

@media all and (max-width: 810px) { 
    header { display: flex; justify-content: space-between; flex-direction: column; }
}

@media all and (max-width: 568px) {
    .single h1, h1.has-background, h2.has-background, h3.has-background, h4.has-background, h5.has-background, h6.has-background { padding: 30px!important; }
    .textbox { width: 80%; }
    .homeflex ul, .flexbox { display: block; }
    .container { width: 100%; }
    main { max-width: 100%; box-sizing: border-box; }
    .iconbox .wp-block-column { box-sizing: border-box; }
    .category main h1 { font-size: 40px; }
    #mobinav .menu-header { display: none; }
    #mobinav .showmobi { color: #FFF; font-size: 24px; padding-right: 15px; display: block; cursor: pointer;  }

    #mobinav .menu-header { display: none; position: absolute; width: 100%; right: 0; background: var(--pink); top: 54px; padding-top: 150px; padding-bottom: 30px; }
    #mobinav .menu-header ul li { display: block; margin: 20px 0; }
	header a.logo { width: 150px; height: 150px; }
}


