/*
Theme Name: Woinc Theme
Theme URI:  https://example.com/
Author:     Arif
Author URI: https://example.com/
Description: Minimal starter theme with 3-column header: logo, centered menu with dropdowns, and search icon.
Version:    2.4.77
License:    GNU General Public License v2 or later
Text Domain: woinc-starter
Tags: starter, responsive, minimal
*/

:root{
  --accent: #0b66ff;
  --text: #222;
  --muted: #666;
  --container: 1300px;
}
*{box-sizing:border-box}
body{font-family: 'Inter',sans-serif !important; color:var(--text); margin:0; line-height:1.45}
a{
  color:var(--muted);
  text-decoration:none;
  transition:color 0.3s ease;
  line-height: 26px;
}
a:hover{color:var(--accent); text-decoration:none}
.site-container{max-width:var(--container); margin:0 auto; padding:0 1rem}

.home .woinc-search-inner{
	border: 1px solid #fff !important;
}
 .woinc-search-inner{
	border: 1px solid #eee !important;
}
.social-media {
  display: flex;
  justify-content: left;
  margin-left: -5px;
  margin-bottom: 20px;
}

.social-media a {
  display: flex;
  background: #ddd;
  height: 40px;
  width: 40px;
  margin: 0 7px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 2px 2px 10px -1px rgba(0, 0, 0, 0.15),
    -6px -6px 10px -1px rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0);
  transition: transform 0.5s;
}
.social-media a svg{
	width: 16px;
}
.social-media a i {
  font-size: 20px;
  color: #000;
  transition: transform 0.5s;
}

.social-media a:hover {
  box-shadow: inset 4px 4px 6px -1px rgba(0, 0, 0, 0.2),
    inset -4px -4px 6px -1px rgba(255, 255, 255, 0.7),
    -0.5px -0.5px 0px rgba(255, 255, 255, 1),
    0.5px 0.5px 0px rgba(0, 0, 0, 0.15), 0px 12px 10px -10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.01);
  transform: translateY(2px);
}

.social-media a:hover i, .social-media a:hover svg {
  transform: scale(0.9);
}

.social-media a:hover .fa-facebook {
  color: #3b5998;
}
.social-media a:hover .fa-linkedin-in {
  color: #3b5998;
}

/* X (Twitter) */
.social-media a:nth-child(2):hover svg path {
  fill: #00acee; /* X brand color */
}

/* YouTube */
.social-media a:nth-child(4):hover svg path {
  fill: #ff0000;
}

/* Instagram */
.social-media a:nth-child(5):hover svg path {
  fill: #e1306c;
}


@media (max-width:480px){
	.social-media a {
		height: 30px;
  		width: 30px;
		margin: 0 10px;
	}
	.social-media a svg{
		width: 15px;
	}
	.social-media a i {
	  font-size: 15px;
	}
}

/* ------------------------------
   HEADER BASE
--------------------------------*/
.site-header {
  width: 100%;
  background: transparent;
  position: relative;
  z-index: 1000;
}
.home .site-header {
  width: 100%;
  background: transparent;
  position: absolute;
  z-index: 1000;
}

.header-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* ------------------------------
   LEFT (LOGO)
--------------------------------*/
.header-left .site-logo img {
  max-height: 55px;
  width: auto;
}

/* ------------------------------
   CENTER (MENU)
--------------------------------*/
.header-center {
  flex: 1;
}

.main-nav {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.main-nav > li {
  position: relative;
}
.main-nav > li.menu-item-has-children > a{
    padding:10px 18px 10px 0;
}
.main-nav > li > a {
  text-decoration: none;
  padding: 10px 0;
  display: block;
  color: #333;
  font-weight: 500;
}

/* Dropdown */
.main-nav li ul.sub-menu {
  position: absolute;
  left: 0;
  top: 120%;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  border: 1px solid #eee;
  min-width: 200px;
  /* padding: 10px 0; */
  list-style: none;
  transition: 0.3s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.main-nav li:hover > ul.sub-menu {
  top: 100%;
  opacity: 1;
  visibility: visible;
}

.main-nav li ul.sub-menu li a {
  padding: 10px 15px;
  display: block;
  color: #333;
  font-size: 14px;
}

/* ------------------------------
   RIGHT (SEARCH + HAMBURGER)
--------------------------------*/
.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Search box from shortcode */
.woinc-search-form {
  position: relative;
}

.woinc-search-form input[type="search"] {
  padding: 8px 35px 8px 15px;
  border-radius: 50px;
  border: 1px solid #ddd;
  background: transparent;
}

.woinc-search-form button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: none;
  cursor: pointer;
}

/* Hamburger */
.mobile-toggle {
  background: #eee;
  color: #fff;
  padding: 7px 10px 2px 10px;
  border-radius: 5px;
  border: none;
  font-size: 14px;
  display: none;
}

/* ------------------------------
   MOBILE RESPONSIVE
--------------------------------*/
/* Close button for mobile menu */
.mobile-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    display: none;
    }
