
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Saira:wght@400;500;600;700&display=swap');

.cobsmes-directory-shell,
.cobsmes-submit-shell,
.cobsmes-single-wrap{
    font-family: 'Inter', sans-serif;
}

.cobsmes-card-body h3,
.cobsmes-latest-card h4,
.cobsmes-section-title{
    font-family: 'Saira', sans-serif;
}


:root{
  --cobs-gold:#F5C542;
  --cobs-grey:#6C7A86;
  --cobs-green:#1F8C63;
  --cobs-black:#121212;
  --cobs-white:#FFFFFF;
  --cobs-bg:#F8F8F6;
  --cobs-cream:#FBF7EF;
  --cobs-border:#E6E8EB;
  --cobs-muted:#919AA3;
}

.cobsmes-directory-shell,
.cobsmes-submit-shell,
.cobsmes-single-wrap{
  font-family: Arial, Helvetica, sans-serif;
  color: var(--cobs-black);
}

.cobsmes-directory-shell{
  background: var(--cobs-white);
}

.cobsmes-hero-search{
  background: transparent;
  margin: 0 0 42px;
}

.cobsmes-hero-inner{
  background: var(--cobs-cream);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 18px 40px rgba(17,17,17,.06);
}

.cobsmes-featured-pills{
  display:flex;
  flex-wrap:wrap;
  gap:22px;
  margin:0 0 20px;
}

.cobsmes-pill{
  color:#4A4A4A;
  text-decoration:none;
  font-size:14px;
  font-weight:600;
  transition:all .2s ease;
}

.cobsmes-pill:hover,
.cobsmes-pill.is-active{
  color:var(--cobs-black);
}

.cobsmes-top-search{
  display:flex;
  gap:12px;
  margin:0;
}

.cobsmes-top-search-luxe{
  align-items:center;
}

.cobsmes-search-field{
  flex:1 1 0;
}

.cobsmes-search-field input,
.cobsmes-place-form input,
.cobsmes-place-form select,
.cobsmes-submit-form input,
.cobsmes-submit-form select,
.cobsmes-submit-form textarea{
  width:100%;
  height:54px;
  border:1.5px solid #E8E8E2;
  border-radius:30px;
  padding:0 18px;
  box-sizing:border-box;
  background:var(--cobs-white);
  outline:none;
}

.cobsmes-submit-form textarea{
  min-height:160px;
  border-radius:18px;
  padding:14px 16px;
}

.cobsmes-search-field input:focus,
.cobsmes-place-form input:focus,
.cobsmes-place-form select:focus,
.cobsmes-submit-form input:focus,
.cobsmes-submit-form select:focus,
.cobsmes-submit-form textarea:focus{
  border-color:rgba(245,197,66,.9);
  box-shadow:0 0 0 4px rgba(245,197,66,.12);
}

.cobsmes-top-search button,
.cobsmes-place-form button,
.cobsmes-submit-form button{
  background:var(--cobs-gold);
  color:var(--cobs-white);
  border:0;
  border-radius:30px;
  padding:0 28px;
  font-weight:700;
  cursor:pointer;
  min-width:132px;
  height:54px;
  transition:all .2s ease;
}

.cobsmes-top-search button:hover,
.cobsmes-place-form button:hover,
.cobsmes-submit-form button:hover{
  background:var(--cobs-green);
}

.cobsmes-directory-layout{
  display:grid;
  grid-template-columns:300px minmax(0,1fr);
  gap:34px;
  align-items:start;
}

.cobsmes-side-block{
  margin-bottom:30px;
}

.cobsmes-section-title{
  font-size:28px;
  line-height:1.2;
  font-weight:700;
  margin-bottom:20px;
}

.cobsmes-side-subtitle{
  font-weight:700;
  color:var(--cobs-black);
  margin-bottom:14px;
}

.cobsmes-filter-stack{
  display:grid;
  gap:12px;
}

.cobsmes-select-wrap{
  position:relative;
}

.cobsmes-place-form select{
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  border:2px solid rgba(31,140,99,.75);
  color:#273038;
  font-weight:600;
}

.cobsmes-select-wrap::after{
  content:"⌄";
  position:absolute;
  right:18px;
  top:50%;
  transform:translateY(-50%);
  color:#314047;
  pointer-events:none;
  font-size:16px;
}

.cobsmes-place-form input{
  border-radius:18px;
  height:50px;
}

.cobsmes-apply-btn{
  margin-top:4px;
}

.cobsmes-secondary-list{
  display:grid;
  gap:10px;
}

.cobsmes-secondary-item{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  padding:12px 16px;
  border-radius:999px;
  background:#F6F7F8;
  color:#3A434B;
  text-decoration:none;
  font-size:14px;
  border:1px solid #EEF1F3;
  transition:all .2s ease;
}

