/*
Theme Name: NACSO Custom Theme
Theme URI: http://example.com
Author: Your Name
Description: Custom WordPress theme built from scratch
Version: 1.0
*/
body { margin: 0;font-family: 'Ubuntu', sans-serif; }
* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    font-family:'Ubuntu', sans-serif;
    font-size: 20px ;
    line-height: 30px;
    }

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

    .header {
      background: #eee8d0;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
      overflow: visible; /* allow dropdown to escape */
    }

    .top-bar {
      display: flex;
      justify-content: space-between;
      padding: 20px 30px;
      background: none;
      border-bottom: 1px solid #eaecef;
    }

    .address {
      font-size: 22px;
      color: #615F5F;
      line-height: 1;
	  text-align:center;
    }
    
    .address p{
        padding-top: 7px;
      
    }

    .contact {
      font-size: 15px;
      color: #2d3e50;
      text-align: right;
    }

    .contact a {
      color: #2d6a4f;
      text-decoration: none;
    }

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

    .tagline {
      background:white;
      color: #615F5F;
      padding: 15px 30px;
      font-size: 20px;
      font-style: italic;
	  border-left:10px solid #5C3A21;
	  border-radius:7px;
	  width:30%;
	  font-weight:bolder;
    }

    .nav-container {
      background: none;
      position: relative;
      z-index: 10;
    }

    /* Hamburger */
    .menu-toggle {
      display: none;
      color: white;
      font-size: 34px;
      cursor: pointer;
      padding: 16px 20px;
    }

    .main-nav {
      display: flex;
      list-style: none;
      padding: 0 20px;
    }

    .main-nav > li {
      position: relative;
	  margin-right:5px;
	  border-radius:7px 7px 0 0;
	  background:#5C3A21;
    }

    .main-nav > li > a {
      display: block;
      color: white;
      text-decoration: none;
      padding: 16px 24px;
      font-weight: 600;
      font-size: 16px;
      transition: all 0.3s ease;
    }

    .main-nav > li > a:hover {
      background: #5C3A21;
	  color:grey;
	  border-radius:7px 7px 0 0;
    }

    /* Submenu (dropdown) styles */
	.dropdown {
		display: none;
		position: absolute;
		background: #5C3A21;
		top: 100%;
		left: 0;
		min-width: 200px;
		z-index: 1000;
		flex-direction: column;
		border-bottom:1px solid white;
	}
	.has-dropdown:hover > .dropdown {
		display: block; /* Show on desktop hover */
		
	}
    .main-nav li:hover .dropdown {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
	  border-bottom:1px solid white;
    }

    .dropdown li {
      list-style: none;
    }
	
	.dropdown li a {
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    display: block;
	}

	.dropdown li a:hover {
		background: #6f4527;
	}

	/* If you have sub-submenus */
	.dropdown.deeper {
		left: 100%;
		top: 0;
	}

    .content {
      padding: 30px;
      background: white;
      border-top: 1px solid #eaecef;
      margin-top: 20px;
      border-radius: 8px;
    }

    h1 {
      color: #1b4332;
      margin-bottom: 20px;
      padding-bottom: 10px;
      border-bottom: 2px solid #eaf7ee;
    }

    h2 {
      color: #2d6a4f;
      margin: 25px 0 15px;
    }

    p {
      margin-bottom: 15px;
    }

    .info-box {
      background: #eaf7ee;
      padding: 20px;
      border-radius: 8px;
      margin: 20px 0;
      border-left: 4px solid #2d6a4f;
    }

    /* Mobile Styles */
    @media (max-width: 768px) {
      .top-bar {
        flex-direction: column;
        text-align: center;
        padding: 5px 20px;
		
      }
	  
	  .address {
	      width:100%
          font-size: 16px;
          color: #615F5F;
          line-height: 1;
    	  text-align:center;
    	  margin-top:10px;
        }
	  .tagline {width:100%}

      .contact {
        text-align: center;
        margin-top: 15px;
		
		
      }

      .menu-toggle {
        display: block; /* show hamburger */
		color:black;
      }

      .main-nav {
        display: none; /* hidden by default */
        flex-direction: column;
        background: #5C3A21;
        width: 100%;
        overflow: hidden;
        transition: max-height 0.4s ease;
      }

      .main-nav.active {
        display: flex;
		
      }

      .dropdown {
        position: static;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        transition: max-height 0.4s ease;
		background:#fff;
		color:#000
      }

      .dropdown.active {
        max-height: 500px;
		color:#000;
      }

      .main-nav li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      }
	  
	  .main-nav li:hover, .main-nav li:active {
		  background-color: #85572e;
		}

      .main-nav > li > a {
        position: relative;
      }

      .main-nav > li > a::after {
        content: '\f107';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        right: 20px;
        transition: transform 0.3s ease;
      }

      .main-nav > li > a.dropdown-active::after {
        transform: rotate(180deg);
      }
	  
	  .dropdown li a {
		color: black;
		}
		
	  .dropdown li a:hover{
		  background:#fdf6f1;
		  border:none;
	  }
	  .dropdown li {
		  
		  border:none;
	  }
	  
	  .card-grid {
		flex-direction: column;
		align-items: center;
	  }

	  .card {
		width: 100%; /* Or 100% minus padding */
	  }

    }


    /*Home page cards section*/
    
    .homepage-wrapper {
      padding: 40px;
      background: #f9f9f9;
      text-align: center;
    }
    
    .card-grid {
      display: flex;
      gap: 10px;
      justify-content: center;
      flex-wrap: wrap;
      margin-top: 30px;
      margin-bottom: 30px;
    }
    .card {
      background: white;
      border: 1px solid #ddd;
      border-top: 8px solid #5C3A21; /* ← Bold top border (you can change color) */
      border-radius: 10px; /* ← Rounded corners */
      flex:1;
      padding: 15px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      transition: transform 0.3s, box-shadow 0.3s;
    }
    
    .card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }
    
    .card img {
      width: 100%;
      height: auto;
      display: block;
      margin-bottom: 15px;
    }
    
    .card h1,h2{
        padding-top: 0;
        margin-top: 0;
        text-align: center;
    }
    
    
    
    
    .site-footer {
      background: #d6dec2;
      padding: 40px 20px;
      font-size: 14px;
    }
    
    .footer-columns {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      justify-content: space-between;
    }
    
    .footer-col {
      flex: 1 1 220px;
      min-width: 220px;
    }
    
    .footer-col h3 {
      font-size: 18px;
      margin-bottom: 15px;
      font-weight: bold;
    }
    
    .footer-col a {
      display: block;
      color: #333;
      margin-bottom: 8px;
      text-decoration:underline dotted;
      font-size:18px;
    }
    
    .footer-col iframe {
      width: 100%;
      border: 0;
      height: 350px;
    }

