/*!
Theme Name: Tell The People
Author: William Jeffree
Author URI: http://websitewilliam.co.uk/
Description: A custom WordPress theme for Tell The People
Version: 1.0.0

tellthepeople is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Color Variables:
- Primary Color: #FF6B35 (Music Orange)
- Secondary Color: #2D3748 (Dark Slate)
- Accent Color: #9F7AEA (Purple)
- Key Yellow: #f5ea54 (Tell The People Yellow) ⭐ NEW BRAND COLOR
- White: #ffffff
- Text Gray: #4c4f4e

NOTE: The Key Yellow (#f5ea54) is our signature brand color for Tell The People.
Use for highlights, CTAs, and special details throughout the site.
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize & Reset
# Base Styles
	- Typography
	- Elements
	- Links
	- Forms
# Layout & Grid
# Header & Navigation
# Banner & Hero Sections
# Content & Posts
# Footer
# Utilities & Helpers
# Responsive Breakpoints

Note: Component-specific styles are in /css/ folder and override these base styles
--------------------------------------------------------------*/

/* Google Fonts moved to functions.php for better performance and management */

/*--------------------------------------------------------------
# Normalize & Reset
--------------------------------------------------------------*/
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

:root {
	/* Tell The People Color Palette */
	--primary-color: #FF6B35;        /* Music Orange */
	--secondary-color: #2D3748;      /* Dark Slate */
	--accent-color: #9F7AEA;         /* Purple */
	--key-yellow: #f5ea54;           /* Tell The People Yellow ⭐ */
	--white: #ffffff;
	--text-gray: #4c4f4e;
	--site-background: #191919;      /* Dark Site Background */
	--off-black: #000000;            /* Pure Black for Audio Player Hover */
	
	/* Font Families */
	--navigation-font: "Barlow Condensed", sans-serif;
	--body-font: "Raleway", sans-serif;
}

html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	box-sizing: border-box;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

body {
	margin: 0;
	background: var(--site-background);
}

main {
	display: block;
}

hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

a {
	background-color: transparent;
}

abbr[title] {
	border-bottom: none;
	text-decoration: underline dotted;
}

b,
strong {
	font-weight: bolder;
}

code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

img {
	border-style: none;
	height: auto;
	max-width: 100%;
}

button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

button,
input {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

fieldset {
	padding: 0.35em 0.75em 0.625em;
}

legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

progress {
	vertical-align: baseline;
}

textarea {
	overflow: auto;
	width: 100%;
}

[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

details {
	display: block;
}

summary {
	display: list-item;
}

template {
	display: none;
}

[hidden] {
	display: none;
}

/*--------------------------------------------------------------
# Base Styles
--------------------------------------------------------------*/

/* Typography */
body,
button,
input,
select,
optgroup,
textarea {
	color: #4c4f4e;
	font-family: "Raleway", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

/* Font feature settings for better number rendering */
.contact-number,
.contact-number a,
a[href^="tel:"] {
    font-feature-settings: "tnum" on, "lnum" on !important;
    font-variant-numeric: tabular-nums !important;
    -webkit-font-feature-settings: "tnum" on, "lnum" on !important;
    -moz-font-feature-settings: "tnum" on, "lnum" on !important;
    font-family: "Raleway", sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	color: #0B3367;
	font-weight: normal;
	line-height: 1.2;
	margin: 0 0 1rem 0;
	letter-spacing: -0.01em;
}

h1 {
	font-size: 2em;
	font-weight: normal;
    text-transform: uppercase;
}

p {
	margin-bottom: 1.5em;
	color: #ffffff;
}

/* Elements */
ul,
ol {
	margin: 0 0 1.5em 1.5em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

li {
    margin-bottom: 0.5rem;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

embed,
iframe,
object {
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Links */
a {
	color: #0B3367;
	transition: all linear 0.25s;
	text-decoration: none;
}

a:visited {
	color: #0B3367;
}

a:hover,
a:focus,
a:active {
	color: #0a1f5a;
}

a:focus {
	outline: none;
}

/* Forms */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
	cursor: pointer;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
	outline: none;
}

select {
	border: 1px solid #ccc;
}

/*--------------------------------------------------------------
# Layout & Grid
--------------------------------------------------------------*/
.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    position: relative;
}

.home .wrap {
    padding-top: 0;
}

#page {
    background: var(--site-background);
}

.site-content {
    display: flex;
    gap: 2rem;
}

#primary {
    width: 100%;
    background: transparent;
}

#secondary {
    width: 500px;
    background: white;
    padding: 1.5rem;
    border-radius: 4px;
}

/*--------------------------------------------------------------
# Header & Navigation - MOVED TO /css/navigation.css
--------------------------------------------------------------*/
/* All navigation styles have been moved to /css/navigation.css for better organization */

/*--------------------------------------------------------------
# Banner & Hero Sections
--------------------------------------------------------------*/
.home-banner-container {
    margin: 0;
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 40px;
    overflow: visible;
    background-size: cover;
    background-position: center;
}

.home-banner {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 75vh;
    min-height: 400px;
    overflow: hidden;
}

.page-banner {
    width: 100%;
    height: 55vh;
    min-height: 300px;
    max-height: 500px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.7),
        rgba(0, 0, 0, 0.4) 30%,
        rgba(0, 0, 0, 0.4) 60%,
        rgba(0, 0, 0, 0.8)
    );
    z-index: 1;
}

.page-banner-container {
    margin: 0;
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 40px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.page-template-page-contact .page-banner-container {
    margin-bottom: 0;
}

.swiper-wrapper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    width: 100%;
    height: 100%;
    position: relative;
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-content-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    max-width: 1160px;
    margin: 0 auto;
    padding: 80px 20px;
    gap: 40px;
}

