/*

TemplateMo 581 Kind Heart Charity

https://templatemo.com/tm-581-kind-heart-charity

*/



@font-face {
    font-family: 'Metropolis';
    src: url('../fonts/Metropolis/Metropolis-Regular.woff2') format('woff2'),
        url('../fonts/Metropolis/Metropolis-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Metropolis';
    src: url('../fonts/Metropolis/Metropolis-Light.woff2') format('woff2'),
        url('../fonts/Metropolis/Metropolis-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Metropolis';
    src: url('../fonts/Metropolis/Metropolis-SemiBold.woff2') format('woff2'),
        url('../fonts/Metropolis/Metropolis-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Metropolis';
    src: url('../fonts/Metropolis/Metropolis-Bold.woff2') format('woff2'),
        url('../fonts/Metropolis/Metropolis-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
  --white-color:                  #ffffff;
  --primary-color:                #b10d5c;
  --secondary-color:              #7d1f47;
  --accent-color:                 #d38a1f;
  --accent-soft-color:            #f05d4d;
  --section-bg-color:             #fff7f1;
  --site-footer-bg-color:         #621135;
  --custom-btn-bg-color:          #d38a1f;
  --custom-btn-bg-hover-color:    #f05d4d;
  --dark-color:                   #3b1020;
  --p-color:                      #7b5e63;
  --border-color:                 #f2ddd0;

  --body-font-family:             'Metropolis', sans-serif;

  --h1-font-size:                 52px;
  --h2-font-size:                 46px;
  --h3-font-size:                 32px;
  --h4-font-size:                 28px;
  --h5-font-size:                 24px;
  --h6-font-size:                 22px;
  --p-font-size:                  16px;
  --btn-font-size:                18px;
  --copyright-font-size:          14px;

  --border-radius-large:          100px;
  --border-radius-medium:         20px;
  --border-radius-small:          10px;

  --font-weight-light:            300;
  --font-weight-normal:           400;
  --font-weight-semibold:         600;
  --font-weight-bold:             700;
}

body {
  background-color: #fffdfb;
  font-family: var(--body-font-family); 
}


/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-semibold);
  letter-spacing: -1px;
}

h1 {
  font-size: var(--h1-font-size);
  font-weight: var(--font-weight-bold);
  letter-spacing: -2px;
}

h2 {
  color: var(--secondary-color);
  font-size: var(--h2-font-size);
  letter-spacing: -2px;
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  color: var(--primary-color);
  font-size: var(--h5-font-size);
}

h6 {
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
}

ul li {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
}

a, 
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  color: var(--p-color);
  text-decoration: none;
}

a:hover {
  color: var(--primary-color);
}

b,
strong {
  font-weight: var(--font-weight-bold);
}


/*---------------------------------------
  SECTION               
-----------------------------------------*/
.section-padding {
  padding-top: 100px;
  padding-bottom: 100px;
}

.section-bg {
  background-color: var(--section-bg-color);
}

.section-overlay {
  background: rgba(0, 0, 0, 0.35);
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.section-overlay + .container {
  position: relative;
}


/*---------------------------------------
  CUSTOM BLOCK               
-----------------------------------------*/
.custom-block-wrap {
  background: var(--white-color);
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.custom-block-wrap:hover {
  box-shadow: 0 1rem 3rem rgba(125, 31, 71, 0.16);
  transform: translateY(-10px);
}

.custom-block-body {
  padding: 30px;
}

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

.custom-block .custom-btn {
  border-radius: 0;
  display: block;
}


/*---------------------------------------
  PROGRESS BAR               
-----------------------------------------*/
.progress {
  background: var(--border-color);
  height: 5px;
}

.progress-bar {
  background: var(--secondary-color);
}


/*---------------------------------------
  CUSTOM ICON COLOR               
-----------------------------------------*/
.custom-icon {
  color: var(--secondary-color);
}


/*---------------------------------------
  CUSTOM LIST               
-----------------------------------------*/
.custom-list {
  margin-bottom: 0;
  padding-left: 0;
}

.custom-list-item {
  list-style: none;
  margin-top: 10px;
  margin-bottom: 10px;
}


/*---------------------------------------
  CUSTOM TEXT BOX               
-----------------------------------------*/
.custom-text-box {
  background: var(--white-color);
  box-shadow: 0 18px 40px rgba(125, 31, 71, 0.08);
  border-radius: var(--border-radius-medium);
  margin-bottom: 24px;
  padding: 40px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.custom-text-box-image {
  border-radius: var(--border-radius-medium);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-text-box-icon {
  background: var(--section-bg-color);
  border-radius: var(--border-radius-large);
  color: var(--secondary-color);
  font-size: var(--h6-font-size);
  text-align: center;
  display: inline-block;
  vertical-align: middle;
  width: 25px;
  height: 25px;
  line-height: 30px;
}


/*---------------------------------------
  AVATAR IMAGE - TESTIMONIAL, AUTHOR               
-----------------------------------------*/
.avatar-image {
  border-radius: var(--border-radius-large);
  width: 65px;
  height: 65px;
  object-fit: cover;
}


/*---------------------------------------
  CUSTOM BUTTON               
-----------------------------------------*/
.custom-btn {
  background: var(--secondary-color);
  border: 2px solid transparent;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-normal);
  line-height: normal;
  padding: 15px 25px;
}

.navbar-expand-lg .navbar-nav .nav-link.custom-btn {
  color: var(--custom-btn-bg-color);
  margin-top: 8px;
  padding: 12px 25px;
}

.custom-btn:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

.custom-border-btn {
  background: transparent;
  border: 2px solid var(--custom-btn-bg-color);
  color: var(--primary-color);
}

.navbar-expand-lg .navbar-nav .nav-link.custom-btn:hover,
.custom-border-btn:hover {
  background: var(--custom-btn-bg-hover-color);
  border-color: transparent;
  color: var(--white-color);
}


/*---------------------------------------
  NAVIGATION              
-----------------------------------------*/
.navbar {
  background: var(--white-color);
  z-index: 9;
  padding-top: 8px;
  padding-bottom: 8px;
}

.navbar-brand {
  color: var(--primary-color);
  display: flex;
  align-items: center;
  font-size: var(--h6-font-size);
  font-weight: var(--font-weight-bold);
}

.navbar-brand span {
  display: inline-block;
  vertical-align: middle;
}

.navbar-brand small {
  color: var(--secondary-color);
  display: block;
  font-size: 10px;
  line-height: normal;
  text-transform: uppercase;
}

.logo {
  width: 80px;
  height: auto;
}

.logo-frame {
  display: inline-flex;
  align-items: center;
  height: 56px;
  overflow: hidden;
  width: 180px;
}

.logo-navbar {
  height: 56px;
  margin-top: 10px;
  object-fit: contain;
  object-position: center;
  width: auto;
  max-width: none;
  transform: scale(2.5);
  transform-origin: left center;
}

.logo-footer {
  height: 120px;
  object-fit: cover;
  object-position: center;
  width: 260px;
}

.navbar-expand-lg .navbar-nav .nav-link {
  margin-right: 0;
  margin-left: 0;
  padding: 20px;
}

.navbar-nav .nav-link {
  display: inline-block;
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-medium);
  position: relative;
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar-nav .nav-link.active, 
.navbar-nav .nav-link:hover {
  background: transparent;
  color: var(--primary-color);
}

.dropdown-menu {
  background: var(--white-color);
  box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
  border: 0;
  max-width: 50px;
  padding: 0;
  margin-top: 20px;
}

.dropdown-item {
  display: inline-block;
  color: var(--p-bg-color);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
  position: relative;
  padding-top: 10px;
  padding-bottom: 10px;
}

.dropdown-menu li:last-child .dropdown-item {
  padding-top: 0;
}

.dropdown-item.active, 
.dropdown-item:active,
.dropdown-item:focus, 
.dropdown-item:hover {
  background: transparent;
  color: var(--primary-color);
}

.dropdown-toggle::after {
  content: "\f282";
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-size: var(--copyright-font-size);
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -.125em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  left: 2px;
  border: 0;
}

@media screen and (min-width: 992px) {
  .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--dark-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--dark-color);
  width: 30px;
  height: 2px;
  content: '';
}

.navbar-toggler .navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
  top: 8px;
}


/*---------------------------------------
  SITE HEADER              
-----------------------------------------*/
.site-header {
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
  padding-top: 15px;
  padding-bottom: 10px;
}

.site-header p,
.site-header p a,
.site-header .social-icon-link {
  color: var(--white-color);
  font-size: var(--copyright-font-size);
}

.site-header .social-icon {
  text-align: right;
}

.site-header .social-icon-link {
  background: transparent;
  width: inherit;
  height: inherit;
  line-height: inherit;
  margin-right: 15px;
}


/*---------------------------------------
  HERO & HERO SLIDE         
-----------------------------------------*/
.hero-section-full-height {
  height: 680px;
  min-height: 680px;
  position: relative;
}

.carousel:hover .carousel-control-next-icon, 
.carousel:hover .carousel-control-prev-icon {
  opacity: 1;
}

#hero-slide .carousel-item {
  height: 680px;
  min-height: 680px;
}

#hero-slide .carousel-caption {
  background: var(--white-color);
  clip-path: polygon(100% 100%, 100% 150px, 0 100%);
  color: var(--secondary-color);
  top: 1px;
  bottom: -1px;
  right: 0;
  left: auto;
  text-align: right;
  min-width: 680px;
  min-height: 680px;
  padding: 90px 80px 44px 80px;
}

