.affirmations {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 15px;
}

.affirmation {
    margin-bottom: 15px;
    padding: 10px;
    border-bottom: 1px solid #ccc;
}

.affirmation:last-child {
    border-bottom: none;
	  margin-bottom: 0px;
}
	
div#vp {
    margin-left: 200px;
}
	
/* Work Anniversaries */
	
.employee-anniversary {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
}
.employee-anniversary img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
}
.employee-anniversary h3 {
    margin: 0;
    font-size: 18px;
}
.employee-anniversary p {
    color: #888;
}
	

.anniversaries-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 20px; /* Spacing */
    justify-content: center;
}

.anniversary-card {
    text-align: center;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #fdfdfd;
}

.work-anniversaries-feed .employee-image {
    width: 120px;
    height: 120px;
    border-radius: 50%; /* Keeps it circular */
    object-fit: cover;
    border: 3px solid #5f93cd; /* Adds the border */
}

.work-anniversaries-feed h2 {
    color: #5f93cd; /* Title color */
    font-weight: bold;
}


.anniversary-card h3 {
    color: #5f93cd; /* Employee name color */
    font-weight: bold;
}

/* Employeee Perks */

.ep-widget-wrapper {
	max-width: 550px !important;
	background: none !important;
	border: none !important;
	border-radius: 8px;
	box-shadow: none !important; 
	padding: 20px;
	font-family: 'Segoe UI', sans-serif;
}

.ep-widget-inner {
	display: flex !important;
	align-items: flex-start !important;
}

.ep-widget-img {
	float: right;
	margin-left: 20px;
	border-radius: 4px;
	box-shadow: none !important;
	width: 180px !important;
	height: auto;
}

.ep-widget-content {
	flex-grow: 1;
}

.ep-teaser-title {
	font-size: 18px !important;
	font-weight: 600;
	color: #333;
	margin-top: 0;
	margin-bottom: 8px;
}

.ep-teaser-text {
	font-size: 14px;
	color: #555;
	margin-bottom: 12px;
	line-height: 1.5;
}

.ep-external-link {
	display: inline-block;
	font-size: 14px;
	color: #0073aa !important;
	text-decoration: none;
	margin-bottom: 10px;
}

.ep-external-link:hover {
	text-decoration: underline;
}

.ep-accordion-content-col a, .ep-accordion-content-col a:hover {
	color: #000;
	font-weight:bold;
}

.ep-more-perks-link {
	display: inline-block;
	background-color: #289a8b;
	color: #fff !important;
	padding: 7px 16px;
	border-radius: 18px;
	text-decoration: none!important;
	font-weight: 600;
	font-size: 14px;
	margin-top: 10px;
	transition: background-color 0.3s ease;
}

.ep-more-perks-link:hover {
	opacity: 0.9;
	background-color: #289a8b !important;
}

.ep-widget-heading {
	font-size: 14px !important;
	font-weight: 700;
	color: #6799c5 !important;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 16px;
	border-left: 4px solid #6799c5;
	display: inline-block;
	padding-left: 6px;
}

/* EP Archive */
.post-type-archive-employee_perk .site-content > .ast-container {
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 40px;
}



/* Accordion */

.ep-accordion {
max-width: 800px;
margin: 2rem auto;
padding: 0 1rem;
}

.ep-accordion-content {
  display: none ;
  padding: 1rem;
  background: #fafafa;
  border-top: 1px solid #ccc;
  transition: max-height 0.3s ease;

}
.ep-accordion-content.open {
  display: block;
}
.ep-accordion-toggle {
  width: 100%;
  padding: 1rem;
  font-weight: bold;
  background: #6f8e41;
  border: none;
  cursor: pointer;
  text-align: left;
}
.ep-accordion-toggle.active {
  background-color: #0056b3;
}

/*
.ep-accordion-img {
  margin-top: 1rem;
  max-width: 200px;
  height: auto;
}
*/


/* EP Single Post */

.single-employee_perk .site-content > .ast-container {
    max-width: 1000px;
	margin-top: 40px;
}

.single-employee_perk #content > div > main > article > p:nth-child(3) > a {
    display: none;
}

.single-employee-perk .ep-widget-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1rem;
  box-sizing: border-box;
  border: none;
  box-shadow: none;
  background: none;
}

.single-employee-perk .ep-teaser-title {
    font-size: 23px !important;
}

.ep-widget-heading {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
}

.ep-widget-inner {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.ep-widget-content {
  flex: 1;
  text-align: left;
}

.ep-teaser-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.ep-full-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.ep-external-link {
  font-weight: bold;
  display: inline-block;
  margin-bottom: 1rem;
}

.ep-more-perks-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #004f7a;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

.ep-more-perks-link:hover {
  background-color: #0073aa;
  text-decoration: none;
}


.ep-widget-img {
  max-width: 300px;
  height: auto;
  flex-shrink: 0;
}

/* Updated Accordion */

// #updated-accordion {
	display: none;
}