.banner-text-content {
    flex: 1;
    max-width: 600px;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.banner-content {
    position: absolute;
    bottom: 50px;
    width: 100%;
    padding: 0 20px;	
    color: white;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.banner-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
	color: white;
    max-width: 980px;
}

.banner-excerpt {
    max-width: 750px;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.banner-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 300;
}

.banner-subtitle-link {
    text-decoration: none;
    color: inherit;
}

.banner-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: white;
    line-height: 1.6;
}

.banner-read-more {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #0B3367;
    color: white !important;
    text-decoration: none;
    border-radius: 15px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.banner-read-more:hover {
    background-color: #0a1f5a;
    color: white;
    transform: scale(1.05);
}

.page-banner__content {
    position: absolute;
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    color: white;
    z-index: 2;
    text-align: left;
    padding: 0 20px 80px;
    left: 0;
    bottom: 0;
}

.page-banner__title {
    color: white;
    margin: 0;
    font-size: 2.5rem;
    text-transform: none;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.page-banner__title::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: white;
    margin: 1rem 0;
}

/*--------------------------------------------------------------
# Content & Posts
--------------------------------------------------------------*/
.home .entry-title {
    display: none;
}

.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Archive and Blog Styles */
.posts-grid,
.blog-grid {
   display: grid;
   grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
   gap: 2rem;
   margin: 2rem 0;
}

.post-card,
.blog-card {
   background: white;
   border-radius: 15px;
   overflow: hidden;
   box-shadow: 0 2px 10px rgba(0,0,0,0.1);
   transition: transform 0.3s ease;
   width: 100%;
   height: 100%;
   display: flex;
   flex-direction: column;
}

.post-card:hover,
.blog-card:hover {
   transform: translateY(-5px);
}

.post-image img,
.blog-card__image img {
   width: 100%;
   height: 200px;
   object-fit: cover;
   transition: transform 0.3s ease;
}

.blog-card__image {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
}

.blog-card__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.05);
}

.post-content,
.blog-card__content {
   padding: 1.5rem;
   flex: 1;
   display: flex;
   flex-direction: column;
}

.post-title,
.blog-card__title {
   color: #040F30;
   margin: 0 0 0.5rem;
   font-size: 1.5rem;
   font-weight: 400;
   line-height: 1.2;
}

.blog-card__title a {
    color: #040F30;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card__title a:hover {
    color: #0a1f5a;
}

.post-meta,
.blog-card__meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-card__date {
    margin-right: 1rem;
}

.blog-card__categories a {
    color: #040F30;
    text-decoration: none;
}

.blog-card__categories a:hover {
    text-decoration: underline;
}

.post-excerpt,
.blog-card__excerpt {
   color: #4c4f4e;
   margin-bottom: 1.5rem;
   line-height: 1.6;
   flex: 1;
}

.post-link {
   display: inline-block;
   color: #040F30;
   text-decoration: none;
   font-weight: 500;
   transition: color 0.3s ease;
}

.post-link:hover {
   color: #0a1f5a;
}

.blog-card__read-more {
    display: none;
}

/* Load More Button */
.load-more-container {
   text-align: center;
   margin: 2rem 0;
}

.load-more-button {
   background: #040F30;
   color: white;
   border: none;
   padding: 1rem 2.5rem;
   border-radius: 15px;
   font-size: 1.1rem;
   cursor: pointer;
   transition: all 0.3s ease;
   text-transform: uppercase;
   letter-spacing: 1px;
}

.load-more-button:hover {
   background: #0a1f5a;
   transform: scale(1.05);
}

/* Archive Header */
.page-header {
   text-align: center;
   margin-bottom: 2rem;
}

.page-title {
   color: #040F30;
   font-size: 2.5rem;
   font-weight: 400;
   text-transform: uppercase;
   margin: 0;
}

.archive-description {
   max-width: 800px;
   margin: 1rem auto;
   color: #4c4f4e;
}

/* Blog Pagination */
.blog-pagination {
    margin: 3rem 0;
    text-align: center;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
}

.blog-pagination .page-numbers li {
    display: inline-block;
}

.blog-pagination .page-numbers a,
.blog-pagination .page-numbers span {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #f5f5f5;
    color: #040F30;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.blog-pagination .page-numbers a:hover {
    background: #040F30;
    color: white;
}

.blog-pagination .page-numbers .current {
    background: #040F30;
    color: white;
}

/* Treatments Section */
.treatments-section {
    margin: 4rem 0;
    padding: 0 20px;
    text-align: center;
}

.section-title {
    margin: 4rem auto;
    color: #0B3367;
    font-size: 2.5rem;
    font-weight: 400;
    text-transform: uppercase;
}

.treatments-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin: 0 auto;
}

.treatment-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    width: 300px;
}

.treatment-card:hover {
    transform: translateY(-5px);
}

.treatment-image img {
    width: 100%;
    height: 200px;
    object-fit: contain;
}

.treatment-content {
    padding: 1.5rem;
}

.treatment-title {
    color: #040F30;
    margin: 0 0 1rem;
    font-size: 1.5rem;
    font-weight: 400;
}

.treatment-excerpt {
    color: #4c4f4e;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.treatment-link {
    display: inline-block;
    color: #040F30;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.treatment-link:hover {
    color: #0a1f5a;
}

/* Services Circles */
.services-circles-section {
    margin: 4rem 0;
    padding: 0 20px;
    text-align: center;
}

.services-circles-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: center;
    margin: 2rem auto;
}

.service-circle {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-circle:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.service-circle-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-circle-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
    transition: opacity 0.3s ease;
}

.service-circle:hover .service-circle-overlay {
    opacity: 0.1;
}

.service-circle-title {
    color: white;
    font-size: 1.5rem;
    text-align: center;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    transition: transform 0.3s ease;
    text-transform: uppercase;
}

