/*!
 * Bootstrap Grid v4.1.3 (https://getbootstrap.com/)
 * Copyright 2011-2018 The Bootstrap Authors
 * Copyright 2011-2018 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */
body {
  font-family:"Noto Serif", serif;
}
h1 {
  font-size: 32px;
}
h2 {
  font-size: 24px;
}
h3 {
  font-size: 20px;
}
p, li {
  font-size: 16px;
}
li {
  margin-bottom: 16px
}
table {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  word-break: break-word;
  margin: 1em 0 30px;
  line-height: normal;
  color: #7b7b7b
}
tr {
  border-bottom: 1px solid #eee
}
tbody tr:hover {
  color: #53585c;
  background: #f7f7f7
}
thead tr {
  border-bottom: 2px solid #eee
}
td, th {
  font-size: 16px;
  padding: 8px 20px;
  border: 0;
  border-left: 1px solid #eee;
  border-right: 1px solid #eee
}
th {
  color: #53585c;
  font-weight: 700;
  vertical-align: middle
}
tr:last-child, td:first-child, td:last-child, th:first-child, th:last-child {
  border: 0
}
.entry-content dt {
  font-weight: 600
}
.entry-content dd {
  margin-bottom: 1.25em
}
.entry-content cite, .entry-content em {
  font-style: italic
}
.entry-content ins {
  background: #fcf8e3
}
.entry-content sub, .entry-content sup {
  font-size: 62.5%
}
.entry-content sub {
  vertical-align: sub;
  bottom: 0
}
.entry-content sup {
  vertical-align: super;
  top: .25em
}
.entry-content .intro-text {
  font-size: 1.5em;
  line-height: 1.458em;
  color: #212121;
  letter-spacing: -.01em
}
.cinema-selector {
  padding: 0px;
}
ul.cinema-list {
  list-style: none;
  padding: 0;
  margin: 20px auto;
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}
.cinema-list li {
  background: #f1f1f1;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  margin: 0;
}
.cinema-list li img{
    border-radius: 8px;
}
.cinema-name {
  font-weight: bold;
  font-size: 14px;
}
.cinema-sub {
  font-size: 12px;
  margin-top: 0px;
}
.cinema-sub .status {
  color: #666;
}
.cinema-sub .count {
  color: #de16e9;
}
body.modal-open {
  overflow: hidden;
}
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 999;
}
.modal-content {
  width: 96%;
  max-width: 960px;
  height: 90vh;
  background: white;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
}
select {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #ccc;
}
.modal-header, .modal-footer {
  background: #f3f3f3;
  padding: 4px 16px;
  flex-shrink: 0;
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-header h3 {
  padding: 0;
  margin: 0
}
.modal-body {
  display: flex;
  height: 100%;
}
.left-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 40%;
}
.select-wrapper {
  flex: 0 0 auto;
  padding: 12px;
  border-bottom: 1px solid #ddd;
  background: #fff;
  z-index: 2;
}
.branch-list-wrapper {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 12px;
  background: #fff;
}
.right-panel {
  display: flex;
  flex-direction: column;
  width: 60%;
  height: 100%;
}
.branch-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.branch-info {
  padding: 12px;
  flex: 0 0 auto;
}

.branch-info h4 {
  margin: 12px 0 16px 0;
  font-size: 24px;
}
.branch-info p {
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: #000000;
  margin-bottom: 8px;
  line-height: 130%
}
.detail-item-p{
    display: flex;
    justify-content: flex-start;
    align-content: flex-start;
    gap: 8px;
}
.branch-list li {
  margin-bottom: 4px;
  background: #f9f9f9;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
}
.branch-list li .name-location {
  font-size: 14px;
  color: #000000;
  font-weight: 700;
  padding: 0;
  margin: 0
}
.branch-list li p {
  font-size: 14px;
  color: #3f3f3f;
  font-weight: 400;
  padding: 0;
  margin: 0
}
.branch-list li.active {
  background: #dce5ff;
  color: #fff;
}
.branch-list li.active .name-location {
  color: #000000;
}
.branch-list li.active p {
  color: #3f3f3f;
}
.branch-list li.active strong, .branch-list li.active em {
  color: #fff;
}
.map-wrapper {
  flex: 1 1 auto;
  overflow: hidden;
}
.map-frame {
  width: 100%;
  height: 100%;
  border: 0;
}
iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 8px;
  margin-top: 6px;
}
.branch-name {
  font-weight: bold;
  color: #0033C9;
}
.branch-address, .branch-phone {
  font-size: 14px;
  margin-top: 4px;
}
.close {
  cursor: pointer;
  font-size: 40px;
}
@media (max-width: 600px) {
  ul.cinema-list {
    list-style: none;
    padding: 0;
    margin: 20px auto;
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
     flex: 1 1 calc(50% - 20px); /* 4 cột cho màn hình lớn */
  }
  .cinema-list li {
    width: inherit;
    display: flex;
  }
  .modal-content {
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
    padding: 0;
  }
  .modal-body {
    flex-direction: column;
  }
  .left-panel, .right-panel {
    width: 100%;
    height: auto;
  }
  .branch-list-wrapper {
    max-height: 35vh;
  }
  .map-wrapper {
    height: 250px;
  }
  .modal-header, .modal-footer {
    padding: 4px 16px;
    font-size: 14px;
  }
  .modal-header h3 {
    font-size: 16px;
    margin: 0;
    padding: 0
  }
  select {
    font-size: 14px;
  }
  .branch-list li {
    font-size: 13px;
    padding: 10px;
  }
 .branch-list li p {
     font-size: 13px;
     display: none;
  }
  .branch-info h4 {
    margin: 12px 0 12px 0;
    font-size: 20px;
    }
  .branch-info p{
      font-size: 13px;
  }
  iframe {
    height: 250px;
    width: 100%;
  }