/**
* Viewpoints Plugin - Combined Styles
*/
/* ----------------------------------------
   1. CSS VARIABLES (CUSTOM PROPERTIES)
   ---------------------------------------- */
:root {
    /* Spacing values */
    --vp-spacing-small: 10px;
    --vp-spacing-medium: 20px;
    --vp-spacing-large: 30px;
    /* Colors - Update with brand colors */
    --vp-primary-color: #47919E; /* PTCB teal color - update if needed */
    --vp-secondary-color: #F98E2B; /* PTCB orange color - update if needed */
    --vp-text-color: #444;
    --vp-bg-color: #fff;
    --vp-border-color: #e5e5e5;
    --vp-light-bg-color: #f2f2f2; /* For background sections */
    /* Typography */
    --vp-font-family: Roboto, sans-serif;
    --vp-font-size-small: 0.875rem;
    --vp-font-size-normal: 1rem;
    --vp-font-size-medium: 1.25rem;
    --vp-font-size-large: 1.5rem;
    --vp-font-size-xlarge: 2rem;
}

/* ----------------------------------------
   2. GENERAL CONTAINER STYLES
   ---------------------------------------- */
.vp-single-viewpoint {
    margin-bottom: var(--vp-spacing-large);
    font-family: var(--vp-font-family);
    color: var(--vp-text-color);
    line-height: 1.6;
}

.vp-viewpoint {
    padding: var(--vp-spacing-medium) 0;
}

/* ----------------------------------------
   3. HEADER SECTION
   ---------------------------------------- */
.vp-section-wrapper.vp-viewpoint-header {
    margin-bottom: 40px;
}

.vp-breadcrumbs {
    margin: 10px 0;
    padding: 5px 0;
    display: block;
    width: 100%;
}

.vp-viewpoint-header .vp-breadcrumb-divider,
.vp-viewpoint-header a,
.vp-viewpoint-header span,
.vp-viewpoint-header .breadcrumb_last,
.vp-breadcrumbs a,
.vp-breadcrumbs span,
.vp-breadcrumbs .breadcrumb_last,
.vp-breadcrumbs .vp-breadcrumb-divider {
    color: #fff !important;
    font-size: 1rem;
    text-decoration: none;
}

/* Force white color for breadcrumbs in header */
.vp-viewpoint-header .vp-breadcrumbs,
.vp-viewpoint-header .vp-breadcrumbs a,
.vp-viewpoint-header .vp-breadcrumbs span,
.vp-viewpoint-header .vp-breadcrumbs .breadcrumb_last,
.vp-viewpoint-header .vp-breadcrumbs .vp-breadcrumb-divider {
    color: #fff !important;
}

.vp-viewpoint-header a:hover,
.vp-breadcrumbs a:hover {
    text-decoration: underline;
    opacity: 0.9;
}

.vp-breadcrumb-divider {
    margin: 0 5px;
    display: inline-block;
}

/* ----------------------------------------
   4. BIO SECTION WITH FEATURED IMAGE
   ---------------------------------------- */
.vp-bio-section {
    margin-bottom: 0px;
    padding: 0px;
    margin-top: 60px !important; /* Increased top margin with !important */
}

.vp-bio-column {
    padding-right: var(--vp-spacing-medium);
}

.vp-bio-content {
    line-height: 1.7;
}

.vp-bio-content p {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    line-height: 1.8rem;
    font-weight: 400;
    text-align: left;
    font-style: italic;
    color: #007d89;
}

.vp-bio-content blockquote {
	border-left: 10px solid #f98e2b;
    padding: 20px 20px 20px 20px;
    background-color: rgba(0, 0, 0, 0.03);
	font-size: 1rem;
    margin-bottom: .9em;
}

