/* ==========================================================================
   Awaji Masuda Farm - Main Stylesheet
   ========================================================================== */
/*
.baskervville-<uniquifier> {
  font-family: "Baskervville", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

.noto-sans-jp-<uniquifier> {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

.shippori-mincho-regular {
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
  font-style: normal;
}
*/


/* ==========================================================================
   Typography
   ========================================================================== */

   /*
.baskervville-<uniquifier> {
  font-family: "Baskervville", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

.noto-sans-jp-<uniquifier> {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

.shippori-mincho-regular {
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
  font-style: normal;
}
*/

h1, h2, h3, h4, h5, h6 { 
  font-family: "Shippori Mincho", serif;
}

.text-english { 
  font-family: "Baskervville", serif;
  font-size: 3.6rem !important;
  text-transform: uppercase;
}

/* Responsive breakpoints for .text-english */
@media (max-width: 1200px) {
  .text-english {
    font-size: 3.25rem !important;
  }
}

@media (max-width: 992px) {
  .text-english {
    font-size: 3rem !important;
  }
}

@media (max-width: 768px) {
  .text-english {
    font-size: 2.5rem !important;
  }
}

@media (max-width: 576px) {
  .text-english {
    font-size: 2rem !important;
  }
}

/* ==========================================================================
   Global Styles
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
  height: 100%;
  overflow-x: hidden;
}

body {
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

html, body { 
  font-family: "Noto Sans JP", sans-serif;
}

main {
  flex: 1;
}

.modern-footer {
  margin-top: auto;
}

/* ==========================================================================
   Base Elements
   ========================================================================== */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

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

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.bg-blue {
  background: linear-gradient(135deg, #1a3e42 0%, #2c585d 30%, #3d7278 70%, #2c585d 100%);
}

.bg-grey {
  background: linear-gradient(135deg, #e8e8e8 0%, #f5f5f5 50%, #ffffff 100%);
}

.bg-yellow {
  background: linear-gradient(135deg, #fff3a0 0%, #fffac0 25%, #fffdd8 50%, #fff8b3 75%, #fff0a8 100%);
}

.bg-green {
  background: linear-gradient(135deg, #f0ffb0 0%, #f9ffcd 25%, #ffffff 50%, #f5ffb8 75%, #ecff9d 100%);
}

/* Bootstrap color overrides */
.text-primary {
  color: #2c585d !important;
}

.bg-primary {
  background-color: #2c585d !important;
}

.btn-primary {
  background-color: #2c585d !important;
  border-color: #2c585d !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: #2c585d !important;
  border-color: #2c585d !important;
}

.badge.bg-primary {
  background-color: #2c585d !important;
}

.grecaptcha-badge { 
  visibility: hidden !important;
}

/* ==========================================================================
   Navigation Styles
   ========================================================================== */

.nav-pills .nav-link {
  font-size: 1.25rem !important;
  margin-bottom: 1rem;
  border-radius: 30px;
  color: #646464;
  text-align: center;
}

.nav-pills .nav-link svg { 
  width: auto;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-top: 3px;
}

.nav-pills .nav-link:not(.active) {
  background: #ffffff;
  color: #646464;
  border: 1px solid #646464;
}

.nav-pills .nav-link.active {
  background: #2c585d;
  color: #2c585d;
  border: 1px solid #2c585d;
}

/* Page-specific navigation overrides */
.page-template-template_blog .nav-pills .nav-link {
  color: #ffffff !important;
}

.single-post .nav-pills .nav-link {
  color: #ffffff !important;
}

.page-template-template_blog .nav-pills .nav-link svg path,
.single-post .nav-pills .nav-link svg path {
  fill: #ffffff !important;
}

/* Header menu navigation styles for colored backgrounds */
.page-template-template_blog .nav-menu li a,
.single-post .nav-menu li a {
  color: #ffffff !important;
}

.page-template-template_blog .nav-menu li a:hover,
.single-post .nav-menu li a:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.2) !important;
}

/* ==========================================================================
   Form Styles
   ========================================================================== */

form input {
  border-radius: 0px;
  border-color: #ffffff;
}

.form-control {
  border-color: #000000 !important;
  border-radius: 0px !important;
}

form label {
  width: 100%;
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */

footer .nav-pills .nav-link {
  color: #000000 !important;
}

/* ==========================================================================
   Legacy Logo Styles
   ========================================================================== */

/* Legacy logo styles - kept for backwards compatibility */
.logo {
  width: 250px;
  height: 250px;
  z-index: 9999;
  margin-top: -20px;
}

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

.post-template-default footer {
  color: #000000 !important;
}

.post-template-default footer nav ul li a {
  color: #000000 !important;
}

.post-template-default footer .nav-pills .nav-link {
  color: #000000 !important;
}

.page-template-template_blog footer .nav-pills .nav-link {
  color: #000000 !important;
}

/* ==========================================================================
   Bootstrap Overrides
   ========================================================================== */

/* ==========================================================================
   Button Styles
   ========================================================================== */

.btn-pink {
  color: #fff;
  background: rgb(131, 58, 180);
  background: linear-gradient(90deg, rgba(131, 58, 180, 1) 0%, rgba(253, 29, 29, 1) 71%, rgba(252, 176, 69, 1) 100%);
  border: none;
}

.btn-pink:hover,
.btn-pink:active,
.btn-pink:focus,
.btn-pink:active:focus {
  color: #fff;
  background: rgb(131, 58, 180);
  background: linear-gradient(90deg, rgba(131, 58, 180, 1) 0%, rgba(253, 29, 29, 1) 71%, rgba(252, 176, 69, 1) 100%);
  border: none;
}

/* Instagram Hero Button Styles */
.btn-instagram-hero {
  border-radius: 30px !important;
  padding: 0.875rem 2rem !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  position: relative !important;
  overflow: hidden !important;
  background: linear-gradient(45deg, #a44bc7, #ff3030, #ffc55a) !important;
  background-size: 300% 300% !important;
  border: none !important;
  color: white !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  animation: gradientShift 6s ease infinite !important;
  box-shadow: 
    0 8px 20px rgba(131, 58, 180, 0.3),
    0 6px 15px rgba(253, 29, 29, 0.25),
    0 4px 10px rgba(252, 176, 69, 0.2) !important;
}

.btn-instagram-hero::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent) !important;
  transition: left 0.6s !important;
}

.btn-instagram-hero:hover {
  transform: translateY(-6px) scale(1.08) !important;
  box-shadow: 
    0 20px 40px rgba(131, 58, 180, 0.5),
    0 15px 30px rgba(253, 29, 29, 0.4),
    0 10px 25px rgba(252, 176, 69, 0.3),
    0 5px 15px rgba(255, 255, 255, 0.2) !important;
  background: linear-gradient(45deg, #d156ff, #ff1a1a, #ffdd44, #ff6b9d) !important;
  animation-play-state: paused !important;
  color: white !important;
}

.btn-instagram-hero:hover::before {
  left: 100% !important;
}

.btn-instagram-hero:active {
  transform: translateY(-3px) scale(1.05) !important;
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50% !important;
  }
  50% {
    background-position: 100% 50% !important;
  }
}

/* Dynamic Font Sizing */
.font-size-dynamic p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  line-height: clamp(1.5, 2.0, 2.2);
  margin-bottom: 1.25rem;
}

.font-size-dynamic h1 {
  font-size: clamp(1.75rem, 4vw, 2.2rem);
  line-height: clamp(1.2, 1.3, 1.4);
}

.font-size-dynamic h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  line-height: clamp(1.2, 1.3, 1.4);
}

