/* Base */
* { box-sizing: border-box; }
html, body { margin: 0; }
html, body { margin: 0; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #1f2937;
  background: #ffffff;
  line-height: 1.6;
}

a { color: #2F3A8F; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
.top { padding: 20px 0 10px; }
.top-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.top h1 {
  margin: 0;
  font-size: 20px;
  text-align: center;
  flex: 1;
}
.flag, .emblem {
  width: 60px;
  height: auto;
  display: block;
}
.rule {
  border: none;
  border-top: 3px solid #004152;
  max-width: 960px;
  margin: 12px auto 0;
  border-radius: 2px;
}

/* Layout */
.container {
  max-width: 960px;
  margin: 24px auto;
  padding: 0 20px;
}
.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
.details {
  margin-top: 12px;
}
@media (min-width: 860px) {
  .grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
    column-gap: 1px;
  }
  .details {
    margin-top: 0;
    padding-top: 20px;
    margin-left: -15px;   
  }
}

/* Photo */
.photo img {
  width: 100%;
  height: auto;
  display: block;
  border: none;                    
  border-radius: 0;
            
  box-shadow: 0 6px 18px rgba(0,0,0,0.15); 
  background: transparent;          
}

}
.photo figcaption {
  font-size: 14px;
  color: #6b7280;
  margin-top: 6px;
}

/* Details */
.location {
  margin: 0 0 40px 0;
  color: #111;
}
.consul-title {
  margin: 0 0 50px 0;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
  position: relative;
  padding: 10px 0 6px;
}

.consul-title .sub {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  letter-spacing: .3px;
}

/* Adress */
.info .address {
  margin: 0 0 50px 0;
}
.info .contact {
  margin: 0;   
  line-height: 1.4; 
}
.info p strong {
  display: inline-block;
  width: 55px;   
  font-weight: 700;
}

/* Note */
.consular {
  margin-top: 32px;
}
.consular h3 {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 800;
}
.consular p {
  margin: .4rem 0;
}

/* Footer */
.footer {
  position: relative;
  margin-top: 36px;
  background: #004152;             
  color: #ffffff;                  
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
  text-align: center;
  padding: 18px 12px 14px;
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
}

/* Footer 2 */
.footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15); 
  z-index: 0;
}


.footer small {
  position: relative;
  z-index: 1;
}



/* Layout */
html, body {
  height: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1; 
}


.footer {
  margin-top: auto;
  padding: 18px 12px calc(18px + env(safe-area-inset-bottom)); 
}


@media (max-width: 600px) {
  .footer {
    font-size: 12px;
    line-height: 1.4;
    padding: 14px 8px calc(14px + env(safe-area-inset-bottom));
  }
}


@supports (padding-bottom: max(0px)) {
  .footer {
    padding-bottom: max(18px, env(safe-area-inset-bottom));
  }
}