.cobsmes-secondary-item strong{
  color:var(--cobs-muted);
  font-weight:700;
}

.cobsmes-secondary-item:hover,
.cobsmes-secondary-item.is-active{
  background:var(--cobs-gold);
  color:var(--cobs-white);
  border-color:transparent;
}

.cobsmes-secondary-item:hover strong,
.cobsmes-secondary-item.is-active strong{
  color:var(--cobs-white);
}

.cobsmes-results-header{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:flex-start;
  margin-bottom:18px;
}

.cobsmes-results-header h2,
.cobsmes-results-header h3{
  margin:0 0 4px;
}

.cobsmes-results-header p{
  margin:0;
  color:var(--cobs-grey);
}

.cobsmes-view-toggle{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:#FFF8DF;
  border-radius:999px;
  padding:4px;
  font-size:13px;
  font-weight:700;
}

.cobsmes-view-toggle span{
  padding:8px 14px;
  border-radius:999px;
  color:#75818A;
}

.cobsmes-view-toggle span.is-active{
  background:var(--cobs-gold);
  color:var(--cobs-white);
}

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

.cobsmes-business-card,
.cobsmes-latest-card,
.cobsmes-submit-form,
.cobsmes-single-card{
  background:var(--cobs-white);
  border:1px solid #EFF2F4;
  border-radius:20px;
  box-shadow:0 10px 28px rgba(18,18,18,.06);
}

.cobsmes-business-card{
  overflow:hidden;
}

.cobsmes-thumb{
  display:block;
  background:#F5F6F7;
  aspect-ratio: 16 / 11;
  overflow:hidden;
}

.cobsmes-thumb img,
.cobsmes-latest-card img,
.cobsmes-single-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.cobsmes-card-body{
  padding:16px 16px 18px;
}

.cobsmes-card-rating-row{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:10px;
  font-size:12px;
}

.cobsmes-stars{
  color:var(--cobs-gold);
  letter-spacing:1px;
}

.cobsmes-rating-score{
  color:#546069;
  font-weight:700;
}

.cobsmes-open-badge{
  margin-left:auto;
  color:var(--cobs-green);
  font-weight:700;
}

.cobsmes-card-body h3{
  margin:0 0 10px;
  font-size:21px;
  line-height:1.25;
}

.cobsmes-card-body h3 a,
.cobsmes-latest-card h4 a{
  text-decoration:none;
  color:var(--cobs-black);
}

.cobsmes-card-body h3 a:hover,
.cobsmes-latest-card h4 a:hover{
  color:var(--cobs-green);
}

.cobsmes-excerpt{
  color:var(--cobs-grey);
  line-height:1.55;
  margin:0 0 14px;
  min-height:66px;
}

.cobsmes-card-footer-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.cobsmes-card-footer-meta span{
  display:inline-flex;
  align-items:center;
  padding:7px 10px;
  border-radius:999px;
  background:#F5F7F8;
  color:#49555E;
  font-size:12px;
  font-weight:700;
}

.cobsmes-empty-state,
.cobsmes-success{
  background:#f7faf8;
  border:1px solid #dbe9e1;
  padding:16px;
  border-radius:14px;
}

.cobsmes-latest-section{
  margin-top:36px;
}

.cobsmes-latest-card{
  padding:14px;
}

.cobsmes-latest-card a{
  display:block;
  aspect-ratio:16/10;
  overflow:hidden;
  border-radius:14px;
  background:#f6f7f8;
  margin-bottom:10px;
}

.cobsmes-latest-card h4{
  margin:0 0 8px;
  font-size:17px;
}

.cobsmes-latest-card p{
  margin:0;
  color:var(--cobs-grey);
  line-height:1.5;
}

.cobsmes-placeholder{
  display:flex;
  align-items:center;
  justify-content:center;
  height:100%;
  min-height:180px;
  background:linear-gradient(135deg,rgba(245,197,66,.2),rgba(108,122,134,.2));
  color:var(--cobs-black);
  font-weight:700;
}

.cobsmes-placeholder.small{
  min-height:120px;
}

.cobsmes-placeholder.large{
  min-height:320px;
  border-radius:14px;
}

.cobsmes-submit-form{
  padding:22px;
}

.cobsmes-form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin-bottom:18px;
}

.cobsmes-form-grid .span-2{
  grid-column:1/-1;
}

.cobsmes-single-wrap{
  max-width:1100px;
  margin:40px auto;
  padding:0 16px;
}

.cobsmes-single-card{
  padding:22px;
}

.cobsmes-single-hero{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  margin-bottom:20px;
}

.cobsmes-single-body{
  line-height:1.7;
  color:#30343a;
}