.service-circle:hover .service-circle-title {
    transform: scale(1.1);
}

/*--------------------------------------------------------------
# Widgets & Sidebar
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

.widget-title {
    display: none;
}

.textwidget {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #4c4f4e;
}

/* Sidebar Contact */
.sidebar-contact {
    margin-bottom: 1.5rem;
}

.contact-number {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
}

.contact-number:last-child {
    margin-bottom: 0;
}

.contact-number i {
    font-size: 2rem;
    margin-right: 0.9rem;
    color: #040F30;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.contact-number i:hover {
    transform: scale(1.1);
}

.contact-number a {
    color: #040F30;
    font-size: 1.32rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-number a:hover {
    color: #0a1f5a;
}

.contact-number .fa-whatsapp {
    font-size: 2.5rem;
    color: #25D366;
}

.icon-phone {
    width: 24px;
    height: 24px;
}

.icon-whatsapp {
    width: 29px;
    height: 29px;
    fill: #25D366;
}

/* Recent Posts Widget */
.recent-posts-widget {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.recent-posts-widget .widget-title {
    color: #040F30;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(4, 15, 48, 0.1);
    display: block;
}

.recent-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-posts-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(4, 15, 48, 0.1);
}

.recent-posts-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-post-thumbnail {
    flex: 0 0 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.recent-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recent-post-thumbnail:hover img {
    transform: scale(1.05);
}

.recent-post-content {
    flex: 1;
}

.recent-post-content h4 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    line-height: 1.4;
}

.recent-post-content h4 a {
    color: #040F30;
    text-decoration: none;
    transition: color 0.3s ease;
}

.recent-post-content h4 a:hover {
    color: #0a1f5a;
}

.recent-post-date {
    font-size: 0.85rem;
    color: #666;
}

/*--------------------------------------------------------------
# Special Sections & Components
--------------------------------------------------------------*/

/* FAQ Accordion */
.faq-accordion {
    margin: 2rem 0;
}

.accordion-item {
    border-bottom: 1px solid rgba(4, 15, 48, 0.1);
}

.accordion-item:first-child {
    border-top: 1px solid rgba(4, 15, 48, 0.1);
}

.accordion-trigger {
    width: 100%;
    padding: 1.5rem 0;
    border: none;
    background: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    color: #040F30;
}

.accordion-title {
    font-size: 1.2rem;
    font-weight: 500;
    padding-right: 2rem;
}

.accordion-icon {
    fill: #040F30;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.accordion-trigger[aria-expanded="true"] .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0 1.5rem 1.5rem;
    color: #4c4f4e;
    line-height: 1.6;
    display: none;
}

/* Latest Post Section */
.latest-post-section {
    padding: 0;
    position: relative;
    background-size: cover;
    background-position: center center;
    color: #0B3367;
}

.latest-post-section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(12, 177, 225, 0.75);
    z-index: 1;
}

.latest-post-section .wrap {
    position: relative;
    z-index: 2;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.latest-post-item {
    display: block;
    background-color: transparent;
    color: #0B3367;
    position: relative;
}

.latest-post-content {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 2.2rem;
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 65%;
    margin-left: 0;
    margin-right: auto;
}

.latest-job-label {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #0B3367;
    margin-bottom: 0.5rem;
}

.latest-post-title {
    font-size: 2.2rem;
    margin: 0 0 0.75rem;
    color: #0B3367;
}

.latest-post-title a {
    color: inherit;
    text-decoration: none;
}

.latest-post-title a:hover {
    color: #0CB1E1;
}

.latest-post-full-content p {
    margin-bottom: 1rem;
    color: #0B3367;
}

.latest-post-full-content p:last-child {
    margin-bottom: 0;
}

/* Supporting Images */
.post-supporting-images-section {
    /* General container */
}

.supporting-images-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    position: relative;
}

.single-post-sidebar .supporting-images-grid {
    padding-top: 0px;
    margin-top: -150px;
    z-index: 10;
}

.latest-post-item {
    position: relative;
}

.homepage-supporting-images.post-supporting-images-section {
    position: absolute;
    top: 50px;
    right: 0px;
    width: 30%;
    z-index: 5;
}

.homepage-supporting-images .supporting-images-grid {
    margin-top: -150px;
}

.supporting-image-item {
    overflow: hidden;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.supporting-image-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, transparent 50%, rgba(0,0,0,0.5) 100%);
    pointer-events: none;
}

.supporting-image-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.supporting-images-grid .supporting-image-item:nth-child(1) {
    width: 300px;
    height: 300px;
    z-index: 1;
}

.supporting-images-grid .supporting-image-item:nth-child(2) {
    width: 280px;
    height: 280px;
    margin-top: -50px;
    margin-left: 150px;
    z-index: 2;
}

.supporting-images-grid .supporting-image-item:nth-child(3) {
    width: 250px;
    height: 250px;
    margin-top: -70px;
    margin-left: -80px;
    z-index: 3;
}

.supporting-images-grid .supporting-image-item:nth-child(4) {
    width: 230px;
    height: 230px;
    margin-top: -50px;
    margin-left: 20px;
    z-index: 4;
}

/* Testimonials */
.post-testimonial-section {
    margin-top: 2rem; 
    margin-bottom: 0; 
}

.testimonial-content {
    background-color: #0B3367;
    padding: 2rem 3rem 4rem 3rem;
    margin: 0;
    font-style: normal;
    color: white;
    font-size: 1.8rem;
    line-height: 1.6;
    border-radius: 0 0 80px 0;
    position: relative;
    overflow: hidden;
}

.testimonial-content > * {
    position: relative;
    z-index: 1;
}

.testimonial-content p {
    color: white; 
    font-size: inherit;
    margin-bottom: 1em;
}