.footer-col ul{
	list-style-type:none;
}
    
    @media (max-width: 768px) {
      .footer-columns {
        flex-direction: column;
      }
    }
    
    
    .breadcrumbs {
    font-size: 18px;         /* Matches the size in your screenshot */
    font-family: Georgia, "Times New Roman", serif; /* Serif font */
    color: #666;             /* Gray text */
    padding: 20px;
}

.breadcrumbs a {
    color: #666;             /* Same gray as text */
    text-decoration: none;   /* Remove default underline */
    border-bottom: 1px dotted #666; /* Dotted underline */
    padding-bottom: 2px;     /* Adjust spacing for underline */
}

.breadcrumbs a:hover {
    color: #333;             /* Darker gray on hover */
    border-bottom: 1px solid #333; /* Solid underline on hover */
}

.breadcrumbs .current {
    font-weight: normal;     /* Keep consistent with your screenshot */
    color: #666;
}


.latest-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0px 10% 30px 10%;
}

.news-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s;
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-image img {
  width: 100%;
  height: auto;
  display: block;
}

.news-content {
  padding: 15px;
}

.news-meta {
  font-size: 14px;
  color: #777;
  margin-bottom: 5px;
}

.news-content h3 {
  margin: 10px 0;
  font-size: 18px;
}

.news-content h3 a {
  color: #000;
  text-decoration: none;
}

.news-content h3 a:hover {
  color: #0073aa;
}

.read-more {
  display: inline-block;
  margin-top: 10px;
  color: #0073aa;
  font-weight: bold;
  text-decoration: none;
}

.read-more:hover {
  text-decoration: underline;
}

/* ✅ Responsive layout */
@media (max-width: 1367px) {
  .latest-news-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
  }
}

@media (max-width: 768px) {
  .latest-news-grid {
    grid-template-columns: 1fr; /* 1 column on mobile */
  }
}

ul,ol{
	list-style-position:inside
}