#hero-slide .carousel-caption h1 {
  font-size: 42px;
  line-height: 1.15;
  margin-bottom: 16px;
}

#hero-slide .carousel-caption p {
  font-size: 16px;
  line-height: 1.6;
  margin-left: auto;
  max-width: 520px;
}

.carousel-image {
  display: block;
  width: 100%;
  min-height: 680px;
}

.carousel-image-zoom-out {
  object-fit: contain;
  background: linear-gradient(135deg, rgba(255, 247, 241, 0.96), rgba(248, 231, 214, 0.96));
  padding: 18px 0 0;
}

#hero-slide .carousel-indicators-wrap {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
}

#hero-slide .carousel-indicators {
  margin-right: 0;
  margin-left: 22px;
  justify-content: inherit;
}

.carousel-control-next, 
.carousel-control-prev {
  opacity: 1;
}

.carousel-control-next-icon, 
.carousel-control-prev-icon {
  background-color: var(--secondary-color);
  border-radius: var(--border-radius-large);
  background-size: 60% 60%;
  width: 80px;
  height: 80px;
  opacity: 0;
  transition: all 0.5s;
}

.carousel-control-next-icon:hover, 
.carousel-control-prev-icon:hover {
  background-color: var(--primary-color);
}


/*---------------------------------------
  FEATURE BLOCK              
-----------------------------------------*/
.featured-block {
  text-align: center;
  transition: all 0.5s ease;
  min-height: 256px;
  padding: 15px;
}

.featured-block:hover {
  background: var(--white-color);
  border-radius: var(--border-radius-medium);
  box-shadow: 0 1rem 3rem rgba(125, 31, 71, 0.14);
  transform: translateY(-8px);
}

.featured-block:hover .featured-block-image {
  transform: scale(0.75);
}

.featured-block-image {
  display: block;
  margin: auto;
  transition: all 0.5s;
}

.featured-block:hover .featured-block-text {
  margin-top: 0;
}

.featured-block-text {
  color: var(--primary-color);
  font-size: var(--h5-font-size);
  margin-top: 20px;
  transition: all 0.5s;
}