.vp-featured-image-column {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.vp-featured-image {
    width: 100%;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.vp-profile-image {
    display: block;
    width: 100%;
    height: auto;
}

/* ----------------------------------------
   5. CONTENT REPEATER SECTION
   ---------------------------------------- */
.vp-content-section {
    margin-bottom: var(--vp-spacing-large);
    max-width: 1140px; /* Standard content width */
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px; /* Add some padding on smaller screens */
}

.vp-content-row {
    margin-bottom: var(--vp-spacing-large);
}

.vp-content-heading {
    color: #007d89;
    font-size: 25px;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.vp-content-body {
    line-height: 1.6;
}

/* Content formatting */
.vp-content-body p {
    margin-bottom: 1em;
}

.vp-content-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: var(--vp-spacing-medium) 0;
}

.vp-content-body img.alignleft {
    float: left;
    margin-right: var(--vp-spacing-medium);
    margin-bottom: var(--vp-spacing-medium);
}

.vp-content-body img.alignright {
    float: right;
    margin-left: var(--vp-spacing-medium);
    margin-bottom: var(--vp-spacing-medium);
}

.vp-content-body img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Blockquote styling */
.vp-content-body blockquote {
    padding: var(--vp-spacing-medium) var(--vp-spacing-large);
    margin: var(--vp-spacing-large) 0;
    border-left: 5px solid var(--vp-secondary-color);
    background-color: rgba(0, 0, 0, 0.03);
    font-style: italic;
    font-size: 1.1em;
    line-height: 1.6;
    width: 100%; /* Make blockquote full content width */
    box-sizing: border-box;
}

/* Remove left border for blockquotes in grid view */
.vp-grid-excerpt blockquote {
    border-left: none;
    padding-left: 0;
    background-color: transparent;
}

.vp-content-body blockquote p:last-child {
    margin-bottom: 0;
    color: #f98e2b;
}

/* Testimonial blockquote styling */
.vp-content-body .testimonial-name blockquote,
.vp-content-body .row .col-md-12 .clearfix.testimonial-name blockquote {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
}

/* Fix for nested rows and columns in content */
.vp-content-body .row {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.vp-content-body .col-md-12 {
    padding-left: 0;
    padding-right: 0;
}

.vp-content-body .clearfix {
    width: 100%;
}

.vp-content-body .testimonial-name blockquote h4 {
    margin-top: 0;
    margin-bottom: 5px;
    font-weight: bold;
    color: #68348d;
}

.vp-content-body .testimonial-name blockquote .role-testimonial,
.vp-content-body .testimonial-name blockquote p:not(:first-child) {
    margin-top: 0;
    font-style: italic;
    color: #68348d;
    font-weight: bold;
}

.vp-content-body .testimonial-name blockquote p:first-of-type {
    color: #7c7c7c;
    font-weight: normal;
}

.vp-content-body blockquote cite,
.vp-content-body blockquote small {
    display: block;
    margin-top: var(--vp-spacing-small);
    font-style: normal;
    font-weight: bold;
    font-size: var(--vp-font-size-small);
    color: var(--vp-secondary-color);
}

/* Image captions */
.vp-content-body figcaption,
.vp-content-body .wp-caption-text {
    text-align: right;
    font-size: var(--vp-font-size-small);
    font-style: italic;
    color: #666;
    margin-top: 5px;
}

/* Lists */
.vp-content-body ul,
.vp-content-body ol {
    margin-bottom: 1em;
    padding-left: 2em;
}

.vp-content-body li {
    margin-bottom: 0.5em;
}

/* ----------------------------------------
   6. NAVIGATION SECTION
   ---------------------------------------- */
.es-employer-story-navigation {
    margin: var(--vp-spacing-large) 0;
    padding: var(--vp-spacing-medium) 0;
    border-top: 1px solid var(--vp-border-color);
    border-bottom: 1px solid var(--vp-border-color);
}

.es-nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.es-nav-button {
    flex: 0 0 30%;
    max-width: 30%;
    text-align: center;
}

.es-nav-previous {
    text-align: left;
}

.es-nav-next {
    text-align: right;
}

.es-nav-button a {
    display: inline;
    padding: .375rem .75rem;
    background-color: #f98e2b; /* Orange button */
    color: #fff;
    text-decoration: none;
    text-align: center;
	font-family: "Roboto Condensed", sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 25px;
    text-transform: uppercase;
    border: 1px solid transparent;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    line-height: 1.2;
}

.es-nav-button a:hover {
    background-color: rgba(255, 255, 255, 0.64); /* Semi-transparent white background on hover */
    color: #f98e2b; /* Orange text on hover */
    border: 1px solid #f98e2b; /* 1px orange border */
}

.empty-nav-button {
    display: inline-block;
    width: 100%;
    min-height: 60px;
}

/* ----------------------------------------
   7. VIEWPOINTS GRID LAYOUT
   ---------------------------------------- */
.vp-grid-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.vp-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.vp-grid-item {
    padding: 15px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

/* Column layouts */
.vp-columns-1 .vp-grid-item {
    width: 100%;
}

.vp-columns-2 .vp-grid-item {
    width: 50%;
}

.vp-columns-3 .vp-grid-item {
    width: 33.333%; /* Proper width for 3 columns */
}

.vp-columns-4 .vp-grid-item {
    width: 25%; /* Proper width for 4 columns */
}

.vp-grid-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.vp-grid-item-inner {
    background-color: #fff;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vp-grid-item-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.vp-grid-thumbnail {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding-top: 0px;
}

.vp-thumbnail {
    width: 350px;
    height: 350px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.vp-grid-content {
    padding: 20px 10px; /* Reduced horizontal padding to widen content space */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background-color: #20cbd4;
    background-image: url('/wp-content/uploads/2025/04/white-checkmark-2.png');
	background-repeat: no-repeat;
	background-position: bottom right;
	text-align: center;
}

.vp-grid-title {
    font-size: 1.313rem;
	font-weight: 700;
    margin-top: 0;
    color: #fff;
	min-height: 60px;
}

.vp-grid-divider {
	border-top: 1px solid white;
    width: 100%;
	opacity: 1;
	margin: 25px 0;
	text-align: center !important;
}

.vp-grid-excerpt {
    font-size: 1.2rem;
	font-weight: 400;
	color: #fff;
    line-height: 1.6;
    margin-top: 25px;
    font-style: normal;
	min-height: 140px;
}

/* Style the first paragraph in blockquote with gray color */
.vp-grid-excerpt blockquote p:first-child {
    color: #fff;
    font-weight: normal;
}

/* Style the second paragraph in blockquote with purple color and bold */
.vp-grid-excerpt blockquote p:last-child {
    color: #fff;
    font-weight: bold;
}

.vp-grid-excerpt p {
    margin-top: 0;
}

.vp-pagination {
    margin-top: 30px;
    text-align: center;
}

.vp-pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 3px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: var(--vp-primary-color, #002c5c);
}

.vp-pagination .page-numbers.current {
    background-color: var(--vp-primary-color, #002c5c);
    color: white;
    border-color: var(--vp-primary-color, #002c5c);
}

.vp-pagination .page-numbers:hover:not(.current) {
    background-color: #f5f5f5;
}

.vp-no-results {
    text-align: center;
    padding: 30px;
    font-size: 1.2rem;
    color: #666;
}

/* ----------------------------------------
   8. UTILITY CLASSES
   ---------------------------------------- */
.vp-text-center {
    text-align: center;
}

.vp-text-right {
    text-align: right;
}

.vp-margin-bottom-small {
    margin-bottom: var(--vp-spacing-small);
}

.vp-margin-bottom-medium {
    margin-bottom: var(--vp-spacing-medium);
}

.vp-margin-bottom-large {
    margin-bottom: var(--vp-spacing-large);
}

/* ----------------------------------------
   9. RESPONSIVE STYLES
   ---------------------------------------- */
/* Grid responsive styles */
@media (max-width: 992px) {
    .vp-columns-4 .vp-grid-item {
        width: 33.333%;
    }
}

@media (max-width: 768px) {
    .vp-columns-3 .vp-grid-item,
    .vp-columns-4 .vp-grid-item,
    .vp-columns-2 .vp-grid-item {
        width: 100%; /* On smaller screens, stack to single column */
    }
}

@media (max-width: 576px) {
    .vp-columns-2 .vp-grid-item,
    .vp-columns-3 .vp-grid-item,
    .vp-columns-4 .vp-grid-item {
        width: 100%;
    }
}

/* Single viewpoint responsive styles */
@media screen and (max-width: 991px) {
    .vp-bio-column,
    .vp-featured-image-column {
        padding: 0 15px;
    }

    .vp-content-body img.alignleft,
    .vp-content-body img.alignright {
        max-width: 50%;
    }
}

@media screen and (max-width: 767px) {
    .vp-content-heading {
        font-size: var(--vp-font-size-medium);
    }

    .vp-nav-button {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: var(--vp-spacing-small);
        text-align: center;
    }

    .vp-content-body blockquote {
        padding: var(--vp-spacing-small) var(--vp-spacing-medium);
    }

    .vp-content-body img.alignleft,
    .vp-content-body img.alignright {
        float: none;
        margin: var(--vp-spacing-medium) auto;
        display: block;
        max-width: 100%;
    }
}

@media screen and (max-width: 480px) {
    :root {
        --vp-font-size-large: 1.25rem;
        --vp-font-size-xlarge: 1.5rem;
    }

    .vp-viewpoint-header {
        margin-bottom: var(--vp-spacing-medium);
    }

    .vp-nav-button a {
        font-size: 18px;
        min-height: 50px;
    }

    .vp-bio-content,
    .vp-content-body {
        font-size: 0.95rem;
    }
}