.employee-perks-archive h3.stk-block-heading__text.stk-block-heading--use-theme-margins
 {
    font-weight: 700;
	padding: 30px 0;
}

.employee-perks-archive .stk--inner-svg {
    background: #669AC5;
    border-radius: 15px;
    border: none;
    padding: 10px;
}

.stk--inner-svg svg:last-child:not(.ugb-custom-icon):not(.stk-custom-icon), .stk--inner-svg svg:last-child:not(.ugb-custom-icon):not(.stk-custom-icon) :is(g,path,rect,polygon,ellipse) {
    fill: #fff !important;
}

/*
span.stk--svg-wrapper.stk--has-icon2 {
    background: #669AC5;
    border-radius: 30px;
    border: none;
    padding: 10px;
}
*/

svg.svg-inline--fa.fa-plus path {
    fill: #fff !important;
}

/* Updated Accordion "Override" */

/* Icon and heading alignment */
.stk-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Ensure background circle shows */
.stk--shape-icon {
  display: block;
  width: 40px;
  height: 40px;
  fill: #669AC5; 
}

/* Padding inside content pane */
.stk-block-accordion__content {
  padding: 1.5rem 2rem;
  border-top: none;
}

/* Title spacing */
.stk-block-heading__text {
  margin: 0;
  font-size: 1.8823529411765rem;
}

/* Icon toggle fix – enable transitions */
details[open] .stk--icon-2 {
  display: block !important;
}
details[open] .svg-inline--fa.fa-plus {
  display: none !important;
}

main.employee-perks-archive {
    width: 100% !important;
}

svg.svg-inline--fa.fa-plus {
    width: 14px !important;
    height: 14px !important;
}

svg.svg-inline--fa.fa-minus {
    width: 14px !important;
    height: 14px !important;
}

details.wp-block-stackable-accordion.stk-block-accordion.is-style-plain {
    border-bottom: 1px solid #dfdad1;
}


.stk-block-accordion__content .stk-block-content {
  display: flex;
  /* flex-direction: row; */
  align-items: flex-start;
  /* gap: 1.5rem; */
  flex-wrap: wrap;
}

.stk-block-accordion__content .stk-block-content h5.wp-block-heading.alignfull {
	margin-top: 1.5em;
}


.stk-block-accordion__content img {
  max-width: 200px; 
  height: auto;
  margin-left: auto;
}

/* Two Columns */

.ep-accordion-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: flex-start;
}
.ep-accordion-content-col {
  flex: 1 1 60%;
  min-width: 280px;
}
.ep-accordion-image-col {
  flex: 0 1 220px;
  max-width: 240px;
}
.ep-accordion-img {
  width: 100%;
  height: auto;
  object-fit: contain;
}


.ep-stackable-accordion details:last-of-type {
  border-bottom: none !important;
}

.ep-stackable-accordion {
    margin-top: 20px;
    margin-bottom: 20px;
}


@media only screen and (max-width: 480px) {
	
h3.stk-block-heading__text.stk-block-heading--use-theme-margins {
    font-size: 1.2rem;
}
	
}

/* RSS Feed */

.welia-widget {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px;
}

.welia-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    overflow: hidden;
}

.welia-thumb img {
    width: 100%;
    height: auto;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.welia-item h4 {
    font-size: 1.1em;
    margin: 15px;
}

.welia-item a {
    color: #00508F;
    text-decoration: none;
}

.welia-date {
    font-size: 0.9em;
    color: #666;
    margin: 0 15px;
}

.welia-content {
    margin: 15px;
    font-size: 0.95em;
    line-height: 1.6;
}


/* RSS Feed (Updated) */

.welia-widget {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.welia-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    padding-bottom: 15px;
}

.welia-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.welia-item h4 {
    margin: 15px;
    font-size: 1.1em;
}

.welia-item a {
    color: #00508F;
    text-decoration: none;
}

.welia-date {
    font-size: 0.9em;
    color: #666;
    margin: 0 15px;
}

.welia-excerpt {
    margin: 15px;
    font-size: 0.95em;
    line-height: 1.6;
}

.welia-readmore {
    display: inline-block;
    margin-left: 15px;
    padding: 6px 12px;
    background-color: #00508F;
    color: #fff;
    font-size: 0.9em;
    text-decoration: none;
    border-radius: 4px;
}


/* RSS Feed Updated 1 */

.welia-widget {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
}

.welia-card {
  display: flex;
  align-items: center;
  background: #f8f8f8;
  padding: 0;
}

.welia-image {
  max-width: 100px;
  height: 100px;
  object-fit: cover;
  margin-right: 1.5rem;
  /* Keep sharp corners — no border-radius here */
}

.welia-text {
  font-size: 1.3rem;
  font-weight: 700;
  text-align: left;
  padding-right: 14px;
}