.custom-text-box:hover {
  box-shadow: 0 22px 50px rgba(177, 13, 92, 0.12);
  transform: translateY(-6px);
}

.reveal-card {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease, box-shadow 0.35s ease;
  will-change: opacity, transform;
}

.reveal-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/*---------------------------------------
  ABOUT              
-----------------------------------------*/
.about-section {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.about-image {
  border-radius: var(--border-radius-medium);
  display: block;
  width: 350px;
  height: 400px;
  object-fit: cover;
}

.custom-text-block {
  padding: 60px 40px;
}


/*---------------------------------------
  COUNTER NUMBERS              
-----------------------------------------*/
.counter-thumb {
  margin: 20px;
  margin-bottom: 0;
}

.counter-number,
.counter-text {
  color: var(--secondary-color);
  display: block;
}

.counter-number,
.counter-number-text {
  color: var(--primary-color);
  font-size: var(--h1-font-size);
  font-weight: var(--font-weight-bold);
  line-height: normal;
}


/*---------------------------------------
  VOLUNTEER              
-----------------------------------------*/
.volunteer-section {
  background: var(--secondary-color);
  position: relative;
  overflow: hidden;
}

.volunteer-section::after {
  content: "";
  background: var(--primary-color);
  border-radius: 50%;
  position: absolute;
  bottom: -110px;
  right: -80px;
  width: 350px;
  height: 350px;
}

.volunteer-form {
  background: var(--white-color);
  border-radius: var(--border-radius-medium);
  padding: 50px;
}

.volunteer-image {
  border-radius: 100%;
  display: block;
  margin: auto;
  width: 300px;
  height: 300px;
  object-fit: cover;
}

.volunteer-section .custom-block-body {
  max-width: 440px;
  margin: 0 auto;
}

.volunteer-section .custom-block-body p {
  line-height: 1.7;
}

.volunteer-carousel {
  position: relative;
  z-index: 1;
}

.volunteer-section-head {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 26px;
}

.volunteer-section-head h2 {
  flex: 0 0 auto;
}

.volunteer-slide-card {
  align-items: center;
  min-height: 500px;
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.volunteer-slide-card .custom-block-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 430px;
}

.volunteer-carousel .carousel-item.active .volunteer-slide-card,
.volunteer-carousel .carousel-item.carousel-item-start .volunteer-slide-card,
.volunteer-carousel .carousel-item.carousel-item-end .volunteer-slide-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.volunteer-role {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.volunteer-highlight {
  color: #ffd38f !important;
  font-weight: var(--font-weight-semibold);
}

.volunteer-carousel-controls {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 0;
  width: auto;
}

.volunteer-carousel-control {
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: var(--white-color);
  display: inline-flex;
  height: 48px;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
  width: 48px;
}

.volunteer-carousel-control:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white-color);
  transform: translateY(-2px);
}

.volunteer-indicators {
  align-items: center;
  display: flex;
  gap: 10px;
  margin: 0;
  position: static;
  width: auto;
}

.volunteer-indicators [data-bs-target] {
  background: rgba(255, 255, 255, 0.35);
  border: 0;
  border-radius: 999px;
  height: 10px;
  margin: 0;
  opacity: 1;
  width: 10px;
}

.volunteer-indicators .active {
  background: #ffd38f;
  width: 34px;
}

.volunteer-read-more {
  white-space: nowrap;
}