/* Huge Font Class */
.huge-font {
  font-size: clamp(2.0rem, 5.9vw, 7rem) !important;
  line-height: 90px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  margin-bottom: 0 !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  hyphens: auto !important;
}


/* Huge Font Japanese Class */
.huge-font-japanese {
  font-size: clamp(2rem, 3vw, 3.5rem) !important;
  line-height: 50px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  margin-bottom: 0 !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  hyphens: auto !important;
}

/* Normal Font Override - Standard sizes within dynamic font sections */
.font-size-normal p {
  font-size: 1rem !important;
  line-height: 1.65rem !important;
  margin-bottom: 1rem !important;
}

.font-size-normal h1 {
  font-size: 2rem !important;
  line-height: 1.2 !important;
}

.font-size-normal h2 {
  font-size: 1.75rem !important;
  line-height: 1.2 !important;
}

.font-size-normal h3 {
  font-size: 1.5rem !important;
  line-height: 1.2 !important;
}

.font-size-normal h4 {
  font-size: 1.25rem !important;
  line-height: 1.2 !important;
}

.font-size-normal h5 {
  font-size: 1.1rem !important;
  line-height: 1.2 !important;
}

/* Role Badge */
.role-badge {
  background-color: #ffffff !important;
  border: 1px solid #000000 !important;
  color: #000000 !important;
  padding: 0.5rem 3rem !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
}

/* Custom Table Design */
.custom-info-table {
  width: 100% !important;
  border: 2px solid #000000 !important;
  border-collapse: collapse !important;
  font-family: inherit !important;
}

.custom-info-table td {
  border: 1px solid #000000 !important;
  padding: 1.25rem 1.5rem !important;
  vertical-align: top !important;
  background-color: #ffffff !important;
  font-size: clamp(1rem, 2.5vw, 1.2rem) !important;
  line-height: clamp(1.5, 2.8vw, 1.7) !important;
  font-weight: 300 !important;
}

.custom-info-table td:first-child {
  text-align: center !important;
}

.custom-info-table td:last-child {
  text-align: left !important;
}

/* Responsive Instagram Button */
@media (min-width: 768px) {
  .btn-instagram-hero {
    padding: 1rem 2.5rem !important;
    font-size: 1.2rem !important;
    border-radius: 35px !important;
  }
}

@media (min-width: 1200px) {
  .btn-instagram-hero {
    padding: 1.125rem 2.75rem !important;
    font-size: 1.3rem !important;
    border-radius: 40px !important;
  }
}

/* Custom outline dark button styles */
.btn-outline-dark {
  border-radius: 50px !important;
  padding: 1rem 2rem !important;
  font-size: 1.1rem !important;
  font-weight: 400 !important;
  border-width: 1px !important;
  transition: all 0.3s ease !important;
}

.btn-outline-dark:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

/* Custom outline light button styles */
.btn-outline-light {
  border-radius: 50px !important;
  padding: 1rem 2rem !important;
  font-size: 1.1rem !important;
  font-weight: 400 !important;
  border-width: 1px !important;
  transition: all 0.3s ease !important;
}

.btn-outline-light:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3) !important;
}

/* Large button variant */
.btn-lg.btn-outline-dark {
  padding: 1.25rem 2.5rem !important;
  font-size: 1.3rem !important;
}

.btn-lg.btn-outline-light {
  padding: 1.25rem 2.5rem !important;
  font-size: 1.3rem !important;
}