.testimonial-content p:last-child {
    margin-bottom: 0;
}

.testimonial-content::before {
    content: "\201C";
    position: absolute;
    top: -0.15em;
    left: -0.05em;
    font-size: 20em;
    color: rgba(255, 255, 255, 0.1);
    line-height: 1;
    z-index: 0;
    pointer-events: none;
    font-family: Georgia, serif;
}

/* Latest Blogs Section */
.latest-blogs-section {
    margin: 4rem 0;
    padding: 0 20px;
}

.latest-blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.latest-blogs-footer {
    text-align: center;
    margin-top: 3rem;
}

/* Spotify Playlist Section */
.spotify-playlist-section {
    padding: 60px 0;
    position: relative;
}

.spotify-playlist-header {
    text-align: center;
    margin-bottom: 30px;
}

.spotify-playlist-title {
    color: black;
    font-size: 2rem
32px
;
    font-weight: 700;
    text-transform: uppercase;
    margin: -94px auto 0;
    font-family: var(--body-font);
    letter-spacing: 2px;
    text-shadow: none;
    background: var(--key-yellow);
    padding: 15px 10px;
    z-index: 20;
    position: relative;
    max-width: 400px;
}

.spotify-playlist-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Yellow accent border around the playlist */
.spotify-playlist-container::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 17px;
    right: 17px;
    bottom: -3px;
    background: linear-gradient(45deg, var(--key-yellow), #ffeb3b, var(--key-yellow));
    border-radius: 15px;
    z-index: 0;
    opacity: 1;
}

.spotify-playlist-container iframe {
    width: 100%;
    max-width: 100%;
    border-radius: 0 !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    display: block;
}

/* Force override of Spotify's inline border-radius style */
.spotify-playlist-section iframe[src*="spotify.com"] {
    border-radius: 0 !important;
}

.spotify-playlist-container iframe[style*="border-radius"] {
    border-radius: 0 !important;
}

/* Featured Work Section */
.featured-work-section {
    padding: 40px 0;
    background: transparent;
    position: relative;
}

.featured-work-container {
    max-width: 1050px;
    margin: 0 auto 30px;
    padding: 30px;
    background: var(--key-yellow);
}

.featured-work-title {
    color: var(--key-yellow);
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    margin: 0 auto 2rem auto;
    font-family: var(--body-font);
    letter-spacing: 3px;
    max-width: 1200px;
    padding: 0 20px;
}

.featured-work-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: start;
}

/* Default layout: Media Left, Content Right */
.featured-work-container.layout-image-left .featured-work-content {
    grid-template-columns: 2fr 1fr;
}

.featured-work-container.layout-image-left .featured-work-media {
    order: 1;
}

.featured-work-container.layout-image-left .featured-work-details {
    order: 2;
}

/* Alternate layout: Media Right, Content Left */
.featured-work-container.layout-image-right .featured-work-content {
    grid-template-columns: 1fr 2fr;
}

.featured-work-container.layout-image-right .featured-work-media {
    order: 2;
}

.featured-work-container.layout-image-right .featured-work-details {
    order: 1;
    text-align: right;
}

.featured-work-media {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.featured-work-image {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.featured-work-image img {
    width: 100%;
    height: auto;
    display: block;
}

.featured-work-video {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
}

.featured-work-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.featured-work-details {
    color: var(--text-gray);
}

/* Single Work Post Styles */
.single-work-layout {
    padding: 40px 0 0 0;
}

.single-work-container {
    margin-bottom: 0;
}

.single-work-content {
    padding: 60px 0;
    background: #fff;
}

.single-work-content .wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.single-work-content .entry-content {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-gray);
}

.single-work-content .entry-content h1,
.single-work-content .entry-content h2,
.single-work-content .entry-content h3,
.single-work-content .entry-content h4,
.single-work-content .entry-content h5,
.single-work-content .entry-content h6 {
    color: var(--site-background);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.single-work-content .entry-content p {
    margin-bottom: 1.5rem;
}

.single-work-content .entry-content p:last-child {
    margin-bottom: 0;
}

.single-work-supporting-images {
    margin-top: 3rem;
}

.single-work-supporting-images .supporting-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.featured-work-brand {
    font-size: 3.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: -10px 0 0rem 0;
    font-family: var(--body-font);
    line-height: 1.1;
    color: var(--site-background);
}

.featured-work-by-line,
.featured-work-ft-line {
    font-size: 1.8rem;
    font-weight: 400;
    text-transform: lowercase;
    margin: -7px 0;
    line-height: 1.2;
    color: var(--site-background);
}

.featured-work-agency,
.featured-work-artist {
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    font-family: var(--body-font);
    margin: 0.5rem 0;
    line-height: 1.2;
    color: var(--site-background);
}



/* Latest Project Section */
.latest-project-section {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 6rem 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.latest-project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
}

.latest-project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.latest-project-content {
    color: #040F30;
}

.latest-project-section-title {
    color: #040F30;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.latest-project-title {
    color: #040F30;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-transform: none;
}

.latest-project-challenge,
.latest-project-solution {
    margin-bottom: 2rem;
}

.latest-project-challenge h3,
.latest-project-solution h3 {
    color: #040F30;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.latest-project-challenge p,
.latest-project-solution p {
    color: #040F30;
    font-size: 1.1rem;
    line-height: 1.6;
}

.latest-project-link,
.arrow-link {
    display: inline-flex;
    align-items: center;
    padding: 1rem 0;
    color: #040F30;
    text-decoration: none;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
    border-bottom: 1px solid #040F30;
    width: fit-content;
    position: relative;
    padding-right: 2rem;
}

.latest-project-link::after,
.arrow-link::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 12px;
    height: 12px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-50%) rotate(-45deg);
}

.latest-project-link:hover,
.arrow-link:hover {
    color: #0a1f5a;
    border-bottom-color: #0a1f5a;
}

/* Industry Logos */
.industry-logos-section {
    padding: 2rem 0;
}

.industry-logos-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    max-width: 1160px;
    margin: 0 auto;
}