@media (max-width: 1180px){
  .cobsmes-business-grid,
  .cobsmes-latest-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 980px){
  .cobsmes-directory-layout,
  .cobsmes-single-hero,
  .cobsmes-form-grid{
    grid-template-columns:1fr;
  }

  .cobsmes-business-grid,
  .cobsmes-latest-grid{
    grid-template-columns:1fr;
  }

  .cobsmes-top-search{
    flex-direction:column;
  }

  .cobsmes-top-search button{
    width:100%;
  }

  .cobsmes-hero-inner{
    padding:20px;
  }

  .cobsmes-section-title{
    font-size:24px;
  }
}



.cobsmes-business-grid{
  grid-template-columns:1fr;
}

.cobsmes-business-card-grid{
  display:grid;
  grid-template-columns:260px minmax(0,1fr);
  min-height:240px;
}

.cobsmes-thumb-side{
  aspect-ratio:auto;
  height:100%;
  min-height:240px;
  border-right:1px solid #EFF2F4;
}

.cobsmes-thumb-side img{
  width:100%;
  height:100%;
  object-fit:contain;
  background:#fff;
  padding:16px;
  box-sizing:border-box;
}

.cobsmes-card-body-side{
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  padding:18px 20px;
}

.cobsmes-card-body-side h3{
  margin-bottom:8px;
}

.cobsmes-card-body-side .cobsmes-excerpt{
  min-height:auto;
  margin-bottom:12px;
}

.cobsmes-contact-list{
  display:grid;
  gap:7px;
  margin-bottom:14px;
}

.cobsmes-contact-list span{
  color:var(--cobs-grey);
  line-height:1.45;
  word-break:break-word;
  font-size:14px;
}

.cobsmes-contact-list strong{
  color:var(--cobs-black);
}

@media (max-width: 980px){
  .cobsmes-business-card-grid{
    grid-template-columns:1fr;
  }

  .cobsmes-thumb-side{
    min-height:220px;
    border-right:0;
    border-bottom:1px solid #EFF2F4;
  }
}


/* Latest section 2-column layout */
.cobsmes-latest-grid{
    grid-template-columns:1fr;
}

.cobsmes-latest-card{
    display:grid;
    grid-template-columns:220px 1fr;
    gap:16px;
    align-items:stretch;
}

.cobsmes-latest-card a{
    height:100%;
}

.cobsmes-latest-card img{
    object-fit:contain;
    padding:14px;
    background:#fff;
}

.cobsmes-latest-card h4{
    margin:0 0 8px;
}

@media(max-width:768px){
    .cobsmes-latest-card{
        grid-template-columns:1fr;
    }
}



/* Corrected Latest Approved Businesses 2-column layout */
.cobsmes-latest-grid.cobsmes-latest-grid-luxe{
    display:grid;
    grid-template-columns:1fr;
    gap:20px;
}

.cobsmes-latest-card.cobsmes-latest-card-side{
    padding:0;
    overflow:hidden;
}

.cobsmes-latest-card-grid{
    display:grid;
    grid-template-columns:220px minmax(0,1fr);
    min-height:200px;
}

.cobsmes-latest-media{
    display:block;
    height:100%;
    min-height:200px;
    background:#fff;
    border-right:1px solid #EFF2F4;
    overflow:hidden;
}

.cobsmes-latest-media img{
    width:100%;
    height:100%;
    object-fit:contain;
    background:#fff;
    padding:16px;
    box-sizing:border-box;
    display:block;
}

.cobsmes-latest-content{
    padding:18px 20px;
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
}

.cobsmes-latest-content h4{
    margin:0 0 8px;
    font-family:'Saira', sans-serif;
    font-size:20px;
    line-height:1.3;
}

.cobsmes-latest-content p{
    margin:0 0 12px;
    color:var(--cobs-grey);
    line-height:1.55;
}

@media(max-width:768px){
    .cobsmes-latest-card-grid{
        grid-template-columns:1fr;
    }

    .cobsmes-latest-media{
        border-right:0;
        border-bottom:1px solid #EFF2F4;
    }
}


.cobsmes-action-buttons{
    display:flex;
    gap:10px;
    margin:10px 0 14px;
}

.cobsmes-btn{
    display:inline-block;
    padding:8px 16px;
    border-radius:20px;
    font-size:13px;
    font-weight:600;
    text-decoration:none;
    color:#fff;
}

.cobsmes-btn.call-btn{
    background:#1F8C63;
}

.cobsmes-btn.email-btn{
    background:#F5C542;
    color:#000;
}


/* Screenshot-style single business page */
.cobsmes-single-page{
    padding:30px 16px 50px;
    background:#ffffff;
}

.cobsmes-single-shell{
    max-width:1120px;
    margin:0 auto;
}

.cobsmes-single-layout{
    display:grid !important;
    grid-template-columns:minmax(0, 1fr) 320px !important;
    gap:28px !important;
    align-items:start;
}