.dropdown-toggle {
    position: absolute;
    right: -10px;
    top: 12px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}
 .dropdown-toggle::before {
    content: "";
    width: 12px;
    height: 8px;
    display: block;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" fill="none"><path d="M5.43277 6.96079L0.189201 1.71722C0.063067 1.59109 0 1.43793 0 1.25774C0 1.07754 0.063067 0.924382 0.189201 0.798248L0.783832 0.203616C0.909966 0.0774822 1.06313 0.00991058 1.24332 0.000901222C1.42351 -0.00810862 1.57667 0.0504537 1.70281 0.176588L5.89226 4.36604L10.0817 0.176588C10.2078 0.0504537 10.361 -0.00810862 10.5412 0.000901222C10.7214 0.00991058 10.8745 0.0774822 11.0007 0.203616L11.5953 0.798248C11.7214 0.924382 11.7845 1.07754 11.7845 1.43793C11.7845 1.43793 11.7214 1.59109 11.5953 1.71722L6.35174 6.96079C6.22561 7.10494 6.07245 7.17702 5.89226 7.17702C5.71206 7.17702 5.5589 7.10494 5.43277 6.96079Z" fill="%23121212"/></svg>');
    background-repeat: no-repeat;
    background-size: 12px 8px;
    transition: transform 0.25s ease;
    margin-top: 5px;
}

.main-nav li:hover > .dropdown-toggle::before {
    transform: rotate(180deg);  
}


@media (max-width: 991px) {
    .mobile-close {
        display: block;
    }  
    .dropdown-toggle {
        position: absolute;
        right: 15px;
        top: 14px;
        width: 20px;
        height: 20px;
        cursor: pointer;
        background: none;
        border: none;
        padding: 0;
    }

    .dropdown-toggle::before {
        content: "";
        width: 12px;
        height: 8px;
        display: block;
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" fill="none"><path d="M5.43277 6.96079L0.189201 1.71722C0.063067 1.59109 0 1.43793 0 1.25774C0 1.07754 0.063067 0.924382 0.189201 0.798248L0.783832 0.203616C0.909966 0.0774822 1.06313 0.00991058 1.24332 0.000901222C1.42351 -0.00810862 1.57667 0.0504537 1.70281 0.176588L5.89226 4.36604L10.0817 0.176588C10.2078 0.0504537 10.361 -0.00810862 10.5412 0.000901222C10.7214 0.00991058 10.8745 0.0774822 11.0007 0.203616L11.5953 0.798248C11.7214 0.924382 11.7845 1.07754 11.7845 1.43793C11.7845 1.43793 11.7214 1.59109 11.5953 1.71722L6.35174 6.96079C6.22561 7.10494 6.07245 7.17702 5.89226 7.17702C5.71206 7.17702 5.5589 7.10494 5.43277 6.96079Z" fill="%23121212"/></svg>');
        background-repeat: no-repeat;
        background-size: 12px 8px;
        transition: transform 0.25s ease;
        margin-top: 5px;
    }

    .main-nav li.open > .dropdown-toggle::before {
        transform: rotate(180deg);  
    }



  .header-inner {
    padding: 10px 15px;
  }

  .header-center {
    position: fixed;
    top: 0; right: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    padding-top: 80px;
    transition: 0.35s ease;
    box-shadow: -4px 0 12px rgba(0,0,0,0.1);
    z-index: 9999;
  }

  .header-center.active {
    right: 0;
  }

  .main-nav {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0 !important;
    padding: 0 20px !important;
  }

  .main-nav > li {
    width: 100%;
    border-bottom: 1px solid #eee;
  }

  .main-nav li a {
    padding: 12px 0;
    width: 100%;
    display: block;
  }

  /* Mobile dropdown */
  .main-nav li ul.sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    background: #f8f8f8;
    box-shadow: none;
    border: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .main-nav li.open > ul.sub-menu {
    max-height: 500px;
    padding-left: 5px;
  }

  /* Hamburger visible */
  .mobile-toggle {
    display: block;
  }
}