/* Responsive button styles */
@media (min-width: 1400px) {
  .btn-outline-dark {
    font-size: 1.2rem !important;
    padding: 1.1rem 2.2rem !important;
  }
  
  .btn-outline-light {
    font-size: 1.2rem !important;
    padding: 1.1rem 2.2rem !important;
  }
  
  .btn-lg.btn-outline-dark {
    font-size: 1.4rem !important;
    padding: 1.35rem 2.7rem !important;
  }
  
  .btn-lg.btn-outline-light {
    font-size: 1.4rem !important;
    padding: 1.35rem 2.7rem !important;
  }
}

@media (max-width: 768px) {
  .btn-outline-dark {
    font-size: 1rem !important;
    padding: 0.9rem 1.8rem !important;
  }
  
  .btn-outline-light {
    font-size: 1rem !important;
    padding: 0.9rem 1.8rem !important;
  }
  
  .btn-lg.btn-outline-dark {
    font-size: 1.1rem !important;
    padding: 1rem 2rem !important;
  }
  
  .btn-lg.btn-outline-light {
    font-size: 1.1rem !important;
    padding: 1rem 2rem !important;
  }
}

@media (max-width: 576px) {
  .btn-outline-dark {
    font-size: 0.9rem !important;
    padding: 0.8rem 1.5rem !important;
  }
  
  .btn-outline-light {
    font-size: 0.9rem !important;
    padding: 0.8rem 1.5rem !important;
  }
  
  .btn-lg.btn-outline-dark {
    font-size: 1rem !important;
    padding: 0.9rem 1.8rem !important;
  }
  
  .btn-lg.btn-outline-light {
    font-size: 1rem !important;
    padding: 0.9rem 1.8rem !important;
  }
}

.grecaptcha-badge { 
    visibility: hidden !important;
}

/* ==========================================================================
   Modern Header Styles
   ========================================================================== */

.main-header {
  position: relative;
  z-index: 1030;
}

.main-header .container-fluid {
  position: relative;
  padding: 1rem 1rem 0rem 1rem;
}

/* Header Content Layout */
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

/* Logo Section */
.logo-section {
  flex-shrink: 0;
  position: relative;
}

.logo-link {
  text-decoration: none;
  display: inline-block;
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-origin: center;
}

.logo-link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(44, 88, 93, 0.1) 0%, rgba(116, 195, 215, 0.05) 70%, transparent 100%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.6s ease;
  z-index: -1;
  opacity: 0;
}

.logo-link:hover {
  transform: scale(1.05) rotate(2deg);
  animation: logoFloat 2s ease-in-out infinite;
}

.logo-link:hover::before {
  width: 300px;
  height: 300px;
  opacity: 1;
}

.header-logo-large {
  width: 250px;
  height: auto;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.logo-link:hover .header-logo-large {
  filter: drop-shadow(0 8px 25px rgba(44, 88, 93, 0.3)) 
          drop-shadow(0 0 20px rgba(116, 195, 215, 0.4))
          brightness(1.1);
  transform: translateY(-3px);
}

/* Logo floating animation */
@keyframes logoFloat {
  0%, 100% {
    transform: scale(1.05) rotate(2deg) translateY(-3px);
  }
  50% {
    transform: scale(1.05) rotate(2deg) translateY(-8px);
  }
}

/* Logo pulse effect on initial load */
@keyframes logoPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

.logo-link {
  animation: logoPulse 3s ease-in-out 1s 1;
}

/* Navigation Section */
.nav-section {
  display: flex;
  align-items: center;
  padding-top: 40px;
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1rem;
  align-items: center;
}

.nav-menu li a {
  color: #333333;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 500;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.nav-menu li a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #2c585d, #74c3d7);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav-menu li a:hover {
  color: #2c585d;
  transform: translateY(-2px);
}

.nav-menu li a:hover::before {
  width: 70%;
}

.nav-menu li a:active {
  transform: translateY(0);
  transition: transform 0.1s ease;
}

/* Active/Current Page States */
.nav-menu li a.current-menu-item,
.nav-menu li a.current_page_item,
.nav-menu li a.current-page-ancestor,
.nav-menu li a.current-menu-ancestor,
.nav-menu li a.current-menu-parent {
  color: #2c585d;
  transform: translateY(-1px);
}

.nav-menu li a.current-menu-item::before,
.nav-menu li a.current_page_item::before,
.nav-menu li a.current-page-ancestor::before,
.nav-menu li a.current-menu-ancestor::before,
.nav-menu li a.current-menu-parent::before {
  width: 80%;
}

/* Page-specific active states for colored backgrounds */
.page-template-template_blog .nav-menu li a.current-menu-item,
.page-template-template_blog .nav-menu li a.current_page_item,
.single-post .nav-menu li a.current-menu-item,
.single-post .nav-menu li a.current_page_item {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.25) !important;
}

@media (max-width: 1500px) {
  .nav-menu li a {
    padding: 0.75rem 1rem;
  }
}

/* Responsive Styles */
@media (max-width: 1400px) {
  
  .nav-menu li a {
    font-size: 1.3rem;
    padding: 0.75rem 0.75rem;
  }
}

@media (max-width: 1300px) {
  .nav-menu li a {
    font-size: 1.2rem;
    padding: 0.75rem 0.65rem;
  }
}

@media (max-width: 1200px) {
  .nav-menu {
    gap: 0.5rem;
  }
  
  .nav-menu li a {
    font-size: 1.1rem;
    padding: 0.5rem 0.6rem;
  }
  
  .header-logo-large {
    width: 160px;
    height: 160px;
  }
}