.volunteer-grid-page {
  background:
    radial-gradient(circle at top left, rgba(240, 93, 77, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 247, 241, 0.92), #fff);
}

.volunteer-masonry {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.volunteer-column {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.volunteer-grid-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(177, 13, 92, 0.08);
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(98, 17, 53, 0.08);
  display: block;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.volunteer-grid-card:hover {
  box-shadow: 0 24px 48px rgba(98, 17, 53, 0.12);
  transform: translateY(-6px);
}

.volunteer-grid-media {
  background: linear-gradient(135deg, rgba(177, 13, 92, 0.08), rgba(211, 138, 31, 0.16));
  overflow: hidden;
}

.volunteer-tile-tall .volunteer-grid-media {
  aspect-ratio: 4 / 5.4;
}

.volunteer-tile-medium .volunteer-grid-media {
  aspect-ratio: 4 / 4.6;
}

.volunteer-tile-square .volunteer-grid-media {
  aspect-ratio: 1 / 1;
}

.volunteer-tile-wide .volunteer-grid-media {
  aspect-ratio: 4 / 3.4;
}

.volunteer-grid-image {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.volunteer-grid-body {
  padding: 20px 18px 22px;
}

.volunteer-grid-role {
  color: var(--primary-color);
  font-size: 12px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.volunteer-grid-card h4 {
  color: var(--secondary-color);
  font-size: 22px;
  margin-bottom: 8px;
}

.volunteer-grid-highlight {
  color: #8f6a13;
  font-weight: var(--font-weight-semibold);
  margin-bottom: 12px;
}

.volunteer-grid-description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 14px;
  overflow: hidden;
}

.volunteer-grid-points .custom-list-item {
  font-size: 14px;
  margin-bottom: 10px;
}

@media screen and (max-width: 991px) {
  .volunteer-masonry {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width: 767px) {
  .volunteer-masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 575px) {
  .volunteer-masonry {
    grid-template-columns: 1fr;
  }
}


/*---------------------------------------
  DONATE              
-----------------------------------------*/
.donate-section {
  background-image: url('../images/different-people-doing-volunteer-work.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  padding-top: 150px;
  padding-bottom: 150px;
}

.donate-form {
  background: var(--white-color);
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  padding: 50px;
}


/*---------------------------------------
  NEWS         
-----------------------------------------*/
.news-detail-header-section {
  background-image: url('../images/news/close-up-volunteer-oganizing-stuff-donation.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  padding-top: 150px;
  padding-bottom: 150px;
}

.news-block-top {
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
}

.news-block-two-col-image-wrap {
  border-radius: var(--border-radius-small);
  position: relative;
  overflow: hidden;
  width: 150px;
  margin-right: 20px;
}

.news-category-block {
  background: var(--secondary-color);
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 10px 20px;
}

.news-category-block .category-block-link {
  color: var(--white-color);
  margin-right: 10px;
}

.news-block-info {
  padding-top: 10px;
  padding-bottom: 10px;
}

.news-block-title-link {
  color: var(--dark-color);
}

.news-detail-image {
  display: block;
  border-radius: var(--border-radius-medium);
}

blockquote {
  background: var(--section-bg-color);
  border-radius: var(--border-radius-small);
  font-size: var(--h5-font-size);
  font-weight: var(--font-weight-semibold);
  color: var(--site-footer-bg-color);
  margin-top: 30px;
  margin-bottom: 30px;
  padding: 90px 50px 50px 50px;
  text-align: center;
}

blockquote::before {
  content: "“";
  color: var(--custom-btn-bg-color);
  font-size: 100px;
  line-height: 1rem;
  display: block;
}

.author-comment-link {
  font-size: var(--copyright-font-size);
  font-weight: var(--font-weight-semibold);
}

.search-form {
  margin-top: 20px;
}

.category-block,
.subscribe-form {
  margin-top: 40px;
  margin-bottom: 40px;
}

.category-block-link {
  font-size: var(--copyright-font-size);
  margin-top: 5px;
  margin-bottom: 5px;
}

.category-block-link:hover {
  color: var(--primary-color);
}

.badge {
  background: var(--secondary-color);
  border-radius: var(--border-radius-medium);
  font-weight: var(--font-weight-normal);
  line-height: normal;
  padding-bottom: 2px;
}

.tags-block-link {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-medium);
  display: inline-block;
  font-size: var(--copyright-font-size);
  line-height: normal;
  margin-right: 10px;
  margin-top: 5px;
  margin-bottom: 5px;
  padding: 8px 15px;
}

.tags-block-link:hover {
  border-color: var(--dark-color);
  color: var(--dark-color);
}

.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  background-color: var(--primary-color);
  border-radius: 50%;
  position: absolute;
  top: -100px;
  left: -30px;
  margin: auto;
  width: 200px;
  height: 200px;
}

.cta-section::after {
  content: "";
  border: 20px solid var(--custom-btn-bg-color);
  border-radius: 50%;
  position: absolute;
  bottom: -100px;
  right: 0;
  left: 0;
  margin: auto;
  width: 150px;
  height: 150px;
}


/*---------------------------------------
  TESTIMONIAL CAROUSEL              
-----------------------------------------*/
.testimonial-section {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.testimonial-section::before {
  content: "";
  background-color: var(--primary-color);
  border-radius: 50%;
  position: absolute;
  top: -100px;
  left: -30px;
  margin: auto;
  width: 250px;
  height: 250px;
}

.testimonial-section::after {
  content: "";
  background: var(--custom-btn-bg-color);
  border-radius: 50%;
  position: absolute;
  bottom: -110px;
  right: -80px;
  width: 350px;
  height: 350px;
}

#testimonial-carousel .carousel-caption {
  position: relative;
  right: 0;
  bottom: 0;
  left: 0;
}

#testimonial-carousel .carousel-title {
  background: var(--section-bg-color);
  line-height: normal;
  margin-bottom: 30px;
}

#testimonial-carousel .carousel-title::before {
  content: open-quote;
  color: var(--p-color);
  font-size: var(--h1-font-size);
  position: relative;
  top: 10px;
  right: 10px;
}

#testimonial-carousel .carousel-title::after {
  content: close-quote;
  color: var(--p-color);
  font-size: var(--h1-font-size);
  position: relative;
  top: 10px;
  left: 10px;
}

#testimonial-carousel .carousel-title {
  quotes: "“" "”" "‘" "’";
}

#testimonial-carousel .carousel-name {
  background: var(--primary-color);
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  padding: 10px 20px;
}

#testimonial-carousel .carousel-name::before {
  content: "";
  position: absolute;
  top: -10px;
  right: 0;
  left: 0;
  width: 0;
  height: 0;
  margin: auto;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid var(--primary-color);
}

.carousel-name-title {
  font-weight: var(--font-weight-semibold);
}

#testimonial-carousel .carousel-indicators {
  position: relative;
  top: 150px;
  bottom: auto;
  margin-top: 50px;
  margin-bottom: 150px;
}

#testimonial-carousel .carousel-indicators li {
  text-indent: inherit;
  background: transparent;
  margin: 0 10px; 
}

#testimonial-carousel .carousel-indicators li,
#testimonial-carousel .carousel-indicators li::before {
  width: 45px;
  height: 45px; 
}

#testimonial-carousel .carousel-indicators .avatar-image {
  width: 45px;
  height: 45px; 
}

#testimonial-carousel .carousel-indicators .active,
#testimonial-carousel .carousel-indicators .active .avatar-image {
  background: transparent;
  width: 50px; 
  height: 50px;
}


/*---------------------------------------
  CONTACT               
-----------------------------------------*/
.contact-section {
  background: var(--white-color);
}

.contact-form {
  background: var(--section-bg-color);
  border-radius: var(--border-radius-small);
  padding: 40px;
}

.contact-info-wrap {
  padding-top: 40px;
}

.contact-image-wrap {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: 20px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  width: 100%;
}


/*---------------------------------------
  CUSTOM FORM               
-----------------------------------------*/
.custom-form .form-control,
.input-group-file {
  background-color: var(--section-bg-color);
  box-shadow: none;
  border: 0;
  color: var(--p-color);
  margin-bottom: 24px;
  padding-top: 13px;
  padding-bottom: 13px;
  outline: none;
}

.custom-form .form-control:hover,
.custom-form .form-control:focus {
  border-color: var(--secondary-color);
}