/* Logo */
.site-logo img{max-height:56px; width:auto; display:block}
.site-title{font-weight:700}

/* Nav */
.main-nav{list-style:none; margin:0; padding:0; display:flex; gap:2.2rem; align-items:center}
.main-nav > li{position:relative}
.main-nav a{padding:0.5rem 0.6rem; display:block}
/* Dropdown */
.main-nav li ul{position:absolute; left:0; top:100%; min-width:180px; list-style:none; margin:0; background:#fff; border:1px solid #eee; display:none; box-shadow:0 6px 20px rgba(0,0,0,0.06); z-index:1000;}
.main-nav li:hover > ul{display:block;padding-left: 5px;}
.main-nav li ul li a{padding:0.4rem 0.8rem; white-space:nowrap}

/* Search */
.search-toggle{cursor:pointer; display:inline-flex; align-items:center; gap:0.5rem}
.search-box{display:none; position:absolute; right:1rem; top:100%; background:#fff; padding:0.5rem; border:1px solid #eee; box-shadow:0 6px 20px rgba(0,0,0,0.06)}
.search-box input{border:1px solid #ddd; padding:0.5rem 0.6rem; border-radius:6px; width:220px}
.search-box.active{display:block}


input#woinc-s-rounded,input#woinc-s-rounded:focus,input#woinc-s-rounded:active {
    height: 32px;
    border: none;
    background: transparent;
    outline: none;
}

button.woinc-search-btn {
    background: #0E2E51;
    border: none;
    height: 36px;
    width: 36px;
    border-radius: 50%;
}

button.woinc-search-btn svg {
    width: 24px;
    height: 24px;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

/* Basic content */
.content-area{padding: 0}
footer.site-footer{padding:3.5rem 0; background: #F3F3F3; color:var(--muted)}
.footer-widgets{margin-bottom:1.5rem; border-bottom: 1px solid #eee;}
/* FOOTER WIDGETS WRAPPER */
.footer-widgets {
    display: flex;
    gap: 0px;
    padding-bottom: 40px;
    width: 100%;
}
h3.footer-widget-title {
    margin: 0 0 20px;
}
.first_col p {
    max-width: 266px;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    color: #666666;
}
h3.footer-widget-title {
    color: #121212;
    font-size: 20px;
    font-weight: bold;
}
/* EACH ROW OF WIDGET AREAS */
.footer-widget-area {
    /* display: flex; */
    /* flex-wrap: wrap; */
    gap: 30px;
}

footer.site-footer figure {
    margin: 0 0 15px 0;
}

.footer-widget p {
    margin: 0 0 15px;
}

/* REMOVE DEFAULT UL/LI STYLE */
.footer-widget ul,
.footer-widget li {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-widget ul li {
    margin-bottom: 10px;
}
.footer-widget ul li a {
    font-size: 18px;
    font-weight: 400;
    text-decoration: none;
}
/* SOCIAL ICON RESET */
.footer-widget .wp-block-social-links {
    gap: 12px;
}

/* —— DESKTOP LAYOUT —— */
/* First row: 40% + 20% + 20% + 20% */
.footer-widget-area:first-child {
    flex: 0 0 40%;
}
.footer-widget-area {
    flex: 0 0 20%;
}

/* —— RESPONSIVE —— */

/* Tablet */
@media (max-width: 991px) {
    
    .footer-widget-area {
        flex: 0 0 100% !important;
    }
    .footer-widgets {
        flex-wrap: wrap;
    }
  
}

/* Mobile */
@media (max-width: 600px) {
    .footer-widgets {
        flex-wrap: wrap;
    }
    .footer-widget-area .footer-widget {
        flex: 0 0 100% !important;
    }

    .footer-widget-area {
        gap: 20px;
    }
}

/* ------------------------------
   theme common css here 
   */
.hover_effect > div {
/*     background: #fff; */
    transition: background 0.3s ease, transform 0.3s ease;
}

.hover_effect > div:hover {
    background-color: #eee !important;
    transform: translateY(-2px);
}

/* ================================
   Blog Index Layout
================================ */

.hero_bg_sec {
  background-image: url('http://westernoutsourcing.com/wp-content/uploads/2025/12/Rectangle-34624342.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  min-height: 400px;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
}

ul.featured_items {
    list-style: none;
    padding-left: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
}

ul.featured_items li {
    background: #EBF5FF;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.hero_bg_sec .container {
  position: relative;
  margin: 0 auto;
  color: #fff;
  padding: 40px 20px;
}

.bottom_bg_sec {
    background: #0E2E51;
    padding: 80px 0;
    text-align: center;
}

div#fluentform_2_success {
    color: #fff;
    opacity: 60%;
}

.hero_bg_sec h2, .bottom_bg_sec h2 {
  font-family: "Inter", Sans-serif;
  font-size: 48px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 12px;
  line-height: 1.2;
}

.hero_bg_sec p, .bottom_bg_sec p{
  font-family: "Inter", Sans-serif;
    font-size: 20px;
    font-weight: 400;
    font-style: normal;
    line-height: 26px;
    color: #FFFFFF;
    opacity: 60%;
}

form#fluentform_2 {
    max-width: 540px;
    margin: 0 auto;
    margin-top: 30px;
}

input#ff_2_email {
    background: #9b9b9b54;
    border-radius: 50px;
    border: 1px solid #838383;
    height: 56px;
    font-size: 14px;
}

form.fluent_form_2 .wpf_has_custom_css.ff-btn-submit {
    background-color: #fff !important;
    color: #0F2E50 !important;
    height: 56px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    border-color: #fff !important;
    padding: 16px 32px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero_bg_sec {
    min-height: 260px;
  }

  .hero_bg_sec h2, .bottom_bg_sec h2 {
    font-size: 2rem;
  }

  .hero_bg_sec p {
    font-size: 1rem;
  }
}

.blog-index {
  padding: 40px 20px;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 10px;
}

.featured-content {
    padding: 15px 50px 15px 15px;
}

.featured-content span {
    padding-left: 15px;
    font-size: 12px;
    font-weight: 600;
    color: #0E2E51;
    position: relative;
}

.featured-content span::before {
    content: "";
    position: absolute;
    left: 0;
    top: -10;
    height: 25px;
    border-left: 3px solid #0E2E51;
}

.featured-title {
    font-size: 32px;
    line-height: 40px;
    margin-bottom: 15px;
}

/* Filters */
.blog-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 35px;
  justify-content: center;
}

.filter {
    padding: 12px 32px;
    border-radius: 30px;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: #6B7280;
    border: 1px solid #E5E7EB;
}

.filter.active {
    background: #0E2E51;
    color: #fff;
}

/* Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Card */
.blog-card {
  position: relative;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  transition: transform .3s ease, box-shadow .3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.08);
}

.card-thumb img {
  width: 100%;
  height: 247px;
  object-fit: cover;
}

/* Badge */
.card-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  color: #fff;
  padding: 6px 17px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

/* Content */
.card-content {
  padding: 5px 30px 30px;
}

.card-title {
  font-size: 22px;
  line-height: 1.4;
  margin-bottom: 10px;
  
  /* 2 line clamp */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-title a {
  color: #121212;
  text-decoration: none;
}

.card-excerpt {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 16px;

  /* 2 line clamp */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-link {
  font-size: 16px;
  font-weight: 600;
  color: #0E2E51;
  text-decoration: none;
}

.card-link:hover {
  text-decoration: underline;
}

/* Pagination */
.blog-pagination {
  text-align: center;
  margin-top: 40px;
}

.blog-pagination .page-numbers {
  padding: 10px 14px;
  margin: 0 4px;
  background: #f2f4f7;
  border-radius: 50%;
}

.blog-pagination .current {
  background: #0b3cff;
  color: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
}
/* ================================
   Featured Post
================================ */
.featured-post {
  margin-bottom: 70px;
}

.featured-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    border-radius: 24px;
    padding: 0;
    align-items: center;
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.07);
}

.featured-image img {
    width: 100%;
    object-fit: cover;
    border-top-left-radius: 24px;
    border-bottom-left-radius: 24px;
    height: 560px;
}

.featured-image a {
    display: flex;
}


.featured-label {
  display: inline-block;
  background: #e7ecff;
  color: #0b3cff;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 10px;
}


.featured-title a {
  color: #121212;
  text-decoration: none;
}

.featured-excerpt {
    font-size: 16px;
    line-height: 1.7;
    color: #666666;
    margin-bottom: 22px;
}

.featured-btn {
  display: inline-block;
  background: #0E2E51;
  color: #fff;
  padding: 12px 26px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.featured_btn {
    max-width: 200px;
    margin: auto;
    margin-bottom: 40px;
    padding: 9px 17px;
    background: #EBF5FF;
    border-radius: 50px;
    color: #121212;
    border: 1px solid #C5E1FF;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.featured-btn:hover {
  background: #EBF5FF;
}

/* Responsive */
@media (max-width: 900px) {
  .featured-inner {
    grid-template-columns: 1fr;
  }

  .featured-title {
    font-size: 1.5rem;
  }
}

.single_hero_sec {
    min-height: 520px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Optional overlay */
.single_hero_sec::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

/* Single Post Layout */
.single-post .site-main {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    margin-top: -230px;
    position: relative;
    background: #fff;
    z-index: 9999;
}

header.post-header {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 30px 48px;
    margin: 40px;
    text-align: center;
}

.social-share a {
    border: 1px solid #cdc2c2;
    padding: 10px;
    border-radius: 50%;
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

.social-share {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-share a svg {
    width: 14px;
}

.post-thumbnail img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 20px;
}

.post-title {
  font-size: 2.2rem;
  line-height: 1.3;
  margin-bottom: 10px;
}

.post-meta {
  font-size: 0.9rem;
  color: #777;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin: 25px 0;
  justify-content: center;
}
span.meta-author a {
    font-weight: bold;
}
span.meta-date {
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    padding: 0 18px;
}
.post-content {
  font-size: 1.05rem;
  line-height: 1.8;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.post-footer {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.post-tags a,
.post-categories a {
  background: #f2f2f2;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-right: 5px;
  display: inline-block;
}

/* Author Box */
.author-box {
  display: flex;
  gap: 15px;
  margin: 40px auto;
  max-width: 900px;
  background: #fafafa;
  padding: 20px;
  border-radius: 12px;
}

.author-avatar img {
  border-radius: 50%;
}

.author-info h4 {
  margin-bottom: 5px;
}

/* Post Navigation */
.post-navigation {
  max-width: 900px;
  margin: 40px auto;
  display: flex;
  justify-content: space-between;
}

.post-navigation a {
  font-weight: 600;
}

/* Comments */
.comments-section {
  max-width: 900px;
  margin: 40px auto;
}
/* ================================
   Comments Section
================================ */
.comments-section {
  margin-top: 60px;
}

.comments-title {
  font-size: 1.5rem;
  margin-bottom: 25px;
  font-weight: 600;
}

/* Comment List */
.comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comment-list > li {
  margin-bottom: 30px;
}

/* Single Comment */
.comment-body {
  display: flex;
  gap: 15px;
  padding: 20px;
  border-radius: 12px;
  background: #fafafa;
  border: 1px solid #eee;
}

/* Avatar */
.comment-author img {
  border-radius: 50%;
}

/* Comment Content */
.comment-content {
  flex: 1;
}

.comment-meta {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 8px;
}

.comment-author .fn {
  font-weight: 600;
  color: #111;
  text-decoration: none;
}

.comment-metadata a {
  color: #777;
  text-decoration: none;
}

.comment-metadata a:hover {
  text-decoration: underline;
}

/* Comment Text */
.comment-content p {
  margin: 10px 0;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Reply Link */
.reply {
  margin-top: 10px;
}

.reply a {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0073aa;
  text-decoration: none;
}

.reply a:hover {
  text-decoration: underline;
}

/* Nested Comments */
.comment-list .children {
  list-style: none;
  padding-left: 30px;
  margin-top: 20px;
}

/* Bypostauthor */
.bypostauthor .comment-body {
  background: #f0f7ff;
  border-color: #d6e8ff;
}

/* ================================
   Comment Form
================================ */
.comment-respond {
  margin-top: 50px;
  padding: 30px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eee;
}

.comment-reply-title {
  font-size: 1.4rem;
  margin-bottom: 20px;
}

/* Form Fields */
.comment-form p {
  margin-bottom: 15px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.comment-form textarea {
  min-height: 140px;
  resize: vertical;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: #0E2E51;
  box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

/* Cookies Checkbox */
.comment-form-cookies-consent {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
}

/* Submit Button */
.comment-form .submit {
  display: inline-block;
  background: #0E2E51;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.comment-form .submit:hover {
  background: #0E2E51;
  transform: translateY(-1px);
}

/* ================================
   Responsive
================================ */
@media (max-width: 768px) {
    header.post-header {
        padding: 10px;
        margin: 10px;
    }
  .comment-body {
    flex-direction: column;
  }

  .comment-author img {
    width: 50px;
    height: 50px;
  }

  .comment-list .children {
    padding-left: 15px;
  }
}


/* Responsive */
@media (max-width: 768px) {
  .post-title {
    font-size: 1.8rem;
  }

  .author-box {
    flex-direction: column;
    text-align: center;
  }
}
  