@media (max-width: 992px) {
  .header-content {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .header-logo-large {
    width: 180px;
    height: 180px;
  }
  
  .main-header .container-fluid {
    padding: 0rem 1rem 1rem 1rem;
  }
  
  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .nav-menu li a {
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
  }
}

@media (max-width: 768px) {
  .header-logo-large {
    width: 150px;
    height: 150px;
  }
  
  .main-header .container-fluid {
    padding: 1rem;
  }
  
  .header-content {
    gap: 1rem;
  }
  
  .nav-menu li a {
    font-size: 0.9rem;
    padding: 0.4rem 0.6rem;
  }
}

@media (max-width: 576px) {
  .header-logo-large {
    width: 120px;
    height: 120px;
  }
  
  .nav-menu {
    gap: 0.25rem;
  }
  
  .nav-menu li a {
    font-size: 0.8rem;
    padding: 0.3rem 0.5rem;
  }
}

/* ==========================================================================
   Main Banner Styles
   ========================================================================== */

.main-banner {
  position: relative;
  margin-top: -40px;
}

@media (min-width: 1200px) {
  .main-banner {
    margin-top: -80px;
  }
}

@media (min-width: 1400px) {
  .main-banner {
    margin-top: -70px;
  }
}

.main-banner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-bottom: 50px;
}

/* Image containers with 1200x1300 aspect ratio */
.main-banner .banner-image-container {
    width: 45%;
    aspect-ratio: 19 / 20;
    overflow: hidden;
}

.main-banner .banner-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Legacy support - if no container div is used */
.main-banner img:first-child:not(.banner-image-container img) {
    width: 45%;
    aspect-ratio: 19 / 20;
    object-fit: cover;
    object-position: center;
}

.main-banner img:last-child:not(.banner-image-container img) {
    width: 45%;
    aspect-ratio: 19 / 20;
    object-fit: cover;
    object-position: center;
}

.main-banner img:nth-child(2) {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 14%;
    height: auto;
    z-index: 10;
}

.bottom-images {
    display: none;
}

@media (max-width: 768px) {
  .main-banner {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 0;
  }

  .main-banner img:first-child {
    width: 100%;
  }

  .main-banner img:first-child:not(.banner-image-container img) {
    width: 100%;
    aspect-ratio: unset;
    height: auto;
    object-fit: unset;
    object-position: unset;
  }

  .main-banner img:nth-child(2),
  .main-banner img:last-child {
    display: none;
  }

  .bottom-images {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 30px;
  }

  .bottom-images img:first-child {
    width: 28%;
    height: auto;
  }

  .bottom-images img:last-child {
    width: 68%;
    height: auto;
  }
}

/* ==========================================================================
    Main - Inner Page Styles
   ========================================================================== */

main.page-inner {
  margin-top: -60px;
}

@media (min-width: 1200px) {
  main.page-inner {
    margin-top: -60px;
  }
}

@media (min-width: 1400px) {
  main.page-inner {
    margin-top: -70px;
  }
}

/* ==========================================================================
   Modern Footer Styles
   ========================================================================== */