.custom-form label {
  margin-bottom: 10px;
}

.custom-form .form-check-group {
  margin-bottom: 20px;
}

.donate-form .form-check-group-donation-frequency {
  padding-right: 0;
}

.form-check-group-donation-frequency + .form-check-group-donation-frequency {
  padding-right: 12px;
  padding-left: 0;
}

.form-check-group-donation-frequency .form-check-label {
  font-weight: var(--font-weight-semibold);
}

#DonationFrequencyOne {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

#DonationFrequencyMonthly {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.custom-form .form-check-radio {
  position: relative;
  height: 100%;
  padding-left: 0;
}

.custom-form .input-group-text {
  background: var(--secondary-color);
  border: 0;
  color: var(--white-color);
}

.custom-form .form-check-radio .form-check-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.form-check-radio .form-check-input[type=radio] {
  background-color: var(--section-bg-color);
  border-radius: .25rem;
  border: 0;
  box-shadow: none;
  outline: none;
  width: 100%;
  margin-top: 0;
  margin-left: 0;
  padding: 25px 50px;
  transition: all 0.5s;
}

.form-check-radio .form-check-input:checked[type=radio] {
  background-image: none;
}

.form-check-radio .form-check-input:checked[type=radio] + .form-check-label,
.form-check-radio .form-check-input:hover + .form-check-label,
.form-check-radio .form-check-input:checked + .form-check-label {
  color: var(--white-color);
}

.form-check-radio .form-check-input:hover,
.form-check-radio .form-check-input:checked {
  background-color: var(--secondary-color);
  border-color: var(--white-color);
}

.input-group-file {
  border-radius: .25rem;
  padding: 13px .75rem;
}

.input-group-file input[type=file] {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
  padding: 0;
}

.input-group-file .input-group-text {
  background: transparent;
  color: inherit;
  margin-bottom: 0;
  padding: 0;
}

.custom-form button[type="submit"] {
  background: var(--custom-btn-bg-color);
  border: none;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-semibold);
  transition: all 0.3s;
  margin-bottom: 0;
}

.custom-form button[type="submit"]:hover,
.custom-form button[type="submit"]:focus {
  background: var(--custom-btn-bg-hover-color);
  border-color: transparent;
}


/*---------------------------------------
  CONTACT SEARCH & DONATE & SUBCRIBE FORM              
-----------------------------------------*/
.contact-form .form-control {
  background: var(--white-color);
}

.search-form {
  position: relative;
}

.search-form .form-control {
  padding-right: 50px;
}

.search-form button[type="submit"] {
  background: transparent;
  position: absolute;
  top: 0;
  right: 0;
  color: var(--p-color);
  width: 50px;
  padding: 12px;
}

.search-form button[type="submit"]:hover {
  background: transparent;
  color: var(--dark-color);
}

.subscribe-form {
  background: var(--section-bg-color);
  border-radius: var(--border-radius-small);
  padding: 30px;
}

.subscribe-form .form-control {
  background: var(--white-color);
}

.donate-form .form-control {
  margin-bottom: 0;
}


/*---------------------------------------
  SITE FOOTER              
-----------------------------------------*/
.site-footer {
  background-color: var(--site-footer-bg-color);
  padding-top: 70px;
}

.site-footer-bottom {
  background-color: var(--secondary-color);
  position: relative;
  z-index: 2;
  margin-top: 70px;
  padding-top: 25px;
  padding-bottom: 25px;
}

.site-footer-bottom a {
	color: var(--white-color);
}

.site-footer-bottom a:hover {
	color: #FF6;
}

.site-footer-link {
  color: var(--white-color);
}

.copyright-text {
  color: var(--section-bg-color);
  font-size: var(--copyright-font-size);
  margin-right: 30px;
}

.site-footer .custom-btn {
  font-size: var(--copyright-font-size);
}

.site-footer .custom-btn:hover {
  background: var(--primary-color);
}


/*---------------------------------------
  FOOTER MENU               
-----------------------------------------*/
.footer-menu {
  column-count: 2;
  margin: 0;
  padding: 0;
}

.footer-menu-item {
  list-style: none;
  display: block;
}

.footer-menu-link {
  font-size: var(--p-font-size);
  color: var(--white-color);
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
  margin-bottom: 5px;
}


/*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
.social-icon {
  margin: 0;
  padding: 0;
}

.social-icon-item {
  list-style: none;
  display: inline-block;
  vertical-align: top;
}

.social-icon-link {
  background: var(--site-footer-bg-color);
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--copyright-font-size);
  display: block;
  margin-right: 5px;
  text-align: center;
  width: 35px;
  height: 35px;
  line-height: 38px;
}

.social-icon-link:hover {
  background: var(--primary-color);
  color: var(--white-color);
}


/*---------------------------------------
  RESPONSIVE STYLES               
-----------------------------------------*/
@media screen and (min-width: 1600px) {
  .featured-block {
    min-height: inherit;
  }

  .volunteer-section::after {
    width: 450px;
    height: 450px;
  }
  
  .volunteer-image {
    width: 350px;
    height: 350px;
  }
}

@media screen and (max-width: 1170px) {
  #hero-slide .carousel-image {
    height: 100%;
    object-fit: cover;
  }

  #hero-slide .carousel-image-zoom-out {
    object-fit: contain;
    padding-top: 12px;
  }
}