.industry-logo-item {
    flex: 0 1 auto;
}

.industry-logo-item img {
    display: block;
    max-height: 60px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

/* Error Page */
.error-page {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.error-content {
    max-width: 600px;
    margin: 0 auto;
}

.error-title {
    font-size: 8rem;
    color: #040F30;
    margin: 0;
    line-height: 1;
    font-weight: 300;
}

.error-message {
    font-size: 2rem;
    color: #040F30;
    margin: 1rem 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.error-description {
    font-size: 1.2rem;
    color: #4c4f4e;
    margin: 0;
    line-height: 1.6;
}

/*--------------------------------------------------------------
# Ninja Forms
--------------------------------------------------------------*/
.nf-form-cont {
    margin-top: 30px;
    width: 100%;
    position: relative;
    overflow: hidden;
    clear: both;
}

.nf-form-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    clear: both;
}

.nf-form {
    position: relative;
    width: 100%;
    overflow: hidden;
    clear: both;
}

.nf-form-title, 
.nf-before-form-content, 
.nf-field-label {
    display: none;
}

.nf-field-label label {
    font-weight: 300 !important;
    font-size: 0.85em !important;
}

.nf-field input[type="submit"] {
    background: transparent !important;
    color: white !important;
    font-size: 40px !important;
    padding: 0 !important;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: -0.05em !important;
    border: 0px !important;
    transition: all linear 0.3s;
    margin-top: 10px;
    cursor: pointer;
    font-weight: 300 !important;
    opacity: 0.85;
}

.nf-field input[type="submit"]:hover {
    border: 0px !important;
    opacity: 1;
}

.nf-element {
    border: 0px !important;
    font-size: 16px;
    font-weight: 400;
    border-radius: 0px !important;
    padding: 10px !important;
    background: rgba(255, 255, 255, 0.85);
}

.nf-field input, 
.nf-field input::placeholder, 
.nf-field-element textarea, 
.nf-field-element textarea::placeholder {
    color: #0B3367 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
}

.nf-field-container {
    margin-bottom: 15px !important;
    position: relative;
    width: 100%;
    overflow: hidden;
    clear: both;
}

.nf-error-msg {
    font-size: 12px;
    color: red !important;
    font-weight: 500;
}

.nf-error-field-errors {
    display: none;
}

.nf-field-element textarea {
    height: 280px !important;
    padding: 10px 10px !important;
    border-radius: 0px !important;
}

.ninjaFormContainer {
    float: left;
    margin: 10px 0 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ccc;
    width: 100%;
    position: relative;
    overflow: hidden;
    clear: both;
}

.ninjaFormContainer h1 {
    color: white;
    font-size: 50px;
}

.nf-fields-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    clear: both;
}

.nf-fields-wrap div {
    clear: both;
}

.nfLeft {
    float: left;
    width: 49%;
    margin-right: 2%;
    clear: none !important;
}

.nfRight {
    float: right;
    width: 49%;
    clear: none !important;
}

.nf-field-element input:focus, 
.nf-field-element textarea:focus {
    outline: none !important;
}

.nf-response-msg {
    border: 0px !important;
}

.nf-response-msg p {
	color: white !important;
    font-size: 1.25em;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#colophon {
    background: var(--site-background);
    padding: 30px 0;
    color: #ffffff;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

#colophon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

#colophon .contact-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

#colophon .contact-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--key-yellow);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

#colophon .contact-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ffffff;
}

#colophon .contact-text p {
    margin-bottom: 15px;
}

#colophon .contact-text p:last-child {
    margin-bottom: 0;
}

/* Company Logo in Footer */
.company-logo {
    margin: 30px 0;
    text-align: center;
}

.footer-company-logo {
    max-width: 300px;
    max-height: 120px;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Single wrapper approach - all page content gets bottom margin for fixed footer */
.page-content-wrapper {
    margin-bottom: 0px;
}

/* Section Headers - consistent styling for Featured Work, Voices, etc */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title-styled {
    font-size: 4rem;
    font-weight: 700;
    color: var(--key-yellow);
    text-transform: uppercase;
    margin: 0;
    position: relative;
    display: inline-block;
}

.section-title-styled::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--key-yellow);
}

/* Custom page content wrap - specific control for page content sections */
#page-content-wrap {
    text-align: center;
    max-width: 1065px;
    margin: 0 auto;
    font-size: 1.2rem;
}

#page-content-wrap p,
#page-content-wrap h1,
#page-content-wrap h2,
#page-content-wrap h3,
#page-content-wrap h4,
#page-content-wrap h5,
#page-content-wrap h6,
#page-content-wrap div {
    text-align: center;
}

/* Inner container for page content - narrower width for better readability */
.page-content-inner {
    max-width: 845px;
    margin: 0 auto;
}

/* Promo Video Section */
.promo-video-section {
    padding: 80px 0 0 0;
    background: transparent;
}