.modern-footer {
  background: #ffffff;
  color: #333333;
  position: relative;
  border-top: 1px solid #2c585d;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}

.footer-content {
  padding: 4rem 2rem 2rem 2rem;
  position: relative;
  z-index: 1;
  margin: 0 auto;
}

.footer-content .row {
  margin-left: 0;
  margin-right: 0;
}

.footer-brand {
  margin-bottom: 2rem;
}

.footer-logo {
  width: 120px;
  height: 120px;
}

.footer-title {
  color: #2c585d;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
}

.footer-description {
  color: #666666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
}

.footer-heading {
  color: #2c585d;
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
}

.footer-contact {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  color: #666666;
  font-size: clamp(0.9rem, 1.6vw, 1.1rem);
}

.contact-link {
  color: #2c585d;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: clamp(0.9rem, 1.6vw, 1.1rem);
}

.contact-link:hover {
  color: #1e3b3f;
  text-decoration: underline;
}

.footer-links {
  margin-bottom: 2rem;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 0.75rem;
}

.footer-menu a {
  color: #666666;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  position: relative;
}

.footer-menu a:hover {
  color: #2c585d;
}

.footer-bottom {
  background: #ffffff;
  padding: 1.5rem 2rem;
  border-top: 1px solid #e9ecef;
}

.footer-bottom .row {
  margin-left: 0;
  margin-right: 0;
  margin: 0 auto;
}

.copyright {
  color: #666666;
  margin: 0;
  font-size: clamp(0.8rem, 1.4vw, 1rem);
}

.social-links {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  padding-right: 0;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(35px, 5vw, 50px);
  height: clamp(35px, 5vw, 50px);
  background: #2c585d;
  color: #ffffff;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: bold;
  font-size: clamp(0.8rem, 1.5vw, 1.1rem);
}

.social-link:hover {
  background: #1e3b3f;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Responsive Footer Styles */
@media (max-width: 768px) {
  .footer-content {
    padding: 3rem 1.5rem 1.5rem 1.5rem;
  }
  
  .footer-logo {
    width: clamp(50px, 8vw, 80px);
    height: clamp(50px, 8vw, 80px);
  }
  
  .social-links {
    justify-content: center;
    margin-top: 1rem;
  }
  
  .copyright {
    text-align: center;
  }
  
  .footer-bottom {
    padding: 1.5rem 1.5rem;
  }
}

@media (max-width: 576px) {
  .footer-content {
    padding: 2rem 1rem 1rem 1rem;
  }
  
  .footer-bottom {
    padding: 1rem;
  }
  
  .contact-item {
    flex-direction: column;
    gap: 0.25rem;
  }
}

/* ==========================================================================
   Card Component System
   ========================================================================== */

.card {
  background-color: #ffffff !important;
  border-radius: 25px !important;
  border: 1px solid #e9ecef;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.card-body {
  padding: 2rem !important;
}

.card-footer {
  background-color: #ffffff !important;
  border-top: 1px solid #e9ecef;
  padding: 1.5rem 2rem !important;
}

.card-img-top {
  border-top-left-radius: 25px !important;
  border-top-right-radius: 25px !important;
  width: 100% !important;
  height: 320px !important;
  object-fit: cover !important;
  object-position: top !important;
}

.card-img-top-full { 
  border-top-left-radius: 25px !important;
  border-top-right-radius: 25px !important;
  width: 100% !important;
  object-fit: cover !important;
  object-position: top !important;
  height: auto !important;
}

/* Card title styling */
.card-title {
  color: #000000;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.card-text {
  color: #666666;
  line-height: 1.6;
}

/* ==========================================================================
   Archive, Search, and Category Page Styles
   ========================================================================== */

.search-results-page,
.category-page,
.archive-page {
  min-height: 70vh;
}

.search-header-card,
.category-header-card,
.archive-header-card {
  background: #ffffff;
  border-radius: 25px !important;
  border: none;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.search-header-card::before,
.category-header-card::before,
.archive-header-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2c585d 0%, #2c585d 100%);
}

.category-icon,
.archive-icon {
  animation: fadeInScale 0.8s ease-out;
}

.search-result-card,
.category-post-card,
.archive-post-card {
  transition: all 0.3s ease;
  border-radius: 20px !important;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.search-result-card:hover,
.category-post-card:hover,
.archive-post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.search-result-card .card-img-top,
.category-post-card .card-img-top,
.archive-post-card .card-img-top {
  border-top-left-radius: 20px !important;
  border-top-right-radius: 20px !important;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.search-result-card:hover .card-img-top,
.category-post-card:hover .card-img-top,
.archive-post-card:hover .card-img-top {
  transform: scale(1.02);
}

.post-meta {
  border-bottom: 1px solid #f8f9fa;
  padding-bottom: 0.75rem;
  margin-bottom: 1rem !important;
}

.post-meta .badge {
  font-size: 0.75rem;
  font-weight: 500;
}

.post-tags .badge,
.post-terms .badge {
  font-size: 0.7rem;
  padding: 0.4rem 0.8rem;
  margin-bottom: 0.25rem;
}

.search-result-card .card-title a,
.category-post-card .card-title a,
.archive-post-card .card-title a {
  transition: color 0.3s ease;
}

.search-result-card .card-title a:hover,
.category-post-card .card-title a:hover,
.archive-post-card .card-title a:hover {
  color: #2c585d !important;
}

.search-result-card .card-footer,
.category-post-card .card-footer,
.archive-post-card .card-footer {
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
  border-bottom-left-radius: 20px !important;
  border-bottom-right-radius: 20px !important;
}

/* Pagination Styles */
.pagination-wrapper .pagination {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  overflow: hidden;
  background: #ffffff;
}

.pagination-wrapper .page-link {
  border: none;
  color: #2c585d;
  font-weight: 500;
  padding: 1rem 1.5rem;
  transition: all 0.3s ease;
}

.pagination-wrapper .page-link:hover {
  background: #2c585d;
  color: #ffffff;
  transform: translateY(-2px);
}

.pagination-wrapper .page-item.active .page-link {
  background: #2c585d;
  color: #ffffff;
  border-color: #2c585d;
}

.pagination-wrapper .page-item:first-child .page-link {
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}

.pagination-wrapper .page-item:last-child .page-link {
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
}

/* No Results/Posts Styles */
.no-results .card,
.no-posts .card {
  border-radius: 25px !important;
  border: none;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.no-results-icon,
.no-posts-icon {
  animation: pulse 2s infinite;
}

.search-suggestions .btn {
  transition: all 0.3s ease;
  border-radius: 15px;
  font-weight: 500;
}

.search-suggestions .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Enhanced Search Form in Archive Pages */
.search-form-wrapper input[type="search"] {
  border: 2px solid #e9ecef;
  border-radius: 50px;
  padding: 1rem 3.5rem 1rem 1.5rem;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.search-form-wrapper input[type="search"]:focus {
  outline: none;
  border-color: #2c585d;
  box-shadow: 0 0 0 3px rgba(44, 88, 93, 0.1);
  background: #ffffff;
}

.search-form-wrapper input[type="submit"] {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: #2c585d;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-form-wrapper input[type="submit"]:hover {
  background: #2c585d;
  transform: translateY(-50%) scale(1.05);
}

/* Animations */
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

/* Responsive Styles */
@media (max-width: 768px) {
  .search-header-card .card-body,
  .category-header-card .card-body,
  .archive-header-card .card-body {
    padding: 2rem 1.5rem !important;
  }
  
  .search-result-card .card-img-top,
  .category-post-card .card-img-top,
  .archive-post-card .card-img-top {
    height: 200px;
  }
  
  .pagination-wrapper .page-link {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .archive-meta .badge {
    display: block;
    margin: 0.25rem 0;
  }
  
  .post-meta {
    text-align: left;
  }
  
  .post-meta small {
    display: block;
    margin: 0.25rem 0;
  }
  
  .card-footer .d-flex {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* ==========================================================================
   404 Error Page Styles
   ========================================================================== */

.error-404-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 3rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.error-404-content {
  animation: fadeInUp 0.8s ease-out;
}

.error-number {
  position: relative;
}

.error-number span {
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 800;
  background: linear-gradient(135deg, #2c585d 0%, #2c585d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 8px rgba(44, 88, 93, 0.3);
  line-height: 1;
  display: block;
}

.error-card {
  background: #ffffff;
  border-radius: 25px !important;
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
}

.error-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2c585d 0%, #2c585d 100%);
}

.error-icon {
  animation: bounce 2s infinite;
}

.error-icon svg {
  filter: drop-shadow(0 4px 8px rgba(44, 88, 93, 0.2));
}

.search-form-wrapper {
  max-width: 400px;
  margin: 0 auto;
}

.search-form-wrapper .search-form {
  position: relative;
}

.search-form-wrapper input[type="search"] {
  width: 100%;
  padding: 1rem 3.5rem 1rem 1.5rem;
  border: 2px solid #e9ecef;
  border-radius: 50px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.search-form-wrapper input[type="search"]:focus {
  outline: none;
  border-color: #2c585d;
  box-shadow: 0 0 0 3px rgba(44, 88, 93, 0.1);
  background: #ffffff;
}

.search-form-wrapper input[type="submit"] {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: #2c585d;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.search-form-wrapper input[type="submit"]:hover {
  background: #2c585d;
  transform: translateY(-50%) scale(1.05);
}

.error-actions .btn {
  min-width: 150px;
  transition: all 0.3s ease;
}

.error-actions .btn:hover {
  transform: translateY(-2px);
}

.helpful-links .btn {
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
  color: #2c585d;
  font-weight: 500;
}

.helpful-links .btn:hover {
  background: #2c585d !important;
  color: #ffffff !important;
  border-color: #2c585d !important;
  transform: translateY(-2px);
}

.helpful-links .btn i {
  color: #2c585d;
  transition: color 0.3s ease;
}

.helpful-links .btn:hover i {
  color: #ffffff;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Responsive Styles */
@media (max-width: 768px) {
  .error-404-page {
    padding: 2rem 0;
  }
  
  .error-card .card-body {
    padding: 2rem 1.5rem !important;
  }
  
  .error-actions .btn {
    width: 100%;
    margin-bottom: 1rem !important;
  }
  
  .error-actions .me-3 {
    margin-right: 0 !important;
  }
  
  .helpful-links .btn {
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 576px) {
  .error-number span {
    font-size: clamp(4rem, 20vw, 8rem);
  }
  
  .error-card .card-body {
    padding: 1.5rem 1rem !important;
  }
  
  .search-form-wrapper input[type="search"] {
    padding: 0.875rem 3rem 0.875rem 1.25rem;
    font-size: 1rem;
  }
}

/* ==========================================================================
   Single Post Page Styles
   ========================================================================== */

.single-post-page {
  min-height: 80vh;
}

.single-post-header {
  margin-bottom: 0;
}

.single-post-content {
  position: relative;
}

/* Post Article Styles */
.post-article {
  margin-bottom: 2rem;
}

.post-card {
  border-radius: 25px !important;
  border: none;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  background: #ffffff;
}

.post-featured-image .card-img-top {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
}

.post-header {
  border-bottom: 1px solid #f0f0f0;
}

.post-title {
  color: #2c585d;
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: #666666;
  font-size: 0.95rem;
}

.meta-item {
  display: flex;
  align-items: center;
}

.meta-item i {
  color: #2c585d;
  width: 16px;
}

.category-link {
  color: #2c585d;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.category-link:hover {
  color: #1e3b3f;
  text-decoration: underline;
}

/* Post Content Styles */
.post-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333333;
}

.post-content p {
  margin-bottom: 1.5rem;
}

.post-content h2,
.post-content h3,
.post-content h4 {
  color: #2c585d;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.post-content img {
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin: 1.5rem 0;
}

.post-content blockquote {
  background: #f8f9fa;
  border-left: 4px solid #2c585d;
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 15px 15px 0;
  font-style: italic;
}

/* Enhanced Post Content Typography */
.post-content a {
  color: #2c585d;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  transition: all 0.3s ease;
}

.post-content a:hover {
  color: #1e3b3f;
  text-decoration-color: #74c3d7;
  text-decoration-thickness: 3px;
}

.post-content a:visited {
  color: #2c585d;
}

.post-content strong,
.post-content b {
  font-weight: 700;
  color: #2c585d;
}

.post-content em,
.post-content i {
  font-style: italic;
  color: #555555;
}

.post-content ul,
.post-content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.post-content ul li,
.post-content ol li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.post-content ul li {
  list-style-type: disc;
  position: relative;
}

.post-content ul li::marker {
  color: #2c585d;
}

.post-content ol li {
  list-style-type: decimal;
}

.post-content ol li::marker {
  color: #2c585d;
  font-weight: 600;
}

.post-content h1 {
  color: #2c585d;
  font-size: clamp(1.8rem, 5vw, 2.2rem);
  font-weight: 700;
  margin: 2.5rem 0 1.5rem 0;
  line-height: 1.3;
}

.post-content h2 {
  color: #2c585d;
  font-size: clamp(1.5rem, 4vw, 1.9rem);
  font-weight: 650;
  margin: 2.25rem 0 1.25rem 0;
  line-height: 1.35;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 0.5rem;
}

.post-content h3 {
  color: #2c585d;
  font-size: clamp(1.3rem, 3.5vw, 1.6rem);
  font-weight: 600;
  margin: 2rem 0 1rem 0;
  line-height: 1.4;
}

.post-content h4 {
  color: #2c585d;
  font-size: clamp(1.2rem, 3vw, 1.4rem);
  font-weight: 600;
  margin: 1.75rem 0 0.75rem 0;
  line-height: 1.45;
}

.post-content h5 {
  color: #2c585d;
  font-size: clamp(1.1rem, 2.5vw, 1.25rem);
  font-weight: 600;
  margin: 1.5rem 0 0.5rem 0;
  line-height: 1.5;
}

.post-content h6 {
  color: #2c585d;
  font-size: clamp(1rem, 2vw, 1.1rem);
  font-weight: 600;
  margin: 1.25rem 0 0.5rem 0;
  line-height: 1.55;
}

.post-content pre {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  overflow-x: auto;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.6;
}

.post-content code {
  background: #f8f9fa;
  color: #2c585d;
  padding: 0.25rem 0.5rem;
  border-radius: 5px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}

.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.post-content table th,
.post-content table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #e9ecef;
}

.post-content table th {
  background: #2c585d;
  color: #ffffff;
  font-weight: 600;
}

.post-content table tr:hover {
  background: #f8f9fa;
}

.post-content table tr:last-child td {
  border-bottom: none;
}

.post-content hr {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, #2c585d, transparent);
  margin: 3rem 0;
}

.post-content .wp-caption {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 1rem;
  margin: 1.5rem 0;
  text-align: center;
}

.post-content .wp-caption-text {
  color: #666666;
  font-size: 0.9rem;
  font-style: italic;
  margin-top: 0.75rem;
}

/* Button styling within post content */
.post-content .btn,
.post-content button {
  background: #2c585d;
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  display: inline-block;
  margin: 0.5rem 0;
  transition: all 0.3s ease;
  font-weight: 500;
}

.post-content .btn:hover,
.post-content button:hover {
  background: #1e3b3f;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(44, 88, 93, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .post-content {
    font-size: 1rem;
    line-height: 1.7;
  }
  
  .post-content ul,
  .post-content ol {
    padding-left: 1.5rem;
  }
  
  .post-content table {
    font-size: 0.9rem;
  }
  
  .post-content table th,
  .post-content table td {
    padding: 0.75rem 0.5rem;
  }
}

/* Post Tags */
.post-tags {
  border-top: 1px solid #f0f0f0;
}

.tags-title {
  color: #2c585d;
  font-weight: 600;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-badge {
  background: #f8f9fa;
  color: #2c585d;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.9rem;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.tag-badge:hover {
  background: #2c585d;
  color: #ffffff;
  border-color: #2c585d;
}

/* Post Navigation */
.post-navigation {
  margin-top: 2rem;
}

.nav-card {
  border-radius: 15px !important;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  height: 100%;
}

.nav-card:hover {
  border-color: #2c585d;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.nav-title {
  color: #2c585d;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
}

.nav-title:hover {
  color: #1e3b3f;
}

/* Comments Section */
.comments-section .card {
  border-radius: 20px !important;
  border: 1px solid #e9ecef;
}

/* ==========================================================================
   Blog Sidebar Styles
   ========================================================================== */

.blog-sidebar {
  position: sticky;
  top: 2rem;
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
}

.sidebar-widget {
  margin-bottom: 2rem;
}

.sidebar-card {
  border-radius: 20px !important;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.sidebar-card .card-header {
  background: linear-gradient(135deg, #2c585d 0%, #2c585d 100%);
  color: #ffffff;
  border: none;
  padding: 1rem 1.5rem;
}

.widget-title {
  font-size: 1.1rem;
  font-weight: 600;
}

.widget-title i {
  color: #ffffff;
}

/* Recent Posts Widget */
.recent-posts-list {
  padding: 0;
}

.recent-post-item {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.3s ease;
}

.recent-post-item:last-child {
  border-bottom: none;
}

.recent-post-item:hover {
  background: #f8f9fa;
}

.recent-post-thumb {
  width: 60px;
  height: 60px;
  margin-right: 1rem;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
}

.recent-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.recent-post-title {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.4;
}

.recent-post-title a {
  color: #333333;
  transition: color 0.3s ease;
}

.recent-post-title a:hover {
  color: #2c585d;
}

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

/* Categories Widget */
.categories-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.category-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: #f8f9fa;
  border-radius: 10px;
  text-decoration: none;
  color: #333333;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.category-item:hover {
  background: #2c585d;
  color: #ffffff;
  border-color: #2c585d;
}

.category-name {
  font-weight: 500;
}

.category-count {
  background: #ffffff;
  color: #2c585d;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  min-width: 24px;
  text-align: center;
}

.category-item:hover .category-count {
  background: #ffffff;
  color: #2c585d;
}

/* Archive Widget */
.archive-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.archive-item {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.archive-item:last-child {
  border-bottom: none;
}

.archive-item a {
  color: #333333;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.archive-item a:hover {
  color: #2c585d;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .blog-sidebar {
    position: static;
    max-height: none;
    overflow-y: visible;
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  .post-meta {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .post-card .card-body {
    padding: 2rem 1.5rem !important;
  }
  
  .recent-post-thumb {
    width: 50px;
    height: 50px;
    margin-right: 0.75rem;
  }
  
  .recent-post-title {
    font-size: 0.9rem;
  }
  
  .nav-card .card-body {
    text-align: center !important;
  }
}

@media (max-width: 576px) {
  .post-card .card-body {
    padding: 1.5rem 1rem !important;
  }
  
  .sidebar-card .card-header {
    padding: 0.75rem 1rem;
  }
  
  .recent-post-item {
    padding: 0.75rem 1rem;
  }
  
  .widget-title {
    font-size: 1rem;
  }
}

/* ==========================================================================
   Contact Form 7 Styles
   ========================================================================== */

/* CF7 Form Container */
.wpcf7 {
  background: #ffffff;
  padding: 3rem 3rem 1rem 3rem;
  border-radius: 20px;
  border: 1px solid #000000;
}

/* Form Labels */
.wpcf7 label {
  font-weight: 600;
  color: #2c585d;
  margin-bottom: 0.75rem;
  display: block;
  font-size: 1.1rem;
}

.wpcf7 label strong {
  font-weight: 700;
  color: #000000;
}

/* Form Inputs and Textarea */
.wpcf7-form-control.form-control {
  border: 1px solid #000000 !important;
  border-radius: 12px !important;
  padding: 1rem 1.25rem !important;
  font-size: 1rem !important;
  background: #f8f9fa;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
  width: 100% !important;
}

.wpcf7-form-control.form-control:focus {
  border-color: #2c585d !important;
  background: #ffffff;
  outline: none;
}

/* Textarea Specific Styling */
.wpcf7-textarea.form-control {
  min-height: 150px !important;
  resize: vertical;
  line-height: 1.6;
}

/* Form Paragraphs */
.wpcf7-form p {
  margin-bottom: 2rem;
}

/* Submit Button */
.wpcf7-submit.btn {
  background: #ffffff !important;
  border: 1px solid #000000 !important;
  border-radius: 50px !important;
  padding: 1.25rem 3rem !important;
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  color: #000000 !important;
  transition: all 0.3s ease !important;
  margin-top: 1rem;
  cursor: pointer;
}

.wpcf7-submit.btn:hover {
  background: #f8f9fa !important;
  color: #000000 !important;
  transform: translateY(-2px) !important;
}

.wpcf7-submit.btn:active {
  transform: translateY(0) !important;
}

/* Spinner */
.wpcf7-spinner {
  margin-left: 1rem;
}

/* Response Messages */
.wpcf7-response-output {
  border-radius: 12px !important;
  padding: 1rem 1.5rem !important;
  margin-top: 1.5rem !important;
  font-weight: 500;
}

.wpcf7-mail-sent-ok {
  background: #d4edda !important;
  border-color: #c3e6cb !important;
  color: #155724 !important;
}

.wpcf7-mail-sent-ng,
.wpcf7-validation-errors {
  background: #f8d7da !important;
  border-color: #f5c6cb !important;
  color: #721c24 !important;
}

/* Validation Errors */
.wpcf7-form-control.wpcf7-not-valid {
  border-color: #dc3545 !important;
}

.wpcf7-not-valid-tip {
  color: #dc3545;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  font-weight: 500;
}

/* Required Field Indicators */
.wpcf7-form-control-wrap {
  position: relative;
  display: block;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .wpcf7 {
    padding: 2rem 1.5rem;
    border-radius: 15px;
  }
  
  .wpcf7-submit.btn {
    width: 100%;
    padding: 1rem 2rem !important;
    font-size: 1.1rem !important;
  }
  
  .wpcf7 label {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .wpcf7 {
    padding: 1.5rem 1rem;
  }
  
  .wpcf7-form-control.form-control {
    padding: 0.9rem 1rem !important;
    font-size: 0.95rem !important;
  }
}

/* ==========================================================================
   Section Title Divider
   ========================================================================== */

.section-title-divider {
  border-bottom: solid 1px #ffffff;
  margin-bottom: 30px;
}

/* ==========================================================================
  Miscellaneous Styles
  ========================================================================== */

.bg-awaji-icon {
  position: relative;
}

.bg-awaji-icon::before {
  content: '';
  position: absolute;
  top: 7vw;
  right: 10vw;
  background: url('../img/awaji-outline.svg') no-repeat center center;
  background-size: contain;
  width: 20vw;
  height: 20vw;
  opacity: 1;
  pointer-events: none;
  z-index: 1;
}

.bg-awaji-icon > * {
  position: relative;
  z-index: 2;
}

@media screen and (max-width: 991px) {
  .bg-awaji-icon::before {
    display: none;
  }
}

/* ==========================================================================
   Gravity Forms Styles
   ========================================================================== */

.gform_title {
    display: none !important;
}

/* Form wrapper styling */
.gform_wrapper {
    margin: 0 auto;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Field styling */
.gfield {
    margin-bottom: 1.5rem;
}

.gfield_label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #112337;
    font-size: 16px;
}

/* Input fields */
.ginput_container input[type="text"],
.ginput_container input[type="email"],
.ginput_container textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background-color: #fff;
}

.ginput_container input[type="text"]:focus,
.ginput_container input[type="email"]:focus,
.ginput_container textarea:focus {
    outline: none;
    border-color: #204ce5;
    box-shadow: 0 0 0 3px rgba(32, 76, 229, 0.1);
}

/* Name field grid */
.ginput_container--name {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Email confirmation grid */
.ginput_container_email {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Sub labels */
.gform-field-label--type-sub {
    font-size: 14px;
    font-weight: 500;
    color: #585e6a;
    margin-bottom: 0.25rem;
}

/* Textarea specific */
.ginput_container_textarea textarea {
    min-height: 120px;
    resize: vertical;
}

/* Character counter */
.charleft {
    font-size: 13px;
    color: #686e77;
    margin-top: 0.25rem;
    text-align: right;
}

/* Submit button */
.gform_button {
    background-color: #fff !important;
    color: #000 !important;
    padding: 20px 40px !important;
    border: 1px solid #000 !important;
    border-radius: 50px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease, transform 0.2s ease !important;
}

.gform_button:hover {
    background-color: #f5f5f5 !important;
    transform: translateY(-1px) !important;
}

/* Required indicator */
.gfield_required {
    color: #dc3545;
    font-weight: normal;
}

/* Field descriptions */
.gfield_description {
    font-size: 14px;
    color: #686e77;
    margin-top: 0.25rem;
    line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gform_wrapper {
        padding: 1.5rem;
    }

    .ginput_container--name,
    .ginput_container_email {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}