/* Shared refresh for the existing search, wedding and day-detail templates. */
body.modern{background:#faf8f3;color:#172b4d;font-family:Tahoma,"Noto Sans Thai",sans-serif}
.modern #header,.modern #header .header-inner{background:#fffefb!important;border-bottom:1px solid #e3e6ec}
.modern #logo .logo-default,.modern #logo .logo-dark{font-family:Tahoma,sans-serif!important;color:#243f70!important;font-size:30px!important}
.modern #page-title{background:#f4efe4;padding:44px 0!important;border-bottom:1px solid #e3e6ec;top:0!important;margin-top:0!important}
.modern #page-title h1{font-family:Tahoma,sans-serif;font-size:30px;line-height:1.6;color:#172b4d;letter-spacing:0}
.modern section{background:transparent}
.modern .widget-notification{background:white;border:1px solid #e0e4eb;border-radius:12px;padding:24px!important;box-shadow:0 3px 14px #172b4d04}
.modern .widget-notification h4{font-family:Tahoma,sans-serif;color:#243f70;font-size:18px;line-height:1.8;margin-bottom:10px!important}
.modern .widget-notification .text-muted{font-size:13px;line-height:1.8}
.modern .grid-layout>.grid-item{opacity:1}
.modern .badge{font-size:11px;line-height:1.6;padding:5px 9px;margin:3px 4px 3px 0;white-space:normal}
.modern .btn-secondary{background:#243f70;border-color:#243f70;border-radius:6px}
.modern .badge,.modern .btn,.modern #mainMenu nav a{font-family:Tahoma,sans-serif}
.modern #footer.fixed-bottom{position:static!important;background:#f1f2f4;padding:16px 0;text-align:center}
.modern .modal-content{border-radius:12px}
.modern a:focus-visible,.modern button:focus-visible{outline:3px solid #c19b50;outline-offset:3px}
@media(max-width:767px){.modern #page-title{padding:25px 0!important}.modern #page-title h1{font-size:23px}.modern .widget-notification{padding:18px!important}.modern .widget-notification h4{font-size:16px}.modern section{padding-top:24px;padding-bottom:24px}}

/* Every detail badge has a visible semantic color. Scores use their own summary. */
.modern .badge-primary{background:#243f70;color:#fff}.modern .badge-info{background:#247d88;color:#fff}.modern .badge-success{background:#357550;color:#fff}.modern .badge-warning{background:#f1d492;color:#604719}.modern .badge-danger{background:#b84b43;color:#fff}
.modern .widget-notification .score-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;margin:18px 0 0;padding:14px 16px;border:1px solid #dfd5c1;border-top:3px solid #b38b45;border-radius:8px;background:#f6f1e7;color:#243f70;text-align:left;font-family:Tahoma,sans-serif;cursor:pointer;white-space:normal}.modern .score-summary .score-caption{font-size:12px;font-weight:bold;line-height:1.6}.modern .score-summary small{display:block;font-size:10px;color:#75664a;font-weight:normal;margin-top:3px}.modern .score-summary strong{font-size:28px;line-height:1.2;font-variant-numeric:tabular-nums;font-weight:bold}.modern .score-summary:hover{background:#efe6d5;border-color:#b38b45}.modern .score-summary:focus-visible{outline:3px solid #c19b50;outline-offset:3px}
@media(max-width:767px){.modern .widget-notification .score-summary{padding:12px 14px;margin-top:16px}.modern .score-summary strong{font-size:26px}}