.cobsmes-single-main{
    min-width:0;
}

.cobsmes-single-header-card,
.cobsmes-single-content-card,
.cobsmes-sidebar-card{
    background:#ffffff;
    border:1px solid #E7EBEF;
    box-shadow:0 10px 28px rgba(18,18,18,.05);
}

.cobsmes-single-header-card{
    padding:34px 34px 26px;
    margin-bottom:0;
}

.cobsmes-single-header-card h1{
    margin:0 0 10px;
    font-family:'Saira', sans-serif;
    font-size:32px;
    line-height:1.2;
    color:#2F3840;
}

.cobsmes-single-location{
    color:#5B6975;
    font-size:17px;
    margin-bottom:10px;
}

.cobsmes-single-stars{
    color:#8A959F;
    font-size:24px;
    letter-spacing:4px;
}

.cobsmes-single-actions{
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    border-left:1px solid #E7EBEF;
    border-right:1px solid #E7EBEF;
    border-bottom:1px solid #E7EBEF;
    margin-bottom:24px;
    background:#fff;
}

.cobsmes-action-box{
    min-height:150px;
    padding:26px 18px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:10px;
    text-align:center;
    text-decoration:none;
    color:#5A6670;
    border-right:1px solid #E7EBEF;
    transition:background .2s ease, color .2s ease;
}

.cobsmes-action-box:last-child{
    border-right:0;
}

.cobsmes-action-box:hover{
    background:#FBF7EF;
    color:#121212;
}

.cobsmes-action-icon{
    font-size:40px;
    line-height:1;
    color:#C9CED3;
}

.cobsmes-action-label{
    font-size:18px;
}

.cobsmes-action-box strong{
    color:#2F3840;
    font-size:15px;
    word-break:break-word;
}

.cobsmes-single-content-card{
    padding:34px;
}

.cobsmes-single-content-card h2,
.cobsmes-single-content-card h3{
    margin:0 0 18px;
    font-family:'Saira', sans-serif;
    color:#2F3840;
}

.cobsmes-single-body{
    color:#47525D;
    line-height:1.8;
    font-size:16px;
}

.cobsmes-single-body p:first-child{
    margin-top:0;
    font-size:18px;
}

.cobsmes-single-meta-block{
    margin-top:28px;
    padding-top:20px;
    border-top:1px solid #E9EDF1;
}

.cobsmes-single-map-section{
    margin-top:28px;
    padding-top:20px;
    border-top:1px solid #E9EDF1;
}

.cobsmes-map-frame-wrap{
    border:1px solid #E7EBEF;
    overflow:hidden;
    background:#F8F9FA;
}

.cobsmes-sidebar-card{
    overflow:hidden;
}

.cobsmes-sidebar-logo-card{
    margin-bottom:20px;
}

.cobsmes-sidebar-logo-wrap{
    background:#F7F9FB;
    min-height:260px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
}

.cobsmes-sidebar-logo-wrap img{
    width:100%;
    max-width:260px;
    max-height:260px;
    object-fit:contain;
    display:block;
}

.cobsmes-single-logo-placeholder{
    width:160px;
    height:160px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    background:#EEF1F4;
    color:#6C7A86;
    font-family:'Saira', sans-serif;
    font-weight:600;
}

.cobsmes-contact-card-title{
    background:#5B6975;
    color:#ffffff;
    text-align:center;
    padding:18px 16px;
    font-family:'Saira', sans-serif;
    font-size:24px;
}

.cobsmes-contact-row{
    display:grid;
    grid-template-columns:88px 1fr;
    gap:12px;
    padding:16px 22px;
    border-bottom:1px solid #EEF2F5;
    align-items:start;
}

.cobsmes-contact-row:last-child{
    border-bottom:0;
}

.cobsmes-contact-row span{
    color:#4C5963;
    font-size:16px;
}

.cobsmes-contact-row strong,
.cobsmes-contact-row strong a{
    color:#1E66D0;
    font-size:16px;
    word-break:break-word;
    text-decoration:none;
}

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

@media (max-width: 980px){
    .cobsmes-single-layout{
        grid-template-columns:1fr !important;
    }

    .cobsmes-single-actions{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px){
    .cobsmes-single-header-card,
    .cobsmes-single-content-card{
        padding:22px;
    }

    .cobsmes-single-header-card h1{
        font-size:26px;
    }

    .cobsmes-single-actions{
        grid-template-columns:1fr;
    }

    .cobsmes-action-box{
        min-height:110px;
        border-right:0;
        border-bottom:1px solid #E7EBEF;
    }

    .cobsmes-action-box:last-child{
        border-bottom:0;
    }

    .cobsmes-contact-row{
        grid-template-columns:1fr;
        gap:6px;
    }
}