@media screen and (max-width: 991px) {
  .logo-frame {
    height: 48px;
    width: 150px;
  }

  .logo-navbar {
    height: 48px;
    margin-top: 6px;
    transform: scale(2.1);
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 32px;
  }

  h4 {
    font-size: 28px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 18px;
  }

  .section-padding {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .hero-form {
    padding-bottom: 40px;
  }

  .donate-form {
    padding: 35px;
  }

  .navbar {
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .navbar-expand-lg .navbar-nav {
    padding-bottom: 30px;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 8px 20px;
  }

  .site-header .social-icon {
    text-align: left;
    margin-top: 5px;
  }

  .hero-section-full-height {
    height: inherit;
  }

  .carousel:hover .carousel-control-next-icon, 
  .carousel:hover .carousel-control-prev-icon {
    opacity: 1;
  }

  #hero-slide .carousel-item {
    height: inherit;
  }

  .carousel-control-prev {
    left: 12px;
  }

  .carousel-control-next {
    right: 12px;
  }

  .carousel-control-next-icon, 
  .carousel-control-prev-icon {
    opacity: 1;
    width: 60px;
    height: 60px;
  }

  .news-detail-header-section {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .cta-section::before {
    width: 150px;
    height: 150px;
  }

  .cta-section::after {
    bottom: -60px;
    width: 100px;
    height: 100px;
  }

  .cta-section .row {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .volunteer-section::after {
    width: 300px;
    height: 300px;
  }

  .testimonial-section::before {
    width: 150px;
    height: 150px;
  }

  .testimonial-section::after {
    width: 200px;
    height: 200px;
  }

  #testimonial-carousel .carousel-caption {
    padding-top: 0;
  }

  blockquote {
    padding: 70px 30px 30px 30px;
  }

  .about-image {
    width: inherit;
    height: 450px;
  }

  .volunteer-image {
    width: 250px;
    height: 250px;
    margin: 0;
  }

  .custom-text-block {
    padding: 20px 0 0 0;
  }

  .custom-text-box,
  .volunteer-form {
    padding: 30px;
  }

  .counter-number, 
  .counter-number-text {
    font-size: var(--h2-font-size);
  }

  .contact-info-wrap {
    padding-top: 0;
  }

  .site-footer {
    padding-top: 50px;
  }

  .copyright-text-wrap {
    justify-content: center;
  }

  .site-footer-bottom {
    text-align: center;
    margin-top: 50px;
  }

  .site-footer-bottom .footer-menu {
    margin-top: 10px;
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 580px) {
  .hero-section-full-height,
  #hero-slide .carousel-item,
  .carousel-image {
    min-height: 520px;
  }

  .carousel-image-zoom-out {
    padding-top: 8px;
  }

  #hero-slide .carousel-caption {
    clip-path: polygon(100% 100%, 100% 100px, 0 100%);
    padding-right: 50px;
    padding-left: 40px;
    min-width: inherit;
    min-height: inherit;
  }

  #hero-slide .carousel-caption h1 {
    font-size: 32px;
  }
}

@media screen and (max-width: 480px) {
  .logo-frame {
    height: 42px;
    width: 126px;
  }

  .logo-navbar {
    height: 42px;
    margin-top: 4px;
    transform: scale(1.9);
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 26px;
  }

  h4 {
    font-size: 22px;
  }

  h5 {
    font-size: 20px;
  }

  #hero-slide .carousel-caption {
    min-width: inherit;
    padding-bottom: 30px;
  }

  #hero-slide .carousel-caption h1 {
    font-size: 28px;
  }

  #hero-slide .carousel-caption p {
    font-size: 14px;
  }

  .carousel-control-next-icon, 
  .carousel-control-prev-icon {
    width: 45px;
    height: 45px;
  }

  .volunteer-image {
    width: 150px;
    height: 150px;
  }

  .volunteer-section::after {
    width: 200px;
    height: 200px;
  }

  .testimonial-section::before {
    top: -50px;
    width: 100px;
    height: 100px;
  }

  .testimonial-section::after {
    bottom: -150px;
    width: 200px;
    height: 200px;
  }

  .social-share .tags-block {
    margin-bottom: 10px;
  }

  .donate-form {
    padding: 25px;
  }
}

.hero-badge {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-soft-color));
  border-radius: 999px;
  color: var(--white-color);
  display: inline-block;
  font-size: 14px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  padding: 10px 18px;
  text-transform: uppercase;
}

.section-lead {
  font-size: 18px;
  line-height: 1.8;
  margin-left: auto;
  margin-right: auto;
  max-width: 860px;
}

.mission-box,
.contact-action-box,
.founder-message {
  height: 100%;
}

.about-top-row {
  margin-bottom: 28px;
}

.about-hero-image {
  animation: aboutImageFloat 4.2s ease-in-out infinite;
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(125, 31, 71, 0.16);
  transform-origin: center;
}