.promo-video-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.promo-video-preview {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.promo-video-thumbnail {
    position: relative;
    padding-bottom: 42%; /* Reduced height for better proportions */
    background-size: cover;
    background-position: center;
    background-color: #000;
}

.promo-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-video-play-btn {
    transition: transform 0.3s ease;
}

.play-circle {
    width: 80px;
    height: 80px;
    border: 1px solid var(--key-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.promo-video-preview:hover .play-circle {
    transform: scale(1.2);
}

.play-triangle {
    width: 0;
    height: 0;
    border-left: 16px solid var(--key-yellow);
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 4px; /* Slight offset to center visually */
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.active {
    display: flex;
    opacity: 1;
}

.video-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.video-modal-content {
    position: relative;
    margin: auto;
    width: 80%;
    max-width: 900px;
    z-index: 10000;
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s ease;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-close:hover {
    color: var(--key-yellow);
}

.video-modal-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 8px;
}

.video-modal-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Simple page content structure - clean and flexible */
.page-content-simple {
    padding: 2rem 0;
}

.page-content-simple .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-content-inner {
    /* Clean, no interference styling */
}

.page-content-simple .entry-content {
    color: #ffffff;
    line-height: 1.6;
}

.page-content-simple .entry-content h1,
.page-content-simple .entry-content h2,
.page-content-simple .entry-content h3,
.page-content-simple .entry-content h4,
.page-content-simple .entry-content h5,
.page-content-simple .entry-content h6 {
    color: #ffffff;
    margin: 2rem 0 1rem;
    letter-spacing: -0.05em;
}

.page-content-simple .entry-content p {
    margin-bottom: 1.5rem;
}

.page-content-simple .entry-content a {
    color: var(--key-yellow);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.page-content-simple .entry-content a:hover {
    opacity: 0.8;
}

/* Global bottom margin for standard pages and posts to accommodate fixed footer */
.page,
.post {
    margin-bottom: 100vh;
    background: var(--site-background);
}

/* Override for contact page template - remove the 100vh margin */
.page-template-page-contact-social.page,
.page-template-page-contact-social .post {
    margin-bottom: 0 !important;
}

/* Contact page template - normal footer positioning */
.page-template-page-contact-social.page {
    margin-bottom: 0 !important; /* Remove the bottom margin with higher specificity */
    background-color: var(--site-background); /* Fallback background color */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.page-template-page-contact-social .post {
    margin-bottom: 0 !important; /* Remove the bottom margin from the article element */
}

.page-template-page-contact-social #page {
    background: transparent; /* Remove the default background that's blocking our image */
}

/* Remove gradient background from header on contact page */
.page-template-page-contact-social .site-header {
    background: transparent;
}

.page-template-page-contact-social .post {
    background: transparent !important; /* Remove the .post background colour for contact template */
    
}

.page-template-page-contact-social .entry-content,
.page-template-page-contact-social .page-content,
.page-template-page-contact-social .entry-summary,
.page-template-page-contact-social article,
.page-template-page-contact-social .hentry {
    background: transparent !important; /* Ensure all content containers are transparent */
    margin-bottom: 0;
}

.page-template-page-contact-social #primary {
    background: transparent !important; /* Remove primary content area background */
}

.page-template-page-contact-social::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.page-template-page-contact-social #colophon {
    position: relative; /* Normal document flow */
    height: auto; /* Auto height instead of 100vh */
    z-index: 1; /* Bring back above content */
    margin-top: 0; /* Remove any top margin */
    padding: 60px 0; /* Add more padding for better spacing */
    background: transparent; /* Remove any background from footer on contact page */
}

/* Contact Page Section Title Override */
.page-template-page-contact-social .section-title-styled {
    font-size: 3rem;
    width: 100%;
    text-align: center;
    margin: 30px auto;
}

/* Contact Page Two-Column Layout */
.contact-page-layout {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    margin: 2rem 0;
}

.contact-content-column {
    flex: 1;
    padding-right: 2rem;
}

.contact-form-column {
    flex: 1;
    padding-left: 2rem;
}



/* Contact Form 7 Styling */
.page-template-page-contact-social .wpcf7-form {
    background: transparent;
}

.page-template-page-contact-social .wpcf7-form label {
    color: #ffffff;
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.page-template-page-contact-social .wpcf7-form input[type="text"],
.page-template-page-contact-social .wpcf7-form input[type="email"],
.page-template-page-contact-social .wpcf7-form input[type="tel"],
.page-template-page-contact-social .wpcf7-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background: #ffffff;
    color: #000000;
    font-size: 1rem;
    margin-bottom: 0;
}

.page-template-page-contact-social .wpcf7-form input[type="text"]:focus,
.page-template-page-contact-social .wpcf7-form input[type="email"]:focus,
.page-template-page-contact-social .wpcf7-form input[type="tel"]:focus,
.page-template-page-contact-social .wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--key-yellow);
    box-shadow: 0 0 0 2px rgba(245, 234, 84, 0.2);
}

.page-template-page-contact-social .wpcf7-form input::placeholder,
.page-template-page-contact-social .wpcf7-form textarea::placeholder {
    color: rgba(0, 0, 0, 0.6);
}

.page-template-page-contact-social .wpcf7-form input[type="submit"] {
    background: var(--key-yellow);
    color: #000000;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.page-template-page-contact-social .wpcf7-form input[type="submit"]:hover {
    background: #f0e04a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 234, 84, 0.3);
}

.page-template-page-contact-social .wpcf7-response-output {
    color: #ffffff;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
}

.page-template-page-contact-social .wpcf7-validation-errors {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.page-template-page-contact-social .wpcf7-mail-sent-ok {
    color: #4ecdc4;
    background: rgba(78, 205, 196, 0.1);
    border: 1px solid rgba(78, 205, 196, 0.3);
}

/* Contact Form Grid Layout */
.page-template-page-contact-social .wpcf7-form .edgtf-grid-col-6 {
    width: 47.5% !important;
    margin-right: 5%;
    float: left;
}

.page-template-page-contact-social .wpcf7-form .edgtf-grid-col-6:nth-child(2n) {
    margin-right: 0;
}

.page-template-page-contact-social .wpcf7-form .edgtf-grid-row {
    display: block;
    clear: both;
}

.page-template-page-contact-social .wpcf7-form .edgtf-grid-row::after {
    content: "";
    display: table;
    clear: both;
}

.page-template-page-contact-social .edgtf-grid-row.qodef-grid-small-gutter {
    margin: 0px 0 -20px !important;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .contact-page-layout {
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-content-column,
    .contact-form-column {
        padding: 0;
    }
    
    .page-template-page-contact-social .wpcf7-form .edgtf-grid-col-6 {
        width: 100% !important;
        display: block !important;
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

.footer-contact {
    padding: 2rem 0;
}

.footer-contact-title {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    font-weight: 400;
}

.page-template-page-contact .footer-contact-title {
    display: none;
}

.footer-contact-content {
    color: #ffffff;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.footer-contact-content p {
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.footer-contact-content h1,
.footer-contact-content h2,
.footer-contact-content h3,
.footer-contact-content h4,
.footer-contact-content h5,
.footer-contact-content h6 {
    color: #ffffff;
    margin: 2rem 0 1rem;
    line-height: 1.2;
}

.footer-contact-content h2 {
    font-size: 2rem;
}

.footer-contact-content h3 {
    font-size: 1.5rem;
}

.footer-contact-content a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-contact-content a:hover {
    opacity: 0.8;
}

/* Footer navigation styles moved to /css/navigation.css */

/* WhatsApp Section */
.footer-whatsapp-section {
    margin-bottom: 2rem;
}

.footer-whatsapp-text {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.footer-whatsapp-icon {
    display: block;
    width: 45px;
    height: 45px;
    margin: 0 auto;
}

.footer-whatsapp-icon img {
    display: block;
    width: 100%;
    height: 100%;
}

/* Phone Section */
.footer-phone-section {
    margin-top: 1.5rem;
}

.footer-phone-contact {
    text-align: center;
}

.footer-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.footer-phone-link:hover {
    opacity: 0.8;
    color: #ffffff !important;
}

.footer-phone-link i {
    font-size: 1.5rem;
}

/* Social Media Icons */
.social-media-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 0px;
    padding-top: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--key-yellow);
    color: #000000;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-size: 1.2rem;
}

.social-icon:hover {
    background: #ffffff;
    color: #000000;
}

.social-icon i {
    font-size: 1.35rem;
}

.social-icon .screen-reader-text {
    position: absolute;
    left: -9999px;
}

.footer-credits {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.designer-credit {
    text-align: right;
}

.designer-link,
.designer-link:visited {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.75rem;
}

.designer-link:hover {
    color: #ffffff;
}

/*--------------------------------------------------------------
# Media & Galleries
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

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

.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Utilities & Helpers
--------------------------------------------------------------*/

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #0B3367;
    color: white !important;
    text-decoration: none;
    border-radius: 15px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #0a1f5a;
    color: white;
    transform: scale(1.05);
}

.btn-light {
    background-color: #0CB1E1;
}

.btn-light:hover {
    background-color: #0B3367;
}

/* Accessibility */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f5;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments */
.alignleft {
	float: left;
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {
	float: right;
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/* Jetpack infinite scroll */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Responsive Breakpoints
--------------------------------------------------------------*/

/* Mobile navigation styles moved to /css/navigation.css */

/* Banner Responsive */
@media screen and (max-width: 768px) {
    .banner-content-wrapper {
        flex-direction: column-reverse;
        padding: 40px 20px;
    }
    
    .banner-text-content {
        text-align: center;
    }
    
    .home-banner {
        height: auto;
        min-height: auto;
    }

    .banner-title {
        font-size: 2rem;
    }

    .banner-subtitle {
        font-size: 1.3rem;
    }

    .banner-text {
        font-size: 1rem;
    }

    .banner-read-more {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .page-banner {
        height: 50vh;
        min-height: 200px;
    }
    
    .page-banner__content {
        padding-bottom: 60px;
    }
    
    .page-banner__title {
        font-size: 2rem;
    }
}

/* Layout Responsive */
@media screen and (max-width: 768px) {
    .site-content {
        flex-direction: column;
    }
    
    #primary,
    #secondary {
        width: 100%;
    }
}

/* Content Responsive */
@media screen and (max-width: 768px) {
    .posts-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-card__title {
        font-size: 1.3rem;
    }

    .treatments-section {
        margin: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }

    .latest-blogs-grid {
        grid-template-columns: 1fr;
    }
    
    .latest-blogs-section {
        margin: 3rem 0;
    }
    
    .spotify-playlist-section {
        padding: 40px 0;
    }
    
    .spotify-playlist-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .spotify-playlist-container {
        padding: 0 15px;
    }
    
    .spotify-playlist-container::before {
        left: 12px;
        right: 12px;
    }
    
    .featured-work-section {
        padding: 60px 0;
    }
    
    .featured-work-container {
        margin: 10px;
    }
    
    .featured-work-title {
        font-size: 2.5rem;
        margin-bottom: 2rem;
        letter-spacing: 2px;
    }
    
    .featured-work-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Reset both layouts to single column on mobile */
    .featured-work-container.layout-image-left .featured-work-content,
    .featured-work-container.layout-image-right .featured-work-content {
        grid-template-columns: 1fr;
    }
    
    /* Media always on top, content below on mobile */
    .featured-work-container.layout-image-left .featured-work-media,
    .featured-work-container.layout-image-right .featured-work-media {
        order: 1;
    }
    
    .featured-work-container.layout-image-left .featured-work-details,
    .featured-work-container.layout-image-right .featured-work-details {
        order: 2;
        text-align: left !important;
    }
    
    /* Force all featured work text elements to left align on mobile */
    .featured-work-brand,
    .featured-work-by-line,
    .featured-work-ft-line,
    .featured-work-agency,
    .featured-work-artist {
        text-align: left !important;
    }
    
    .featured-work-brand {
        font-size: 2.5rem;
    }
    
    .featured-work-by-line,
    .featured-work-ft-line,
    .featured-work-agency,
    .featured-work-artist {
        font-size: 1.5rem;
    }
    
    /* Single Work Post Mobile */
    .single-work-layout {
        padding: 20px 0 0 0;
    }
    
    .single-work-content {
        padding: 40px 0;
    }
    
    .single-work-content .wrap {
        padding: 0 15px;
    }
    
    .single-work-content .entry-content {
        font-size: 1rem;
    }
    
    .single-work-supporting-images .supporting-images-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Services Circles Responsive */
@media screen and (max-width: 768px) {
    .service-circle {
        width: 200px;
        height: 200px;
    }
    
    .service-circle-title {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 480px) {
    .services-circles-grid {
        gap: 1.5rem;
    }
    
    .service-circle {
        width: 150px;
        height: 150px;
    }
    
    .service-circle-title {
        font-size: 1rem;
        padding: 0 10px;
    }
}

/* Sidebar Responsive */
@media screen and (max-width: 768px) {
    .recent-posts-widget {
        margin-top: 2rem;
    }
    
    .recent-post-thumbnail {
        flex: 0 0 60px;
        height: 60px;
    }
    
    .recent-post-content h4 {
        font-size: 0.9rem;
    }
}

/* Supporting Images Responsive */
@media screen and (max-width: 992px) {


    .homepage-supporting-images.post-supporting-images-section {
        display: none;
    }
}

@media screen and (max-width: 767px) { 
    .single-post-sidebar .post-supporting-images-section,
    .homepage-supporting-images.post-supporting-images-section {
        display: none;
    }
}

/* Testimonials Responsive */
@media screen and (max-width: 768px) {
    .testimonial-content {
        padding: 1rem 2rem 3rem 2rem;
        font-size: 1.3rem;
    }

    .latest-post-section .wrap {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
    .latest-post-content {
        padding: 1.5rem;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .latest-post-title {
        font-size: 1.8rem;
    }
    
    .latest-post-full-content p {
        font-size: 1rem;
    }
}

/* Latest Project Responsive */
@media screen and (max-width: 768px) {
    .latest-project-section {
        padding: 4rem 0;
    }
    
    .latest-project-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .latest-project-title {
        font-size: 2rem;
    }
    
    .latest-project-challenge h3,
    .latest-project-solution h3 {
        font-size: 1.3rem;
    }
    
    .latest-project-challenge p,
    .latest-project-solution p {
        font-size: 1rem;
    }
}

/* Industry Logos Responsive */
@media screen and (max-width: 768px) {
    .industry-logos-wrapper {
        gap: 1.5rem;
    }
    .industry-logo-item img {
        max-height: 50px;
    }
}

@media screen and (max-width: 480px) {
    .industry-logos-wrapper {
        gap: 1rem;
        flex-direction: row;
        justify-content: space-around;
    }
    .industry-logo-item {
        flex-basis: calc(50% - 0.5rem);
        display: flex;
        justify-content: center;
    }
    .industry-logo-item img {
        max-height: 40px;
    }
}

/* FAQ Responsive */
@media screen and (max-width: 768px) {
    .accordion-title {
        font-size: 1.1rem;
    }
    
    .accordion-trigger {
        padding: 1.25rem 0;
    }
}

/* Error Page Responsive */
@media screen and (max-width: 768px) {
    .error-title {
        font-size: 6rem;
    }
    
    .error-message {
        font-size: 1.5rem;
    }
    
    .error-description {
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .error-title {
        font-size: 4rem;
    }
    
    .error-message {
        font-size: 1.2rem;
    }
}

/* Footer Responsive */
@media screen and (max-width: 768px) {
    /* Footer menu responsive styles moved to /css/navigation.css */

    .footer-contact-content {
        font-size: 1rem;
    }
    
    .footer-contact-content h2 {
        font-size: 1.8rem;
    }
    
    .footer-contact-content h3 {
        font-size: 1.3rem;
    }

    .nf-field-container {
        float: none !important;
        width: 100% !important;
        margin-right: 0 !important;
    }

    .footer-credits {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-credits .copyright,
    .footer-credits .designer-credit {
        width: 100%;
        text-align: center;
    }
    
    .social-media-icons {
        gap: 15px;
        margin-top: 25px;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .footer-company-logo {
        max-width: 150px;
        max-height: 90px;
    }
}

/* Button Responsive */
@media screen and (max-width: 768px) {
    .btn {
        padding: 1rem 2.5rem;
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 480px) {
    .btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .spotify-playlist-title {
        font-size: 1.25rem;
    }
    
    .featured-work-title {
        font-size: 2rem;
    }
    
    .featured-work-brand {
        font-size: 2rem;
    }
    
    .featured-work-by-line,
    .featured-work-ft-line,
    .featured-work-agency,
    .featured-work-artist {
        font-size: 1.3rem;
    }
    
    .footer-company-logo {
        max-width: 120px;
        max-height: 75px;
    }
}

/* Section styled titles responsive */
@media screen and (max-width: 768px) {
    .section-title-styled {
        font-size: 3rem;
    }

    .section-title-styled::after {
        width: 50px;
        height: 3px;
        bottom: -12px;
    }
    
    .promo-video-section {
        padding: 60px 0 0 0;
    }
    
    .promo-video-container {
        padding: 0;
    }
    
    .video-modal-content {
        width: 95%;
    }
    
    .video-modal-close {
        top: -40px;
        font-size: 30px;
        width: 30px;
        height: 30px;
    }
}

@media screen and (max-width: 480px) {
    .section-title-styled {
        font-size: 1.95rem;
    }

    .section-title-styled::after {
        width: 40px;
        height: 3px;
        bottom: -10px;
    }
}

/* Footer menu styles moved to /css/navigation.css */
