* {
 box-sizing: border-box; 
}


.about-container {
      width: 100%; /* 3 images x 340 + 2 gaps x 30 */
      overflow: hidden;
	   margin-left:auto;
	   margin-right:auto;
	   padding:2.5em;
}

		.about-container p {
      font-size: 1.15em;
	  line-height:1.25em;
	  margin-top:1em;
	  margin-bottom:1em;
    }
	
.img-profile {
 width: 90%;
        height: 210px;
        object-fit: cover;
        object-position: center;
}

.about-container-inner {
    background-color: #ffffff; /* White background */
    border-radius: 12px; /* Softly rounded corners */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    padding: 20px; /* Ample internal spacing */
    max-width: 800px; /* Maximum width for readability */
    margin: 60px auto; /* Center the form horizontally with top/bottom margin */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Modern, readable font */
    color: #333333; /* Darker text for contrast */
}

.about-title {
  font-family: 'Segoe UI', sans-serif; /* Modern, readable font */
  font-size: 2.5em; /* Large and prominent */
  font-weight: 600; /* Semi-bold for emphasis */
  color: #333; /* Dark gray for good contrast */
  text-align: center; /* Centered for visual balance */
  margin-bottom: 40px; /* Ample space below the title */
  position: relative; /* For potential pseudo-elements or underlines */
  padding-bottom: 10px; /* Space for a subtle underline effect */
}

.about-title::after {
  content: ''; /* Create a pseudo-element for an underline */
  display: block;
  width: 60px; /* Short, modern underline */
  height: 4px;
  background-color: #007bff; /* Accent color for the underline */
  margin: 10px auto 0; /* Center the underline and space it from the text */
  border-radius: 2px; /* Slightly rounded corners for the underline */
}


.about-container-inner p {
  font-family: 'Segoe UI', sans-serif; /* Modern, readable font */
  font-size: 1.15em; /* Large and prominent */
  font-weight: 300; /* Semi-bold for emphasis */
  color: #333; /* Dark gray for good contrast */
}

	
	

.main-container {
      width: 100%; /* 3 images x 340 + 2 gaps x 30 */
      overflow: hidden;
	   margin-left:auto;
	   margin-right:auto;
	   padding:.5em;
}
    input[type="text"] {
      width: 60%;
      padding: 1.25rem;
      margin-bottom: 1rem;
    }
	
	  select {
      width: auto;
      padding: 0.5rem;
      margin-bottom: 1rem;
	  background-color:#ccc;
	  margin-left:auto;
	  margin-right:auto;
    }
	
    .grid {
      display: grid;
      gap: .55rem;
      grid-template-columns: repeat(5, 1fr);
    }
    .ad-card {
      background: white;
      border-radius: 8px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      transition: transform 0.3s, box-shadow 0.3s;
      word-wrap: break-word;
    }
    .ad-card:hover {
      transform: scale(1.05);
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    }
    .ad-card img {
      width: 100%;
      height: 120px;
      object-fit: cover;
    }
	.ad-card .logo {
  margin: 0 auto;
  max-height: 58px;
  max-width:  auto;
  object-fit: contain;

}
    .ad-card .content {
      padding: 0.5rem;	  
    }
    .ad-card h3 {
      margin: 0 0 0.5rem;
      font-size: 1rem;
	  min-height:70px;
	  vertical-align:middle;
    }
    .ad-card p {
      margin: 0.25rem 0;
      font-size: 0.65rem;
	  max-height:15px;
    }
	
	.ad-card .town {
      font-size: 0.75rem;
	  font-weight:bold;
	  	  max-height:10px;
		  color:#666;
    }
	
		.ad-card .venue {
      font-size: 0.55rem;
	  	  max-height:10px;
		  color:#666;
    }
	
	.ad-card .catitle {
      font-size: .75rem;
	  	  max-height:25px;
		  color:#c2c2c2;
    }
	
    .pagination {
      margin-top: 1rem;
      text-align: center;
    }
    .pagination button {
      padding: 0.5rem 1rem;
      margin: 0 5px;
    }
   
   
    @media (max-width: 767px) {
	
	.img-profile {
        width: 100%;
        height: 110px;
        object-fit: cover;
        object-position: center;
     }
	
	input[type="text"] {
      width: 100%;
      padding: 1.25rem;
      margin-bottom: 1rem;
    }
	
	 select {
      width: 100%;
      padding: 0.5rem;
      margin-bottom: 1rem;
	  background-color:#ccc;
	  margin-left:auto;
	  margin-right:auto;
    }
      .grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .ad-card img {
         max-height:90px;
      }
      .ad-card h3 {
        font-size: 0.65rem;
		min-height:30px;
      }
      .ad-card p {
        font-size: 0.6rem;
      }
	  
	  .ad-card .logo img{
	  min-height:30px;
      }
	  
	  	  .ad-card .logo{
	  min-height:30px;
      }
    }
	
	