.about-card {
  overflow: hidden;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.about-card::before {
  background: linear-gradient(135deg, rgba(240, 93, 77, 0.08), rgba(211, 138, 31, 0));
  content: "";
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 0.35s ease;
}

.about-card:hover {
  box-shadow: 0 30px 58px rgba(125, 31, 71, 0.18);
  transform: translateY(-12px) scale(1.01);
}

.about-card:hover::before {
  opacity: 1;
}

.about-card-intro {
  animation: aboutCardRise 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}

.about-card-vision {
  animation: aboutCardRise 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}

.about-card-mission {
  animation: aboutCardRise 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

@keyframes aboutCardRise {
  from {
    opacity: 0;
    transform: translateY(34px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes aboutImageFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px) scale(1.015);
  }
}

.focus-card .custom-block-body {
  min-height: 220px;
}

.program-list .custom-list-item,
.contact-action-box .custom-list-item,
.mission-box .custom-list-item {
  margin-bottom: 14px;
}

.mission-box .custom-list-item {
  align-items: flex-start;
  gap: 8px;
  overflow-wrap: break-word;
}

.mission-box .custom-text-box-icon {
  flex: 0 0 25px;
}

@media screen and (min-width: 992px) {
  .mission-box .custom-list-item {
    font-size: 15px;
    white-space: normal;
  }
}

.involvement-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.involvement-links .custom-btn {
  margin-right: 0;
  min-width: 0;
}

@media screen and (min-width: 768px) {
  .involvement-links .custom-btn {
    flex: 0 0 calc(50% - 7px);
    text-align: center;
  }
}

.founder-message {
  background: linear-gradient(135deg, rgba(177, 13, 92, 0.12), rgba(211, 138, 31, 0.18));
}

.founder-carousel {
  padding-bottom: 64px;
}

.founder-carousel .carousel-inner {
  overflow: visible;
}

.founder-indicators {
  bottom: 0;
  margin-bottom: 0;
}

.founder-indicators [data-bs-target] {
  background-color: rgba(177, 13, 92, 0.35);
  border: 0;
  border-radius: 999px;
  height: 10px;
  margin: 0 6px;
  width: 10px;
}

.founder-indicators .active {
  background-color: var(--primary-color);
  width: 34px;
}

.founder-control {
  align-items: center;
  justify-content: center;
  opacity: 1;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
}

.founder-control.carousel-control-prev {
  left: 20px;
}

.founder-control.carousel-control-next {
  right: 20px;
}

.founder-control .carousel-control-prev-icon,
.founder-control .carousel-control-next-icon {
  background-color: rgba(177, 13, 92, 0.9);
  background-size: 46% 46%;
  border-radius: 50%;
  height: 48px;
  width: 48px;
}

.founder-quote {
  color: var(--secondary-color);
  font-size: 24px;
  font-weight: var(--font-weight-normal);
  line-height: 1.7;
}

.contact-info span a {
  font-weight: var(--font-weight-semibold);
}

@media screen and (max-width: 991px) {
  .focus-card .custom-block-body {
    min-height: auto;
  }

  .about-card-intro,
  .about-card-vision,
  .about-card-mission {
    animation-duration: 0.55s;
  }
}

@media screen and (max-width: 580px) {
  .hero-badge {
    font-size: 12px;
    padding: 8px 14px;
  }

  .section-lead,
  .founder-quote {
    font-size: 17px;
  }

  .about-hero-image {
    animation: none;
  }

  .founder-carousel {
    padding-bottom: 56px;
  }

  .founder-control {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-card,
  .reveal-card.is-visible,
  .custom-block-wrap,
  .custom-text-box,
  .featured-block {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.volunteer-name {
  color: #1f6f43;
  font-weight: var(--font-weight-semibold);
}

.blog-page,
.blog-view-page,
.blog-create-page,
.blog-admin-page {
  background:
    radial-gradient(circle at top left, rgba(240, 93, 77, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 247, 241, 0.9), #fff);
  min-height: 70vh;
}

.blog-hero,
.blog-grid-section,
.blog-view-card,
.blog-editor-card,
.blog-preview-card,
.blog-auth-card,
.blog-admin-table-card,
.blog-stat-card {
  position: relative;
}

.blog-hero {
  padding-bottom: 28px;
}

.blog-eyebrow {
  color: var(--primary-color);
  font-size: 14px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.blog-hero-text {
  color: var(--p-color);
  font-size: 18px;
  margin-bottom: 0;
  max-width: 640px;
}

.blog-create-btn {
  margin-top: 18px;
}

.blog-card {
  background: var(--white-color);
  border: 1px solid rgba(177, 13, 92, 0.08);
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(125, 31, 71, 0.08);
  color: inherit;
  display: block;
  height: 100%;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.blog-card:hover {
  border-color: rgba(177, 13, 92, 0.2);
  box-shadow: 0 26px 55px rgba(125, 31, 71, 0.14);
  transform: translateY(-8px);
}

.blog-card-media {
  display: block;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(177, 13, 92, 0.08), rgba(211, 138, 31, 0.14));
  overflow: hidden;
  width: 100%;
}

.blog-card-image {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.blog-view-image,
.blog-preview-image {
  height: 100%;
  object-position: center;
  width: 100%;
}

.blog-view-image,
.blog-preview-image {
  object-fit: contain;
}

.blog-card-body {
  padding: 24px 22px 24px;
}

.blog-meta,
.blog-view-meta {
  color: var(--p-color);
  display: flex;
  flex-wrap: wrap;
  font-size: 11px;
  gap: 8px 14px;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.blog-card h3,
.blog-preview-card h3 {
  color: var(--secondary-color);
  font-size: 28px;
  line-height: 1.25;
  margin-bottom: 14px;
}

.blog-card h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 17px;
  line-height: 1.4;
  min-height: 48px;
  overflow: hidden;
}

.blog-card p,
.blog-preview-excerpt,
.blog-view-excerpt {
  color: var(--p-color);
  margin-bottom: 0;
}

.blog-card p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 14px;
  line-height: 1.55;
  min-height: 44px;
  overflow: hidden;
}

.blog-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

.blog-empty-state {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(177, 13, 92, 0.08);
  border-radius: 28px;
  box-shadow: 0 20px 45px rgba(125, 31, 71, 0.08);
  margin-bottom: 20px;
  padding: 36px 28px;
  text-align: center;
}

.blog-page-link {
  align-items: center;
  background: var(--white-color);
  border: 1px solid rgba(177, 13, 92, 0.15);
  border-radius: 999px;
  color: var(--secondary-color);
  display: inline-flex;
  font-weight: var(--font-weight-semibold);
  height: 48px;
  justify-content: center;
  min-width: 48px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.blog-page-link.active,
.blog-page-link:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white-color);
}

.blog-back-link {
  color: var(--secondary-color);
  display: inline-flex;
  font-size: 15px;
  font-weight: var(--font-weight-semibold);
  margin-bottom: 28px;
  text-decoration: none;
}

.blog-view-card,
.blog-editor-card,
.blog-preview-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(177, 13, 92, 0.08);
  border-radius: 28px;
  box-shadow: 0 25px 55px rgba(125, 31, 71, 0.1);
}

.blog-auth-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(177, 13, 92, 0.08);
  border-radius: 28px;
  box-shadow: 0 25px 55px rgba(125, 31, 71, 0.1);
  margin: 0 auto;
  max-width: 520px;
  padding: 32px;
}

.blog-admin-head {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 30px;
}

.blog-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.blog-stat-card,
.blog-admin-table-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(177, 13, 92, 0.08);
  border-radius: 24px;
  box-shadow: 0 20px 45px rgba(125, 31, 71, 0.08);
  height: 100%;
  padding: 24px;
}

.blog-stat-label {
  color: var(--primary-color);
  font-size: 13px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.blog-admin-table-head {
  margin-bottom: 18px;
}

.blog-admin-table th {
  color: var(--secondary-color);
  font-weight: var(--font-weight-semibold);
}

.blog-admin-table td,
.blog-admin-table th {
  background: transparent;
  padding: 14px 10px;
}

.blog-error-message {
  color: #b42318;
  font-weight: var(--font-weight-semibold);
  margin-bottom: 16px;
}

.blog-success-message {
  color: #1f6f43;
  font-weight: var(--font-weight-semibold);
  margin-bottom: 16px;
}

.blog-view-card {
  padding: 28px;
}

.blog-view-image-wrap {
  align-items: center;
  background: linear-gradient(135deg, rgba(177, 13, 92, 0.08), rgba(211, 138, 31, 0.14));
  border-radius: 24px;
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
  min-height: 360px;
  overflow: hidden;
}

.blog-view-image {
  max-height: 520px;
}

.blog-view-card h1 {
  margin-bottom: 18px;
}

.blog-content p {
  margin-bottom: 18px;
}

.blog-create-head {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 30px;
}

.blog-editor-card {
  padding: 28px;
}

.blog-field {
  display: block;
  margin-bottom: 22px;
}

.blog-field span,
.blog-preview-label {
  color: var(--primary-color);
  display: block;
  font-size: 13px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.blog-field input,
.blog-field textarea {
  background: rgba(255, 247, 241, 0.75);
  border: 1px solid rgba(177, 13, 92, 0.12);
  border-radius: 18px;
  color: var(--secondary-color);
  min-height: 58px;
  padding: 16px 18px;
  width: 100%;
}

.blog-field textarea {
  min-height: 150px;
  resize: vertical;
}

.blog-field input[type="file"] {
  padding: 14px 18px;
}

.blog-field input:focus,
.blog-field textarea:focus {
  border-color: rgba(177, 13, 92, 0.35);
  box-shadow: 0 0 0 4px rgba(177, 13, 92, 0.08);
  outline: none;
}

.blog-field-note {
  color: var(--p-color);
  display: block;
  font-size: 13px;
  margin-top: 8px;
}

.blog-seo-card {
  background: rgba(255, 247, 241, 0.42);
  border: 1px solid rgba(177, 13, 92, 0.08);
  border-radius: 22px;
  margin-bottom: 22px;
  padding: 22px;
}

.blog-upload-meta {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.blog-clear-btn {
  background: transparent;
  border: 0;
  color: var(--secondary-color);
  font-size: 14px;
  font-weight: var(--font-weight-semibold);
  padding: 0;
}

.blog-quill .ql-toolbar.ql-snow {
  background: rgba(255, 247, 241, 0.82);
  border: 1px solid rgba(177, 13, 92, 0.12);
  border-radius: 18px 18px 0 0;
}

.blog-quill .ql-container.ql-snow {
  background: rgba(255, 247, 241, 0.75);
  border: 1px solid rgba(177, 13, 92, 0.12);
  border-radius: 0 0 18px 18px;
  color: var(--secondary-color);
  min-height: 280px;
}

.blog-quill .ql-editor {
  min-height: 280px;
  padding: 18px;
}

.blog-quill .ql-editor.ql-blank::before {
  color: var(--p-color);
  font-style: normal;
}

.blog-preview-card {
  padding: 24px;
  position: sticky;
  top: 110px;
}

.blog-preview-media {
  align-items: center;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, rgba(177, 13, 92, 0.08), rgba(211, 138, 31, 0.14));
  border-radius: 20px;
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
}

.blog-preview-placeholder {
  color: var(--p-color);
  font-weight: var(--font-weight-semibold);
}

.blog-preview-category {
  color: var(--primary-color);
  font-size: 13px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.blog-preview-creator {
  font-size: 15px;
  margin-bottom: 10px;
}

.blog-content-block > :last-child {
  margin-bottom: 0;
}

.blog-content h2 {
  font-size: 32px;
  margin-bottom: 18px;
  margin-top: 30px;
}

.blog-content ul,
.blog-content ol {
  margin-bottom: 18px;
  padding-left: 20px;
}

.blog-content blockquote {
  border-left: 4px solid rgba(177, 13, 92, 0.18);
  color: var(--secondary-color);
  font-style: italic;
  margin: 0 0 18px;
  padding-left: 18px;
}

.blog-content img,
.blog-content video,
.blog-content iframe,
.blog-content canvas {
  border-radius: 16px;
  display: block;
  height: auto;
  margin: 20px auto;
  max-width: 100%;
}

.blog-content figure {
  margin: 0 0 20px;
  max-width: 100%;
}

.blog-content figure img {
  margin: 0 auto;
}

.blog-content .ql-align-center img,
.blog-content .ql-align-center video,
.blog-content .ql-align-center iframe {
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 991px) {
  .volunteer-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .volunteer-carousel-controls {
    justify-content: flex-start;
  }

  .volunteer-slide-card .custom-block-body {
    min-height: auto;
  }

  .blog-create-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .blog-admin-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .blog-preview-card {
    position: static;
    top: auto;
  }
}

@media screen and (max-width: 767px) {
  .blog-card h3,
  .blog-preview-card h3,
  .blog-view-card h1 {
    font-size: 24px;
  }

  .blog-view-card,
  .blog-editor-card,
  .blog-preview-card {
    border-radius: 22px;
    padding: 22px;
  }

  .blog-view-image-wrap {
    min-height: 250px;
  }
}
